MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  difdif2 Structured version   Visualization version   GIF version

Theorem difdif2 4244
Description: Class difference by a class difference. (Contributed by Thierry Arnoux, 18-Dec-2017.)
Assertion
Ref Expression
difdif2 (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶))

Proof of Theorem difdif2
StepHypRef Expression
1 difindi 4240 . 2 (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
2 invdif 4227 . . . 4 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶)
32eqcomi 2772 . . 3 (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶))
43difeq2i 4063 . 2 (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶)))
5 dfin2 4219 . . 3 (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶))
65uneq2i 4167 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
71, 4, 63eqtr4i 2796 1 (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  Vcvv 3454   ∖ 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:  psdmullem  22541  restmetu  24944  dflringlem3  34132  dflring4  34134  difelcarsg  35053  mblfinlem3  38845  mblfinlem4  38846
  Copyright terms: Public domain W3C validator