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

Theorem sstp 4766
Description: The subsets of a triple. (Contributed by Mario Carneiro, 2-Jul-2016.)
Assertion
Ref Expression
sstp (𝐴 ⊆ {𝐵, 𝐶, 𝐷} ↔ (((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})) ∨ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷}))))

Proof of Theorem sstp
StepHypRef Expression
1 df-tp 4571 . . 3 {𝐵, 𝐶, 𝐷} = ({𝐵, 𝐶} ∪ {𝐷})
21sseq2i 3995 . 2 (𝐴 ⊆ {𝐵, 𝐶, 𝐷} ↔ 𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷}))
3 0ss 4349 . . 3 ∅ ⊆ 𝐴
43biantrur 533 . 2 (𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷}) ↔ (∅ ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷})))
5 ssunsn2 4759 . . 3 ((∅ ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷})) ↔ ((∅ ⊆ 𝐴𝐴 ⊆ {𝐵, 𝐶}) ∨ ((∅ ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷}))))
63biantrur 533 . . . . 5 (𝐴 ⊆ {𝐵, 𝐶} ↔ (∅ ⊆ 𝐴𝐴 ⊆ {𝐵, 𝐶}))
7 sspr 4765 . . . . 5 (𝐴 ⊆ {𝐵, 𝐶} ↔ ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})))
86, 7bitr3i 279 . . . 4 ((∅ ⊆ 𝐴𝐴 ⊆ {𝐵, 𝐶}) ↔ ((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})))
9 uncom 4128 . . . . . . . 8 (∅ ∪ {𝐷}) = ({𝐷} ∪ ∅)
10 un0 4343 . . . . . . . 8 ({𝐷} ∪ ∅) = {𝐷}
119, 10eqtri 2844 . . . . . . 7 (∅ ∪ {𝐷}) = {𝐷}
1211sseq1i 3994 . . . . . 6 ((∅ ∪ {𝐷}) ⊆ 𝐴 ↔ {𝐷} ⊆ 𝐴)
13 uncom 4128 . . . . . . 7 ({𝐵, 𝐶} ∪ {𝐷}) = ({𝐷} ∪ {𝐵, 𝐶})
1413sseq2i 3995 . . . . . 6 (𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷}) ↔ 𝐴 ⊆ ({𝐷} ∪ {𝐵, 𝐶}))
1512, 14anbi12i 628 . . . . 5 (((∅ ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷})) ↔ ({𝐷} ⊆ 𝐴𝐴 ⊆ ({𝐷} ∪ {𝐵, 𝐶})))
16 ssunpr 4764 . . . . 5 (({𝐷} ⊆ 𝐴𝐴 ⊆ ({𝐷} ∪ {𝐵, 𝐶})) ↔ ((𝐴 = {𝐷} ∨ 𝐴 = ({𝐷} ∪ {𝐵})) ∨ (𝐴 = ({𝐷} ∪ {𝐶}) ∨ 𝐴 = ({𝐷} ∪ {𝐵, 𝐶}))))
17 uncom 4128 . . . . . . . . 9 ({𝐷} ∪ {𝐵}) = ({𝐵} ∪ {𝐷})
18 df-pr 4569 . . . . . . . . 9 {𝐵, 𝐷} = ({𝐵} ∪ {𝐷})
1917, 18eqtr4i 2847 . . . . . . . 8 ({𝐷} ∪ {𝐵}) = {𝐵, 𝐷}
2019eqeq2i 2834 . . . . . . 7 (𝐴 = ({𝐷} ∪ {𝐵}) ↔ 𝐴 = {𝐵, 𝐷})
2120orbi2i 909 . . . . . 6 ((𝐴 = {𝐷} ∨ 𝐴 = ({𝐷} ∪ {𝐵})) ↔ (𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}))
22 uncom 4128 . . . . . . . . 9 ({𝐷} ∪ {𝐶}) = ({𝐶} ∪ {𝐷})
23 df-pr 4569 . . . . . . . . 9 {𝐶, 𝐷} = ({𝐶} ∪ {𝐷})
2422, 23eqtr4i 2847 . . . . . . . 8 ({𝐷} ∪ {𝐶}) = {𝐶, 𝐷}
2524eqeq2i 2834 . . . . . . 7 (𝐴 = ({𝐷} ∪ {𝐶}) ↔ 𝐴 = {𝐶, 𝐷})
261, 13eqtr2i 2845 . . . . . . . 8 ({𝐷} ∪ {𝐵, 𝐶}) = {𝐵, 𝐶, 𝐷}
2726eqeq2i 2834 . . . . . . 7 (𝐴 = ({𝐷} ∪ {𝐵, 𝐶}) ↔ 𝐴 = {𝐵, 𝐶, 𝐷})
2825, 27orbi12i 911 . . . . . 6 ((𝐴 = ({𝐷} ∪ {𝐶}) ∨ 𝐴 = ({𝐷} ∪ {𝐵, 𝐶})) ↔ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷}))
2921, 28orbi12i 911 . . . . 5 (((𝐴 = {𝐷} ∨ 𝐴 = ({𝐷} ∪ {𝐵})) ∨ (𝐴 = ({𝐷} ∪ {𝐶}) ∨ 𝐴 = ({𝐷} ∪ {𝐵, 𝐶}))) ↔ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷})))
3015, 16, 293bitri 299 . . . 4 (((∅ ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷})) ↔ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷})))
318, 30orbi12i 911 . . 3 (((∅ ⊆ 𝐴𝐴 ⊆ {𝐵, 𝐶}) ∨ ((∅ ∪ {𝐷}) ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷}))) ↔ (((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})) ∨ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷}))))
325, 31bitri 277 . 2 ((∅ ⊆ 𝐴𝐴 ⊆ ({𝐵, 𝐶} ∪ {𝐷})) ↔ (((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})) ∨ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷}))))
332, 4, 323bitri 299 1 (𝐴 ⊆ {𝐵, 𝐶, 𝐷} ↔ (((𝐴 = ∅ ∨ 𝐴 = {𝐵}) ∨ (𝐴 = {𝐶} ∨ 𝐴 = {𝐵, 𝐶})) ∨ ((𝐴 = {𝐷} ∨ 𝐴 = {𝐵, 𝐷}) ∨ (𝐴 = {𝐶, 𝐷} ∨ 𝐴 = {𝐵, 𝐶, 𝐷}))))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wo 843   = wceq 1533  cun 3933  wss 3935  c0 4290  {csn 4566  {cpr 4568  {ctp 4570
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-sn 4567  df-pr 4569  df-tp 4571
This theorem is referenced by:  pwtp  4832
  Copyright terms: Public domain W3C validator