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

Theorem 2gencl 3209
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 2902 . . . 4 (∃𝑦𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
31, 2bitri 263 . . 3 (𝐷𝑆 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓𝜒))
54imbi2d 329 . . 3 (𝐵 = 𝐷 → ((𝐶𝑆𝜓) ↔ (𝐶𝑆𝜒)))
6 2gencl.1 . . . . . 6 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
7 df-rex 2902 . . . . . 6 (∃𝑥𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
86, 7bitri 263 . . . . 5 (𝐶𝑆 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑𝜓))
109imbi2d 329 . . . . 5 (𝐴 = 𝐶 → ((𝑦𝑅𝜑) ↔ (𝑦𝑅𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥𝑅𝑦𝑅) → 𝜑)
1211ex 449 . . . . 5 (𝑥𝑅 → (𝑦𝑅𝜑))
138, 10, 12gencl 3208 . . . 4 (𝐶𝑆 → (𝑦𝑅𝜓))
1413com12 32 . . 3 (𝑦𝑅 → (𝐶𝑆𝜓))
153, 5, 14gencl 3208 . 2 (𝐷𝑆 → (𝐶𝑆𝜒))
1615impcom 445 1 ((𝐶𝑆𝐷𝑆) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  wrex 2897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827
This theorem depends on definitions:  df-bi 196  df-an 385  df-ex 1696  df-rex 2902
This theorem is referenced by:  3gencl  3210  axaddrcl  9852  axmulrcl  9854  axpre-lttri  9865  axpre-mulgt0  9868  uzin2  13932
  Copyright terms: Public domain W3C validator