HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem difdifdir 1765
Description: Distributive law for class difference. Exercise 4.8 of [Stoll] p. 16.
Assertion
Ref Expression
difdifdir |- ((A \ B) \ C) = ((A \ C) \ (B \ C))

Proof of Theorem difdifdir
StepHypRef Expression
1 difdisj 1758 . . . . 5 |- (C i^i (A \ C)) = (/)
2 incom 1636 . . . . 5 |- (C i^i (A \ C)) = ((A \ C) i^i C)
31, 2eqtr3 1121 . . . 4 |- (/) = ((A \ C) i^i C)
43uneq2i 1608 . . 3 |- (((A \ C) i^i (V \ B)) u. (/)) = (((A \ C) i^i (V \ B)) u. ((A \ C) i^i C))
5 invdif 1674 . . . 4 |- ((A \ C) i^i (V \ B)) = ((A \ C) \ B)
6 un0 1721 . . . 4 |- (((A \ C) i^i (V \ B)) u. (/)) = ((A \ C) i^i (V \ B))
7 dif23 1688 . . . 4 |- ((A \ B) \ C) = ((A \ C) \ B)
85, 6, 73eqtr4r 1127 . . 3 |- ((A \ B) \ C) = (((A \ C) i^i (V \ B)) u. (/))
9 indi 1676 . . 3 |- ((A \ C) i^i ((V \ B) u. C)) = (((A \ C) i^i (V \ B)) u. ((A \ C) i^i C))
104, 8, 93eqtr4 1126 . 2 |- ((A \ B) \ C) = ((A \ C) i^i ((V \ B) u. C))
11 indm 1686 . . . 4 |- (V \ (B i^i (V \ C))) = ((V \ B) u. (V \ (V \ C)))
12 invdif 1674 . . . . 5 |- (B i^i (V \ C)) = (B \ C)
1312difeq2i 1585 . . . 4 |- (V \ (B i^i (V \ C))) = (V \ (B \ C))
14 ddif 1597 . . . . 5 |- (V \ (V \ C)) = C
1514uneq2i 1608 . . . 4 |- ((V \ B) u. (V \ (V \ C))) = ((V \ B) u. C)
1611, 13, 153eqtr3r 1125 . . 3 |- ((V \ B) u. C) = (V \ (B \ C))
1716ineq2i 1642 . 2 |- ((A \ C) i^i ((V \ B) u. C)) = ((A \ C) i^i (V \ (B \ C)))
18 invdif 1674 . 2 |- ((A \ C) i^i (V \ (B \ C))) = ((A \ C) \ (B \ C))
1910, 17, 183eqtr 1123 1 |- ((A \ B) \ C) = ((A \ C) \ (B \ C))
Colors of variables: wff set class
Syntax hints:   = wceq 1091  Vcvv 1348   \ cdif 1484   u. cun 1485   i^i cin 1486  (/)c0 1707
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-16 922  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708
metamath.org