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

Theorem 2eu6 2658
Description: Two equivalent expressions for double existential uniqueness. (Contributed by NM, 2-Feb-2005.) (Revised by Mario Carneiro, 17-Oct-2016.) (Proof shortened by Wolf Lammen, 2-Oct-2019.)
Assertion
Ref Expression
2eu6 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤   𝜑,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem 2eu6
StepHypRef Expression
1 2eu4 2656 . 2 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
2 nfia1 2152 . . . . . 6 𝑥(∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)))
3 nfa1 2150 . . . . . . . . . . . . 13 𝑦𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))
4 nfv 1918 . . . . . . . . . . . . 13 𝑦 𝑥 = 𝑧
5 simpl 482 . . . . . . . . . . . . . . 15 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑥 = 𝑧)
65imim2i 16 . . . . . . . . . . . . . 14 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑𝑥 = 𝑧))
76sps 2180 . . . . . . . . . . . . 13 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑𝑥 = 𝑧))
83, 4, 7exlimd 2214 . . . . . . . . . . . 12 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∃𝑦𝜑𝑥 = 𝑧))
9 ax12v 2174 . . . . . . . . . . . 12 (𝑥 = 𝑧 → (∃𝑦𝜑 → ∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑)))
108, 9syli 39 . . . . . . . . . . 11 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∃𝑦𝜑 → ∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑)))
1110com12 32 . . . . . . . . . 10 (∃𝑦𝜑 → (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑)))
1211spsd 2182 . . . . . . . . 9 (∃𝑦𝜑 → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑)))
13 nfs1v 2155 . . . . . . . . . . . . 13 𝑦[𝑤 / 𝑦]𝜑
14 simpr 484 . . . . . . . . . . . . . . . 16 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝑦 = 𝑤)
1514imim2i 16 . . . . . . . . . . . . . . 15 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑𝑦 = 𝑤))
16 sbequ1 2243 . . . . . . . . . . . . . . 15 (𝑦 = 𝑤 → (𝜑 → [𝑤 / 𝑦]𝜑))
1715, 16syli 39 . . . . . . . . . . . . . 14 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑 → [𝑤 / 𝑦]𝜑))
1817sps 2180 . . . . . . . . . . . . 13 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑 → [𝑤 / 𝑦]𝜑))
193, 13, 18exlimd 2214 . . . . . . . . . . . 12 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∃𝑦𝜑 → [𝑤 / 𝑦]𝜑))
2019imim2d 57 . . . . . . . . . . 11 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ((𝑥 = 𝑧 → ∃𝑦𝜑) → (𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑)))
2120al2imi 1819 . . . . . . . . . 10 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑) → ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑)))
22 sb6 2089 . . . . . . . . . . 11 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑))
23 2sb6 2090 . . . . . . . . . . 11 ([𝑧 / 𝑥][𝑤 / 𝑦]𝜑 ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
2422, 23bitr3i 276 . . . . . . . . . 10 (∀𝑥(𝑥 = 𝑧 → [𝑤 / 𝑦]𝜑) ↔ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
2521, 24syl6ib 250 . . . . . . . . 9 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∀𝑥(𝑥 = 𝑧 → ∃𝑦𝜑) → ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑)))
2612, 25sylcom 30 . . . . . . . 8 (∃𝑦𝜑 → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑)))
2726ancld 550 . . . . . . 7 (∃𝑦𝜑 → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ∧ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))))
28 2albiim 1894 . . . . . . 7 (∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ∧ ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑)))
2927, 28syl6ibr 251 . . . . . 6 (∃𝑦𝜑 → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤))))
302, 29exlimi 2213 . . . . 5 (∃𝑥𝑦𝜑 → (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤))))
31302eximdv 1923 . . . 4 (∃𝑥𝑦𝜑 → (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) → ∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤))))
3231imp 406 . . 3 ((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))) → ∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)))
33 biimpr 219 . . . . . . 7 ((𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
34332alimi 1816 . . . . . 6 (∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
35342eximi 1839 . . . . 5 (∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ∃𝑧𝑤𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
36 2exsb 2358 . . . . 5 (∃𝑥𝑦𝜑 ↔ ∃𝑧𝑤𝑥𝑦((𝑥 = 𝑧𝑦 = 𝑤) → 𝜑))
3735, 36sylibr 233 . . . 4 (∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ∃𝑥𝑦𝜑)
38 biimp 214 . . . . . 6 ((𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → (𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
39382alimi 1816 . . . . 5 (∀𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
40392eximi 1839 . . . 4 (∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
4137, 40jca 511 . . 3 (∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)) → (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
4232, 41impbii 208 . 2 ((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)))
431, 42bitri 274 1 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 ↔ (𝑥 = 𝑧𝑦 = 𝑤)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537  wex 1783  [wsb 2068  ∃!weu 2568
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-10 2139  ax-11 2156  ax-12 2173
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator