| 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 4245 | . 2 ⊢ (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) | |
| 2 | invdif 4232 | . . . 4 ⊢ (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶) | |
| 3 | 2 | eqcomi 2772 | . . 3 ⊢ (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶)) |
| 4 | 3 | difeq2i 4078 | . 2 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) |
| 5 | dfin2 4224 | . . 3 ⊢ (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶)) | |
| 6 | 5 | uneq2i 4119 | . 2 ⊢ ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶))) |
| 7 | 1, 4, 6 | 3eqtr4i 2796 | 1 ⊢ (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1570 Vcvv 3455 ∖ cdif 3902 ∪ cun 3903 ∩ cin 3904 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-ext 2735 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-tru 1573 df-ex 1810 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-rab 3417 df-v 3457 df-dif 3908 df-un 3910 df-in 3912 |
| This theorem is referenced by: psdmullem 22328 restmetu 24727 dflringlem3 33786 dflring4 33788 difelcarsg 34700 mblfinlem3 38310 mblfinlem4 38311 |
| Copyright terms: Public domain | W3C validator |