![]() |
Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > difuncomp | Structured version Visualization version GIF version |
Description: Express a class difference using unions and class complements. (Contributed by Thierry Arnoux, 21-Jun-2020.) |
Ref | Expression |
---|---|
difuncomp | ⊢ (𝐴 ⊆ 𝐶 → (𝐴 ∖ 𝐵) = (𝐶 ∖ ((𝐶 ∖ 𝐴) ∪ 𝐵))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | sseqin2 4216 | . . . . 5 ⊢ (𝐴 ⊆ 𝐶 ↔ (𝐶 ∩ 𝐴) = 𝐴) | |
2 | 1 | biimpi 215 | . . . 4 ⊢ (𝐴 ⊆ 𝐶 → (𝐶 ∩ 𝐴) = 𝐴) |
3 | incom 4202 | . . . 4 ⊢ (𝐶 ∩ 𝐴) = (𝐴 ∩ 𝐶) | |
4 | 2, 3 | eqtr3di 2788 | . . 3 ⊢ (𝐴 ⊆ 𝐶 → 𝐴 = (𝐴 ∩ 𝐶)) |
5 | 4 | difeq1d 4122 | . 2 ⊢ (𝐴 ⊆ 𝐶 → (𝐴 ∖ 𝐵) = ((𝐴 ∩ 𝐶) ∖ 𝐵)) |
6 | difundi 4280 | . . . 4 ⊢ (𝐶 ∖ ((𝐶 ∖ 𝐴) ∪ 𝐵)) = ((𝐶 ∖ (𝐶 ∖ 𝐴)) ∩ (𝐶 ∖ 𝐵)) | |
7 | dfss4 4259 | . . . . . 6 ⊢ (𝐴 ⊆ 𝐶 ↔ (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴) | |
8 | 7 | biimpi 215 | . . . . 5 ⊢ (𝐴 ⊆ 𝐶 → (𝐶 ∖ (𝐶 ∖ 𝐴)) = 𝐴) |
9 | 8 | ineq1d 4212 | . . . 4 ⊢ (𝐴 ⊆ 𝐶 → ((𝐶 ∖ (𝐶 ∖ 𝐴)) ∩ (𝐶 ∖ 𝐵)) = (𝐴 ∩ (𝐶 ∖ 𝐵))) |
10 | 6, 9 | eqtrid 2785 | . . 3 ⊢ (𝐴 ⊆ 𝐶 → (𝐶 ∖ ((𝐶 ∖ 𝐴) ∪ 𝐵)) = (𝐴 ∩ (𝐶 ∖ 𝐵))) |
11 | indif2 4271 | . . 3 ⊢ (𝐴 ∩ (𝐶 ∖ 𝐵)) = ((𝐴 ∩ 𝐶) ∖ 𝐵) | |
12 | 10, 11 | eqtrdi 2789 | . 2 ⊢ (𝐴 ⊆ 𝐶 → (𝐶 ∖ ((𝐶 ∖ 𝐴) ∪ 𝐵)) = ((𝐴 ∩ 𝐶) ∖ 𝐵)) |
13 | 5, 12 | eqtr4d 2776 | 1 ⊢ (𝐴 ⊆ 𝐶 → (𝐴 ∖ 𝐵) = (𝐶 ∖ ((𝐶 ∖ 𝐴) ∪ 𝐵))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 = wceq 1542 ∖ cdif 3946 ∪ cun 3947 ∩ cin 3948 ⊆ wss 3949 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-ext 2704 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-tru 1545 df-ex 1783 df-sb 2069 df-clab 2711 df-cleq 2725 df-clel 2811 df-rab 3434 df-v 3477 df-dif 3952 df-un 3954 df-in 3956 df-ss 3966 |
This theorem is referenced by: ldgenpisyslem1 33161 |
Copyright terms: Public domain | W3C validator |