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

Theorem dfsymdif3 4253
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 4219 . . 3 (𝐴 ∖ (𝐴 ∩ 𝐵)) = (𝐴 ∖ 𝐵)
2 incom 4108 . . . . 5 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
32difeq2i 4062 . . . 4 (𝐵 ∖ (𝐴 ∩ 𝐵)) = (𝐵 ∖ (𝐵 ∩ 𝐴))
4 difin 4219 . . . 4 (𝐵 ∖ (𝐵 ∩ 𝐴)) = (𝐵 ∖ 𝐴)
53, 4eqtri 2786 . . 3 (𝐵 ∖ (𝐴 ∩ 𝐵)) = (𝐵 ∖ 𝐴)
61, 5uneq12i 4167 . 2 ((𝐴 ∖ (𝐴 ∩ 𝐵)) ∪ (𝐵 ∖ (𝐴 ∩ 𝐵))) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴))
7 difundir 4238 . 2 ((𝐴 ∪ 𝐵) ∖ (𝐴 ∩ 𝐵)) = ((𝐴 ∖ (𝐴 ∩ 𝐵)) ∪ (𝐵 ∖ (𝐴 ∩ 𝐵)))
8 df-symdif 4200 . 2 (𝐴 △ 𝐵) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴))
96, 7, 83eqtr4ri 2797 1 (𝐴 △ 𝐵) = ((𝐴 ∪ 𝐵) ∖ (𝐴 ∩ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569   ∖ cdif 4047   ∩ cin 4091   ∪ cun 4151   △ csymdif 4199
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-rab 3416  df-v 3455  df-dif 4049  df-in 4093  df-un 4153  df-symdif 4200
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator