NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  sssn GIF version

Theorem sssn 3865
Description: The subsets of a singleton. (Contributed by NM, 24-Apr-2004.)
Assertion
Ref Expression
sssn ⊢ (A ⊆ {B} ↔ (A = ∅ ∨ A = {B}))

Proof of Theorem sssn
Dummy variable x is distinct from all other variables.
StepHypRef Expression
1 neq0 3561 . . . . . . 7 ⊢ (¬ A = ∅ ↔ ∃x x ∈ A)
2 ssel 3268 . . . . . . . . . . 11 ⊢ (A ⊆ {B} → (x ∈ A → x ∈ {B}))
3 elsni 3758 . . . . . . . . . . 11 ⊢ (x ∈ {B} → x = B)
42, 3syl6 29 . . . . . . . . . 10 ⊢ (A ⊆ {B} → (x ∈ A → x = B))
5 eleq1 2413 . . . . . . . . . 10 ⊢ (x = B → (x ∈ A ↔ B ∈ A))
64, 5syl6 29 . . . . . . . . 9 ⊢ (A ⊆ {B} → (x ∈ A → (x ∈ A ↔ B ∈ A)))
76ibd 234 . . . . . . . 8 ⊢ (A ⊆ {B} → (x ∈ A → B ∈ A))
87exlimdv 1636 . . . . . . 7 ⊢ (A ⊆ {B} → (∃x x ∈ A → B ∈ A))
91, 8syl5bi 208 . . . . . 6 ⊢ (A ⊆ {B} → (¬ A = ∅ → B ∈ A))
10 snssi 3853 . . . . . 6 ⊢ (B ∈ A → {B} ⊆ A)
119, 10syl6 29 . . . . 5 ⊢ (A ⊆ {B} → (¬ A = ∅ → {B} ⊆ A))
1211anc2li 540 . . . 4 ⊢ (A ⊆ {B} → (¬ A = ∅ → (A ⊆ {B} ∧ {B} ⊆ A)))
13 eqss 3288 . . . 4 ⊢ (A = {B} ↔ (A ⊆ {B} ∧ {B} ⊆ A))
1412, 13syl6ibr 218 . . 3 ⊢ (A ⊆ {B} → (¬ A = ∅ → A = {B}))
1514orrd 367 . 2 ⊢ (A ⊆ {B} → (A = ∅ ∨ A = {B}))
16 0ss 3580 . . . 4 ⊢ ∅ ⊆ {B}
17 sseq1 3293 . . . 4 ⊢ (A = ∅ → (A ⊆ {B} ↔ ∅ ⊆ {B}))
1816, 17mpbiri 224 . . 3 ⊢ (A = ∅ → A ⊆ {B})
19 eqimss 3324 . . 3 ⊢ (A = {B} → A ⊆ {B})
2018, 19jaoi 368 . 2 ⊢ ((A = ∅ ∨ A = {B}) → A ⊆ {B})
2115, 20impbii 180 1 ⊢ (A ⊆ {B} ↔ (A = ∅ ∨ A = {B}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 176   ∨ wo 357   ∧ wa 358  ∃wex 1541   = wceq 1642   ∈ wcel 1710   ⊆ wss 3258  ∅c0 3551  {csn 3738
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334
This proof depends on definitions:  df-bi 177  df-or 359  df-an 360  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-ne 2519  df-v 2862  df-nin 3212  df-compl 3213  df-in 3214  df-dif 3216  df-ss 3260  df-nul 3552  df-sn 3742
This theorem is used by:  eqsn  3868  snsssn  3874  pwsn  3882  unsneqsn  3888  foconst  5281
  Copyright terms: Public domain W3C validator