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

Theorem spc2ed 3506
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 2812 . . . 4 (𝐴𝑉 → ∃𝑥 𝑥 = 𝐴)
2 elisset 2812 . . . 4 (𝐵𝑊 → ∃𝑦 𝑦 = 𝐵)
31, 2anim12i 616 . . 3 ((𝐴𝑉𝐵𝑊) → (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
4 exdistrv 1964 . . 3 (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) ↔ (∃𝑥 𝑥 = 𝐴 ∧ ∃𝑦 𝑦 = 𝐵))
53, 4sylibr 237 . 2 ((𝐴𝑉𝐵𝑊) → ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵))
6 nfv 1922 . . . . 5 𝑥𝜑
7 spc2ed.x . . . . 5 𝑥𝜒
86, 7nfan 1907 . . . 4 𝑥(𝜑𝜒)
9 nfv 1922 . . . . . 6 𝑦𝜑
10 spc2ed.y . . . . . 6 𝑦𝜒
119, 10nfan 1907 . . . . 5 𝑦(𝜑𝜒)
12 anass 472 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ (𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))))
13 ancom 464 . . . . . . . . 9 ((𝜒𝜑) ↔ (𝜑𝜒))
1413anbi1i 627 . . . . . . . 8 (((𝜒𝜑) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
1512, 14bitr3i 280 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) ↔ ((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)))
16 spc2ed.1 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
1716biimparc 483 . . . . . . 7 ((𝜒 ∧ (𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵))) → 𝜓)
1815, 17sylbir 238 . . . . . 6 (((𝜑𝜒) ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝜓)
1918ex 416 . . . . 5 ((𝜑𝜒) → ((𝑥 = 𝐴𝑦 = 𝐵) → 𝜓))
2011, 19eximd 2216 . . . 4 ((𝜑𝜒) → (∃𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑦𝜓))
218, 20eximd 2216 . . 3 ((𝜑𝜒) → (∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵) → ∃𝑥𝑦𝜓))
2221impancom 455 . 2 ((𝜑 ∧ ∃𝑥𝑦(𝑥 = 𝐴𝑦 = 𝐵)) → (𝜒 → ∃𝑥𝑦𝜓))
235, 22sylan2 596 1 ((𝜑 ∧ (𝐴𝑉𝐵𝑊)) → (𝜒 → ∃𝑥𝑦𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wex 1787  wnf 1791  wcel 2112
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 1976  ax-7 2018  ax-8 2114  ax-12 2177
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-clel 2809
This theorem is referenced by:  spc2d  3507  cnvoprabOLD  30729  or2expropbilem1  44141  ich2exprop  44539  reuopreuprim  44594
  Copyright terms: Public domain W3C validator