An order relation (also called an order or ordering) is a binary relation ≤ on a set S that can be used to order the elements in that set.
An order relation satisfies the following properties:
- For all a∈S, a≤a. (the reflexive property)
- For all a,b∈S, if a≤b and b≤a, then a=b. (the antisymmetric property)
- For all a,b,c∈S, if a≤b and b≤c, then a≤c. (the transitive property)
A set that has an order relation is called a partially ordered set (or "poset"), and ≤ is its partial order.
Totality of an order
There is also a fourth property that distinguishes between two different types of orders:
- For all a,b∈S, either a≤b or b≤a or both. (the [total_relation total] property)
The total property implies the reflexive property, by setting a=b.
If the order relation satisfies the total property, then S is called a Totally ordered set, and ≤ is its total order.
Well-ordering
A fifth property that extends the idea of a "total order" is that of the well-ordering:
- For every subset X of S, X has a least element: an element x such that for all y∈X, we have x≤y.
Well-orderings are very useful: they are the orderings we can perform induction over. (For more on this viewpoint, see the page on [structural_induction].)
Derived relations
The order relation immediately affords several other relations.
Reverse order
We can define a reverse order ≥ as follows: a≥b when b≤a.
Strict order
From any poset (S,≤), we can derive a strict order <, which disallows equality. For a,b∈S, a<b when a≤b and a≠b. This strict order is still antisymmetric and transitive, but it is no longer reflexive.
We can then also define a reverse strict order > as follows: a>b when b≤a and a≠b.
Incomparability
In a poset that is not totally ordered, there exist elements a and b where the order relation is undefined. If neither a≤b nor b≤a then we say that a and b are incomparable, and write a∥b.
Cover relation
From any poset (S,≤), we can derive an underlying cover relation ≺, defined such that for a,b∈S, a≺b whenever the following two conditions are satisfied:
- a<b.
- For all s∈S, a≤s<b implies that a=s.
Simply put, a≺b means that b is the smallest element of S which is strictly greater than a. a≺b is pronounced "a is covered by b", or "b covers a", and b is said to be a cover of a.
Comments
Dylan Hendrickson
Any relation satisfying 1-3 is a partial order, and the corresponding set is a poset. A total order is a special kind of partial order defined by also satisfying 4.
Joe Zeng
So effectively all order relations are partial order relations?