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

Theorem mob2 3373
Description: Consequence of "at most one." (Contributed by NM, 2-Jan-2015.)
Hypothesis
Ref Expression
moi2.1 (𝑥 = 𝐴 → (𝜑𝜓))
Assertion
Ref Expression
mob2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
Distinct variable groups:   𝑥,𝐴   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)

Proof of Theorem mob2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 simp3 1061 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → 𝜑)
2 moi2.1 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
31, 2syl5ibcom 235 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
4 nfv 1840 . . . . . . . . 9 𝑥𝜓
54, 2sbhypf 3243 . . . . . . . 8 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑𝜓))
65anbi2d 739 . . . . . . 7 (𝑦 = 𝐴 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝜑𝜓)))
7 eqeq2 2632 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
86, 7imbi12d 334 . . . . . 6 (𝑦 = 𝐴 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) ↔ ((𝜑𝜓) → 𝑥 = 𝐴)))
98spcgv 3283 . . . . 5 (𝐴𝐵 → (∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ((𝜑𝜓) → 𝑥 = 𝐴)))
10 nfs1v 2436 . . . . . . 7 𝑥[𝑦 / 𝑥]𝜑
11 sbequ12 2108 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
1210, 11mo4f 2515 . . . . . 6 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
13 sp 2051 . . . . . 6 (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1412, 13sylbi 207 . . . . 5 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
159, 14impel 485 . . . 4 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → ((𝜑𝜓) → 𝑥 = 𝐴))
1615expd 452 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → (𝜑 → (𝜓𝑥 = 𝐴)))
17163impia 1258 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝜓𝑥 = 𝐴))
183, 17impbid 202 1 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036  wal 1478   = wceq 1480  [wsb 1877  wcel 1987  ∃*wmo 2470
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-v 3192
This theorem is referenced by:  moi2  3374  mob  3375  rmob2  3517
  Copyright terms: Public domain W3C validator