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

Theorem difdif2 4242
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 4238 . 2 (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶))) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
2 invdif 4225 . . . 4 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵 ∖ 𝐶)
32eqcomi 2770 . . 3 (𝐵 ∖ 𝐶) = (𝐵 ∩ (V ∖ 𝐶))
43difeq2i 4071 . 2 (𝐴 ∖ (𝐵 ∖ 𝐶)) = (𝐴 ∖ (𝐵 ∩ (V ∖ 𝐶)))
5 dfin2 4217 . . 3 (𝐴 ∩ 𝐶) = (𝐴 ∖ (V ∖ 𝐶))
65uneq2i 4112 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∖ (V ∖ 𝐶)))
71, 4, 63eqtr4i 2794 1 (𝐴 ∖ (𝐵 ∖ 𝐶)) = ((𝐴 ∖ 𝐵) ∪ (𝐴 ∩ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  Vcvv 3451   ∖ cdif 3896   ∪ cun 3897   ∩ cin 3898
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906
This theorem is used by:  psdmullem  22486  restmetu  24889  dflringlem3  34028  dflring4  34030  difelcarsg  34942  mblfinlem3  38577  mblfinlem4  38578
  Copyright terms: Public domain W3C validator