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

Theorem dfsymdif3 4041
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 4010 . . 3 (𝐴 ∖ (𝐴𝐵)) = (𝐴𝐵)
2 incom 3956 . . . . 5 (𝐴𝐵) = (𝐵𝐴)
32difeq2i 3876 . . . 4 (𝐵 ∖ (𝐴𝐵)) = (𝐵 ∖ (𝐵𝐴))
4 difin 4010 . . . 4 (𝐵 ∖ (𝐵𝐴)) = (𝐵𝐴)
53, 4eqtri 2793 . . 3 (𝐵 ∖ (𝐴𝐵)) = (𝐵𝐴)
61, 5uneq12i 3916 . 2 ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵))) = ((𝐴𝐵) ∪ (𝐵𝐴))
7 difundir 4029 . 2 ((𝐴𝐵) ∖ (𝐴𝐵)) = ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵)))
8 df-symdif 3994 . 2 (𝐴𝐵) = ((𝐴𝐵) ∪ (𝐵𝐴))
96, 7, 83eqtr4ri 2804 1 (𝐴𝐵) = ((𝐴𝐵) ∖ (𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1631  cdif 3720  cun 3721  cin 3722  csymdif 3993
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ral 3066  df-rab 3070  df-v 3353  df-dif 3726  df-un 3728  df-in 3730  df-symdif 3994
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator