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

Theorem mo23 1941
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 1421 . . . . 5 𝑦 𝑥 = 𝑧
31, 2nfim 1464 . . . 4 𝑦(𝜑𝑥 = 𝑧)
43nfal 1468 . . 3 𝑦𝑥(𝜑𝑥 = 𝑧)
5 nfv 1421 . . 3 𝑧𝑥(𝜑𝑥 = 𝑦)
6 equequ2 1599 . . . . 5 (𝑧 = 𝑦 → (𝑥 = 𝑧𝑥 = 𝑦))
76imbi2d 219 . . . 4 (𝑧 = 𝑦 → ((𝜑𝑥 = 𝑧) ↔ (𝜑𝑥 = 𝑦)))
87albidv 1705 . . 3 (𝑧 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑧) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
94, 5, 8cbvex 1639 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ∃𝑦𝑥(𝜑𝑥 = 𝑦))
10 nfs1v 1815 . . . . . . . 8 𝑥[𝑦 / 𝑥]𝜑
11 nfv 1421 . . . . . . . 8 𝑥 𝑦 = 𝑧
1210, 11nfim 1464 . . . . . . 7 𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧)
13 sbequ2 1652 . . . . . . . 8 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
14 ax-8 1395 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
1513, 14imim12d 68 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
163, 12, 15cbv3 1630 . . . . . 6 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
1716ancli 306 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑧) → (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
183nfri 1412 . . . . . 6 ((𝜑𝑥 = 𝑧) → ∀𝑦(𝜑𝑥 = 𝑧))
1912nfri 1412 . . . . . 6 (([𝑦 / 𝑥]𝜑𝑦 = 𝑧) → ∀𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
2018, 19aaanh 1478 . . . . 5 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) ↔ (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
2117, 20sylibr 137 . . . 4 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
22 prth 326 . . . . . 6 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧𝑦 = 𝑧)))
23 equtr2 1597 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑧) → 𝑥 = 𝑦)
2422, 23syl6 29 . . . . 5 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
25242alimi 1345 . . . 4 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2621, 25syl 14 . . 3 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2726exlimiv 1489 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
289, 27sylbir 125 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wal 1241  wnf 1349  wex 1381  [wsb 1645
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-11 1397  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428
This theorem depends on definitions:  df-bi 110  df-nf 1350  df-sb 1646
This theorem is referenced by:  modc  1943  eu2  1944  eu3h  1945
  Copyright terms: Public domain W3C validator