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

Theorem sspr 3870
Description: The subsets of a pair. (Contributed by NM, 16-Mar-2006.) (Proof shortened by Mario Carneiro, 2-Jul-2016.)
Assertion
Ref Expression
sspr ⊢ (A ⊆ {B, C} ↔ ((A = ∅ ∨ A = {B}) ∨ (A = {C} ∨ A = {B, C})))

Proof of Theorem sspr
StepHypRef Expression
1 uncom 3409 . . . . 5 ⊢ (∅ ∪ {B, C}) = ({B, C} ∪ ∅)
2 un0 3576 . . . . 5 ⊢ ({B, C} ∪ ∅) = {B, C}
31, 2eqtri 2373 . . . 4 ⊢ (∅ ∪ {B, C}) = {B, C}
43sseq2i 3297 . . 3 ⊢ (A ⊆ (∅ ∪ {B, C}) ↔ A ⊆ {B, C})
5 0ss 3580 . . . 4 ⊢ ∅ ⊆ A
65biantrur 492 . . 3 ⊢ (A ⊆ (∅ ∪ {B, C}) ↔ (∅ ⊆ A ∧ A ⊆ (∅ ∪ {B, C})))
74, 6bitr3i 242 . 2 ⊢ (A ⊆ {B, C} ↔ (∅ ⊆ A ∧ A ⊆ (∅ ∪ {B, C})))
8 ssunpr 3869 . 2 ⊢ ((∅ ⊆ A ∧ A ⊆ (∅ ∪ {B, C})) ↔ ((A = ∅ ∨ A = (∅ ∪ {B})) ∨ (A = (∅ ∪ {C}) ∨ A = (∅ ∪ {B, C}))))
9 uncom 3409 . . . . . 6 ⊢ (∅ ∪ {B}) = ({B} ∪ ∅)
10 un0 3576 . . . . . 6 ⊢ ({B} ∪ ∅) = {B}
119, 10eqtri 2373 . . . . 5 ⊢ (∅ ∪ {B}) = {B}
1211eqeq2i 2363 . . . 4 ⊢ (A = (∅ ∪ {B}) ↔ A = {B})
1312orbi2i 505 . . 3 ⊢ ((A = ∅ ∨ A = (∅ ∪ {B})) ↔ (A = ∅ ∨ A = {B}))
14 uncom 3409 . . . . . 6 ⊢ (∅ ∪ {C}) = ({C} ∪ ∅)
15 un0 3576 . . . . . 6 ⊢ ({C} ∪ ∅) = {C}
1614, 15eqtri 2373 . . . . 5 ⊢ (∅ ∪ {C}) = {C}
1716eqeq2i 2363 . . . 4 ⊢ (A = (∅ ∪ {C}) ↔ A = {C})
183eqeq2i 2363 . . . 4 ⊢ (A = (∅ ∪ {B, C}) ↔ A = {B, C})
1917, 18orbi12i 507 . . 3 ⊢ ((A = (∅ ∪ {C}) ∨ A = (∅ ∪ {B, C})) ↔ (A = {C} ∨ A = {B, C}))
2013, 19orbi12i 507 . 2 ⊢ (((A = ∅ ∨ A = (∅ ∪ {B})) ∨ (A = (∅ ∪ {C}) ∨ A = (∅ ∪ {B, C}))) ↔ ((A = ∅ ∨ A = {B}) ∨ (A = {C} ∨ A = {B, C})))
217, 8, 203bitri 262 1 ⊢ (A ⊆ {B, C} ↔ ((A = ∅ ∨ A = {B}) ∨ (A = {C} ∨ A = {B, C})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 176   ∨ wo 357   ∧ wa 358   = wceq 1642   ∪ cun 3208   ⊆ wss 3258  ∅c0 3551  {csn 3738  {cpr 3739
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-ral 2620  df-v 2862  df-nin 3212  df-compl 3213  df-in 3214  df-un 3215  df-dif 3216  df-ss 3260  df-nul 3552  df-sn 3742  df-pr 3743
This theorem is used by:  sstp  3871  pwpr  3884
  Copyright terms: Public domain W3C validator