Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > dfsymdif3 | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
dfsymdif3 | ⊢ (𝐴 △ 𝐵) = ((𝐴 ∪ 𝐵) ∖ (𝐴 ∩ 𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | difin 4195 | . . 3 ⊢ (𝐴 ∖ (𝐴 ∩ 𝐵)) = (𝐴 ∖ 𝐵) | |
2 | incom 4135 | . . . . 5 ⊢ (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴) | |
3 | 2 | difeq2i 4054 | . . . 4 ⊢ (𝐵 ∖ (𝐴 ∩ 𝐵)) = (𝐵 ∖ (𝐵 ∩ 𝐴)) |
4 | difin 4195 | . . . 4 ⊢ (𝐵 ∖ (𝐵 ∩ 𝐴)) = (𝐵 ∖ 𝐴) | |
5 | 3, 4 | eqtri 2766 | . . 3 ⊢ (𝐵 ∖ (𝐴 ∩ 𝐵)) = (𝐵 ∖ 𝐴) |
6 | 1, 5 | uneq12i 4095 | . 2 ⊢ ((𝐴 ∖ (𝐴 ∩ 𝐵)) ∪ (𝐵 ∖ (𝐴 ∩ 𝐵))) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) |
7 | difundir 4214 | . 2 ⊢ ((𝐴 ∪ 𝐵) ∖ (𝐴 ∩ 𝐵)) = ((𝐴 ∖ (𝐴 ∩ 𝐵)) ∪ (𝐵 ∖ (𝐴 ∩ 𝐵))) | |
8 | df-symdif 4176 | . 2 ⊢ (𝐴 △ 𝐵) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) | |
9 | 6, 7, 8 | 3eqtr4ri 2777 | 1 ⊢ (𝐴 △ 𝐵) = ((𝐴 ∪ 𝐵) ∖ (𝐴 ∩ 𝐵)) |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1539 ∖ cdif 3884 ∪ cun 3885 ∩ cin 3886 △ csymdif 4175 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-tru 1542 df-ex 1783 df-sb 2068 df-clab 2716 df-cleq 2730 df-clel 2816 df-rab 3073 df-v 3434 df-dif 3890 df-un 3892 df-in 3894 df-symdif 4176 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |