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 30774
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 4212 . 2 (𝐴 ∖ (𝐵𝐶)) = ((𝐴𝐵) ∪ (𝐴𝐶))
2 difundir 4211 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
3 inundif 4409 . . . . . 6 ((𝐴𝐵) ∪ (𝐴𝐵)) = 𝐴
43difeq1i 4049 . . . . 5 (((𝐴𝐵) ∪ (𝐴𝐵)) ∖ 𝐶) = (𝐴𝐶)
5 uncom 4083 . . . . 5 (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
62, 4, 53eqtr3i 2774 . . . 4 (𝐴𝐶) = (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶))
76uneq2i 4090 . . 3 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
8 unass 4096 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ (((𝐴𝐵) ∖ 𝐶) ∪ ((𝐴𝐵) ∖ 𝐶)))
9 undifabs 4408 . . . 4 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (𝐴𝐵)
109uneq1i 4089 . . 3 (((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) ∪ ((𝐴𝐵) ∖ 𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
117, 8, 103eqtr2i 2772 . 2 ((𝐴𝐵) ∪ (𝐴𝐶)) = ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶))
12 uncom 4083 . 2 ((𝐴𝐵) ∪ ((𝐴𝐵) ∖ 𝐶)) = (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵))
131, 11, 123eqtrri 2771 1 (((𝐴𝐵) ∖ 𝐶) ∪ (𝐴𝐵)) = (𝐴 ∖ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1539  cdif 3880  cun 3881  cin 3882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890
This theorem is referenced by:  inelcarsg  32178
  Copyright terms: Public domain W3C validator