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

Theorem 2gencl 3472
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 3070 . . . 4 (∃𝑦𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
31, 2bitri 274 . . 3 (𝐷𝑆 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓𝜒))
54imbi2d 341 . . 3 (𝐵 = 𝐷 → ((𝐶𝑆𝜓) ↔ (𝐶𝑆𝜒)))
6 2gencl.1 . . . . . 6 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
7 df-rex 3070 . . . . . 6 (∃𝑥𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
86, 7bitri 274 . . . . 5 (𝐶𝑆 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑𝜓))
109imbi2d 341 . . . . 5 (𝐴 = 𝐶 → ((𝑦𝑅𝜑) ↔ (𝑦𝑅𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥𝑅𝑦𝑅) → 𝜑)
1211ex 413 . . . . 5 (𝑥𝑅 → (𝑦𝑅𝜑))
138, 10, 12gencl 3471 . . . 4 (𝐶𝑆 → (𝑦𝑅𝜓))
1413com12 32 . . 3 (𝑦𝑅 → (𝐶𝑆𝜓))
153, 5, 14gencl 3471 . 2 (𝐷𝑆 → (𝐶𝑆𝜒))
1615impcom 408 1 ((𝐶𝑆𝐷𝑆) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wrex 3065
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-rex 3070
This theorem is referenced by:  3gencl  3473  axaddrcl  10908  axmulrcl  10910  axpre-lttri  10921  axpre-mulgt0  10924  uzin2  15056
  Copyright terms: Public domain W3C validator