HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem cgsex2g 1368
Description: Implicit substitution inference for general classes.
Hypotheses
Ref Expression
cgsex2g.1 ((x = Ay = B) → χ)
cgsex2g.2 (χ → (φψ))
Assertion
Ref Expression
cgsex2g ((ACBD) → (∃xy(χφ) ↔ ψ))
Distinct variable group(s):   x,y,ψ   x,A,y   x,B,y

Proof of Theorem cgsex2g
StepHypRef Expression
1 cgsex2g.2 . . . . 5 (χ → (φψ))
21biimpa 324 . . . 4 ((χφ) → ψ)
3219.23aivv 953 . . 3 (∃xy(χφ) → ψ)
43a1i 7 . 2 ((ACBD) → (∃xy(χφ) → ψ))
51biimprcd 138 . . . . . 6 (ψ → (χφ))
65ancld 246 . . . . 5 (ψ → (χ → (χφ)))
7619.22dvv 949 . . . 4 (ψ → (∃xyχ → ∃xy(χφ)))
8 elex 1356 . . . . . . 7 ⊢ >/FONT>(AC → ∃x x = A)
elex 1356 . . . . . . 7 (BD → ∃y y = B)
108, 9anim12i 268 . . . . . 6 ((ACBD) → (∃x x = A ∧ ∃y y = B))
11 eeanv 980 . . . . . 6 (∃xy(x = Ay = B) ↔ (∃x x = A ∧ ∃y y = B))
1210, 11sylibr 175 . . . . 5 ((ACBD) → ∃xy(x = Ay = B))
13 cgsex2g.1 . . . . . . 7 ((x = Ay = B) → χ)
141319.22i 723 . . . . . 6 (∃y(x = Ay = B) → ∃yχ)
151419.22i 723 . . . . 5 (∃xy(x = Ay = B) → ∃xyχ)
1612, 15syl 12 . . . 4 ⊢ ((ACBD) → ∃xyχ)
177, 16syl5 22 . . 3 (ψ → ((ACBD) → ∃xy(χφ)))
1817com12 13 . 2 ((ACBD) → (ψ → ∃xy(χφ)))
194, 18impbid 397 1 ((ACBD) → (∃xy(χφ) ↔ ψ))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∃wex 678   = wceq 1091   ∈ wcel 1092
This theorem is referenced by:  distrlem5pr 3925
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-9 799  ax-12 802  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349
metamath.org