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

Theorem mob2 3419
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 1083 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → 𝜑)
2 moi2.1 . . 3 (𝑥 = 𝐴 → (𝜑𝜓))
31, 2syl5ibcom 235 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
4 nfv 1883 . . . . . . . . 9 𝑥𝜓
54, 2sbhypf 3284 . . . . . . . 8 (𝑦 = 𝐴 → ([𝑦 / 𝑥]𝜑𝜓))
65anbi2d 740 . . . . . . 7 (𝑦 = 𝐴 → ((𝜑 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝜑𝜓)))
7 eqeq2 2662 . . . . . . 7 (𝑦 = 𝐴 → (𝑥 = 𝑦𝑥 = 𝐴))
86, 7imbi12d 333 . . . . . 6 (𝑦 = 𝐴 → (((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) ↔ ((𝜑𝜓) → 𝑥 = 𝐴)))
98spcgv 3324 . . . . 5 (𝐴𝐵 → (∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ((𝜑𝜓) → 𝑥 = 𝐴)))
10 nfs1v 2465 . . . . . . 7 𝑥[𝑦 / 𝑥]𝜑
11 sbequ12 2149 . . . . . . 7 (𝑥 = 𝑦 → (𝜑 ↔ [𝑦 / 𝑥]𝜑))
1210, 11mo4f 2545 . . . . . 6 (∃*𝑥𝜑 ↔ ∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
13 sp 2091 . . . . . 6 (∀𝑥𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦) → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
1412, 13sylbi 207 . . . . 5 (∃*𝑥𝜑 → ∀𝑦((𝜑 ∧ [𝑦 / 𝑥]𝜑) → 𝑥 = 𝑦))
159, 14impel 484 . . . 4 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → ((𝜑𝜓) → 𝑥 = 𝐴))
1615expd 451 . . 3 ((𝐴𝐵 ∧ ∃*𝑥𝜑) → (𝜑 → (𝜓𝑥 = 𝐴)))
17163impia 1280 . 2 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝜓𝑥 = 𝐴))
183, 17impbid 202 1 ((𝐴𝐵 ∧ ∃*𝑥𝜑𝜑) → (𝑥 = 𝐴𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054  wal 1521   = wceq 1523  [wsb 1937  wcel 2030  ∃*wmo 2499
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-v 3233
This theorem is referenced by:  moi2  3420  mob  3421  rmob2  3564
  Copyright terms: Public domain W3C validator