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

Theorem issn 4799
Description: A sufficient condition for a (nonempty) set to be a singleton. (Contributed by AV, 20-Sep-2020.)
Assertion
Ref Expression
issn (∃𝑥𝐴𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧})
Distinct variable groups:   𝑥,𝐴,𝑦   𝑧,𝐴,𝑥

Proof of Theorem issn
StepHypRef Expression
1 equcom 2018 . . . . . 6 (𝑥 = 𝑦𝑦 = 𝑥)
21a1i 11 . . . . 5 (𝑥𝐴 → (𝑥 = 𝑦𝑦 = 𝑥))
32ralbidv 3157 . . . 4 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 ↔ ∀𝑦𝐴 𝑦 = 𝑥))
4 ne0i 4307 . . . . 5 (𝑥𝐴𝐴 ≠ ∅)
5 eqsn 4796 . . . . 5 (𝐴 ≠ ∅ → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
64, 5syl 17 . . . 4 (𝑥𝐴 → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
73, 6bitr4d 282 . . 3 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦𝐴 = {𝑥}))
8 sneq 4602 . . . . 5 (𝑧 = 𝑥 → {𝑧} = {𝑥})
98eqeq2d 2741 . . . 4 (𝑧 = 𝑥 → (𝐴 = {𝑧} ↔ 𝐴 = {𝑥}))
109spcegv 3566 . . 3 (𝑥𝐴 → (𝐴 = {𝑥} → ∃𝑧 𝐴 = {𝑧}))
117, 10sylbid 240 . 2 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧}))
1211rexlimiv 3128 1 (∃𝑥𝐴𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206   = wceq 1540  wex 1779  wcel 2109  wne 2926  wral 3045  wrex 3054  c0 4299  {csn 4592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-ext 2702
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2066  df-clab 2709  df-cleq 2722  df-clel 2804  df-ne 2927  df-ral 3046  df-rex 3055  df-v 3452  df-dif 3920  df-ss 3934  df-nul 4300  df-sn 4593
This theorem is referenced by:  n0snor2el  4800  f1cdmsn  7260
  Copyright terms: Public domain W3C validator