MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  2gencl Structured version   Visualization version   GIF version

Theorem 2gencl 3236
Description: Implicit substitution for class with embedded variable. (Contributed by NM, 17-May-1996.)
Hypotheses
Ref Expression
2gencl.1 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
2gencl.2 (𝐷𝑆 ↔ ∃𝑦𝑅 𝐵 = 𝐷)
2gencl.3 (𝐴 = 𝐶 → (𝜑𝜓))
2gencl.4 (𝐵 = 𝐷 → (𝜓𝜒))
2gencl.5 ((𝑥𝑅𝑦𝑅) → 𝜑)
Assertion
Ref Expression
2gencl ((𝐶𝑆𝐷𝑆) → 𝜒)
Distinct variable groups:   𝑥,𝑦   𝑥,𝑅   𝜓,𝑥   𝑦,𝐶   𝑦,𝑆   𝜒,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑦)   𝜒(𝑥)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥)   𝐷(𝑥,𝑦)   𝑅(𝑦)   𝑆(𝑥)

Proof of Theorem 2gencl
StepHypRef Expression
1 2gencl.2 . . . 4 (𝐷𝑆 ↔ ∃𝑦𝑅 𝐵 = 𝐷)
2 df-rex 2918 . . . 4 (∃𝑦𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
31, 2bitri 264 . . 3 (𝐷𝑆 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓𝜒))
54imbi2d 330 . . 3 (𝐵 = 𝐷 → ((𝐶𝑆𝜓) ↔ (𝐶𝑆𝜒)))
6 2gencl.1 . . . . . 6 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
7 df-rex 2918 . . . . . 6 (∃𝑥𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
86, 7bitri 264 . . . . 5 (𝐶𝑆 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑𝜓))
109imbi2d 330 . . . . 5 (𝐴 = 𝐶 → ((𝑦𝑅𝜑) ↔ (𝑦𝑅𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥𝑅𝑦𝑅) → 𝜑)
1211ex 450 . . . . 5 (𝑥𝑅 → (𝑦𝑅𝜑))
138, 10, 12gencl 3235 . . . 4 (𝐶𝑆 → (𝑦𝑅𝜓))
1413com12 32 . . 3 (𝑦𝑅 → (𝐶𝑆𝜓))
153, 5, 14gencl 3235 . 2 (𝐷𝑆 → (𝐶𝑆𝜒))
1615impcom 446 1 ((𝐶𝑆𝐷𝑆) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wex 1704  wcel 1990  wrex 2913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839
This theorem depends on definitions:  df-bi 197  df-an 386  df-ex 1705  df-rex 2918
This theorem is referenced by:  3gencl  3237  axaddrcl  9973  axmulrcl  9975  axpre-lttri  9986  axpre-mulgt0  9989  uzin2  14084
  Copyright terms: Public domain W3C validator