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 37510
Description: Implicit substitution inference for general classes. (Contributed by NM, 26-Jul-1995.) Adapt cgsex2g 3478 to deduction form. (Revised by BJ, 28-Mar-2026.) Do not use cgsex2g 3478. (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 1478 . . . . 5 ((𝜑𝜓𝜒) → 𝜃)
323expib 1129 . . . 4 (𝜑 → ((𝜓𝜒) → 𝜃))
43exlimdvv 1942 . . 3 (𝜑 → (∃𝑥𝑦(𝜓𝜒) → 𝜃))
54adantr 482 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(𝜓𝜒) → 𝜃))
6 cgsex2gd.is . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
76ex 414 . . . . 5 (𝜑 → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
872eximdv 1927 . . . 4 (𝜑 → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
9 elisset 2823 . . . . . 6 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
10 elisset 2823 . . . . . 6 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
119, 10anim12i 620 . . . . 5 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
12 exdistrv 1963 . . . . 5 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
1311, 12sylibr 236 . . . 4 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
148, 13impel 511 . . 3 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → ∃𝑥𝑦𝜓)
151biimprd 250 . . . . . . . 8 ((𝜑𝜓) → (𝜃𝜒))
1615impancom 453 . . . . . . 7 ((𝜑𝜃) → (𝜓𝜒))
1716ancld 556 . . . . . 6 ((𝜑𝜃) → (𝜓 → (𝜓𝜒)))
18172eximdv 1927 . . . . 5 ((𝜑𝜃) → (∃𝑥𝑦𝜓 → ∃𝑥𝑦(𝜓𝜒)))
1918expimpd 455 . . . 4 (𝜑 → ((𝜃 ∧ ∃𝑥𝑦𝜓) → ∃𝑥𝑦(𝜓𝜒)))
2019adantr 482 . . 3 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → ((𝜃 ∧ ∃𝑥𝑦𝜓) → ∃𝑥𝑦(𝜓𝜒)))
2114, 20mpan2d 701 . 2 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜃 → ∃𝑥𝑦(𝜓𝜒)))
225, 21impbid 214 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (∃𝑥𝑦(𝜓𝜒) ↔ 𝜃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 397   = wceq 1548  wex 1787  wcel 2121
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123
This theorem depends on definitions:  df-bi 209  df-an 398  df-3an 1095  df-tru 1551  df-ex 1788  df-sb 2075  df-clab 2720  df-clel 2816
This theorem is referenced by:  copsex2gd  37511
  Copyright terms: Public domain W3C validator