2. Ordered pairs
1. The axiom of the ordered pair
As we have said in §1, no. 1, the sign ⊃ is a substantific sign of weight 2 in the theory of sets. If T, U are terms, then ⊃TU is a term, which in practice is denoted by (T, U). In this notation, the axiom of the ordered pair is the following :
A3. (∀x)(∀x′)(∀y)(∀y′)(((x,y)=(x′,y′))⇒(x=x′andy=y′)).
Since the relation "x=x′ and y=y′" implies (x,y)=(x′,y′) by C44 (Chapter I, § 5, no. 2), the relation (x,y)=(x′,y′) is equivalent to "x=x′ and y=y′".
¶ The relation (∃x)(∃y)(z=(x,y)) is written “z is an ordered pair”. If z is an ordered pair, the relations
(∃y)(z=(x,y)),(∃x)(z=(x,y))
are functional with respect to x and y respectively; this is an immediate consequence of A3. The terms
τx((∃y)(z=(x,y)))andτy((∃x)(z=(x,y)))
are denoted by pr1z and pr2z, respectively, and are called the first coordinate (or first projection) and the second coordinate (or second projection) of z. If z is an ordered pair, the relation (∃y)(z=(x,y)) is equivalent to x=pr1z, and the relation (∃x)(z=(x,y)) to y=pr2z (Chapter I, §5, no. 3).
¶ The relation z=(x,y) is equivalent to “z is an ordered pair, and x=pr1z and y=pr2z”; for the latter relation is equivalent to
(∃x′)(∃y′)(∃x′′)(∃y′′)(z=(x′,y′) and z=(x,y′′) and z=(x′′,y));
by A3, “z=(x′,y′) and z=(x,y′′) and z=(x′′,y)” is equivalent to “z=(x,y) and x=x′ and x=x′′ and y=y′ and y=y′′”; hence by C33 (Chapter I, §4, no. 3), “z is an ordered pair, and x=pr1z and y=pr2z” is equivalent to
z=(x,y) and (∃x′)(∃y′)(∃x′′)(∃y′′)(x=x′ and x=x′′ and y=y′ and y=y′′),
which proves our assertion. Evidently we have
pr1(x,y)=x,pr2(x,y)=y,
and the relation z=(pr1(z),pr2(z)) is equivalent to “z is an ordered pair”.
¶ Let R{x,y} be a relation, where the letters x and y are distinct and appear in R. Let z be a letter, distinct from x and y, which does not appear in R. Let S{z} denote the relation
(∃x)(∃y)(z=(x,y) and R{x,y});
this is a relation which contains one letter fewer than R, and which is equivalent to “z is an ordered pair and R{pr1z,pr2z}”, this follows from the fact that z=(x,y) is equivalent to “z is an ordered pair and x=pr1z and y=pr2z”, and from criteria C33 (Chapter I, §4, no. 3) and C47 (Chapter I, §5, no. 3). It follows immediately that R{x,y} is equivalent to S{(x,y)}, and also to
(∃z)(z=(x,y) and S{z})
by C47.
This means that we may interpret a relation between the objects x and y as a property of the ordered pair formed by these objects.
2. Product of two sets
Theorem 1 03PC
The relation
(∀X)(∀Y)(∃Z)(∀z)((z∈Z)⇔(∃x)(∃y)(z=(x,y) and x∈X and y∈Y)
is true. In other words, for all X and all Y the relation "z is an ordered pair and pr1z∈X and pr2z∈Y" is collectivizing in z.
Let Ay denote the set of all objects of the form (x,y) for x∈X (cf. §1, no. 6, criterion C53). Let R be the relation z∈Ay, which is equivalent to (∃x)(z=(x,y) and x∈X). It is clear that the relation
(∀y)(∃A)(∀z)(R⇒(z∈A))
is true, by virtue of S5 (Chapter I, §4, no. 2). It then follows from S8 that the relation (∃y)(y∈Y and R) is collectivizing in z. But this relation is equivalent to (∃x)(∃y)(y∈Y and x∈X and z=(x,y)); hence the result.
Definition 1 03PD
Given two sets* X and Y, *the set
Ez((∃x)(∃y)(z=(x,y) and x∈X and y∈Y))
is called the product of X and Y and is denoted by X × Y.
The relation z∈X×Y is thus equivalent to "z is an ordered pair and pr1z∈X and pr2z∈Y". The sets X and Y are called the first and second factors of X × Y.
Proposition 1 03PE
If* A′, B′ are non-empty sets, the relation A′× B′⊂ A × B is equivalent to "A′⊂ A and B′⊂ B".
In the first place, the relation z∈A′×B′ is equivalent to "z is an ordered pair and pr1z∈A′ and pr2z∈B′"; therefore, without any restriction on A′ and B′, the relation "A′⊂ A and B′⊂ B" implies
A′×B′⊂A×B.
Conversely, let us first show that if B′=∅ (without restriction on A′), the relation A′×B′⊂A×B implies A′⊂A. Let x be an element of A′; since B′=∅, there is an object y which is an element of B′; we have (x,y)∈A′×B′, hence (x,y)∈A×B, and consequently x∈A; thus A′⊂A. Similarly, if A′=∅, the relation A′×B′⊂A×B implies B′⊂B. Hence the result.
Proposition 2 03PF
Let* A and B be two sets. The relation A×B=∅ is equivalent to "A=∅ or B=∅".
For the relation z∈A×B implies pr1z∈A and pr2z∈B; hence A=∅ and B=∅. Conversely, the relation "x∈A and y∈B" implies (x,y)∈A×B and hence A×B=∅. In other words, the relation A×B=∅ is equivalent to "A=∅ and B=∅"; hence the result.
If A, B, C are sets, we write
(A×B)×C=A×B×C;
an element ((x,y),z) of A×B×C is written (x,y,z) and is called a triple. Again, if A, B, C, D are sets, we write
(A×B×C)×D=A×B×C×D;
and so on.
Exercises
See the exercises for § 2.