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

Theorem 2gencl 3493
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 3088 . . . 4 (∃𝑦 ∈ 𝑅 𝐵 = 𝐷 ↔ ∃𝑦(𝑦 ∈ 𝑅 ∧ 𝐵 = 𝐷))
31, 2bitri 278 . . 3 (𝐷 ∈ 𝑆 ↔ ∃𝑦(𝑦 ∈ 𝑅 ∧ 𝐵 = 𝐷))
4 2gencl.4 . . . 4 (𝐵 = 𝐷 → (𝜓 ↔ 𝜒))
54imbi2d 343 . . 3 (𝐵 = 𝐷 → ((𝐶 ∈ 𝑆 → 𝜓) ↔ (𝐶 ∈ 𝑆 → 𝜒)))
6 2gencl.1 . . . . . 6 (𝐶 ∈ 𝑆 ↔ ∃𝑥 ∈ 𝑅 𝐴 = 𝐶)
7 df-rex 3088 . . . . . 6 (∃𝑥 ∈ 𝑅 𝐴 = 𝐶 ↔ ∃𝑥(𝑥 ∈ 𝑅 ∧ 𝐴 = 𝐶))
86, 7bitri 278 . . . . 5 (𝐶 ∈ 𝑆 ↔ ∃𝑥(𝑥 ∈ 𝑅 ∧ 𝐴 = 𝐶))
9 2gencl.3 . . . . . 6 (𝐴 = 𝐶 → (𝜑 ↔ 𝜓))
109imbi2d 343 . . . . 5 (𝐴 = 𝐶 → ((𝑦 ∈ 𝑅 → 𝜑) ↔ (𝑦 ∈ 𝑅 → 𝜓)))
11 2gencl.5 . . . . . 6 ((𝑥 ∈ 𝑅 ∧ 𝑦 ∈ 𝑅) → 𝜑)
1211ex 418 . . . . 5 (𝑥 ∈ 𝑅 → (𝑦 ∈ 𝑅 → 𝜑))
138, 10, 12gencl 3492 . . . 4 (𝐶 ∈ 𝑆 → (𝑦 ∈ 𝑅 → 𝜓))
1413com12 33 . . 3 (𝑦 ∈ 𝑅 → (𝐶 ∈ 𝑆 → 𝜓))
153, 5, 14gencl 3492 . 2 (𝐷 ∈ 𝑆 → (𝐶 ∈ 𝑆 → 𝜒))
1615impcom 413 1 ((𝐶 ∈ 𝑆 ∧ 𝐷 ∈ 𝑆) → 𝜒)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∃wrex 3087
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-rex 3088
This theorem is used by:  3gencl  3494  axaddrcl  11237  axmulrcl  11239  axpre-lttri  11250  axpre-mulgt0  11253  uzin2  15512
  Copyright terms: Public domain W3C validator