ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  2eu4 GIF version

Theorem 2eu4 2112
Description: This theorem provides us with a definition of double existential uniqueness ("exactly one 𝑥 and exactly one 𝑦"). Naively one might think (incorrectly) that it could be defined by ∃!𝑥∃!𝑦𝜑. See 2exeu 2111 for a one-way implication. (Contributed by NM, 3-Dec-2001.)
Assertion
Ref Expression
2eu4 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤   𝜑,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem 2eu4
StepHypRef Expression
1 ax-17 1519 . . . 4 (∃𝑦𝜑 → ∀𝑧𝑦𝜑)
21eu3h 2064 . . 3 (∃!𝑥𝑦𝜑 ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)))
3 ax-17 1519 . . . 4 (∃𝑥𝜑 → ∀𝑤𝑥𝜑)
43eu3h 2064 . . 3 (∃!𝑦𝑥𝜑 ↔ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
52, 4anbi12i 457 . 2 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
6 an4 581 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
7 excom 1657 . . . . 5 (∃𝑦𝑥𝜑 ↔ ∃𝑥𝑦𝜑)
87anbi2i 454 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑))
9 anidm 394 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑) ↔ ∃𝑥𝑦𝜑)
108, 9bitri 183 . . 3 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ ∃𝑥𝑦𝜑)
11 hba1 1533 . . . . . . . . . 10 (∀𝑥𝑦(𝜑𝑦 = 𝑤) → ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤))
121119.3h 1546 . . . . . . . . 9 (∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
1312anbi2i 454 . . . . . . . 8 ((∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
14 19.26 1474 . . . . . . . 8 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)))
15 jcab 598 . . . . . . . . . . . 12 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
1615albii 1463 . . . . . . . . . . 11 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
17 19.26 1474 . . . . . . . . . . 11 (∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1816, 17bitri 183 . . . . . . . . . 10 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1918albii 1463 . . . . . . . . 9 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
20 19.26 1474 . . . . . . . . 9 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2119, 20bitri 183 . . . . . . . 8 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2213, 14, 213bitr4ri 212 . . . . . . 7 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
23 19.26 1474 . . . . . . . . 9 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)))
24 hba1 1533 . . . . . . . . . . 11 (∀𝑦(𝜑𝑥 = 𝑧) → ∀𝑦𝑦(𝜑𝑥 = 𝑧))
252419.3h 1546 . . . . . . . . . 10 (∀𝑦𝑦(𝜑𝑥 = 𝑧) ↔ ∀𝑦(𝜑𝑥 = 𝑧))
26 alcom 1471 . . . . . . . . . 10 (∀𝑦𝑥(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
2725, 26anbi12i 457 . . . . . . . . 9 ((∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2823, 27bitri 183 . . . . . . . 8 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2928albii 1463 . . . . . . 7 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
3022, 29bitr4i 186 . . . . . 6 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)))
31 19.23v 1876 . . . . . . . 8 (∀𝑦(𝜑𝑥 = 𝑧) ↔ (∃𝑦𝜑𝑥 = 𝑧))
32 19.23v 1876 . . . . . . . 8 (∀𝑥(𝜑𝑦 = 𝑤) ↔ (∃𝑥𝜑𝑦 = 𝑤))
3331, 32anbi12i 457 . . . . . . 7 ((∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
34332albii 1464 . . . . . 6 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
35 hbe1 1488 . . . . . . . 8 (∃𝑦𝜑 → ∀𝑦𝑦𝜑)
36 ax-17 1519 . . . . . . . 8 (𝑥 = 𝑧 → ∀𝑦 𝑥 = 𝑧)
3735, 36hbim 1538 . . . . . . 7 ((∃𝑦𝜑𝑥 = 𝑧) → ∀𝑦(∃𝑦𝜑𝑥 = 𝑧))
38 hbe1 1488 . . . . . . . 8 (∃𝑥𝜑 → ∀𝑥𝑥𝜑)
39 ax-17 1519 . . . . . . . 8 (𝑦 = 𝑤 → ∀𝑥 𝑦 = 𝑤)
4038, 39hbim 1538 . . . . . . 7 ((∃𝑥𝜑𝑦 = 𝑤) → ∀𝑥(∃𝑥𝜑𝑦 = 𝑤))
4137, 40aaanh 1579 . . . . . 6 (∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4230, 34, 413bitri 205 . . . . 5 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
43422exbii 1599 . . . 4 (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
44 eeanv 1925 . . . 4 (∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4543, 44bitr2i 184 . . 3 ((∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
4610, 45anbi12i 457 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
475, 6, 463bitri 205 1 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1346  wex 1485  ∃!weu 2019
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-sb 1756  df-eu 2022
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator