
Transitive binary relations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() All definitions tacitly require the homogeneous relation be transitive: for all if and then |
In mathematics, especially in order theory, a preorder or quasiorder is a binary relation that is reflexive and transitive. The name preorder 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, polynomials, or elements of a commutative ring. For example, the divides relation is reflexive as every integer divides itself. But the divides relation is not antisymmetric, because divides and divides . It is to this preorder that "greatest" and "lowest" refer in the phrases "greatest common divisor" and "lowest common multiple" (except that, for integers, the greatest common divisor is also the greatest for the natural order of the integers).
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. 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.
As a binary relation, a preorder may be denoted or . In words, when one may say that b covers a or that a precedes b, or that b reduces to a. Occasionally, the notation ← or → is also used.
Definition
Let be a binary relation on a set
so that by definition,
is some subset of
and the notation
is used in place of
Then
is called a preorder or quasiorder if it is reflexive and transitive; that is, if it satisfies:
- Reflexivity:
for all
and
- Transitivity: if
for all
A set that is equipped with a preorder is called a preordered set (or proset).
Preorders as partial orders on partitions
Given a preorder on
one may define an equivalence relation
on
such that
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, which is the set of all equivalence classes of
If the preorder is denoted by
then
is the set of
-cycle equivalence classes:
if and only if
or
is in an
-cycle with
. In any case, on
it is possible to define
if and only if
That this is well-defined, meaning that its defining condition does not depend on which representatives of
and
are chosen, follows from the definition of
It is readily verified that this yields a partially ordered set.
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).
Example: Let be a formal theory, which is a set of sentences with certain properties (details of which can be found in the article on the subject). For instance,
could be a first-order theory (like Zermelo–Fraenkel set theory) or a simpler zeroth-order theory. One of the many properties of
is that it is closed under logical consequences so that, for instance, if a sentence
logically implies some sentence
which will be written as
and also as
then necessarily
(by modus ponens). The relation
is a preorder on
because
always holds and whenever
and
both hold then so does
Furthermore, for any
if and only if
; that is, two sentences are equivalent with respect to
if and only if they are logically equivalent. This particular equivalence relation
is commonly denoted with its own special symbol
and so this symbol
may be used instead of
The equivalence class of a sentence
denoted by
consists of all sentences
that are logically equivalent to
(that is, all
such that
). The partial order on
induced by
which will also be denoted by the same symbol
is characterized by
if and only if
where the right hand side condition is independent of the choice of representatives
and
of the equivalence classes. All that has been said of
so far can also be said of its converse relation
The preordered set
is a directed set because if
and if
denotes the sentence formed by logical conjunction
then
and
where
The partially ordered set
is consequently also a directed set. See Lindenbaum–Tarski algebra for a related example.
Relationship to strict partial orders
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 strict preorder is sometimes used for a strict partial order. That is, this is a binary relation
on
that satisfies:
- Irreflexivity or anti-reflexivity: not
for all
that is,
is false for all
and
- Transitivity: if
for all
Strict partial order induced by a preorder
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 every strict partial order can be constructed this way. If 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 not used as (nor is it equivalent to) the general definition of the relation
(that is,
is not 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
Preorders induced by a strict partial order
Using the construction above, multiple non-strict preorders can produce the same strict preorder so without more information about how
was constructed (such 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:
- Define
as
(that is, take the reflexive closure of the relation). This gives the partial order associated with the strict partial order "
" through reflexive closure; in this case the equivalence is equality
so the symbols
and
are not needed.
- Define
as "
" (that is, take the inverse complement of the relation), which corresponds to defining
as "neither
"; these relations
and
are in general not transitive; however, if they are then
is an equivalence; in that case "
" is a strict weak order. The resulting preorder is connected (formerly called total); that is, a total preorder.
If then
The converse holds (that is,
) if and only if whenever
then
or
Examples
Graph theory
- The reachability relationship in any directed graph (possibly containing cycles) gives rise to a preorder, where
in the preorder if and only if there is a path from x to y in the directed graph. Conversely, every preorder is the reachability relationship of a directed graph (for instance, the graph that has an edge from x to y for every pair (x, y) with
). However, many different graphs may have the same reachability preorder as each other. In the same way, reachability of directed acyclic graphs, directed graphs with no cycles, gives rise to partially ordered sets (preorders satisfying an additional antisymmetry property).
- The graph-minor relation is also a preorder.
Computer science
In computer science, one can find examples of the following preorders.
- Asymptotic order causes a preorder over functions
. The corresponding equivalence relation is called asymptotic equivalence.
- Polynomial-time, many-one (mapping) and Turing reductions are preorders on complexity classes.
- Subtyping relations are usually preorders.
- Simulation preorders are preorders (hence the name).
- Reduction relations in abstract rewriting systems.
- The encompassment preorder on the set of terms, defined by
if a subterm of t is a substitution instance of s.
- Theta-subsumption, which is when the literals in a disjunctive first-order formula are contained by another, after applying a substitution to the former.
Category theory
- A category with at most one morphism from any object x to any other object y is a preorder. Such categories are called thin. Here the objects correspond to the elements of
and there is one morphism for objects which are related, zero otherwise. In this sense, categories "generalize" preorders by allowing more than one relation between objects: each morphism is a distinct (named) preorder relation.
- Alternately, a preordered set can be understood as an enriched category, enriched over the category
Other
Further examples:
- Every finite topological space gives rise to a preorder on its points by defining
if and only if x belongs to every neighborhood of y. Every finite preorder can be formed as the specialization preorder of a topological space in this way. That is, there is a one-to-one correspondence between finite topologies and finite preorders. However, the relation between infinite topological spaces and their specialization preorders is not one-to-one.
- A net is a directed preorder, that is, each pair of elements has an upper bound. The definition of convergence via nets is important in topology, where preorders cannot be replaced by partially ordered sets without losing important features.
- The relation defined by
if
where f is a function into some preorder.
- The relation defined by
if there exists some injection from x to y. Injection may be replaced by surjection, or any type of structure-preserving function, such as ring homomorphism, or permutation.
- The embedding relation for countable total orderings.
Example of a total preorder:
- Preference, according to common models.
Constructions
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.
Related definitions
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.
Uses
Preorders play a pivotal role in several situations:
- Every preorder can be given a topology, the Alexandrov topology; and indeed, every preorder on a set is in one-to-one correspondence with an Alexandrov topology on that set.
- Preorders may be used to define interior algebras.
- Preorders provide the Kripke semantics for certain types of modal logic.
- Preorders are used in forcing in set theory to prove consistency and independence results.
Number of preorders
Elements | Any | Transitive | Reflexive | Symmetric | Preorder | Partial order | Total preorder | Total order | Equivalence relation |
---|---|---|---|---|---|---|---|---|---|
0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
1 | 2 | 2 | 1 | 2 | 1 | 1 | 1 | 1 | 1 |
2 | 16 | 13 | 4 | 8 | 4 | 3 | 3 | 2 | 2 |
3 | 512 | 171 | 64 | 64 | 29 | 19 | 13 | 6 | 5 |
4 | 65,536 | 3,994 | 4,096 | 1,024 | 355 | 219 | 75 | 24 | 15 |
n | 2n2 | 2n(n−1) | 2n(n+1)/2 | ∑n k=0 k!S(n, k) | n! | ∑n k=0 S(n, k) | |||
OEIS | A002416 | A006905 | A053763 | A006125 | A000798 | A001035 | A000670 | A000142 | A000110 |
Note that S(n, k) refers to Stirling numbers of the second kind.
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
- 1 partition of 3, giving 1 preorder
- 3 partitions of 2 + 1, giving
preorders
- 1 partition of 1 + 1 + 1, giving 19 preorders
- for
- 1 partition of 4, giving 1 preorder
- 7 partitions with two classes (4 of 3 + 1 and 3 of 2 + 2), giving
preorders
- 6 partitions of 2 + 1 + 1, giving
preorders
- 1 partition of 1 + 1 + 1 + 1, giving 219 preorders
Interval
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.
See also
- Partial order – preorder that is antisymmetric
- Equivalence relation – preorder that is symmetric
- Total preorder – preorder that is total
- Total order – preorder that is antisymmetric and total
- Directed set
- Category of preordered sets
- Prewellordering
- Well-quasi-ordering
Notes
- For "proset", see e.g. Eklund, Patrik; Gähler, Werner (1990), "Generalized Cauchy spaces", Mathematische Nachrichten, 147: 219–233, doi:10.1002/mana.19901470123, MR 1127325.
- Pierce, Benjamin C. (2002). Types and Programming Languages. Cambridge, Massachusetts/London, England: The MIT Press. pp. 182ff. ISBN 0-262-16209-1.
- Robinson, J. A. (1965). "A machine-oriented logic based on the resolution principle". ACM. 12 (1): 23–41. doi:10.1145/321250.321253. S2CID 14389185.
- In this context, "
" does not mean "set difference".
- Kunen, Kenneth (1980), Set Theory, An Introduction to Independence Proofs, Studies in logic and the foundation of mathematics, vol. 102, Amsterdam, the Netherlands: Elsevier.
References
Transitive binary relations vteSymmetricAntisymmetricConnectedWell foundedHas joinsHas meetsReflexiveIrreflexiveAsymmetricTotal SemiconnexAnti reflexiveEquivalence relationY Y Preorder Quasiorder Y Partial order Y Y Total preorder Y Y Total order YY Y Prewellordering YY Y Well quasi ordering Y Y Well ordering YYY Y Lattice Y YYY Join semilattice Y Y Y Meet semilattice Y YY Strict partial order Y YYStrict weak order Y YYStrict total order YY YYSymmetricAntisymmetricConnectedWell foundedHas joinsHas meetsReflexiveIrreflexiveAsymmetricDefinitions for all a b displaystyle a b and S displaystyle S neq varnothing aRb bRa displaystyle begin aligned amp aRb Rightarrow amp bRa end aligned aRb and bRa a b displaystyle begin aligned aRb text and amp bRa Rightarrow a amp b end aligned a b aRb or bRa displaystyle begin aligned a neq amp b Rightarrow aRb text or amp bRa end aligned minSexists displaystyle begin aligned min S text exists end aligned a bexists displaystyle begin aligned a vee b text exists end aligned a bexists displaystyle begin aligned a wedge b text exists end aligned aRa displaystyle aRa not aRa displaystyle text not aRa aRb not bRa displaystyle begin aligned aRb Rightarrow text not bRa end aligned Y indicates that the column s property is always true for the row s term at the very left while indicates that the property is not guaranteed in general it might or might not hold For example that every equivalence relation is symmetric but not necessarily antisymmetric is indicated by Y in the Symmetric column and in the Antisymmetric column respectively All definitions tacitly require the homogeneous relation R displaystyle R be transitive for all a b c displaystyle a b c if aRb displaystyle aRb and bRc displaystyle bRc then aRc displaystyle aRc A term s definition may require additional properties that are not listed in this table In mathematics especially in order theory a preorder or quasiorder is a binary relation that is reflexive and transitive The name preorder is meant to suggest that preorders are almost partial orders but not quite as they are not necessarily antisymmetric Hasse diagram of the preorder x R y defined by x 4 y 4 on the natural numbers Equivalence classes sets of elements such that x R y and y R x are shown together as a single node The relation on equivalence classes is a partial order A natural example of a preorder is the divides relation x divides y between integers polynomials or elements of a commutative ring For example the divides relation is reflexive as every integer divides itself But the divides relation is not antisymmetric because 1 displaystyle 1 divides 1 displaystyle 1 and 1 displaystyle 1 divides 1 displaystyle 1 It is to this preorder that greatest and lowest refer in the phrases greatest common divisor and lowest common multiple except that for integers the greatest common divisor is also the greatest for the natural order of the integers 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 X displaystyle X can equivalently be defined as an equivalence relation on X displaystyle X together with a partial order on the set of equivalence class 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 As a binary relation a preorder may be denoted displaystyle lesssim or displaystyle leq In words when a b displaystyle a lesssim b one may say that b covers a or that a precedes b or that b reduces to a Occasionally the notation or is also used DefinitionLet displaystyle lesssim be a binary relation on a set P displaystyle P so that by definition displaystyle lesssim is some subset of P P displaystyle P times P and the notation a b displaystyle a lesssim b is used in place of a b displaystyle a b in lesssim Then displaystyle lesssim is called a preorder or quasiorder if it is reflexive and transitive that is if it satisfies Reflexivity a a displaystyle a lesssim a for all a P displaystyle a in P and Transitivity if a b and b c then a c displaystyle a lesssim b text and b lesssim c text then a lesssim c for all a b c P displaystyle a b c in P A set that is equipped with a preorder is called a preordered set or proset Preorders as partial orders on partitionsGiven a preorder displaystyle lesssim on S displaystyle S one may define an equivalence relation displaystyle sim on S displaystyle S such that a b if and only if a b and b a displaystyle a sim b quad text if and only if quad a lesssim b text and b lesssim a The resulting relation displaystyle sim is reflexive since the preorder displaystyle lesssim is reflexive transitive by applying the transitivity of displaystyle lesssim twice and symmetric by definition Using this relation it is possible to construct a partial order on the quotient set of the equivalence S displaystyle S sim which is the set of all equivalence classes of displaystyle sim If the preorder is denoted by R displaystyle R then S displaystyle S sim is the set of R displaystyle R cycle equivalence classes x y displaystyle x in y if and only if x y displaystyle x y or x displaystyle x is in an R displaystyle R cycle with y displaystyle y In any case on S displaystyle S sim it is possible to define x y displaystyle x leq y if and only if x y displaystyle x lesssim y That this is well defined meaning that its defining condition does not depend on which representatives of x displaystyle x and y displaystyle y are chosen follows from the definition of displaystyle sim It is readily verified that this yields a partially ordered set Conversely from any partial order on a partition of a set S displaystyle S it is possible to construct a preorder on S displaystyle S itself There is a one to one correspondence between preorders and pairs partition partial order Example Let S displaystyle S be a formal theory which is a set of sentences with certain properties details of which can be found in the article on the subject For instance S displaystyle S could be a first order theory like Zermelo Fraenkel set theory or a simpler zeroth order theory One of the many properties of S displaystyle S is that it is closed under logical consequences so that for instance if a sentence A S displaystyle A in S logically implies some sentence B displaystyle B which will be written as A B displaystyle A Rightarrow B and also as B A displaystyle B Leftarrow A then necessarily B S displaystyle B in S by modus ponens The relation displaystyle Leftarrow is a preorder on S displaystyle S because A A displaystyle A Leftarrow A always holds and whenever A B displaystyle A Leftarrow B and B C displaystyle B Leftarrow C both hold then so does A C displaystyle A Leftarrow C Furthermore for any A B S displaystyle A B in S A B displaystyle A sim B if and only if A B and B A displaystyle A Leftarrow B text and B Leftarrow A that is two sentences are equivalent with respect to displaystyle Leftarrow if and only if they are logically equivalent This particular equivalence relation A B displaystyle A sim B is commonly denoted with its own special symbol A B displaystyle A iff B and so this symbol displaystyle iff may be used instead of displaystyle sim The equivalence class of a sentence A displaystyle A denoted by A displaystyle A consists of all sentences B S displaystyle B in S that are logically equivalent to A displaystyle A that is all B S displaystyle B in S such that A B displaystyle A iff B The partial order on S displaystyle S sim induced by displaystyle Leftarrow which will also be denoted by the same symbol displaystyle Leftarrow is characterized by A B displaystyle A Leftarrow B if and only if A B displaystyle A Leftarrow B where the right hand side condition is independent of the choice of representatives A A displaystyle A in A and B B displaystyle B in B of the equivalence classes All that has been said of displaystyle Leftarrow so far can also be said of its converse relation displaystyle Rightarrow The preordered set S displaystyle S Leftarrow is a directed set because if A B S displaystyle A B in S and if C A B displaystyle C A wedge B denotes the sentence formed by logical conjunction displaystyle wedge then A C displaystyle A Leftarrow C and B C displaystyle B Leftarrow C where C S displaystyle C in S The partially ordered set S displaystyle left S sim Leftarrow right is consequently also a directed set See Lindenbaum Tarski algebra for a related example Relationship to strict partial ordersIf reflexivity is replaced with irreflexivity while keeping transitivity then we get the definition of a strict partial order on P displaystyle P For this reason the term strict preorder is sometimes used for a strict partial order That is this is a binary relation lt displaystyle lt on P displaystyle P that satisfies Irreflexivity or anti reflexivity not a lt a displaystyle a lt a for all a P displaystyle a in P that is a lt a displaystyle a lt a is false for all a P displaystyle a in P and Transitivity if a lt b and b lt c then a lt c displaystyle a lt b text and b lt c text then a lt c for all a b c P displaystyle a b c in P Strict partial order induced by a preorder Any preorder displaystyle lesssim gives rise to a strict partial order defined by a lt b displaystyle a lt b if and only if a b displaystyle a lesssim b and not b a displaystyle b lesssim a Using the equivalence relation displaystyle sim introduced above a lt b displaystyle a lt b if and only if a b and not a b displaystyle a lesssim b text and not a sim b and so the following holds a b if and only if a lt b or a b displaystyle a lesssim b quad text if and only if quad a lt b text or a sim b The relation lt displaystyle lt is a strict partial order and every strict partial order can be constructed this way If the preorder displaystyle lesssim is antisymmetric and thus a partial order then the equivalence displaystyle sim is equality that is a b displaystyle a sim b if and only if a b displaystyle a b and so in this case the definition of lt displaystyle lt can be restated as a lt b if and only if a b and a b assuming is antisymmetric displaystyle a lt b quad text if and only if quad a lesssim b text and a neq b quad quad text assuming lesssim text is antisymmetric But importantly this new condition is not used as nor is it equivalent to the general definition of the relation lt displaystyle lt that is lt displaystyle lt is not defined as a lt b displaystyle a lt b if and only if a b and a b displaystyle a lesssim b text and a neq b because if the preorder displaystyle lesssim is not antisymmetric then the resulting relation lt displaystyle lt would not be transitive consider how equivalent non equal elements relate This is the reason for using the symbol displaystyle lesssim instead of the less than or equal to symbol displaystyle leq which might cause confusion for a preorder that is not antisymmetric since it might misleadingly suggest that a b displaystyle a leq b implies a lt b or a b displaystyle a lt b text or a b Preorders induced by a strict partial order Using the construction above multiple non strict preorders can produce the same strict preorder lt displaystyle lt so without more information about how lt displaystyle lt was constructed such knowledge of the equivalence relation displaystyle sim for instance it might not be possible to reconstruct the original non strict preorder from lt displaystyle lt Possible non strict preorders that induce the given strict preorder lt displaystyle lt include the following Define a b displaystyle a leq b as a lt b or a b displaystyle a lt b text or a b that is take the reflexive closure of the relation This gives the partial order associated with the strict partial order lt displaystyle lt through reflexive closure in this case the equivalence is equality displaystyle so the symbols displaystyle lesssim and displaystyle sim are not needed Define a b displaystyle a lesssim b as not b lt a displaystyle text not b lt a that is take the inverse complement of the relation which corresponds to defining a b displaystyle a sim b as neither a lt b nor b lt a displaystyle a lt b text nor b lt a these relations displaystyle lesssim and displaystyle sim are in general not transitive however if they are then displaystyle sim is an equivalence in that case lt displaystyle lt is a strict weak order The resulting preorder is connected formerly called total that is a total preorder If a b displaystyle a leq b then a b displaystyle a lesssim b The converse holds that is displaystyle lesssim leq if and only if whenever a b displaystyle a neq b then a lt b displaystyle a lt b or b lt a displaystyle b lt a ExamplesGraph theory The reachability relationship in any directed graph possibly containing cycles gives rise to a preorder where x y displaystyle x lesssim y in the preorder if and only if there is a path from x to y in the directed graph Conversely every preorder is the reachability relationship of a directed graph for instance the graph that has an edge from x to y for every pair x y with x y displaystyle x lesssim y However many different graphs may have the same reachability preorder as each other In the same way reachability of directed acyclic graphs directed graphs with no cycles gives rise to partially ordered sets preorders satisfying an additional antisymmetry property The graph minor relation is also a preorder Computer science In computer science one can find examples of the following preorders Asymptotic order causes a preorder over functions f N N displaystyle f mathbb N to mathbb N The corresponding equivalence relation is called asymptotic equivalence Polynomial time many one mapping and Turing reductions are preorders on complexity classes Subtyping relations are usually preorders Simulation preorders are preorders hence the name Reduction relations in abstract rewriting systems The encompassment preorder on the set of terms defined by s t displaystyle s lesssim t if a subterm of t is a substitution instance of s Theta subsumption which is when the literals in a disjunctive first order formula are contained by another after applying a substitution to the former Category theory A category with at most one morphism from any object x to any other object y is a preorder Such categories are called thin Here the objects correspond to the elements of P displaystyle P and there is one morphism for objects which are related zero otherwise In this sense categories generalize preorders by allowing more than one relation between objects each morphism is a distinct named preorder relation Alternately a preordered set can be understood as an enriched category enriched over the category 2 0 1 displaystyle 2 0 to 1 Other Further examples Every finite topological space gives rise to a preorder on its points by defining x y displaystyle x lesssim y if and only if x belongs to every neighborhood of y Every finite preorder can be formed as the specialization preorder of a topological space in this way That is there is a one to one correspondence between finite topologies and finite preorders However the relation between infinite topological spaces and their specialization preorders is not one to one A net is a directed preorder that is each pair of elements has an upper bound The definition of convergence via nets is important in topology where preorders cannot be replaced by partially ordered sets without losing important features The relation defined by x y displaystyle x lesssim y if f x f y displaystyle f x lesssim f y where f is a function into some preorder The relation defined by x y displaystyle x lesssim y if there exists some injection from x to y Injection may be replaced by surjection or any type of structure preserving function such as ring homomorphism or permutation The embedding relation for countable total orderings Example of a total preorder Preference according to common models ConstructionsEvery binary relation R displaystyle R on a set S displaystyle S can be extended to a preorder on S displaystyle S by taking the transitive closure and reflexive closure R displaystyle R The transitive closure indicates path connection in R xR y displaystyle R xR y if and only if there is an R displaystyle R path from x displaystyle x to y displaystyle y Left residual preorder induced by a binary relation Given a binary relation R displaystyle R the complemented composition R R RT R displaystyle R backslash R overline R textsf T circ overline R forms a preorder called the left residual where RT displaystyle R textsf T denotes the converse relation of R displaystyle R and R displaystyle overline R denotes the complement relation of R displaystyle R while displaystyle circ denotes relation composition Related definitionsIf a preorder is also antisymmetric that is a b displaystyle a lesssim b and b a displaystyle b lesssim a implies a b displaystyle a b then it is a partial order On the other hand if it is symmetric that is if a b displaystyle a lesssim b implies b a displaystyle b lesssim a then it is an equivalence relation A preorder is total if a b displaystyle a lesssim b or b a displaystyle b lesssim a for all a b P displaystyle a b in P A preordered class is a class equipped with a preorder Every set is a class and so every preordered set is a preordered class UsesPreorders play a pivotal role in several situations Every preorder can be given a topology the Alexandrov topology and indeed every preorder on a set is in one to one correspondence with an Alexandrov topology on that set Preorders may be used to define interior algebras Preorders provide the Kripke semantics for certain types of modal logic Preorders are used in forcing in set theory to prove consistency and independence results Number of preordersNumber of n element binary relations of different types Elem ents Any Transitive Reflexive Symmetric Preorder Partial order Total preorder Total order Equivalence relation0 1 1 1 1 1 1 1 1 11 2 2 1 2 1 1 1 1 12 16 13 4 8 4 3 3 2 23 512 171 64 64 29 19 13 6 54 65 536 3 994 4 096 1 024 355 219 75 24 15n 2n2 2n n 1 2n n 1 2 n k 0 k S n k n n k 0 S n k OEIS A002416 A006905 A053763 A006125 A000798 A001035 A000670 A000142 A000110 Note that S n k refers to Stirling numbers of the second kind 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 n 3 displaystyle n 3 1 partition of 3 giving 1 preorder 3 partitions of 2 1 giving 3 3 9 displaystyle 3 times 3 9 preorders 1 partition of 1 1 1 giving 19 preorders I e together 29 preorders for n 4 displaystyle n 4 1 partition of 4 giving 1 preorder 7 partitions with two classes 4 of 3 1 and 3 of 2 2 giving 7 3 21 displaystyle 7 times 3 21 preorders 6 partitions of 2 1 1 giving 6 19 114 displaystyle 6 times 19 114 preorders 1 partition of 1 1 1 1 giving 219 preorders I e together 355 preorders IntervalFor a b displaystyle a lesssim b the interval a b displaystyle a b is the set of points x satisfying a x displaystyle a lesssim x and x b displaystyle x lesssim b also written a x b displaystyle a lesssim x lesssim b It contains at least the points a and b One may choose to extend the definition to all pairs a b displaystyle a b The extra intervals are all empty Using the corresponding strict relation lt displaystyle lt one can also define the interval a b displaystyle a b as the set of points x satisfying a lt x displaystyle a lt x and x lt b displaystyle x lt b also written a lt x lt b displaystyle a lt x lt b An open interval may be empty even if a lt b displaystyle a lt b Also a b displaystyle a b and a b displaystyle a b can be defined similarly See alsoPartial order preorder that is antisymmetric Equivalence relation preorder that is symmetric Total preorder preorder that is total Total order preorder that is antisymmetric and total Directed set Category of preordered sets Prewellordering Well quasi orderingNotesFor proset see e g Eklund Patrik Gahler Werner 1990 Generalized Cauchy spaces Mathematische Nachrichten 147 219 233 doi 10 1002 mana 19901470123 MR 1127325 Pierce Benjamin C 2002 Types and Programming Languages Cambridge Massachusetts London England The MIT Press pp 182ff ISBN 0 262 16209 1 Robinson J A 1965 A machine oriented logic based on the resolution principle ACM 12 1 23 41 doi 10 1145 321250 321253 S2CID 14389185 In this context displaystyle backslash does not mean set difference Kunen Kenneth 1980 Set Theory An Introduction to Independence Proofs Studies in logic and the foundation of mathematics vol 102 Amsterdam the Netherlands Elsevier ReferencesSchmidt Gunther Relational Mathematics Encyclopedia of Mathematics and its Applications vol 132 Cambridge University Press 2011 ISBN 978 0 521 76268 7 Schroder Bernd S W 2002 Ordered Sets An Introduction Boston Birkhauser ISBN 0 8176 4128 9