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

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

Proof of Theorem issn
StepHypRef Expression
1 equcom 2006 . . . . . 6 (𝑥 = 𝑦𝑦 = 𝑥)
21a1i 11 . . . . 5 (𝑥𝐴 → (𝑥 = 𝑦𝑦 = 𝑥))
32ralbidv 3166 . . . 4 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 ↔ ∀𝑦𝐴 𝑦 = 𝑥))
4 ne0i 4226 . . . . 5 (𝑥𝐴𝐴 ≠ ∅)
5 eqsn 4675 . . . . 5 (𝐴 ≠ ∅ → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
64, 5syl 17 . . . 4 (𝑥𝐴 → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
73, 6bitr4d 283 . . 3 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦𝐴 = {𝑥}))
8 sneq 4488 . . . . 5 (𝑧 = 𝑥 → {𝑧} = {𝑥})
98eqeq2d 2807 . . . 4 (𝑧 = 𝑥 → (𝐴 = {𝑧} ↔ 𝐴 = {𝑥}))
109spcegv 3542 . . 3 (𝑥𝐴 → (𝐴 = {𝑥} → ∃𝑧 𝐴 = {𝑧}))
117, 10sylbid 241 . 2 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧}))
1211rexlimiv 3245 1 (∃𝑥𝐴𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207   = wceq 1525  wex 1765  wcel 2083  wne 2986  wral 3107  wrex 3108  c0 4217  {csn 4478
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1781  ax-4 1795  ax-5 1892  ax-6 1951  ax-7 1996  ax-8 2085  ax-9 2093  ax-10 2114  ax-11 2128  ax-12 2143  ax-ext 2771
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-3an 1082  df-tru 1528  df-ex 1766  df-nf 1770  df-sb 2045  df-clab 2778  df-cleq 2790  df-clel 2865  df-nfc 2937  df-ne 2987  df-ral 3112  df-rex 3113  df-v 3442  df-dif 3868  df-in 3872  df-ss 3880  df-nul 4218  df-sn 4479
This theorem is referenced by:  n0snor2el  4677
  Copyright terms: Public domain W3C validator