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

Theorem issn 4790
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 2020 . . . . . 6 (𝑥 = 𝑦𝑦 = 𝑥)
21a1i 11 . . . . 5 (𝑥𝐴 → (𝑥 = 𝑦𝑦 = 𝑥))
32ralbidv 3161 . . . 4 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 ↔ ∀𝑦𝐴 𝑦 = 𝑥))
4 ne0i 4295 . . . . 5 (𝑥𝐴𝐴 ≠ ∅)
5 eqsn 4787 . . . . 5 (𝐴 ≠ ∅ → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
64, 5syl 17 . . . 4 (𝑥𝐴 → (𝐴 = {𝑥} ↔ ∀𝑦𝐴 𝑦 = 𝑥))
73, 6bitr4d 282 . . 3 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦𝐴 = {𝑥}))
8 sneq 4592 . . . . 5 (𝑧 = 𝑥 → {𝑧} = {𝑥})
98eqeq2d 2748 . . . 4 (𝑧 = 𝑥 → (𝐴 = {𝑧} ↔ 𝐴 = {𝑥}))
109spcegv 3553 . . 3 (𝑥𝐴 → (𝐴 = {𝑥} → ∃𝑧 𝐴 = {𝑧}))
117, 10sylbid 240 . 2 (𝑥𝐴 → (∀𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧}))
1211rexlimiv 3132 1 (∃𝑥𝐴𝑦𝐴 𝑥 = 𝑦 → ∃𝑧 𝐴 = {𝑧})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206   = wceq 1542  wex 1781  wcel 2114  wne 2933  wral 3052  wrex 3062  c0 4287  {csn 4582
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ne 2934  df-ral 3053  df-rex 3063  df-v 3444  df-dif 3906  df-ss 3920  df-nul 4288  df-sn 4583
This theorem is referenced by:  n0snor2el  4791  f1cdmsn  7238
  Copyright terms: Public domain W3C validator