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

Theorem mob2 3645
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 1136 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → 𝜑)
2 moi2.1 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
31, 2syl5ibcom 244 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
4 nfv 1918 . . . . . . . . 9 𝑥𝜓
54, 2sbhypf 3481 . . . . . . . 8 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑𝜓))
65anbi2d 628 . . . . . . 7 (𝑦 = 𝐴 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝜑𝜓)))
7 eqeq2 2750 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
86, 7imbi12d 344 . . . . . 6 (𝑦 = 𝐴 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) ↔ ((𝜑𝜓) → 𝑥 = 𝐴)))
98spcgv 3525 . . . . 5 (𝐴𝐵 → (∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ((𝜑𝜓) → 𝑥 = 𝐴)))
10 nfs1v 2155 . . . . . . 7 𝑥[𝑦 / 𝑥]𝜑
11 sbequ12 2247 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
1210, 11mo4f 2567 . . . . . 6 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
13 sp 2178 . . . . . 6 (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1412, 13sylbi 216 . . . . 5 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
159, 14impel 505 . . . 4 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → ((𝜑𝜓) → 𝑥 = 𝐴))
1615expd 415 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → (𝜑 → (𝜓𝑥 = 𝐴)))
17163impia 1115 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝜓𝑥 = 𝐴))
183, 17impbid 211 1 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085  wal 1537   = wceq 1539  [wsb 2068  wcel 2108  ∃*wmo 2538
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2817  df-v 3424
This theorem is referenced by:  moi2  3646  mob  3647  rmob2  3821
  Copyright terms: Public domain W3C validator