| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > df-symdif | Structured version Visualization version GIF version | ||
| Description: Define the symmetric difference of two classes. Alternate definitions are dfsymdif2 4261, dfsymdif3 4306 and dfsymdif4 4259. (Contributed by Scott Fenton, 31-Mar-2012.) |
| Ref | Expression |
|---|---|
| df-symdif | ⊢ (𝐴 △ 𝐵) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cA | . . 3 class 𝐴 | |
| 2 | cB | . . 3 class 𝐵 | |
| 3 | 1, 2 | csymdif 4252 | . 2 class (𝐴 △ 𝐵) |
| 4 | 1, 2 | cdif 3948 | . . 3 class (𝐴 ∖ 𝐵) |
| 5 | 2, 1 | cdif 3948 | . . 3 class (𝐵 ∖ 𝐴) |
| 6 | 4, 5 | cun 3949 | . 2 class ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) |
| 7 | 3, 6 | wceq 1540 | 1 wff (𝐴 △ 𝐵) = ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) |
| Colors of variables: wff setvar class |
| This definition is referenced by: symdifcom 4254 symdifeq1 4255 nfsymdif 4257 elsymdif 4258 difsssymdif 4263 dfsymdif3 4306 symdif0 5085 symdifv 5086 symdifid 5087 |
| Copyright terms: Public domain | W3C validator |