Metamath Proof Explorer


Definition df-xp

Description: Define the Cartesian product of two classes. This is also sometimes called the "cross product" but that term also has other meanings; we intentionally choose a less ambiguous term. Definition 9.11 of Quine p. 64. For example, ( { 1 , 5 } X. { 2 , 7 } ) = ( { <. 1 , 2 >. , <. 1 , 7 >. } u. { <. 5 , 2 >. , <. 5 , 7 >. } ) ( ex-xp ). Another example is that the set of rational numbers is defined in df-q using the Cartesian product ( ZZ X. NN ) ; the left- and right-hand sides of the Cartesian product represent the top (integer) and bottom (natural) numbers of a fraction. (Contributed by NM, 4-Jul-1994)

Ref Expression
Assertion df-xp A×B=xy|xAyB

Detailed syntax breakdown

Step Hyp Ref Expression
0 cA classA
1 cB classB
2 0 1 cxp classA×B
3 vx setvarx
4 vy setvary
5 3 cv setvarx
6 5 0 wcel wffxA
7 4 cv setvary
8 7 1 wcel wffyB
9 6 8 wa wffxAyB
10 9 3 4 copab classxy|xAyB
11 2 10 wceq wffA×B=xy|xAyB