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

Theorem mo23 2060
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 1521 . . . . 5 𝑦 𝑥 = 𝑧
31, 2nfim 1565 . . . 4 𝑦(𝜑𝑥 = 𝑧)
43nfal 1569 . . 3 𝑦𝑥(𝜑𝑥 = 𝑧)
5 nfv 1521 . . 3 𝑧𝑥(𝜑𝑥 = 𝑦)
6 equequ2 1706 . . . . 5 (𝑧 = 𝑦 → (𝑥 = 𝑧𝑥 = 𝑦))
76imbi2d 229 . . . 4 (𝑧 = 𝑦 → ((𝜑𝑥 = 𝑧) ↔ (𝜑𝑥 = 𝑦)))
87albidv 1817 . . 3 (𝑧 = 𝑦 → (∀𝑥(𝜑𝑥 = 𝑧) ↔ ∀𝑥(𝜑𝑥 = 𝑦)))
94, 5, 8cbvex 1749 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) ↔ ∃𝑦𝑥(𝜑𝑥 = 𝑦))
10 nfs1v 1932 . . . . . . . 8 𝑥[𝑦 / 𝑥]𝜑
11 nfv 1521 . . . . . . . 8 𝑥 𝑦 = 𝑧
1210, 11nfim 1565 . . . . . . 7 𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧)
13 sbequ2 1762 . . . . . . . 8 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑𝜑))
14 ax-8 1497 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = 𝑧𝑦 = 𝑧))
1513, 14imim12d 74 . . . . . . 7 (𝑥 = 𝑦 → ((𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
163, 12, 15cbv3 1735 . . . . . 6 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
1716ancli 321 . . . . 5 (∀𝑥(𝜑𝑥 = 𝑧) → (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
183nfri 1512 . . . . . 6 ((𝜑𝑥 = 𝑧) → ∀𝑦(𝜑𝑥 = 𝑧))
1912nfri 1512 . . . . . 6 (([𝑦 / 𝑥]𝜑𝑦 = 𝑧) → ∀𝑥([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
2018, 19aaanh 1579 . . . . 5 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) ↔ (∀𝑥(𝜑𝑥 = 𝑧) ∧ ∀𝑦([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
2117, 20sylibr 133 . . . 4 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)))
22 anim12 342 . . . . . 6 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧𝑦 = 𝑧)))
23 equtr2 1704 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑧) → 𝑥 = 𝑦)
2422, 23syl6 33 . . . . 5 (((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
25242alimi 1449 . . . 4 (∀𝑥𝑦((𝜑𝑥 = 𝑧) ∧ ([𝑦 / 𝑥]𝜑𝑦 = 𝑧)) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2621, 25syl 14 . . 3 (∀𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
2726exlimiv 1591 . 2 (∃𝑧𝑥(𝜑𝑥 = 𝑧) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
289, 27sylbir 134 1 (∃𝑦𝑥(𝜑𝑥 = 𝑦) → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wal 1346  wnf 1453  wex 1485  [wsb 1755
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 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-11 1499  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528
This theorem depends on definitions:  df-bi 116  df-nf 1454  df-sb 1756
This theorem is referenced by:  modc  2062  eu2  2063  eu3h  2064
  Copyright terms: Public domain W3C validator