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

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

Proof of Theorem sspr
StepHypRef Expression
1 uncom 4087 . . . . 5 (∅ ∪ {𝐵, 𝐶}) = ({𝐵, 𝐶} ∪ ∅)
2 un0 4324 . . . . 5 ({𝐵, 𝐶} ∪ ∅) = {𝐵, 𝐶}
31, 2eqtri 2766 . . . 4 (∅ ∪ {𝐵, 𝐶}) = {𝐵, 𝐶}
43sseq2i 3950 . . 3 (𝐴 ⊆ (∅ ∪ {𝐵, 𝐶}) ↔ 𝐴 ⊆ {𝐵, 𝐶})
5 0ss 4330 . . . 4 ∅ ⊆ 𝐴
65biantrur 531 . . 3 (𝐴 ⊆ (∅ ∪ {𝐵, 𝐶}) ↔ (∅ ⊆ 𝐴𝐴 ⊆ (∅ ∪ {𝐵, 𝐶})))
74, 6bitr3i 276 . 2 (𝐴 ⊆ {𝐵, 𝐶} ↔ (∅ ⊆ 𝐴𝐴 ⊆ (∅ ∪ {𝐵, 𝐶})))
8 ssunpr 4765 . 2 ((∅ ⊆ 𝐴𝐴 ⊆ (∅ ∪ {𝐵, 𝐶})) ↔ ((𝐴 = ∅ ∨ 𝐴 = (∅ ∪ {𝐵})) ∨ (𝐴 = (∅ ∪ {𝐶}) ∨ 𝐴 = (∅ ∪ {𝐵, 𝐶}))))
9 uncom 4087 . . . . . 6 (∅ ∪ {𝐵}) = ({𝐵} ∪ ∅)
10 un0 4324 . . . . . 6 ({𝐵} ∪ ∅) = {𝐵}
119, 10eqtri 2766 . . . . 5 (∅ ∪ {𝐵}) = {𝐵}
1211eqeq2i 2751 . . . 4 (𝐴 = (∅ ∪ {𝐵}) ↔ 𝐴 = {𝐵})
1312orbi2i 910 . . 3 ((𝐴 = ∅ ∨ 𝐴 = (∅ ∪ {𝐵})) ↔ (𝐴 = ∅ ∨ 𝐴 = {𝐵}))
14 uncom 4087 . . . . . 6 (∅ ∪ {𝐶}) = ({𝐶} ∪ ∅)
15 un0 4324 . . . . . 6 ({𝐶} ∪ ∅) = {𝐶}
1614, 15eqtri 2766 . . . . 5 (∅ ∪ {𝐶}) = {𝐶}
1716eqeq2i 2751 . . . 4 (𝐴 = (∅ ∪ {𝐶}) ↔ 𝐴 = {𝐶})
183eqeq2i 2751 . . . 4 (𝐴 = (∅ ∪ {𝐵, 𝐶}) ↔ 𝐴 = {𝐵, 𝐶})
1917, 18orbi12i 912 . . 3 ((𝐴 = (∅ ∪ {𝐶}) ∨ 𝐴 = (∅ ∪ {𝐵, 𝐶})) ↔ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶}))
2013, 19orbi12i 912 . 2 (((𝐴 = ∅ ∨ 𝐴 = (∅ ∪ {𝐵})) ∨ (𝐴 = (∅ ∪ {𝐶}) ∨ 𝐴 = (∅ ∪ {𝐵, 𝐶}))) ↔ ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})))
217, 8, 203bitri 297 1 (𝐴 ⊆ {𝐵, 𝐶} ↔ ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  wo 844   = wceq 1539  cun 3885  wss 3887  c0 4256  {csn 4561  {cpr 4563
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-ral 3069  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-sn 4562  df-pr 4564
This theorem is referenced by:  sstp  4767  pwpr  4833  propssopi  5422  indistopon  22151  bj-prmoore  35286
  Copyright terms: Public domain W3C validator