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

Theorem spc2ed 3540
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 613 . . 3 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
4 exdistrv 1959 . . 3 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
53, 4sylibr 233 . 2 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
6 nfv 1917 . . . . 5 𝑥𝜑
7 spc2ed.x . . . . 5 𝑥𝜒
86, 7nfan 1902 . . . 4 𝑥(𝜑𝜒)
9 nfv 1917 . . . . . 6 𝑦𝜑
10 spc2ed.y . . . . . 6 𝑦𝜒
119, 10nfan 1902 . . . . 5 𝑦(𝜑𝜒)
12 anass 469 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ (𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))))
13 ancom 461 . . . . . . . . 9 ((𝜒𝜑) ↔ (𝜑𝜒))
1413anbi1i 624 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
1512, 14bitr3i 276 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
16 spc2ed.1 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
1716biimparc 480 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) → 𝜓)
1815, 17sylbir 234 . . . . . 6 (((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
1918ex 413 . . . . 5 ((𝜑𝜒) → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
2011, 19eximd 2209 . . . 4 ((𝜑𝜒) → (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑦𝜓))
218, 20eximd 2209 . . 3 ((𝜑𝜒) → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
2221impancom 452 . 2 ((𝜑 ∧ ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵)) → (𝜒 → ∃𝑥𝑦𝜓))
235, 22sylan2 593 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wnf 1786  wcel 2106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-12 2171
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-clel 2816
This theorem is referenced by:  spc2d  3541  cnvoprabOLD  31055  or2expropbilem1  44526  ich2exprop  44923  reuopreuprim  44978
  Copyright terms: Public domain W3C validator