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

Theorem issn 4786
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 2050 . . . . . 6 (𝑥 = 𝑦 ↔ 𝑦 = 𝑥)
21a1i 11 . . . . 5 (𝑥 ∈ 𝐴 → (𝑥 = 𝑦 ↔ 𝑦 = 𝑥))
32ralbidv 3185 . . . 4 (𝑥 ∈ 𝐴 → (∀𝑦 ∈ 𝐴 𝑥 = 𝑦 ↔ ∀𝑦 ∈ 𝐴 𝑦 = 𝑥))
4 ne0i 4286 . . . . 5 (𝑥 ∈ 𝐴 → 𝐴 ≠ ∅)
5 eqsn 4784 . . . . 5 (𝐴 ≠ ∅ → (𝐴 = {𝑥} ↔ ∀𝑦 ∈ 𝐴 𝑦 = 𝑥))
64, 5syl 18 . . . 4 (𝑥 ∈ 𝐴 → (𝐴 = {𝑥} ↔ ∀𝑦 ∈ 𝐴 𝑦 = 𝑥))
73, 6bitr4d 285 . . 3 (𝑥 ∈ 𝐴 → (∀𝑦 ∈ 𝐴 𝑥 = 𝑦 ↔ 𝐴 = {𝑥}))
8 sneq 4590 . . . . 5 (𝑧 = 𝑥 → {𝑧} = {𝑥})
98eqeq2d 2771 . . . 4 (𝑧 = 𝑥 → (𝐴 = {𝑧} ↔ 𝐴 = {𝑥}))
109spcegv 3551 . . 3 (𝑥 ∈ 𝐴 → (𝐴 = {𝑥} → ∃𝑧 𝐴 = {𝑧}))
117, 10sylbid 243 . 2 (𝑥 ∈ 𝐴 → (∀𝑦 ∈ 𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧}))
1211rexlimiv 3156 1 (∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ∅c0 4277  {csn 4584
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3897  df-dif 4046  df-nul 4278  df-sn 4585
This theorem is used by:  n0snor2el  4787  f1cdmsn  7294
  Copyright terms: Public domain W3C validator