Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  difuncomp Structured version   Visualization version   GIF version

Theorem difuncomp 30297
Description: Express a class difference using unions and class complements. (Contributed by Thierry Arnoux, 21-Jun-2020.)
Assertion
Ref Expression
difuncomp (𝐴𝐶 → (𝐴𝐵) = (𝐶 ∖ ((𝐶𝐴) ∪ 𝐵)))

Proof of Theorem difuncomp
StepHypRef Expression
1 incom 4176 . . . 4 (𝐶𝐴) = (𝐴𝐶)
2 sseqin2 4190 . . . . 5 (𝐴𝐶 ↔ (𝐶𝐴) = 𝐴)
32biimpi 218 . . . 4 (𝐴𝐶 → (𝐶𝐴) = 𝐴)
41, 3syl5reqr 2869 . . 3 (𝐴𝐶𝐴 = (𝐴𝐶))
54difeq1d 4096 . 2 (𝐴𝐶 → (𝐴𝐵) = ((𝐴𝐶) ∖ 𝐵))
6 difundi 4254 . . . 4 (𝐶 ∖ ((𝐶𝐴) ∪ 𝐵)) = ((𝐶 ∖ (𝐶𝐴)) ∩ (𝐶𝐵))
7 dfss4 4233 . . . . . 6 (𝐴𝐶 ↔ (𝐶 ∖ (𝐶𝐴)) = 𝐴)
87biimpi 218 . . . . 5 (𝐴𝐶 → (𝐶 ∖ (𝐶𝐴)) = 𝐴)
98ineq1d 4186 . . . 4 (𝐴𝐶 → ((𝐶 ∖ (𝐶𝐴)) ∩ (𝐶𝐵)) = (𝐴 ∩ (𝐶𝐵)))
106, 9syl5eq 2866 . . 3 (𝐴𝐶 → (𝐶 ∖ ((𝐶𝐴) ∪ 𝐵)) = (𝐴 ∩ (𝐶𝐵)))
11 indif2 4245 . . 3 (𝐴 ∩ (𝐶𝐵)) = ((𝐴𝐶) ∖ 𝐵)
1210, 11syl6eq 2870 . 2 (𝐴𝐶 → (𝐶 ∖ ((𝐶𝐴) ∪ 𝐵)) = ((𝐴𝐶) ∖ 𝐵))
135, 12eqtr4d 2857 1 (𝐴𝐶 → (𝐴𝐵) = (𝐶 ∖ ((𝐶𝐴) ∪ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1531  cdif 3931  cun 3932  cin 3933  wss 3934
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-rab 3145  df-v 3495  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950
This theorem is referenced by:  ldgenpisyslem1  31415
  Copyright terms: Public domain W3C validator