![]() |
Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > ILE Home > Th. List > symdifxor | GIF version |
Description: Expressing symmetric difference with exclusive-or or two differences. (Contributed by Jim Kingdon, 28-Jul-2018.) |
Ref | Expression |
---|---|
symdifxor | ⊢ ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) = {𝑥 ∣ (𝑥 ∈ 𝐴 ⊻ 𝑥 ∈ 𝐵)} |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eldif 3140 | . . . 4 ⊢ (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)) | |
2 | eldif 3140 | . . . 4 ⊢ (𝑥 ∈ (𝐵 ∖ 𝐴) ↔ (𝑥 ∈ 𝐵 ∧ ¬ 𝑥 ∈ 𝐴)) | |
3 | 1, 2 | orbi12i 764 | . . 3 ⊢ ((𝑥 ∈ (𝐴 ∖ 𝐵) ∨ 𝑥 ∈ (𝐵 ∖ 𝐴)) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝑥 ∈ 𝐴))) |
4 | elun 3278 | . . 3 ⊢ (𝑥 ∈ ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) ↔ (𝑥 ∈ (𝐴 ∖ 𝐵) ∨ 𝑥 ∈ (𝐵 ∖ 𝐴))) | |
5 | excxor 1378 | . . . 4 ⊢ ((𝑥 ∈ 𝐴 ⊻ 𝑥 ∈ 𝐵) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∨ (¬ 𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))) | |
6 | ancom 266 | . . . . 5 ⊢ ((¬ 𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ↔ (𝑥 ∈ 𝐵 ∧ ¬ 𝑥 ∈ 𝐴)) | |
7 | 6 | orbi2i 762 | . . . 4 ⊢ (((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∨ (¬ 𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵)) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝑥 ∈ 𝐴))) |
8 | 5, 7 | bitri 184 | . . 3 ⊢ ((𝑥 ∈ 𝐴 ⊻ 𝑥 ∈ 𝐵) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝑥 ∈ 𝐴))) |
9 | 3, 4, 8 | 3bitr4i 212 | . 2 ⊢ (𝑥 ∈ ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) ↔ (𝑥 ∈ 𝐴 ⊻ 𝑥 ∈ 𝐵)) |
10 | 9 | abbi2i 2292 | 1 ⊢ ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐴)) = {𝑥 ∣ (𝑥 ∈ 𝐴 ⊻ 𝑥 ∈ 𝐵)} |
Colors of variables: wff set class |
Syntax hints: ¬ wn 3 ∧ wa 104 ∨ wo 708 = wceq 1353 ⊻ wxo 1375 ∈ wcel 2148 {cab 2163 ∖ cdif 3128 ∪ cun 3129 |
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-xor 1376 df-nf 1461 df-sb 1763 df-clab 2164 df-cleq 2170 df-clel 2173 df-nfc 2308 df-v 2741 df-dif 3133 df-un 3135 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |