Preorder

{{short description|Reflexive and transitive binary relation}}

{{About|binary relations|the graph vertex ordering|depth-first search|purchase orders for unreleased products|pre-order|other uses}}

{{Redirect|Quasiorder|irreflexive transitive relations|strict order}}

{{stack|{{Binary relations}}}}

File:Preorder.png 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.]]

In mathematics, especially in order theory, a preorder or quasiorder is a binary relation that is reflexive and transitive. The name {{em|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 1 divides -1 and -1 divides 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 can equivalently be defined as an equivalence relation on 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 \,\lesssim\, or \,\leq\,. In words, when a \lesssim b, one may say that b {{em|covers}} a or that a {{em|precedes}} b, or that b {{em|reduces}} to a. Occasionally, the notation ← or → is also used.

Definition

Let \,\lesssim\, be a binary relation on a set P, so that by definition, \,\lesssim\, is some subset of P \times P and the notation a \lesssim b is used in place of (a, b) \in {\lesssim}. Then \,\lesssim\, is called a {{em|preorder}} or {{em|quasiorder}} if it is reflexive and transitive; that is, if it satisfies:

  1. Reflexivity: a \lesssim a for all a \in P, and
  2. Transitivity: if a \lesssim b \text{ and } b \lesssim c \text{ then } a \lesssim c for all a, b, c \in P.

A set that is equipped with a preorder is called a preordered set (or proset).For "proset", see e.g. {{citation|last1=Eklund|first1=Patrik|last2=Gähler|first2=Werner|doi=10.1002/mana.19901470123|journal=Mathematische Nachrichten|mr=1127325|pages=219–233|title=Generalized Cauchy spaces|volume=147|year=1990}}.

Preorders as partial orders on partitions

Given a preorder \,\lesssim\, on S one may define an equivalence relation \,\sim\, on S such that

a \sim b \quad \text{ if and only if } \quad a \lesssim b \; \text{ and } \; b \lesssim a.

The resulting relation \,\sim\, is reflexive since the preorder \,\lesssim\, is reflexive; transitive by applying the transitivity of \,\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 / \sim, which is the set of all equivalence classes of \,\sim. If the preorder is denoted by R^{+=}, then S / \sim is the set of R-cycle equivalence classes:

x \in [y] if and only if x = y or x is in an R-cycle with y.

In any case, on S / \sim it is possible to define [x] \leq [y] if and only if x \lesssim y.

That this is well-defined, meaning that its defining condition does not depend on which representatives of [x] and [y] are chosen, follows from the definition of \,\sim.\, It is readily verified that this yields a partially ordered set.

Conversely, from any partial order on a partition of a set S, it is possible to construct a preorder on S itself. There is a one-to-one correspondence between preorders and pairs (partition, partial order).

{{em|Example}}: Let 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 could be a first-order theory (like Zermelo–Fraenkel set theory) or a simpler zeroth-order theory. One of the many properties of S is that it is closed under logical consequences so that, for instance, if a sentence A \in S logically implies some sentence B, which will be written as A \Rightarrow B and also as B \Leftarrow A, then necessarily B \in S (by modus ponens).

The relation \,\Leftarrow\, is a preorder on S because A \Leftarrow A always holds and whenever A \Leftarrow B and B \Leftarrow C both hold then so does A \Leftarrow C.

Furthermore, for any A, B \in S, A \sim B if and only if A \Leftarrow B \text{ and } B \Leftarrow A; that is, two sentences are equivalent with respect to \,\Leftarrow\, if and only if they are logically equivalent. This particular equivalence relation A \sim B is commonly denoted with its own special symbol A \iff B, and so this symbol \,\iff\, may be used instead of \,\sim. The equivalence class of a sentence A, denoted by [A], consists of all sentences B \in S that are logically equivalent to A (that is, all B \in S such that A \iff B).

The partial order on S / \sim induced by \,\Leftarrow,\, which will also be denoted by the same symbol \,\Leftarrow,\, is characterized by [A] \Leftarrow [B] if and only if A \Leftarrow B, where the right hand side condition is independent of the choice of representatives A \in [A] and B \in [B] of the equivalence classes.

All that has been said of \,\Leftarrow\, so far can also be said of its converse relation \,\Rightarrow.\,

The preordered set (S, \Leftarrow) is a directed set because if A, B \in S and if C := A \wedge B denotes the sentence formed by logical conjunction \,\wedge,\, then A \Leftarrow C and B \Leftarrow C where C \in S. The partially ordered set \left(S / \sim, \Leftarrow\right) is consequently also a directed set.

See Lindenbaum–Tarski algebra for a related example.

Relationship to strict partial orders

{{anchor|Strict preorder}}

If reflexivity is replaced with irreflexivity (while keeping transitivity) then we get the definition of a strict partial order on P. For this reason, the term {{em|strict preorder}} is sometimes used for a strict partial order. That is, this is a binary relation \,<\, on P that satisfies:

  1. Irreflexivity or anti-reflexivity: {{em|not}} a < a for all a \in P; that is, \,a < a is {{em|false}} for all a \in P, and
  2. Transitivity: if a < b \text{ and } b < c \text{ then } a < c for all a, b, c \in P.

=Strict partial order induced by a preorder=

Any preorder \,\lesssim\, gives rise to a strict partial order defined by a < b if and only if a \lesssim b and not b \lesssim a.

Using the equivalence relation \,\sim\, introduced above, a < b if and only if a \lesssim b \text{ and not } a \sim b;

and so the following holds

a \lesssim b \quad \text{ if and only if } \quad a < b \; \text{ or } \; a \sim b.

The relation \,<\, is a strict partial order and {{em|every}} strict partial order can be constructed this way.

{{em|If}} the preorder \,\lesssim\, is antisymmetric (and thus a partial order) then the equivalence \,\sim\, is equality (that is, a \sim b if and only if a = b) and so in this case, the definition of \,<\, can be restated as:

a < 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 {{em|not}} used as (nor is it equivalent to) the general definition of the relation \,<\, (that is, \,<\, is {{em|not}} defined as: a < b if and only if a \lesssim b \text{ and } a \neq b) because if the preorder \,\lesssim\, 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 "\lesssim" instead of the "less than or equal to" symbol "\leq", which might cause confusion for a preorder that is not antisymmetric since it might misleadingly suggest that a \leq b implies a < 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 \,<,\, so without more information about how \,<\, was constructed (such knowledge of the equivalence relation \,\sim\, 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 a \leq b as a < 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 "<" through reflexive closure; in this case the equivalence is equality \,=, so the symbols \,\lesssim\, and \,\sim\, are not needed.
  • Define a \lesssim b as "\text{ not } b < a" (that is, take the inverse complement of the relation), which corresponds to defining a \sim b as "neither a < b \text{ nor } b < a"; these relations \,\lesssim\, and \,\sim\, are in general not transitive; however, if they are then \,\sim\, 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 a \leq b then a \lesssim b.

The converse holds (that is, \,\lesssim\;\; = \;\;\leq\,) if and only if whenever a \neq b then a < b or b < a.

Examples

=Graph theory=

  • The reachability relationship in any directed graph (possibly containing cycles) gives rise to a preorder, where 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 {{nowrap|(x, y)}} with 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.

|date=2002 |title=Types and Programming Languages |title-link=Types and Programming Languages |location=Cambridge, Massachusetts/London, England |publisher=The MIT Press |pages=182ff |isbn=0-262-16209-1}}

=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, 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 \to 1).

=Other=

Further examples:

  • Every finite topological space gives rise to a preorder on its points by defining 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.
  • The relation defined by x \lesssim y if f(x) \lesssim f(y), where f is a function into some preorder.
  • The relation defined by 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.{{Citation |last1=Hansson |first1=Sven Ove |title=Preferences |date=2024 |encyclopedia=The Stanford Encyclopedia of Philosophy |editor-last=Zalta |editor-first=Edward N. |url=https://plato.stanford.edu/entries/preferences/ |access-date=2025-03-16 |edition=Winter 2024 |publisher=Metaphysics Research Lab, Stanford University |last2=Grüne-Yanoff |first2=Till |editor2-last=Nodelman |editor2-first=Uri}}

Constructions

Every binary relation R on a set S can be extended to a preorder on S by taking the transitive closure and reflexive closure, R^{+=}. The transitive closure indicates path connection in R : x R^+ y if and only if there is an R-path from x to y.

Left residual preorder induced by a binary relation

Given a binary relation R, the complemented composition R \backslash R = \overline{R^\textsf{T} \circ \overline{R}} forms a preorder called the left residual,In this context, "\backslash" does not mean "set difference". where R^\textsf{T} denotes the converse relation of R, and \overline{R} denotes the complement relation of R, while \circ denotes relation composition.

Related definitions

If a preorder is also antisymmetric, that is, a \lesssim b and b \lesssim a implies a = b, then it is a partial order.

On the other hand, if it is symmetric, that is, if a \lesssim b implies b \lesssim a, then it is an equivalence relation.

A preorder is total if a \lesssim b or b \lesssim a for all 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.

Uses

Preorders play a pivotal role in several situations:

| last = Kunen | first = Kenneth

| title = Set Theory, An Introduction to Independence Proofs

| publisher = Elsevier

| publication-place = Amsterdam, the Netherlands

| series = Studies in logic and the foundation of mathematics

| volume = 102

| year = 1980

}}.

Number of preorders

{{Number of relations}}

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:

{{unordered list

| for n = 3:

  • 1 partition of 3, giving 1 preorder
  • 3 partitions of {{nowrap|2 + 1}}, giving 3 \times 3 = 9 preorders
  • 1 partition of {{nowrap|1 + 1 + 1}}, giving 19 preorders

I.e., together, 29 preorders.

| for n = 4:

  • 1 partition of 4, giving 1 preorder
  • 7 partitions with two classes (4 of {{nowrap|3 + 1}} and 3 of {{nowrap|2 + 2}}), giving 7 \times 3 = 21 preorders
  • 6 partitions of {{nowrap|2 + 1 + 1}}, giving 6 \times 19 = 114 preorders
  • 1 partition of {{nowrap|1 + 1 + 1 + 1}}, giving 219 preorders

I.e., together, 355 preorders.

}}

Interval

For a \lesssim b, the interval [a, b] is the set of points x satisfying a \lesssim x and x \lesssim b, also written 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) The extra intervals are all empty.

Using the corresponding strict relation "<", one can also define the interval (a, b) as the set of points x satisfying a < x and x < b, also written a < x < b. An open interval may be empty even if a < b.

Also [a, b) and (a, b] can be defined similarly.

See also

Notes

References

  • Schmidt, Gunther, "Relational Mathematics", Encyclopedia of Mathematics and its Applications, vol. 132, Cambridge University Press, 2011, {{isbn|978-0-521-76268-7}}
  • {{Citation

| last = Schröder | first = Bernd S. W.

| title = Ordered Sets: An Introduction

| place = Boston

| publisher = Birkhäuser

| year = 2002

| isbn = 0-8176-4128-9

}}

{{Order theory}}

Category:Properties of binary relations

Category:Order theory