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

Theorem 2eu4 2107
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 2106 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 1514 . . . 4 (∃𝑦𝜑 → ∀𝑧𝑦𝜑)
21eu3h 2059 . . 3 (∃!𝑥𝑦𝜑 ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)))
3 ax-17 1514 . . . 4 (∃𝑥𝜑 → ∀𝑤𝑥𝜑)
43eu3h 2059 . . 3 (∃!𝑦𝑥𝜑 ↔ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
52, 4anbi12i 456 . 2 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
6 an4 576 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧)) ∧ (∃𝑦𝑥𝜑 ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))))
7 excom 1652 . . . . 5 (∃𝑦𝑥𝜑 ↔ ∃𝑥𝑦𝜑)
87anbi2i 453 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑))
9 anidm 394 . . . 4 ((∃𝑥𝑦𝜑 ∧ ∃𝑥𝑦𝜑) ↔ ∃𝑥𝑦𝜑)
108, 9bitri 183 . . 3 ((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ↔ ∃𝑥𝑦𝜑)
11 hba1 1528 . . . . . . . . . 10 (∀𝑥𝑦(𝜑𝑦 = 𝑤) → ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤))
121119.3h 1541 . . . . . . . . 9 (∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
1312anbi2i 453 . . . . . . . 8 ((∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
14 19.26 1469 . . . . . . . 8 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑥𝑦(𝜑𝑦 = 𝑤)))
15 jcab 593 . . . . . . . . . . . 12 ((𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
1615albii 1458 . . . . . . . . . . 11 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)))
17 19.26 1469 . . . . . . . . . . 11 (∀𝑦((𝜑𝑥 = 𝑧) ∧ (𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1816, 17bitri 183 . . . . . . . . . 10 (∀𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
1918albii 1458 . . . . . . . . 9 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)))
20 19.26 1469 . . . . . . . . 9 (∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦(𝜑𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2119, 20bitri 183 . . . . . . . 8 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2213, 14, 213bitr4ri 212 . . . . . . 7 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
23 19.26 1469 . . . . . . . . 9 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)))
24 hba1 1528 . . . . . . . . . . 11 (∀𝑦(𝜑𝑥 = 𝑧) → ∀𝑦𝑦(𝜑𝑥 = 𝑧))
252419.3h 1541 . . . . . . . . . 10 (∀𝑦𝑦(𝜑𝑥 = 𝑧) ↔ ∀𝑦(𝜑𝑥 = 𝑧))
26 alcom 1466 . . . . . . . . . 10 (∀𝑦𝑥(𝜑𝑦 = 𝑤) ↔ ∀𝑥𝑦(𝜑𝑦 = 𝑤))
2725, 26anbi12i 456 . . . . . . . . 9 ((∀𝑦𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑦𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2823, 27bitri 183 . . . . . . . 8 (∀𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ (∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
2928albii 1458 . . . . . . 7 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥𝑦(𝜑𝑦 = 𝑤)))
3022, 29bitr4i 186 . . . . . 6 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)))
31 19.23v 1871 . . . . . . . 8 (∀𝑦(𝜑𝑥 = 𝑧) ↔ (∃𝑦𝜑𝑥 = 𝑧))
32 19.23v 1871 . . . . . . . 8 (∀𝑥(𝜑𝑦 = 𝑤) ↔ (∃𝑥𝜑𝑦 = 𝑤))
3331, 32anbi12i 456 . . . . . . 7 ((∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
34332albii 1459 . . . . . 6 (∀𝑥𝑦(∀𝑦(𝜑𝑥 = 𝑧) ∧ ∀𝑥(𝜑𝑦 = 𝑤)) ↔ ∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)))
35 hbe1 1483 . . . . . . . 8 (∃𝑦𝜑 → ∀𝑦𝑦𝜑)
36 ax-17 1514 . . . . . . . 8 (𝑥 = 𝑧 → ∀𝑦 𝑥 = 𝑧)
3735, 36hbim 1533 . . . . . . 7 ((∃𝑦𝜑𝑥 = 𝑧) → ∀𝑦(∃𝑦𝜑𝑥 = 𝑧))
38 hbe1 1483 . . . . . . . 8 (∃𝑥𝜑 → ∀𝑥𝑥𝜑)
39 ax-17 1514 . . . . . . . 8 (𝑦 = 𝑤 → ∀𝑥 𝑦 = 𝑤)
4038, 39hbim 1533 . . . . . . 7 ((∃𝑥𝜑𝑦 = 𝑤) → ∀𝑥(∃𝑥𝜑𝑦 = 𝑤))
4137, 40aaanh 1574 . . . . . 6 (∀𝑥𝑦((∃𝑦𝜑𝑥 = 𝑧) ∧ (∃𝑥𝜑𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4230, 34, 413bitri 205 . . . . 5 (∀𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ (∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
43422exbii 1594 . . . 4 (∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)) ↔ ∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)))
44 eeanv 1920 . . . 4 (∃𝑧𝑤(∀𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∀𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)))
4543, 44bitr2i 184 . . 3 ((∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤)) ↔ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤)))
4610, 45anbi12i 456 . 2 (((∃𝑥𝑦𝜑 ∧ ∃𝑦𝑥𝜑) ∧ (∃𝑧𝑥(∃𝑦𝜑𝑥 = 𝑧) ∧ ∃𝑤𝑦(∃𝑥𝜑𝑦 = 𝑤))) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
475, 6, 463bitri 205 1 ((∃!𝑥𝑦𝜑 ∧ ∃!𝑦𝑥𝜑) ↔ (∃𝑥𝑦𝜑 ∧ ∃𝑧𝑤𝑥𝑦(𝜑 → (𝑥 = 𝑧𝑦 = 𝑤))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341  wex 1480  ∃!weu 2014
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 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523
This theorem depends on definitions:  df-bi 116  df-nf 1449  df-sb 1751  df-eu 2017
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator