Metamath Proof Explorer


Theorem indifdir

Description: Distribute intersection over difference. (Contributed by Scott Fenton, 14-Apr-2011) (Revised by BTernaryTau, 14-Aug-2024)

Ref Expression
Assertion indifdir ⊢ A ∖ B ∩ C = A ∩ C ∖ B ∩ C

Proof

Step Hyp Ref Expression
1 indifdi ⊢ C ∩ A ∖ B = C ∩ A ∖ C ∩ B
2 incom ⊢ A ∖ B ∩ C = C ∩ A ∖ B
3 incom ⊢ A ∩ C = C ∩ A
4 incom ⊢ B ∩ C = C ∩ B
5 3 4 difeq12i ⊢ A ∩ C ∖ B ∩ C = C ∩ A ∖ C ∩ B
6 1 2 5 3eqtr4i ⊢ A ∖ B ∩ C = A ∩ C ∖ B ∩ C