Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cgsex2gd Structured version   Visualization version   GIF version

Theorem cgsex2gd 37747
Description: Implicit substitution inference for general classes. (Contributed by NM, 26-Jul-1995.) Adapt cgsex2g 3498 to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use cgsex2g 3498. (Proof modification is discouraged.)
Hypotheses
Ref Expression
cgsex2gd.is ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
cgsex2gd.maj ((𝜑𝜓) → (𝜒𝜃))
Assertion
Ref Expression
cgsex2gd ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(𝜓𝜒) ↔ 𝜃))
Distinct variable groups:   𝜑,𝑥,𝑦   𝜃,𝑥,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦)   𝜒(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem cgsex2gd
StepHypRef Expression
1 cgsex2gd.maj . . . . . 6 ((𝜑𝜓) → (𝜒𝜃))
21biimp3a 1496 . . . . 5 ((𝜑𝜓𝜒) → 𝜃)
323expib 1138 . . . 4 (𝜑 → ((𝜓𝜒) → 𝜃))
43exlimdvv 1962 . . 3 (𝜑 → (∃𝑥𝑦(𝜓𝜒) → 𝜃))
54adantr 485 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(𝜓𝜒) → 𝜃))
6 cgsex2gd.is . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
76ex 417 . . . . 5 (𝜑 → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
872eximdv 1947 . . . 4 (𝜑 → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
9 elisset 2843 . . . . . 6 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
10 elisset 2843 . . . . . 6 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
119, 10anim12i 624 . . . . 5 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
12 exdistrv 1983 . . . . 5 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
1311, 12sylibr 237 . . . 4 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
148, 13impel 514 . . 3 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → ∃𝑥𝑦𝜓)
151biimprd 251 . . . . . . . 8 ((𝜑𝜓) → (𝜃𝜒))
1615impancom 456 . . . . . . 7 ((𝜑𝜃) → (𝜓𝜒))
1716ancld 559 . . . . . 6 ((𝜑𝜃) → (𝜓 → (𝜓𝜒)))
18172eximdv 1947 . . . . 5 ((𝜑𝜃) → (∃𝑥𝑦𝜓 → ∃𝑥𝑦(𝜓𝜒)))
1918expimpd 458 . . . 4 (𝜑 → ((𝜃 ∧ ∃𝑥𝑦𝜓) → ∃𝑥𝑦(𝜓𝜒)))
2019adantr 485 . . 3 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → ((𝜃 ∧ ∃𝑥𝑦𝜓) → ∃𝑥𝑦(𝜓𝜒)))
2114, 20mpan2d 706 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜃 → ∃𝑥𝑦(𝜓𝜒)))
225, 21impbid 215 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(𝜓𝜒) ↔ 𝜃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1568  wex 1807  wcel 2141
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2143
This theorem depends on definitions:  df-bi 210  df-an 401  df-3an 1103  df-tru 1571  df-ex 1808  df-sb 2095  df-clab 2740  df-clel 2836
This theorem is referenced by:  copsex2gd  37748
  Copyright terms: Public domain W3C validator