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

Theorem indifundif 29482
Description: A remarkable equation with sets. (Contributed by Thierry Arnoux, 18-May-2020.)
Assertion
Ref Expression
indifundif (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵)) = (𝐴 ∖ (𝐵𝐶))

Proof of Theorem indifundif
StepHypRef Expression
1 difindi 3914 . 2 (𝐴 ∖ (𝐵𝐶)) = ((𝐴𝐵) ∪ (𝐴𝐶))
2 difundir 3913 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
3 inundif 4079 . . . . . 6 ((𝐴𝐵) ∪ (𝐴𝐵)) = 𝐴
43difeq1i 3757 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (𝐴𝐶)
5 uncom 3790 . . . . 5 (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
62, 4, 53eqtr3i 2681 . . . 4 (𝐴𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
76uneq2i 3797 . . 3 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
8 unass 3803 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
9 undifabs 4078 . . . 4 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (𝐴𝐵)
109uneq1i 3796 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
117, 8, 103eqtr2i 2679 . 2 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
12 uncom 3790 . 2 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵))
131, 11, 123eqtrri 2678 1 (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵)) = (𝐴 ∖ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1523  cdif 3604  cun 3605  cin 3606
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612  df-in 3614
This theorem is referenced by:  inelcarsg  30501
  Copyright terms: Public domain W3C validator