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

Theorem eqsn 4788
Description: Two ways to express that a nonempty set equals a singleton. (Contributed by NM, 15-Dec-2007.) (Proof shortened by JJ, 23-Jul-2021.)
Assertion
Ref Expression
eqsn (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ ∀𝑥𝐴 𝑥 = 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem eqsn
StepHypRef Expression
1 df-ne 2959 . . 3 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
2 biorf 947 . . 3 𝐴 = ∅ → (𝐴 = {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵})))
31, 2sylbi 219 . 2 (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵})))
4 dfss3 3926 . . 3 (𝐴 ⊆ {𝐵} ↔ ∀𝑥𝐴 𝑥 ∈ {𝐵})
5 sssn 4785 . . 3 (𝐴 ⊆ {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵}))
6 velsn 4599 . . . 4 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
76ralbii 3109 . . 3 (∀𝑥𝐴 𝑥 ∈ {𝐵} ↔ ∀𝑥𝐴 𝑥 = 𝐵)
84, 5, 73bitr3i 303 . 2 ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ↔ ∀𝑥𝐴 𝑥 = 𝐵)
93, 8bitrdi 289 1 (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ ∀𝑥𝐴 𝑥 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wo 858   = wceq 1561  wcel 2143  wne 2958  wral 3077  wss 3905  c0 4286  {csn 4583
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1816  ax-4 1830  ax-5 1931  ax-6 1988  ax-7 2029  ax-8 2145  ax-9 2153  ax-ext 2735
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-tru 1564  df-fal 1574  df-ex 1801  df-sb 2092  df-clab 2742  df-cleq 2755  df-clel 2838  df-ne 2959  df-ral 3078  df-v 3457  df-dif 3908  df-ss 3922  df-nul 4287  df-sn 4584
This theorem is referenced by:  eqsnd  4789  issn  4791  zornn0g  10463  hashgt12el  14436  hashgt12el2  14437  hashge2el2dif  14494  simpgnideld  20142  01eq0ring  20581  lssne0  21019  qtopeu  23777  n0nsnel  32715  dimval  33899  dimvalfi  33900  rngoueqz  38440  n0nsn2el  47620  lmod0rng  48852
  Copyright terms: Public domain W3C validator