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 30873
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 4215 . 2 (𝐴 ∖ (𝐵𝐶)) = ((𝐴𝐵) ∪ (𝐴𝐶))
2 difundir 4214 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
3 inundif 4412 . . . . . 6 ((𝐴𝐵) ∪ (𝐴𝐵)) = 𝐴
43difeq1i 4053 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (𝐴𝐶)
5 uncom 4087 . . . . 5 (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
62, 4, 53eqtr3i 2774 . . . 4 (𝐴𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
76uneq2i 4094 . . 3 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
8 unass 4100 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
9 undifabs 4411 . . . 4 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (𝐴𝐵)
109uneq1i 4093 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
117, 8, 103eqtr2i 2772 . 2 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
12 uncom 4087 . 2 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵))
131, 11, 123eqtrri 2771 1 (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵)) = (𝐴 ∖ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1539  cdif 3884  cun 3885  cin 3886
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894
This theorem is referenced by:  inelcarsg  32278
  Copyright terms: Public domain W3C validator