MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  symdif1 Unicode version

Theorem symdif1 3446
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  |-  ( ( A  \  B )  u.  ( B  \  A ) )  =  ( ( A  u.  B )  \  ( A  i^i  B ) )

Proof of Theorem symdif1
StepHypRef Expression
1 difundir 3435 . 2  |-  ( ( A  u.  B ) 
\  ( A  i^i  B ) )  =  ( ( A  \  ( A  i^i  B ) )  u.  ( B  \ 
( A  i^i  B
) ) )
2 difin 3419 . . 3  |-  ( A 
\  ( A  i^i  B ) )  =  ( A  \  B )
3 incom 3374 . . . . 5  |-  ( A  i^i  B )  =  ( B  i^i  A
)
43difeq2i 3304 . . . 4  |-  ( B 
\  ( A  i^i  B ) )  =  ( B  \  ( B  i^i  A ) )
5 difin 3419 . . . 4  |-  ( B 
\  ( B  i^i  A ) )  =  ( B  \  A )
64, 5eqtri 2316 . . 3  |-  ( B 
\  ( A  i^i  B ) )  =  ( B  \  A )
72, 6uneq12i 3340 . 2  |-  ( ( A  \  ( A  i^i  B ) )  u.  ( B  \ 
( A  i^i  B
) ) )  =  ( ( A  \  B )  u.  ( B  \  A ) )
81, 7eqtr2i 2317 1  |-  ( ( A  \  B )  u.  ( B  \  A ) )  =  ( ( A  u.  B )  \  ( A  i^i  B ) )
Colors of variables: wff set class
Syntax hints:    = wceq 1632    \ cdif 3162    u. cun 3163    i^i cin 3164
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ral 2561  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172
  Copyright terms: Public domain W3C validator