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

Theorem mob2 3654
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 1135 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → 𝜑)
2 moi2.1 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
31, 2syl5ibcom 248 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
4 nfv 1915 . . . . . . . . 9 𝑥𝜓
54, 2sbhypf 3500 . . . . . . . 8 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑𝜓))
65anbi2d 631 . . . . . . 7 (𝑦 = 𝐴 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝜑𝜓)))
7 eqeq2 2810 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
86, 7imbi12d 348 . . . . . 6 (𝑦 = 𝐴 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) ↔ ((𝜑𝜓) → 𝑥 = 𝐴)))
98spcgv 3543 . . . . 5 (𝐴𝐵 → (∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ((𝜑𝜓) → 𝑥 = 𝐴)))
10 nfs1v 2157 . . . . . . 7 𝑥[𝑦 / 𝑥]𝜑
11 sbequ12 2250 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
1210, 11mo4f 2626 . . . . . 6 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
13 sp 2180 . . . . . 6 (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1412, 13sylbi 220 . . . . 5 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
159, 14impel 509 . . . 4 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → ((𝜑𝜓) → 𝑥 = 𝐴))
1615expd 419 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → (𝜑 → (𝜓𝑥 = 𝐴)))
17163impia 1114 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝜓𝑥 = 𝐴))
183, 17impbid 215 1 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084  wal 1536   = wceq 1538  [wsb 2069  wcel 2111  ∃*wmo 2596
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443
This theorem is referenced by:  moi2  3655  mob  3656  rmob2  3821
  Copyright terms: Public domain W3C validator