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

Theorem mo23 2016
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 1491 . . . . 5 𝑦 𝑥 = 𝑧
31, 2nfim 1534 . . . 4 𝑦(𝜑𝑥 = 𝑧)
43nfal 1538 . . 3 𝑦𝑥(𝜑𝑥 = 𝑧)
5 nfv 1491 . . 3 𝑧𝑥(𝜑𝑥 = 𝑦)
6 equequ2 1672 . . . . 5 (𝑧 = 𝑦 → (𝑥 = 𝑧𝑥 = 𝑦))
76imbi2d 229 . . . 4 (𝑧 = 𝑦 → ((𝜑𝑥 = 𝑧) ↔ (𝜑𝑥 = 𝑦)))
87albidv 1778 . . 3 (𝑧 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑧) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
94, 5, 8cbvex 1712 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ∃𝑦𝑥(𝜑𝑥 = 𝑦))
10 nfs1v 1890 . . . . . . . 8 𝑥[𝑦 / 𝑥]𝜑
11 nfv 1491 . . . . . . . 8 𝑥 𝑦 = 𝑧
1210, 11nfim 1534 . . . . . . 7 𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧)
13 sbequ2 1725 . . . . . . . 8 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
14 ax-8 1465 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
1513, 14imim12d 74 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
163, 12, 15cbv3 1703 . . . . . 6 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
1716ancli 319 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑧) → (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
183nfri 1482 . . . . . 6 ((𝜑𝑥 = 𝑧) → ∀𝑦(𝜑𝑥 = 𝑧))
1912nfri 1482 . . . . . 6 (([𝑦 / 𝑥]𝜑𝑦 = 𝑧) → ∀𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
2018, 19aaanh 1548 . . . . 5 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) ↔ (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
2117, 20sylibr 133 . . . 4 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
22 anim12 339 . . . . . 6 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧𝑦 = 𝑧)))
23 equtr2 1670 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑧) → 𝑥 = 𝑦)
2422, 23syl6 33 . . . . 5 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
25242alimi 1415 . . . 4 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2621, 25syl 14 . . 3 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2726exlimiv 1560 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
289, 27sylbir 134 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wal 1312  wnf 1419  wex 1451  [wsb 1718
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 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-11 1467  ax-4 1470  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498
This theorem depends on definitions:  df-bi 116  df-nf 1420  df-sb 1719
This theorem is referenced by:  modc  2018  eu2  2019  eu3h  2020
  Copyright terms: Public domain W3C validator