| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > difdif2 | Structured version Visualization version GIF version | ||
| Description: Class difference by a class difference. (Contributed by Thierry Arnoux, 18-Dec-2017.) |
| Ref | Expression |
|---|---|
| difdif2 | ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | difindi 4244 | . 2 ⊢ (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) | |
| 2 | invdif 4231 | . . . 4 ⊢ (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶) | |
| 3 | 2 | eqcomi 2745 | . . 3 ⊢ (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶)) |
| 4 | 3 | difeq2i 4075 | . 2 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) |
| 5 | dfin2 4223 | . . 3 ⊢ (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶)) | |
| 6 | 5 | uneq2i 4117 | . 2 ⊢ ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) |
| 7 | 1, 4, 6 | 3eqtr4i 2769 | 1 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1541 Vcvv 3440 ∖ cdif 3898 ∪ cun 3899 ∩ cin 3900 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-ext 2708 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-tru 1544 df-ex 1781 df-sb 2068 df-clab 2715 df-cleq 2728 df-clel 2811 df-rab 3400 df-v 3442 df-dif 3904 df-un 3906 df-in 3908 |
| This theorem is referenced by: psdmullem 22108 restmetu 24514 difelcarsg 34467 mblfinlem3 37860 mblfinlem4 37861 |
| Copyright terms: Public domain | W3C validator |