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

Theorem cgsex2g 3495
Description: Implicit substitution inference for general classes. (Contributed by NM, 26-Jul-1995.)
Hypotheses
Ref Expression
cgsex2g.1 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → 𝜒)
cgsex2g.2 (𝜒 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cgsex2g ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥∃𝑦(𝜒 ∧ 𝜑) ↔ 𝜓))
Distinct variable groups:   𝑥,𝑦,𝜓   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝜒(𝑥, 𝑦)   𝑉(𝑥, 𝑦)   𝑊(𝑥, 𝑦)

Proof of Theorem cgsex2g
StepHypRef Expression
1 cgsex2g.2 . . . 4 (𝜒 → (𝜑 ↔ 𝜓))
21biimpa 482 . . 3 ((𝜒 ∧ 𝜑) → 𝜓)
32exlimivv 1964 . 2 (∃𝑥∃𝑦(𝜒 ∧ 𝜑) → 𝜓)
4 elisset 2842 . . . . . 6 (𝐴 ∈ 𝑉 → ∃𝑥 𝑥 = 𝐴)
5 elisset 2842 . . . . . 6 (𝐵 ∈ 𝑊 → ∃𝑦 𝑦 = 𝐵)
64, 5anim12i 625 . . . . 5 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
7 exdistrv 1987 . . . . 5 (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
86, 7sylibr 237 . . . 4 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵))
9 cgsex2g.1 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → 𝜒)
1092eximi 1868 . . . 4 (∃𝑥∃𝑦(𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → ∃𝑥∃𝑦𝜒)
118, 10syl 18 . . 3 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → ∃𝑥∃𝑦𝜒)
121biimprcd 253 . . . . 5 (𝜓 → (𝜒 → 𝜑))
1312ancld 560 . . . 4 (𝜓 → (𝜒 → (𝜒 ∧ 𝜑)))
14132eximdv 1951 . . 3 (𝜓 → (∃𝑥∃𝑦𝜒 → ∃𝑥∃𝑦(𝜒 ∧ 𝜑)))
1511, 14syl5com 32 . 2 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (𝜓 → ∃𝑥∃𝑦(𝜒 ∧ 𝜑)))
163, 15impbid2 229 1 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → (∃𝑥∃𝑦(𝜒 ∧ 𝜑) ↔ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-clel 2835
This theorem is used by:  copsex2g  5464
  Copyright terms: Public domain W3C validator