Exercise 3.9

Check that the dictionary order is an order relation.

Answers

Suppose that A and B are two sets with order relations < A and < B. Recall that the dictionary order < on A × B is defined by

a1 × b1 < a2 × b2

if a1 < Aa2 or if a1 = a2 and b1 < Bb2.

Proof. Clearly, < is a relation on A × B so we just need to show the three properties of an order relation:

  • (Comparability) Consider distinct points a1 × b1 and a2 × b2 in A × B so that a1a2 or b1b1. If a1a2 then they are comparable in < A (since it is an order relation) so that, without loss of generality, we can assume that a1 < Aa2. Then of course a1 × b1 < a2 × b2 by definition. So assume that a1 = a2 so that it must be that b1b2. Then b1 and b2 are comparable in < B since it is an order relation. So without loss of generality, we can assume that b1 < Bb2. Then of course a1 × b1 < a2 × b2 since also a1 = a2. Thus either way a1 × b1 and a2 × b2 are comparable in <.
  • (Nonreflexivity) Suppose that a × b is any element of A × B. Since < B is an order relation, it is nonreflexive so it is not true that b < Bb. Since of course a = a, it follows that it cannot be that a × b < a × b since it would have to be that b < Bb. Hence < is nonreflexive since a × b was arbitrary.
  • (Transitivity) Suppose that a1 × b1 < a2 × b2 and a2 × b2 < a3 × b3. We then have the following cases:

    Case: a1 < Aa2.

    • Case: a2 < Aa3. Then a1 < Aa2 and a2 < Aa3 so that a1 < Aa3 since < A is transitive. Thus by definition a1 × b1 < a3 × b3.
    • Case: a2 = a3 and b2 < Bb3. Then a1 < Aa2 = a3 so that a1 × b1 < a3 × b3 by definition.

    Case: a1 = a2 and b1 < Bb2.

    • Case: a2 < Aa3. Then a1 = a2 < Aa3 so that by definition a1 × b1 < a3 × b3.
    • Case: a2 = a3 and b2 < Bb3. Then a1 = a2 = a3 and b1 < Bb2 and b2 < Bb3 so that b1 < Bb3 since < B is transitive. Therefore again a1 × b1 < a3 × b3 by definition.

    Thus in all cases a1 × b1 < a3 × b3, which shows that < is transitive.

User profile picture
2019-12-01 00:00
Comments