ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  2gencl GIF version

Theorem 2gencl 2763
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 2454 . . . 4 (∃𝑦𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
31, 2bitri 183 . . 3 (𝐷𝑆 ↔ ∃𝑦(𝑦𝑅𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓𝜒))
54imbi2d 229 . . 3 (𝐵 = 𝐷 → ((𝐶𝑆𝜓) ↔ (𝐶𝑆𝜒)))
6 2gencl.1 . . . . . 6 (𝐶𝑆 ↔ ∃𝑥𝑅 𝐴 = 𝐶)
7 df-rex 2454 . . . . . 6 (∃𝑥𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
86, 7bitri 183 . . . . 5 (𝐶𝑆 ↔ ∃𝑥(𝑥𝑅𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑𝜓))
109imbi2d 229 . . . . 5 (𝐴 = 𝐶 → ((𝑦𝑅𝜑) ↔ (𝑦𝑅𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥𝑅𝑦𝑅) → 𝜑)
1211ex 114 . . . . 5 (𝑥𝑅 → (𝑦𝑅𝜑))
138, 10, 12gencl 2762 . . . 4 (𝐶𝑆 → (𝑦𝑅𝜓))
1413com12 30 . . 3 (𝑦𝑅 → (𝐶𝑆𝜓))
153, 5, 14gencl 2762 . 2 (𝐷𝑆 → (𝐶𝑆𝜒))
1615impcom 124 1 ((𝐶𝑆𝐷𝑆) → 𝜒)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wex 1485  wcel 2141  wrex 2449
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-gen 1442  ax-ie2 1487  ax-17 1519
This theorem depends on definitions:  df-bi 116  df-rex 2454
This theorem is referenced by:  3gencl  2764  axaddrcl  7827  axmulrcl  7829  axpre-apti  7847  axpre-mulgt0  7849  uzin2  10951
  Copyright terms: Public domain W3C validator