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

Theorem mo23 2018
Description: An implication between two definitions of "there exists at most one." (Contributed by Jim Kingdon, 25-Jun-2018.)
Hypothesis
Ref Expression
mo23.1 𝑦𝜑
Assertion
Ref Expression
mo23 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem mo23
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 mo23.1 . . . . 5 𝑦𝜑
2 nfv 1493 . . . . 5 𝑦 𝑥 = 𝑧
31, 2nfim 1536 . . . 4 𝑦(𝜑𝑥 = 𝑧)
43nfal 1540 . . 3 𝑦𝑥(𝜑𝑥 = 𝑧)
5 nfv 1493 . . 3 𝑧𝑥(𝜑𝑥 = 𝑦)
6 equequ2 1674 . . . . 5 (𝑧 = 𝑦 → (𝑥 = 𝑧𝑥 = 𝑦))
76imbi2d 229 . . . 4 (𝑧 = 𝑦 → ((𝜑𝑥 = 𝑧) ↔ (𝜑𝑥 = 𝑦)))
87albidv 1780 . . 3 (𝑧 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑧) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
94, 5, 8cbvex 1714 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ∃𝑦𝑥(𝜑𝑥 = 𝑦))
10 nfs1v 1892 . . . . . . . 8 𝑥[𝑦 / 𝑥]𝜑
11 nfv 1493 . . . . . . . 8 𝑥 𝑦 = 𝑧
1210, 11nfim 1536 . . . . . . 7 𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧)
13 sbequ2 1727 . . . . . . . 8 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
14 ax-8 1467 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
1513, 14imim12d 74 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
163, 12, 15cbv3 1705 . . . . . 6 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
1716ancli 321 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑧) → (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
183nfri 1484 . . . . . 6 ((𝜑𝑥 = 𝑧) → ∀𝑦(𝜑𝑥 = 𝑧))
1912nfri 1484 . . . . . 6 (([𝑦 / 𝑥]𝜑𝑦 = 𝑧) → ∀𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
2018, 19aaanh 1550 . . . . 5 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) ↔ (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
2117, 20sylibr 133 . . . 4 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
22 anim12 341 . . . . . 6 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧𝑦 = 𝑧)))
23 equtr2 1672 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑧) → 𝑥 = 𝑦)
2422, 23syl6 33 . . . . 5 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
25242alimi 1417 . . . 4 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2621, 25syl 14 . . 3 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2726exlimiv 1562 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
289, 27sylbir 134 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wal 1314  wnf 1421  wex 1453  [wsb 1720
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-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-11 1469  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500
This theorem depends on definitions:  df-bi 116  df-nf 1422  df-sb 1721
This theorem is referenced by:  modc  2020  eu2  2021  eu3h  2022
  Copyright terms: Public domain W3C validator