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 33189
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 4240 . 2 (𝐴 ∖ (𝐵 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ 𝐶))
2 difundir 4239 . . . . 5 (((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) ∖ 𝐶) = (((𝐴 ∩ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∖ 𝐵) ∖ 𝐶))
3 inundif 4438 . . . . . 6 ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) = 𝐴
43difeq1i 4062 . . . . 5 (((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) ∖ 𝐶) = (𝐴 ∖ 𝐶)
5 uncom 4160 . . . . 5 (((𝐴 ∩ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∖ 𝐵) ∖ 𝐶)) = (((𝐴 ∖ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶))
62, 4, 53eqtr3i 2794 . . . 4 (𝐴 ∖ 𝐶) = (((𝐴 ∖ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶))
76uneq2i 4167 . . 3 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (((𝐴 ∖ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶)))
8 unass 4173 . . 3 (((𝐴 ∖ 𝐵) ∪ ((𝐴 ∖ 𝐵) ∖ 𝐶)) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (((𝐴 ∖ 𝐵) ∖ 𝐶) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶)))
9 undifabs 4437 . . . 4 ((𝐴 ∖ 𝐵) ∪ ((𝐴 ∖ 𝐵) ∖ 𝐶)) = (𝐴 ∖ 𝐵)
109uneq1i 4166 . . 3 (((𝐴 ∖ 𝐵) ∪ ((𝐴 ∖ 𝐵) ∖ 𝐶)) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶))
117, 8, 103eqtr2i 2792 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶))
12 uncom 4160 . 2 ((𝐴 ∖ 𝐵) ∪ ((𝐴 ∩ 𝐵) ∖ 𝐶)) = (((𝐴 ∩ 𝐵) ∖ 𝐶) ∪ (𝐴 ∖ 𝐵))
131, 11, 123eqtrri 2791 1 (((𝐴 ∩ 𝐵) ∖ 𝐶) ∪ (𝐴 ∖ 𝐵)) = (𝐴 ∖ (𝐵 ∩ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∖ cdif 4048   ∩ cin 4092   ∪ cun 4152
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  df-dif 4050  df-in 4094  df-un 4154
This theorem is used by:  inelcarsg  35010
  Copyright terms: Public domain W3C validator