| 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 4220 | . 2 ⊢ (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) | |
| 2 | invdif 4207 | . . . 4 ⊢ (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶) | |
| 3 | 2 | eqcomi 2748 | . . 3 ⊢ (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶)) |
| 4 | 3 | difeq2i 4054 | . 2 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) |
| 5 | dfin2 4199 | . . 3 ⊢ (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶)) | |
| 6 | 5 | uneq2i 4095 | . 2 ⊢ ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) |
| 7 | 1, 4, 6 | 3eqtr4i 2772 | 1 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1547 Vcvv 3431 ∖ cdif 3880 ∪ cun 3881 ∩ cin 3882 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-ext 2711 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-tru 1550 df-ex 1787 df-sb 2074 df-clab 2718 df-cleq 2731 df-clel 2814 df-rab 3392 df-v 3433 df-dif 3886 df-un 3888 df-in 3890 |
| This theorem is referenced by: psdmullem 22153 restmetu 24553 difelcarsg 34494 mblfinlem3 38026 mblfinlem4 38027 |
| Copyright terms: Public domain | W3C validator |