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

Theorem spc2ed 3553
 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 3455 . . . 4 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
2 elisset 3455 . . . 4 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
31, 2anim12i 615 . . 3 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
4 exdistrv 1956 . . 3 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
53, 4sylibr 237 . 2 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
6 nfv 1915 . . . . 5 𝑥𝜑
7 spc2ed.x . . . . 5 𝑥𝜒
86, 7nfan 1900 . . . 4 𝑥(𝜑𝜒)
9 nfv 1915 . . . . . 6 𝑦𝜑
10 spc2ed.y . . . . . 6 𝑦𝜒
119, 10nfan 1900 . . . . 5 𝑦(𝜑𝜒)
12 anass 472 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ (𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))))
13 ancom 464 . . . . . . . . 9 ((𝜒𝜑) ↔ (𝜑𝜒))
1413anbi1i 626 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
1512, 14bitr3i 280 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
16 spc2ed.1 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
1716biimparc 483 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) → 𝜓)
1815, 17sylbir 238 . . . . . 6 (((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
1918ex 416 . . . . 5 ((𝜑𝜒) → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
2011, 19eximd 2215 . . . 4 ((𝜑𝜒) → (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑦𝜓))
218, 20eximd 2215 . . 3 ((𝜑𝜒) → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
2221impancom 455 . 2 ((𝜑 ∧ ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵)) → (𝜒 → ∃𝑥𝑦𝜓))
235, 22sylan2 595 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538  ∃wex 1781  Ⅎwnf 1785   ∈ wcel 2112 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-12 2176  ax-ext 2773 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-cleq 2794  df-clel 2873 This theorem is referenced by:  spc2d  3554  cnvoprabOLD  30486  or2expropbilem1  43621  ich2exprop  43985  reuopreuprim  44040
 Copyright terms: Public domain W3C validator