Exercise statement
Let
be a function from one set
to another set
. Suppose that
is partially ordered with some ordering relation
. Define a relation
on
by defining
if and only if
or
. Show that this relation
turns
into a partially ordered set. If we know in addition that the relation
makes
totally ordered, does this mean that the relation
makes
totally ordered also? If not, what additional assumption needs to be made on
in order to ensure that
makes
totally ordered?
Hints
- Why did Tao define
by the condition
or
rather than simply the condition
?
How to think about the exercise
The first part of the exercise, where you must show that
is partially ordered, is straightforward so I won’t comment on it. The latter parts of the exercise are more interesting and may be tricky, so I will discuss how I thought through the exercise.
As you might have guessed, when Tao asks you whether something is true rather than just telling you to prove a fact, it typically means the statement in question is not true. Let’s try to see why. I’m going to make use of two heuristics here, which I will call “try a simple example” and “try to prove the false statement and see what goes wrong”.
Try a simple example
One way to solve problems that pretty reliably works is to just to try scribbling down some simple concrete examples. I started out by drawing some dots to represent the sets
and
, with order signs to indicate that
is totally ordered:

And then I just drew some arrows to represent the function
:

I tried to not make the function too nice, so that it would appear to be a “random” function. In particular, I chose a function that was neither injective nor surjective. Now, can we totally order
? Notice that the rightmost dot in
is clearly larger than either of the dots on the left, but among the first and second dots, there’s no clear ordering between them.

Because the lack of total ordering happened at exactly the spot where
failed to be injective (we have two points in
both mapping to the same point in
), our first guess should be that injectivity is the additional assumption we need to force
to be a total order. And sure enough, drawing a few more examples should convince you this is the case.
Try to prove the false statement and see what goes wrong
Another good strategy when trying to figure out what assumptions are needed to show something is to just try proving the thing, and seeing what goes wrong and what extra thing you need. In this case, we assume
is a total order, and then we try to prove that
is also a total order. To do this, let
. We want to show that
or
. In other words, we want to show that
or
or
. The case
is easy; maybe we just got lucky and happened to pick the same element out of
both times. So suppose
. Can we always show that
or
? Since we assumed that
is a total order, we know that
or
. Maybe we can show that when
we actually have
so that
and similarly when
we’ll have
? In either case, the important thing we must show in order to prove strict inequality is
. And here we see the problem: we have only assumed
, and now we’re trying to show
. This is the defining property of an injection.
Another way to see the problem is that we know
or
, but we might have both
and
, in which case anti-symmetry of
gives us that
. In other words, we’ll end up with
such that
, which you might notice is precisely a failure of
to be injective.
Model solution
We first show that the relation
is a partial ordering of
. To do this, we must show that
satisfies reflexivity, anti-symmetry, and transitivity. We will go through each property one by one:
- Reflexivity: Let
. We must show that
. But
, so by definition of
we have
.
- Anti-symmetry: Let
and suppose we have both
and
. To show that
is anti-symmetric, we must now show that
. Suppose for the sake of contradiction that
. Since
, this means that
(because we’ve ruled out the possibility that
), and since
this means that
. Since
is a partial order, this means that we have both
(via anti-symmetry of
) as well as
(by definition of
). This contradiction shows that we have
after all, and thus
is anti-symmetric.
- Transitivity: Let
and suppose we have both
and
. To show transitivity, we must now prove that
. If
or
then we automatically have transitivity; for instance if
then
can be written as
, and similarly for the other case. Thus we only need to consider the case where
and
. In this case, we have both
and
. Now by transitivity of
we have
. But not only that: if
we would have
which combined with
would (by transitivity) show that
. So we would have both
and
, so by anti-symmetry we would have
, a contradiction of
. So we must have
after all, which combined with
means
. Thus
.
Now suppose that
is a total order. We will show that this does not necessarily mean
is a total order. Any non-injective function
will do, but for concreteness, let
, let
, and let
be the usual ordering relation
on the integers. Define
by
for all
. Now
cannot order
and
because all three of the statements
,
, and
are false. This shows that
is not a total order. In fact, this happens anytime
is not injective, as we will presently show.
The additional assumption that
is injective is both necessary and sufficient to ensure that
makes
totally ordered. First suppose that
is injective. We want to show that
is a total ordering of
. So let
. We want to show that
or
. In other words, we must show that
or
or
. If
are done, so suppose
. Since
is injective, this means
. But now by the assumption that
is a total order, we must have
or
. Since the option
is not available, this means that
or
. This completes the first direction.
Now suppose that
is not injective. Then there must be elements
such that
and
. Our goal is to show that
is not a total order. We cannot have
since this would mean
(remember,
) or
, and we know both are false. We also cannot have
for similar reasons.