Metamath Proof Explorer


Theorem xpun

Description: The Cartesian product of two unions. (Contributed by NM, 12-Aug-2004)

Ref Expression
Assertion xpun AB×CD=A×CA×DB×CB×D

Proof

Step Hyp Ref Expression
1 xpundi AB×CD=AB×CAB×D
2 xpundir AB×C=A×CB×C
3 xpundir AB×D=A×DB×D
4 2 3 uneq12i AB×CAB×D=A×CB×CA×DB×D
5 un4 A×CB×CA×DB×D=A×CA×DB×CB×D
6 1 4 5 3eqtri AB×CD=A×CA×DB×CB×D