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

Theorem 2eu4 2041
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 2040 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 1464 . . . 4 (∃𝑦𝜑 → ∀𝑧𝑦𝜑)
21eu3h 1993 . . 3 (∃!𝑥𝑦𝜑 ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)))
3 ax-17 1464 . . . 4 (∃𝑥𝜑 → ∀𝑤𝑥𝜑)
43eu3h 1993 . . 3 (∃!𝑦𝑥𝜑 ↔ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
52, 4anbi12i 448 . 2 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
6 an4 553 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
7 excom 1599 . . . . 5 (∃𝑦𝑥𝜑 ↔ ∃𝑥𝑦𝜑)
87anbi2i 445 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑))
9 anidm 388 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑) ↔ ∃𝑥𝑦𝜑)
108, 9bitri 182 . . 3 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ ∃𝑥𝑦𝜑)
11 hba1 1478 . . . . . . . . . 10 (∀𝑥𝑦(𝜑𝑦 = 𝑤) → ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤))
121119.3h 1490 . . . . . . . . 9 (∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
1312anbi2i 445 . . . . . . . 8 ((∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
14 19.26 1415 . . . . . . . 8 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)))
15 jcab 570 . . . . . . . . . . . 12 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
1615albii 1404 . . . . . . . . . . 11 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
17 19.26 1415 . . . . . . . . . . 11 (∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1816, 17bitri 182 . . . . . . . . . 10 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1918albii 1404 . . . . . . . . 9 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
20 19.26 1415 . . . . . . . . 9 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2119, 20bitri 182 . . . . . . . 8 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2213, 14, 213bitr4ri 211 . . . . . . 7 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
23 19.26 1415 . . . . . . . . 9 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)))
24 hba1 1478 . . . . . . . . . . 11 (∀𝑦(𝜑𝑥 = 𝑧) → ∀𝑦𝑦(𝜑𝑥 = 𝑧))
252419.3h 1490 . . . . . . . . . 10 (∀𝑦𝑦(𝜑𝑥 = 𝑧) ↔ ∀𝑦(𝜑𝑥 = 𝑧))
26 alcom 1412 . . . . . . . . . 10 (∀𝑦𝑥(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
2725, 26anbi12i 448 . . . . . . . . 9 ((∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2823, 27bitri 182 . . . . . . . 8 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2928albii 1404 . . . . . . 7 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
3022, 29bitr4i 185 . . . . . 6 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)))
31 19.23v 1811 . . . . . . . 8 (∀𝑦(𝜑𝑥 = 𝑧) ↔ (∃𝑦𝜑𝑥 = 𝑧))
32 19.23v 1811 . . . . . . . 8 (∀𝑥(𝜑𝑦 = 𝑤) ↔ (∃𝑥𝜑𝑦 = 𝑤))
3331, 32anbi12i 448 . . . . . . 7 ((∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
34332albii 1405 . . . . . 6 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
35 hbe1 1429 . . . . . . . 8 (∃𝑦𝜑 → ∀𝑦𝑦𝜑)
36 ax-17 1464 . . . . . . . 8 (𝑥 = 𝑧 → ∀𝑦 𝑥 = 𝑧)
3735, 36hbim 1482 . . . . . . 7 ((∃𝑦𝜑𝑥 = 𝑧) → ∀𝑦(∃𝑦𝜑𝑥 = 𝑧))
38 hbe1 1429 . . . . . . . 8 (∃𝑥𝜑 → ∀𝑥𝑥𝜑)
39 ax-17 1464 . . . . . . . 8 (𝑦 = 𝑤 → ∀𝑥 𝑦 = 𝑤)
4038, 39hbim 1482 . . . . . . 7 ((∃𝑥𝜑𝑦 = 𝑤) → ∀𝑥(∃𝑥𝜑𝑦 = 𝑤))
4137, 40aaanh 1523 . . . . . 6 (∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4230, 34, 413bitri 204 . . . . 5 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
43422exbii 1542 . . . 4 (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
44 eeanv 1855 . . . 4 (∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4543, 44bitr2i 183 . . 3 ((∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
4610, 45anbi12i 448 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
475, 6, 463bitri 204 1 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1287  wex 1426  ∃!weu 1948
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473
This theorem depends on definitions:  df-bi 115  df-nf 1395  df-sb 1693  df-eu 1951
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator