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

Theorem ex-dif 30811
Description: Example for df-dif 3911. Example by David A. Wheeler. (Contributed by Mario Carneiro, 6-May-2015.)
Assertion
Ref Expression
ex-dif ({1, 3} ∖ {1, 8}) = {3}

Proof of Theorem ex-dif
StepHypRef Expression
1 df-pr 4597 . . 3 {1, 3} = ({1} ∪ {3})
21difeq1i 4080 . 2 ({1, 3} ∖ {1, 8}) = (({1} ∪ {3}) ∖ {1, 8})
3 difundir 4247 . 2 (({1} ∪ {3}) ∖ {1, 8}) = (({1} ∖ {1, 8}) ∪ ({3} ∖ {1, 8}))
4 snsspr1 4785 . . . . 5 {1} ⊆ {1, 8}
5 ssdif0 4324 . . . . 5 ({1} ⊆ {1, 8} ↔ ({1} ∖ {1, 8}) = ∅)
64, 5mpbi 233 . . . 4 ({1} ∖ {1, 8}) = ∅
7 incom 4165 . . . . . . 7 ({3} ∩ {1, 8}) = ({1, 8} ∩ {3})
8 1re 11226 . . . . . . . . . 10 1 ∈ ℝ
9 1lt3 12434 . . . . . . . . . 10 1 < 3
108, 9gtneii 11340 . . . . . . . . 9 3 ≠ 1
11 3re 12339 . . . . . . . . . 10 3 ∈ ℝ
12 3lt8 12457 . . . . . . . . . 10 3 < 8
1311, 12ltneii 11341 . . . . . . . . 9 3 ≠ 8
1410, 13nelpri 4626 . . . . . . . 8 ¬ 3 ∈ {1, 8}
15 disjsn 4682 . . . . . . . 8 (({1, 8} ∩ {3}) = ∅ ↔ ¬ 3 ∈ {1, 8})
1614, 15mpbir 234 . . . . . . 7 ({1, 8} ∩ {3}) = ∅
177, 16eqtri 2789 . . . . . 6 ({3} ∩ {1, 8}) = ∅
18 disj3 4417 . . . . . 6 (({3} ∩ {1, 8}) = ∅ ↔ {3} = ({3} ∖ {1, 8}))
1917, 18mpbi 233 . . . . 5 {3} = ({3} ∖ {1, 8})
2019eqcomi 2775 . . . 4 ({3} ∖ {1, 8}) = {3}
216, 20uneq12i 4123 . . 3 (({1} ∖ {1, 8}) ∪ ({3} ∖ {1, 8})) = (∅ ∪ {3})
22 uncom 4115 . . 3 (∅ ∪ {3}) = ({3} ∪ ∅)
23 un0 4354 . . 3 ({3} ∪ ∅) = {3}
2421, 22, 233eqtri 2793 . 2 (({1} ∖ {1, 8}) ∪ ({3} ∖ {1, 8})) = {3}
252, 3, 243eqtri 2793 1 ({1, 3} ∖ {1, 8}) = {3}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570  wcel 2146  cdif 3905  cun 3906  cin 3907  wss 3908  c0 4289  {csn 4594  {cpr 4596  1c1 11119  3c3 12314  8c8 12319
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-resscn 11175  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-mulcom 11182  ax-addass 11183  ax-mulass 11184  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rnegex 11189  ax-rrecex 11190  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193  ax-pre-ltadd 11194  ax-pre-mulgt0 11195
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-po 5574  df-so 5575  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7380  df-ov 7426  df-oprab 7427  df-mpo 7428  df-er 8703  df-en 8953  df-dom 8954  df-sdom 8955  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-sub 11461  df-neg 11462  df-2 12321  df-3 12322  df-4 12323  df-5 12324  df-6 12325  df-7 12326  df-8 12327
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator