In mathematics, especially in order theory, a preorder or quasiorder is a binary relation that is reflexive and transitive. The name is meant to suggest that preorders are almost partial orders, but not quite, as they are not necessarily antisymmetric.
A natural example of a preorder is the divides relation "x divides y" between integers. This relation is reflexive as every integer divides itself. It is also transitive. But it is not antisymmetric, because e.g. divides and divides , but is not equal to . It is to this preorder that "least" refers in the phrase "least common multiple" (in contrast, using the natural order on integers, e.g. and have the common multiples , , , , , ..., but no least one).
Preorders are closely related to equivalence relations and (non-strict) partial orders. Both of these are special cases of a preorder: an antisymmetric preorder is a partial order, and a symmetric preorder is an equivalence relation. Moreover, a preorder on a set can equivalently be defined as an equivalence relation on , together with a partial order on the set of equivalence class, cf. picture. Like partial orders and equivalence relations, preorders (on a nonempty set) are never asymmetric.
A preorder can be visualized as a directed graph, with elements of the set corresponding to vertices, and the order relation between pairs of elements corresponding to the directed edges between vertices. The converse is not true: most directed graphs are neither reflexive nor transitive. A preorder that is antisymmetric no longer has cycles; it is a partial order, and corresponds to a directed acyclic graph. A preorder that is symmetric is an equivalence relation; it can be thought of as having lost the direction markers on the edges of the graph. In general, a preorder's corresponding directed graph may have many disconnected components.
A preorder is often denoted or .
A binary relation on a set is called a or if it is reflexive and transitive; that is, if it satisfies:
A set that is equipped with a preorder is called a preordered set (or proset).
Given a preorder on one may define an equivalence relation on by
The resulting relation is reflexive since the preorder is reflexive; transitive by applying the transitivity of twice; and symmetric by definition.
Using this relation, it is possible to construct a partial order on the quotient set of the equivalence, by defining if That this is well-defined, meaning that it does not depend on the particular choice of representatives and , follows from the definition of .
Conversely, from any partial order on a partition of a set it is possible to construct a preorder on itself. There is a one-to-one correspondence between preorders and pairs (partition, partial order).
Then is a preorder on : every sentence can be proven from itself (reflexivity), and if can be proven from , and from , then can also be proven from (transitivity). The corresponding equivalence relation is usually denoted , and defined as and ; in this case and are called "logically equivalent". The equivalence class of a sentence is the set of all sentences that are logically equivalent to ; formally: . The preordered set is a directed set: given two sentences , their logical conjunction , pronounced "both and ", is a common upper bound of them, since is a consequence of , and so is . The partially ordered set is hence also a directed set. See LindenbaumâÂÂTarski algebra for a related example.
If reflexivity is replaced with irreflexivity (while keeping transitivity) then we get the definition of a strict partial order on . For this reason, the term is sometimes used for a strict partial order. That is, this is a binary relation on that satisfies: <ol> <li>Irreflexivity or anti-reflexivity: for all that is, is for all and</li> <li>Transitivity: if for all </li> </ol>
Any preorder gives rise to a strict partial order defined by if and only if and not . Using the equivalence relation introduced above, if and only if and so the following holds
The relation is a strict partial order and strict partial order can be constructed this way. the preorder is antisymmetric (and thus a partial order) then the equivalence is equality (that is, if and only if ) and so in this case, the definition of can be restated as:
But importantly, this new condition is used as (nor is it equivalent to) the general definition of the relation (that is, is defined as: if and only if ) because if the preorder is not antisymmetric then the resulting relation would not be transitive (consider how equivalent non-equal elements relate). This is the reason for using the symbol "" instead of the "less than or equal to" symbol "", which might cause confusion for a preorder that is not antisymmetric since it might misleadingly suggest that implies
Using the construction above, multiple non-strict preorders can produce the same strict preorder so without more information about how was constructed (such as knowledge of the equivalence relation for instance), it might not be possible to reconstruct the original non-strict preorder from Possible (non-strict) preorders that induce the given strict preorder include the following:
If then The converse holds (that is, ) if and only if whenever then or
In computer science, one can find examples of the following preorders.
Further examples:
Example of a total preorder:
Every binary relation on a set can be extended to a preorder on by taking the transitive closure and reflexive closure, The transitive closure indicates path connection in if and only if there is an -path from to
Left residual preorder induced by a binary relation
Given a binary relation the complemented composition forms a preorder called the left residual, where denotes the converse relation of and denotes the complement relation of while denotes relation composition.
If a preorder is also antisymmetric, that is, and implies then it is a partial order.
On the other hand, if it is symmetric, that is, if implies then it is an equivalence relation.
A preorder is total if or for all
A preordered class is a class equipped with a preorder. Every set is a class and so every preordered set is a preordered class.
Preorders play a pivotal role in several situations:
As explained above, there is a 1-to-1 correspondence between preorders and pairs (partition, partial order). Thus the number of preorders is the sum of the number of partial orders on every partition. For example:
For the interval is the set of points x satisfying and also written It contains at least the points a and b. One may choose to extend the definition to all pairs . The extra intervals are all empty.
Using the corresponding strict relation "", one can also define the interval as the set of points x satisfying and also written An open interval may be empty even if
Also and can be defined similarly.