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

Theorem difdif2 4240
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 4236 . 2 (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
2 invdif 4223 . . . 4 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶)
32eqcomi 2769 . . 3 (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶))
43difeq2i 4059 . 2 (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶)))
5 dfin2 4215 . . 3 (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶))
65uneq2i 4163 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
71, 4, 63eqtr4i 2793 1 (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  Vcvv 3450   ∖ cdif 4044   ∩ cin 4088   ∪ cun 4148
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-dif 4046  df-in 4090  df-un 4150
This theorem is used by:  psdmullem  22495  restmetu  24898  dflringlem3  34078  dflring4  34080  difelcarsg  34992  mblfinlem3  38714  mblfinlem4  38715
  Copyright terms: Public domain W3C validator