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

Theorem 2gencl 3482
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 3112 . . . 4 (∃𝑦𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
31, 2bitri 278 . . 3 (𝐷𝑆 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓𝜒))
54imbi2d 344 . . 3 (𝐵 = 𝐷 → ((𝐶𝑆𝜓) ↔ (𝐶𝑆𝜒)))
6 2gencl.1 . . . . . 6 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
7 df-rex 3112 . . . . . 6 (∃𝑥𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
86, 7bitri 278 . . . . 5 (𝐶𝑆 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑𝜓))
109imbi2d 344 . . . . 5 (𝐴 = 𝐶 → ((𝑦𝑅𝜑) ↔ (𝑦𝑅𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥𝑅𝑦𝑅) → 𝜑)
1211ex 416 . . . . 5 (𝑥𝑅 → (𝑦𝑅𝜑))
138, 10, 12gencl 3481 . . . 4 (𝐶𝑆 → (𝑦𝑅𝜓))
1413com12 32 . . 3 (𝑦𝑅 → (𝐶𝑆𝜓))
153, 5, 14gencl 3481 . 2 (𝐷𝑆 → (𝐶𝑆𝜒))
1615impcom 411 1 ((𝐶𝑆𝐷𝑆) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  wrex 3107
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-rex 3112
This theorem is referenced by:  3gencl  3483  axaddrcl  10563  axmulrcl  10565  axpre-lttri  10576  axpre-mulgt0  10579  uzin2  14696
  Copyright terms: Public domain W3C validator