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 30912
Description: Example for df-un 3907. 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 4778 . . . . 5 {1} ⊆ {1, 3}
3 ssequn2 4138 . . . . 5 ({1} ⊆ {1, 3} ↔ ({1, 3} ∪ {1}) = {1, 3})
42, 3mpbi 233 . . . 4 ({1, 3} ∪ {1}) = {1, 3}
54uneq1i 4114 . . 3 (({1, 3} ∪ {1}) ∪ {8}) = ({1, 3} ∪ {8})
61, 5eqtr3i 2787 . 2 ({1, 3} ∪ ({1} ∪ {8})) = ({1, 3} ∪ {8})
7 df-pr 4590 . . 3 {1, 8} = ({1} ∪ {8})
87uneq2i 4115 . 2 ({1, 3} ∪ {1, 8}) = ({1, 3} ∪ ({1} ∪ {8}))
9 df-tp 4592 . 2 {1, 3, 8} = ({1, 3} ∪ {8})
106, 8, 93eqtr4i 2795 1 ({1, 3} ∪ {1, 8}) = {1, 3, 8}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  cun 3900  wss 3902  {csn 4587  {cpr 4589  {ctp 4591  1c1 11129  3c3 12324  8c8 12329
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2734
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2741  df-cleq 2754  df-clel 2837  df-v 3455  df-un 3907  df-ss 3919  df-pr 4590  df-tp 4592
This theorem is used by:  ex-uni  30914
  Copyright terms: Public domain W3C validator