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 30247
Description: Example for df-un 3952. 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 4166 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ ({1} ∪ {8}))
2 snsspr1 4818 . . . . 5 {1} ⊆ {1, 3}
3 ssequn2 4183 . . . . 5 ({1} ⊆ {1, 3} ↔ ({1, 3} ∪ {1}) = {1, 3})
42, 3mpbi 229 . . . 4 ({1, 3} ∪ {1}) = {1, 3}
54uneq1i 4158 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ {8})
61, 5eqtr3i 2758 . 2 ({1, 3} ∪ ({1} ∪ {8})) = ({1, 3} ∪ {8})
7 df-pr 4632 . . 3 {1, 8} = ({1} ∪ {8})
87uneq2i 4159 . 2 ({1, 3} ∪ {1, 8}) = ({1, 3} ∪ ({1} ∪ {8}))
9 df-tp 4634 . 2 {1, 3, 8} = ({1, 3} ∪ {8})
106, 8, 93eqtr4i 2766 1 ({1, 3} ∪ {1, 8}) = {1, 3, 8}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1534  cun 3945  wss 3947  {csn 4629  {cpr 4631  {ctp 4633  1c1 11140  3c3 12299  8c8 12304
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-ext 2699
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-tru 1537  df-ex 1775  df-sb 2061  df-clab 2706  df-cleq 2720  df-clel 2806  df-v 3473  df-un 3952  df-in 3954  df-ss 3964  df-pr 4632  df-tp 4634
This theorem is referenced by:  ex-uni  30249
  Copyright terms: Public domain W3C validator