MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mo3 Structured version   Visualization version   GIF version

Theorem mo3 2591
Description: Alternate definition of the at-most-one quantifier. Definition of [BellMachover] p. 460, except that definition has the side condition that 𝑦 not occur in 𝜑 in place of our hypothesis. (Contributed by NM, 8-Mar-1995.) (Proof shortened by Wolf Lammen, 18-Aug-2019.) Remove dependency on ax-13 2403. (Revised by BJ and WL, 29-Jan-2023.)
Hypothesis
Ref Expression
mo3.nf 𝑦𝜑
Assertion
Ref Expression
mo3 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)

Proof of Theorem mo3
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfmo1 2584 . . 3 𝑥∃*𝑥𝜑
2 mo3.nf . . . . 5 𝑦𝜑
32nfmov 2587 . . . 4 𝑦∃*𝑥𝜑
4 dfmo 2567 . . . . 5 (∃*𝑥𝜑 ↔ ∃𝑧𝑥(𝜑𝑥 = 𝑧))
5 sp 2218 . . . . . . . 8 (∀𝑥(𝜑𝑥 = 𝑧) → (𝜑𝑥 = 𝑧))
6 spsbim 2105 . . . . . . . . 9 (∀𝑥(𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝑥 = 𝑧))
7 equsb3 2137 . . . . . . . . 9 ([𝑦 / 𝑥]𝑥 = 𝑧𝑦 = 𝑧)
86, 7imbitrdi 254 . . . . . . . 8 (∀𝑥(𝜑𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑𝑦 = 𝑧))
95, 8anim12d 620 . . . . . . 7 (∀𝑥(𝜑𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧𝑦 = 𝑧)))
10 equtr2 2056 . . . . . . 7 ((𝑥 = 𝑧𝑦 = 𝑧) → 𝑥 = 𝑦)
119, 10syl6 36 . . . . . 6 (∀𝑥(𝜑𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1211exlimiv 1959 . . . . 5 (∃𝑧𝑥(𝜑𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
134, 12sylbi 220 . . . 4 (∃*𝑥𝜑 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
143, 13alrimi 2248 . . 3 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
151, 14alrimi 2248 . 2 (∃*𝑥𝜑 → ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
16 nfs1v 2190 . . . . . . . 8 𝑥[𝑦 / 𝑥]𝜑
17 pm3.21 476 . . . . . . . . 9 ([𝑦 / 𝑥]𝜑 → (𝜑 → (𝜑 ∧ [𝑦 / 𝑥]𝜑)))
1817imim1d 83 . . . . . . . 8 ([𝑦 / 𝑥]𝜑 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (𝜑𝑥 = 𝑦)))
1916, 18alimd 2247 . . . . . . 7 ([𝑦 / 𝑥]𝜑 → (∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑥(𝜑𝑥 = 𝑦)))
2019com12 33 . . . . . 6 (∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ([𝑦 / 𝑥]𝜑 → ∀𝑥(𝜑𝑥 = 𝑦)))
2120aleximi 1861 . . . . 5 (∀𝑦𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (∃𝑦[𝑦 / 𝑥]𝜑 → ∃𝑦𝑥(𝜑𝑥 = 𝑦)))
222sb8ef 2386 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦[𝑦 / 𝑥]𝜑)
232mof 2590 . . . . 5 (∃*𝑥𝜑 ↔ ∃𝑦𝑥(𝜑𝑥 = 𝑦))
2421, 22, 233imtr4g 299 . . . 4 (∀𝑦𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (∃𝑥𝜑 → ∃*𝑥𝜑))
25 moabs 2570 . . . 4 (∃*𝑥𝜑 ↔ (∃𝑥𝜑 → ∃*𝑥𝜑))
2624, 25sylibr 237 . . 3 (∀𝑦𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃*𝑥𝜑)
2726alcoms 2192 . 2 (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃*𝑥𝜑)
2815, 27impbii 212 1 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 400  wal 1567  wex 1808  wnf 1812  [wsb 2095  ∃*wmo 2564
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-10 2175  ax-11 2191  ax-12 2212
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-tru 1572  df-ex 1809  df-nf 1813  df-sb 2096  df-mo 2566
This theorem is used by:  mo  2592  mo4f  2594  eu2  2636  2mo  2675  rmo3f  3696  rmo3  3841  isarep2  6625  mo5f  32846  bnj580  35310  pm14.12  45159
  Copyright terms: Public domain W3C validator