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

Theorem mo3 2596
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 2408. (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 2589 . . 3 Ⅎ𝑥∃*𝑥𝜑
2 mo3.nf . . . . 5 Ⅎ𝑦𝜑
32nfmov 2592 . . . 4 Ⅎ𝑦∃*𝑥𝜑
4 dfmo 2572 . . . . 5 (∃*𝑥𝜑 ↔ ∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧))
5 sp 2227 . . . . . . . 8 (∀𝑥(𝜑 → 𝑥 = 𝑧) → (𝜑 → 𝑥 = 𝑧))
6 spsbim 2114 . . . . . . . . 9 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑 → [𝑦 / 𝑥]𝑥 = 𝑧))
7 equsb3 2146 . . . . . . . . 9 ([𝑦 / 𝑥]𝑥 = 𝑧 ↔ 𝑦 = 𝑧)
86, 7imbitrdi 254 . . . . . . . 8 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ([𝑦 / 𝑥]𝜑 → 𝑦 = 𝑧))
95, 8anim12d 621 . . . . . . 7 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → (𝑥 = 𝑧 ∧ 𝑦 = 𝑧)))
10 equtr2 2064 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑧) → 𝑥 = 𝑦)
119, 10syl6 36 . . . . . 6 (∀𝑥(𝜑 → 𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1211exlimiv 1967 . . . . 5 (∃𝑧∀𝑥(𝜑 → 𝑥 = 𝑧) → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
134, 12sylbi 220 . . . 4 (∃*𝑥𝜑 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
143, 13alrimi 2257 . . 3 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
151, 14alrimi 2257 . 2 (∃*𝑥𝜑 → ∀𝑥∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
16 nfs1v 2200 . . . . . . . 8 Ⅎ𝑥[𝑦 / 𝑥]𝜑
17 pm3.21 477 . . . . . . . . 9 ([𝑦 / 𝑥]𝜑 → (𝜑 → (𝜑 ∧ [𝑦 / 𝑥]𝜑)))
1817imim1d 83 . . . . . . . 8 ([𝑦 / 𝑥]𝜑 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (𝜑 → 𝑥 = 𝑦)))
1916, 18alimd 2256 . . . . . . 7 ([𝑦 / 𝑥]𝜑 → (∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑥(𝜑 → 𝑥 = 𝑦)))
2019com12 33 . . . . . 6 (∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ([𝑦 / 𝑥]𝜑 → ∀𝑥(𝜑 → 𝑥 = 𝑦)))
2120aleximi 1867 . . . . 5 (∀𝑦∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (∃𝑦[𝑦 / 𝑥]𝜑 → ∃𝑦∀𝑥(𝜑 → 𝑥 = 𝑦)))
222sb8ef 2391 . . . . 5 (∃𝑥𝜑 ↔ ∃𝑦[𝑦 / 𝑥]𝜑)
232mof 2595 . . . . 5 (∃*𝑥𝜑 ↔ ∃𝑦∀𝑥(𝜑 → 𝑥 = 𝑦))
2421, 22, 233imtr4g 299 . . . 4 (∀𝑦∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → (∃𝑥𝜑 → ∃*𝑥𝜑))
25 moabs 2575 . . . 4 (∃*𝑥𝜑 ↔ (∃𝑥𝜑 → ∃*𝑥𝜑))
2624, 25sylibr 237 . . 3 (∀𝑦∀𝑥((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃*𝑥𝜑)
2726alcoms 2202 . 2 (∀𝑥∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∃*𝑥𝜑)
2815, 27impbii 212 1 (∃*𝑥𝜑 ↔ ∀𝑥∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570  ∃wex 1814  Ⅎwnf 1818  [wsb 2104  ∃*wmo 2569
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-10 2184  ax-11 2201  ax-12 2220
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571
This theorem is used by:  mo  2597  mo4f  2599  eu2  2643  2mo  2682  rmo3f  3697  rmo3  3842  isarep2  6669  mo5f  33203  bnj580  35671  pm14.12  45748
  Copyright terms: Public domain W3C validator