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

Theorem difdif2 4251
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 4247 . 2 (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
2 invdif 4234 . . . 4 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶)
32eqcomi 2783 . . 3 (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶))
43difeq2i 4070 . 2 (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶)))
5 dfin2 4226 . . 3 (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶))
65uneq2i 4174 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
71, 4, 63eqtr4i 2807 1 (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  Vcvv 3461   ∖ cdif 4055   ∩ cin 4099   ∪ cun 4159
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-dif 4057  df-in 4101  df-un 4161
This theorem is used by:  psdmullem  22588  restmetu  24997  dflringlem3  34251  dflring4  34253  difelcarsg  35144  mblfinlem3  38947  mblfinlem4  38948
  Copyright terms: Public domain W3C validator