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

Theorem spc2ed 3530
Description: Existential specialization with 2 quantifiers, using implicit substitution. (Contributed by Thierry Arnoux, 23-Aug-2017.)
Hypotheses
Ref Expression
spc2ed.x 𝑥𝜒
spc2ed.y 𝑦𝜒
spc2ed.1 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
Assertion
Ref Expression
spc2ed ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦)   𝜒(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem spc2ed
StepHypRef Expression
1 elisset 2820 . . . 4 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
2 elisset 2820 . . . 4 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
31, 2anim12i 612 . . 3 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
4 exdistrv 1960 . . 3 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
53, 4sylibr 233 . 2 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
6 nfv 1918 . . . . 5 𝑥𝜑
7 spc2ed.x . . . . 5 𝑥𝜒
86, 7nfan 1903 . . . 4 𝑥(𝜑𝜒)
9 nfv 1918 . . . . . 6 𝑦𝜑
10 spc2ed.y . . . . . 6 𝑦𝜒
119, 10nfan 1903 . . . . 5 𝑦(𝜑𝜒)
12 anass 468 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ (𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))))
13 ancom 460 . . . . . . . . 9 ((𝜒𝜑) ↔ (𝜑𝜒))
1413anbi1i 623 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
1512, 14bitr3i 276 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
16 spc2ed.1 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
1716biimparc 479 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) → 𝜓)
1815, 17sylbir 234 . . . . . 6 (((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
1918ex 412 . . . . 5 ((𝜑𝜒) → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
2011, 19eximd 2212 . . . 4 ((𝜑𝜒) → (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑦𝜓))
218, 20eximd 2212 . . 3 ((𝜑𝜒) → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
2221impancom 451 . 2 ((𝜑 ∧ ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵)) → (𝜒 → ∃𝑥𝑦𝜓))
235, 22sylan2 592 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wnf 1787  wcel 2108
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-12 2173
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-clel 2817
This theorem is referenced by:  spc2d  3531  cnvoprabOLD  30957  or2expropbilem1  44413  ich2exprop  44811  reuopreuprim  44866
  Copyright terms: Public domain W3C validator