Metamath Proof Explorer


Theorem difxp2

Description: Difference law for Cartesian product. (Contributed by Scott Fenton, 18-Feb-2013) (Revised by Mario Carneiro, 26-Jun-2014)

Ref Expression
Assertion difxp2 A × B C = A × B A × C

Proof

Step Hyp Ref Expression
1 difxp A × B A × C = A A × B A × B C
2 difid A A =
3 2 xpeq1i A A × B = × B
4 0xp × B =
5 3 4 eqtri A A × B =
6 5 uneq1i A A × B A × B C = A × B C
7 uncom A × B C = A × B C
8 un0 A × B C = A × B C
9 7 8 eqtri A × B C = A × B C
10 1 6 9 3eqtrri A × B C = A × B A × C