ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  symdif1 GIF version

Theorem symdif1 3400
Description: Two ways to express symmetric difference. This theorem shows the equivalence of the definition of symmetric difference in [Stoll] p. 13 and the restated definition in Example 4.1 of [Stoll] p. 262. (Contributed by NM, 17-Aug-2004.)
Assertion
Ref Expression
symdif1 ((𝐴𝐵) ∪ (𝐵𝐴)) = ((𝐴𝐵) ∖ (𝐴𝐵))

Proof of Theorem symdif1
StepHypRef Expression
1 difundir 3388 . 2 ((𝐴𝐵) ∖ (𝐴𝐵)) = ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵)))
2 difin 3372 . . 3 (𝐴 ∖ (𝐴𝐵)) = (𝐴𝐵)
3 incom 3327 . . . . 5 (𝐴𝐵) = (𝐵𝐴)
43difeq2i 3250 . . . 4 (𝐵 ∖ (𝐴𝐵)) = (𝐵 ∖ (𝐵𝐴))
5 difin 3372 . . . 4 (𝐵 ∖ (𝐵𝐴)) = (𝐵𝐴)
64, 5eqtri 2198 . . 3 (𝐵 ∖ (𝐴𝐵)) = (𝐵𝐴)
72, 6uneq12i 3287 . 2 ((𝐴 ∖ (𝐴𝐵)) ∪ (𝐵 ∖ (𝐴𝐵))) = ((𝐴𝐵) ∪ (𝐵𝐴))
81, 7eqtr2i 2199 1 ((𝐴𝐵) ∪ (𝐵𝐴)) = ((𝐴𝐵) ∖ (𝐴𝐵))
Colors of variables: wff set class
Syntax hints:   = wceq 1353  cdif 3126  cun 3127  cin 3128
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-ext 2159
This theorem depends on definitions:  df-bi 117  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-rab 2464  df-v 2739  df-dif 3131  df-un 3133  df-in 3135
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator