Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > eqsn | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
eqsn | ⊢ (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-ne 2944 | . . 3 ⊢ (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅) | |
2 | biorf 934 | . . 3 ⊢ (¬ 𝐴 = ∅ → (𝐴 = {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵}))) | |
3 | 1, 2 | sylbi 216 | . 2 ⊢ (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵}))) |
4 | dfss3 3909 | . . 3 ⊢ (𝐴 ⊆ {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 ∈ {𝐵}) | |
5 | sssn 4759 | . . 3 ⊢ (𝐴 ⊆ {𝐵} ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵})) | |
6 | velsn 4577 | . . . 4 ⊢ (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵) | |
7 | 6 | ralbii 3092 | . . 3 ⊢ (∀𝑥 ∈ 𝐴 𝑥 ∈ {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵) |
8 | 4, 5, 7 | 3bitr3i 301 | . 2 ⊢ ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵) |
9 | 3, 8 | bitrdi 287 | 1 ⊢ (𝐴 ≠ ∅ → (𝐴 = {𝐵} ↔ ∀𝑥 ∈ 𝐴 𝑥 = 𝐵)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 ∨ wo 844 = wceq 1539 ∈ wcel 2106 ≠ wne 2943 ∀wral 3064 ⊆ wss 3887 ∅c0 4256 {csn 4561 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-tru 1542 df-fal 1552 df-ex 1783 df-sb 2068 df-clab 2716 df-cleq 2730 df-clel 2816 df-ne 2944 df-ral 3069 df-v 3434 df-dif 3890 df-in 3894 df-ss 3904 df-nul 4257 df-sn 4562 |
This theorem is referenced by: issn 4763 zornn0g 10261 hashgt12el 14137 hashgt12el2 14138 hashge2el2dif 14194 simpgnideld 19702 lssne0 20212 qtopeu 22867 dimval 31686 dimvalfi 31687 rngoueqz 36098 lmod0rng 45426 |
Copyright terms: Public domain | W3C validator |