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 30411
Description: Example for df-un 3902. 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 4121 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ ({1} ∪ {8}))
2 snsspr1 4765 . . . . 5 {1} ⊆ {1, 3}
3 ssequn2 4138 . . . . 5 ({1} ⊆ {1, 3} ↔ ({1, 3} ∪ {1}) = {1, 3})
42, 3mpbi 230 . . . 4 ({1, 3} ∪ {1}) = {1, 3}
54uneq1i 4113 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ {8})
61, 5eqtr3i 2756 . 2 ({1, 3} ∪ ({1} ∪ {8})) = ({1, 3} ∪ {8})
7 df-pr 4578 . . 3 {1, 8} = ({1} ∪ {8})
87uneq2i 4114 . 2 ({1, 3} ∪ {1, 8}) = ({1, 3} ∪ ({1} ∪ {8}))
9 df-tp 4580 . 2 {1, 3, 8} = ({1, 3} ∪ {8})
106, 8, 93eqtr4i 2764 1 ({1, 3} ∪ {1, 8}) = {1, 3, 8}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  cun 3895  wss 3897  {csn 4575  {cpr 4577  {ctp 4579  1c1 11013  3c3 12187  8c8 12192
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1544  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-v 3438  df-un 3902  df-ss 3914  df-pr 4578  df-tp 4580
This theorem is referenced by:  ex-uni  30413
  Copyright terms: Public domain W3C validator