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

Theorem dfsymdif3 4252
Description: Alternate definition of the symmetric difference, given in Example 4.1 of [Stoll] p. 262 (the original definition corresponds to [Stoll] p. 13). (Contributed by NM, 17-Aug-2004.) (Revised by BJ, 30-Apr-2020.)
Assertion
Ref Expression
dfsymdif3 (𝐴𝐵) = ((𝐴𝐵) ∖ (𝐴𝐵))

Proof of Theorem dfsymdif3
StepHypRef Expression
1 difin 4218 . . 3 (𝐴 ∖ (𝐴𝐵)) = (𝐴𝐵)
2 incom 4155 . . . . 5 (𝐴𝐵) = (𝐵𝐴)
32difeq2i 4071 . . . 4 (𝐵 ∖ (𝐴𝐵)) = (𝐵 ∖ (𝐵𝐴))
4 difin 4218 . . . 4 (𝐵 ∖ (𝐵𝐴)) = (𝐵𝐴)
53, 4eqtri 2783 . . 3 (𝐵 ∖ (𝐴𝐵)) = (𝐵𝐴)
61, 5uneq12i 4113 . 2 ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵))) = ((𝐴𝐵) ∪ (𝐵𝐴))
7 difundir 4237 . 2 ((𝐴𝐵) ∖ (𝐴𝐵)) = ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵)))
8 df-symdif 4199 . 2 (𝐴𝐵) = ((𝐴𝐵) ∪ (𝐵𝐴))
96, 7, 83eqtr4ri 2794 1 (𝐴𝐵) = ((𝐴𝐵) ∖ (𝐴𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  cdif 3896  cun 3897  cin 3898  csymdif 4198
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 2732
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 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-dif 3902  df-un 3904  df-in 3906  df-symdif 4199
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator