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

Theorem ex-un 30684
Description: Example for df-un 3912. Example by David A. Wheeler. (Contributed by Mario Carneiro, 6-May-2015.)
Assertion
Ref Expression
ex-un ({1, 3} ∪ {1, 8}) = {1, 3, 8}

Proof of Theorem ex-un
StepHypRef Expression
1 unass 4127 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ ({1} ∪ {8}))
2 snsspr1 4775 . . . . 5 {1} ⊆ {1, 3}
3 ssequn2 4144 . . . . 5 ({1} ⊆ {1, 3} ↔ ({1, 3} ∪ {1}) = {1, 3})
42, 3mpbi 233 . . . 4 ({1, 3} ∪ {1}) = {1, 3}
54uneq1i 4120 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ {8})
61, 5eqtr3i 2790 . 2 ({1, 3} ∪ ({1} ∪ {8})) = ({1, 3} ∪ {8})
7 df-pr 4588 . . 3 {1, 8} = ({1} ∪ {8})
87uneq2i 4121 . 2 ({1, 3} ∪ {1, 8}) = ({1, 3} ∪ ({1} ∪ {8}))
9 df-tp 4590 . 2 {1, 3, 8} = ({1, 3} ∪ {8})
106, 8, 93eqtr4i 2798 1 ({1, 3} ∪ {1, 8}) = {1, 3, 8}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1563  cun 3905  wss 3907  {csn 4585  {cpr 4587  {ctp 4589  1c1 11089  3c3 12287  8c8 12292
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-ext 2737
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-tru 1566  df-ex 1803  df-sb 2094  df-clab 2744  df-cleq 2757  df-clel 2840  df-v 3459  df-un 3912  df-ss 3924  df-pr 4588  df-tp 4590
This theorem is referenced by:  ex-uni  30686
  Copyright terms: Public domain W3C validator