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

Theorem spc2ed 3601
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 3505 . . . 4 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
2 elisset 3505 . . . 4 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
31, 2anim12i 614 . . 3 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
4 exdistrv 1952 . . 3 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
53, 4sylibr 236 . 2 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
6 nfv 1911 . . . . 5 𝑥𝜑
7 spc2ed.x . . . . 5 𝑥𝜒
86, 7nfan 1896 . . . 4 𝑥(𝜑𝜒)
9 nfv 1911 . . . . . 6 𝑦𝜑
10 spc2ed.y . . . . . 6 𝑦𝜒
119, 10nfan 1896 . . . . 5 𝑦(𝜑𝜒)
12 anass 471 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ (𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))))
13 ancom 463 . . . . . . . . 9 ((𝜒𝜑) ↔ (𝜑𝜒))
1413anbi1i 625 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
1512, 14bitr3i 279 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
16 spc2ed.1 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
1716biimparc 482 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) → 𝜓)
1815, 17sylbir 237 . . . . . 6 (((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
1918ex 415 . . . . 5 ((𝜑𝜒) → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
2011, 19eximd 2212 . . . 4 ((𝜑𝜒) → (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑦𝜓))
218, 20eximd 2212 . . 3 ((𝜑𝜒) → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
2221impancom 454 . 2 ((𝜑 ∧ ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵)) → (𝜒 → ∃𝑥𝑦𝜓))
235, 22sylan2 594 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wex 1776  wnf 1780  wcel 2110
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-cleq 2814  df-clel 2893
This theorem is referenced by:  spc2d  3602  cnvoprabOLD  30455  or2expropbilem1  43266  ich2exprop  43632  reuopreuprim  43687
  Copyright terms: Public domain W3C validator