lexicographic order
Let be a set equipped with a total order , and let be the -fold Cartesian product
of . Then the lexicographic order
on is defined as follows:
If and ,then if or
for some .
Examples
- •
The lexicographic order yields a total order on the field of complex numbers.
- •
The lexicographic order of words of finite length consisting of letters (space) is the dictionary order. To compare words of different length, one simply pads the shorter with s from the right. For example, .
Properties
- •
The lexicographic order is a total order.
- •
If the original set is well-ordered, the lexicographic ordering on the product is also a well-ordering.