这一节说的是Cartesian Products,中文翻译成笛卡尔乘积,实质是用向量的形式将一维的集合扩展为二维至多维,通过有序对ordered pair定义Cartesian Products, 单纯的集合其实可以看做Cartesian Products 在一维上的限制,最后还说了finite choice,即从每个n-tuple里拿出一个分量是可行的,但是无限维的情况却需要axiom of choice,后者直到第八章才会提及。
Exercises 3.5.1. Suppose we define the ordered pair
for any objects
and
by the formula
(thus using several applications of Axiom 3.3). Thus for instance
is the set
,
is the set
, and
is the set
. Show that such a definition indeed obeys the propert (3.5), and also whenever
and
are sets, the Cartesian product
is also a set. Thus this definition can be validly used as a definition of an ordered pari. For an additional challenge, show that the alternate definition
also verifies (3.5) ans is thus also an acceptable definition of ordered pair.
Solution:
Verify such a definition obeys the property (3.5):

If
and
are sets, use axiom of replacement, we have, given any object
,
is a set, we name it
. Then, use axiom of replacement again,
is a set. Finally we have
.
Additional challenge:
Verify definition
obeys the property (3.5):

Now if
, then either
or
. Suppose
, then
is a set, furthermore we shall get
, which is also a set, then we have
, a contradiction to Exercise 3.2.2.
So the only possible outcome is
, thus
and
.
The other direction is easy to prove.

Exercises 3.5.2. Suppose we define an ordered
-tuple to be a surjective function
whose range is some arbitrary set
(so different ordered
-tuples are allowed to have different ranges); we then write
for
, and also write
as
. Using this definition, verify that we have
if and only if
for all
. Also, show that if
are an ordered
-tuple of sets, then the Cartesian product, as defined in Definition 3.5.7, is indeed a set.
Solution: First we have

Next, every ordered
-tuple is a function
, if we define

Then the set
contains every element of
to
. Thus using Exercise 3.4.7, the collection of all partial functions whose domain is
and range
forms a set. Now use the axiom of specification there’s a set

which satisfies definition 3.5.7.
Exercises 3.5.3. Show that the definitions of equality for ordered pari and ordered
-tuple obey the reflexivity, symmetry and transitivity axioms.
Solution: We directly prove ordered n-typle:
Reflexivity:

Symmetry:

Transitivity:
from
and
, we have
.
Exercises 3.5.4. Let
be sets. Show that
, that
, and that
. (one can of course prove similar identities in which the roles of the left and right factors of the Cartesian product are reversed.)
Solution: We have

So that 
Next,

So that 
Finally,

So that
.
Exercises 3.5.5. Let
be sets. Show that
. Is it true that
? Is it true that
?
Solution: First we have

Next, the two statement are both false.
If
, then

If
, then

Exercises 3.5.6. Let
be non-empty sets. Show that
if and only if
and
, and that
if and only if
and
. What happens if the hypotheses that the
are all non-empty are removed?
Solution: First, we have

Next, use this result we have

If non-empty hypothesis are removed, then both statements may be wrong.
Exercises 3.5.7. Let
be sets, and let
and
be the maps
and
; these maps are known as the co-ordinate functions on
. Show that for any functions
and
, there exists a unique function
such that
and
. (Compare this to the last part of Exercise 3.3.8, and to Exercise 3.1.7.) This function
is known as the direct sum of
and
and is denoted
.
Solution:
We define
. Then

To prove
is unique, suppose there’s
satisfy the condition, then
, let
, and we have

This means
, thus
.
Exercises 3.5.8. Let
be sets. Show that the Cartesian product
is empty if and only if at least one of the
is empty.
Solution: If one of the
is empty, then obviously
is empty.
On the other hand, if
is empty and no
is empty, then by Lemma 3.5.12,
must be non-empty and leads to a contradiction.
Exercises 3.5.9. Suppose that
and
are two sets, and for all
let
be a set, and for all
let
be a set. Show that
.
Solution: We have

Exercises 3.5.10. If
is a function, define the graph of
to be the subset of
defined by
. Show that two functions
are equal if and only if they have the same graph. Conversely, if
is any subset of
with the property that for each
, the set
has exactly one element ( or in other words,
obeys the vertical line test), show that there is exactly one function
whose graph is equal to
.
Solution: On one hand we have

Conversely, define the function
as follows:
such that
, by the given condition
can be defined successfully, by the previous result there’s only one
since every function satisfy the condition has the same graph.
Exercises 3.5.11. Show that Axiom 3.10 can in fact be deduced from Lemma 3.4.9 and the other axioms of set theory, and thus Lemma 3.4.9 can be used as an alternate formulation of the power set axiom.
Solution: For any two sets
and
, the collection

is a set. Thus by lemma 3.4.9, all subsets of
is a set. Use the axiom of specification, the collection

is a set. By Exercise 3.5.10, for every
, there’s exactly one function
whose graph is equal to
. Use the axiom of replacement, there’s a set

This set is equal to
.
Exercises 3.5.12. This exercise will establish a rigorous version of Proposition 2.1.16. Let
be a function, and let
be a natural number. Show that there exists a function
such that

and
,
and furthermore that this funtion is unique.
For an additional challenge, prove this resul without using any properties of the natural numbers other that the Peano axioms directly (in particular, without using the ordering of the natural numbers, and without appealing to Proposition 2.1.16).
Solution:
First we prove for
, there exists a function

such that
for
. Use induction.
For
, let
.
Suppose
, the conclusion is true, then for
, let
defined as follows:

It’s easy to see that
satisfy the condition.
Now we prove the existence of
. In fact the function
defined by
is the function we want.
If there’s another function
satisfy the result, then it’s easy to use induction to prove that 
Additional challenge:
First I prove for every
, there exists one and only one pair of subsets
, such that:
( a ) 
( b ) 
( c ) 
( d ) 
( e ) 
( f ) 
Step 1: for
, we have
, and it’s easy to see the pair is unique, since if there’s another pair
satisfy condition (a)-(f), then by (c) we have
, so there should be another integer
, but
by (d), and by (e) we can deduce
eventually, which is a contradiction to (a)
Step 2: suppose for
, we have found a unique pair of sets
satisfy the condition, then for
, we let
, then for
and
condition (a)-(c) is easy to verify. By (d) and (e) we have
, also condition (e) and (f) is easy to verify. The last two conditions also guarantees the uniqueness of
and
.
Step 3: use Axiom 2.5, we can say the final conclusion is true.
Next, the result in the exercise can be proved by substituting
with
.
Exercises 3.5.13. The purpose of this exercise is to show that there is essentially only one version of the natural number system in set theory (cf. the discussion in Remark 2.1.12). Suppose we have a set
of “alternative natural numbers”, an “alternative zero”
, and an “alternative increment operation” which takes any alternative natural number
and returns another alternative natural number
, such that the Peano axioms (Axioms 2.1-2.5) all hold with the natural numbers, zero, and increment replaced by their alternative counterparts. Show that there exists a bijection
from the natural numebrs to the alternative natural numbers such that
, and such that for any
and
, we have
if and only if
.
Solution:
Let f be defined as follows:

Then
, we have to show
is a function and bijective.
For any
, use induction to prove
is unique(thus
is a function). If
then we can only have one
by definition. suppose
and the hypothesis is true, then for
, if there’s two numbers
such that
, then we have
, since
obeys Peano Axioms, this means
must have two different values, a contradiction to the induction hypothesis.
To show
is injective, let
, if
then we have
, if
, then obviously
, and we have

This means
, so assume
, and without loss of general
, we can deduce that
. As
, then
.
This violates Peano Axiom 3.
To show
is surjective, given
, if
, we have
, if
, there’s
, use induction we can assume for every alternative natural number less than
, there’s a natural number whose image is the given alternative natural number, so there’s
, so
, and
, which proves the induction.