Fact-checked by Grok 2 weeks ago

Preorder

In , particularly in the field of , a (also known as a quasiorder) is a on a set that is reflexive and transitive. This structure generalizes the notion of a partial order by omitting the requirement of antisymmetry, allowing distinct elements to be mutually related without being identical. A consists of a set equipped with such a relation, often denoted by ≤. Every preorder induces an defined by a ~ b a ≤ b and b ≤ a; the of the set by this forms a partial order, illustrating how preorders can be refined into stricter ordering structures. Preorders are foundational in various mathematical domains: in , they correspond to thin categories, where there is at most one between any two objects. In and , they model preference relations that permit indifference between options. Notable examples include the divisibility relation on the integers, where m ≤ n if m divides n, which is reflexive and transitive but fails antisymmetry for cases like 2 and -2. Another is the alphabetical ordering on the set of humans with English names, where p ≤ q if p's name comes before or equals q's alphabetically; this is a preorder but not a partial order, as distinct individuals with identical names satisfy mutual comparability without equality. The standard ordering on the real numbers also forms a preorder (in fact, a total order).

Fundamentals

Definition

A preorder, also known as a quasiorder, is a binary relation on a set that satisfies two fundamental properties: reflexivity and transitivity. Formally, given a set X, a relation \leq on X is a preorder if, for all x, y, z \in X,
  • reflexivity: x \leq x,
  • transitivity: if x \leq y and y \leq z, then x \leq z.
Unlike partial orders, preorders do not require antisymmetry (i.e., x \leq y and y \leq x does not necessarily imply x = y), nor do they need to be (i.e., for any x, y \in X, not necessarily x \leq y or y \leq x). Variants such as total preorders impose totality, ensuring comparability for all pairs, but the general preorder lacks this restriction. Partial orders represent a special case of s where antisymmetry holds in addition to reflexivity and . Basic examples illustrate these properties simply. The equality on any set X, defined by x \leq y if and only if x = y, is a , as it is reflexive, transitive, and antisymmetric. The universal , where x \leq y for all x, y \in X, is also a : it is reflexive (every element relates to itself) and transitive (any chain extends indefinitely).

Basic properties

A preorder on a set X is a binary relation \leq that satisfies reflexivity and transitivity for all x, y, z \in X. Reflexivity ensures that x \leq x holds for every element, which permits the relation to model non-strict comparisons, such as in the natural numbers where n \leq m includes equality alongside proper ordering. This property implies that the identity relation on X is contained within any preorder, allowing elements to be trivially related to themselves without imposing additional structure. Transitivity requires that if x \leq y and y \leq z, then x \leq z, ensuring the relation is closed under of paths in the associated . This property facilitates the formation of preorder ideals, defined as downward-closed subsets I \subseteq X where x \in I and y \leq x imply y \in I, and filters, which are upward-closed subsets F \subseteq X where x \in F and x \leq y imply y \in F. These structures capture "small" and "large" elements relative to the preorder, generalizing notions from partial orders. Preorders induce a natural topology known as the Alexandroff topology (or specialization topology), where the open sets are precisely the upper sets U \subseteq X satisfying x \in U and x \leq y imply y \in U. This topology is T_0 if and only if the preorder is antisymmetric, but in general, it provides a coarsest topology compatible with the preorder's structure. Monotone functions between preordered sets preserve the relation: a map f: (X, \leq_X) \to (Y, \leq_Y) is monotone if x \leq_X x' implies f(x) \leq_Y f(x'). Such functions are compatible with set operations like unions and intersections when restricted to ideals or filters, maintaining the closedness properties. If \leq is a reflexive relation on X, its transitive closure \leq^+—the smallest transitive relation containing \leq—forms a preorder on X. This construction ensures reflexivity is inherited and transitivity is enforced, yielding the minimal preorder extension.

Relations to other order structures

Connection to partial orders

A partial order on a set X is a preorder that additionally satisfies antisymmetry: if x \leq y and y \leq x, then x = y. Thus, every partial order is a , but the converse does not hold in general, as preorders need not be antisymmetric./01%3A_Generative_Effects_-_Orders_and_Adjunctions/1.01%3A_What_is_Order) In a preorder (X, \leq), the relation of indifference defined by x \sim y if and only if x \leq y and y \leq x is an on X./01%3A_Generative_Effects_-_Orders_and_Adjunctions/1.01%3A_What_is_Order) This equivalence arises because reflexivity and transitivity of \leq imply that \sim is reflexive, symmetric, and transitive. The quotient set X / \sim, consisting of the equivalence classes = \{ z \in X \mid z \sim x \}, inherits a partial order from the preorder via \leq if and only if x \leq y. This induced relation is reflexive and transitive, as these properties lift from the original preorder./01%3A_Generative_Effects_-_Orders_and_Adjunctions/1.01%3A_What_is_Order) Moreover, it is antisymmetric: if \leq and \leq, then x \leq y and y \leq x, so x \sim y and thus =. A example is the on the set H of all humans on , ordered by their English names alphabetically: p \leq q if the name of p precedes or equals that of q in dictionary order. This is reflexive (every name equals itself) and transitive ( preserves ), but not antisymmetric, as distinct people can share the same name (e.g., two individuals named "" satisfy mutual comparability but are unequal). The indifference identifies people with identical names, so the equivalence classes are the sets of individuals sharing a name; the H / \sim is the set of distinct names, partially ordered by alphabetical precedence, which is antisymmetric.

Connection to strict partial orders

A strict partial order on a set is a that is irreflexive and transitive. Irreflexivity ensures that no element is related to itself (x \not< x for all x), while transitivity requires that if x < y and y < z, then x < z. Such relations are also asymmetric, meaning that if x < y, then it cannot be that y < x. Given a preorder \leq on a set, a corresponding strict partial order < can be induced by defining x < y if and only if x \leq y and not y \leq x. This construction yields a that is irreflexive, since reflexivity of \leq implies x \not< x (as y \leq x holds when y = x), and , because if x < y and y < z, then x \leq z follows from of \leq, while the of z \leq x arises from the chain of negations and transitivity preventing cycles. The induced strict partial order is not necessarily total, as pairs of elements may remain incomparable if neither direction holds under the strict definition. It avoids cycles due to the underlying of the preorder, ensuring acyclicity. However, when the preorder features non-trivial equivalence classes—where elements x and y satisfy x \leq y and y \leq x but x \neq y—the strict order collapses these classes, rendering such elements incomparable under <. For instance, in a preorder where all elements are equivalent, the induced strict order relates no pairs at all.

Inducement and correspondence

Given a strict partial order < on a set X, the relation \leq defined by x \leq y if and only if x < y or x = y is a preorder on X, as it is reflexive and transitive. This construction adds reflexivity to the irreflexive strict partial order while preserving transitivity. Conversely, every preorder \leq on X induces an \sim defined by x \sim y x \leq y and y \leq x. The set X/{\sim} consists of the equivalence classes under \sim, and these classes form a of X. On this , the relation defined by \leq x \leq y (where and denote equivalence classes) is a partial order. The strict partial order on the is then given by < \leq and \neq. This establishes a bijection between the set of all preorders on X and the set of pairs consisting of an \sim on X together with a strict partial order < on the X/{\sim}. The map sending a preorder \leq to the pair (\sim, <), where \sim is the induced equivalence and < is the induced strict partial order on X/{\sim}, is this bijective correspondence. A preorder on X is order-isomorphic to a partial order if and only if it is antisymmetric, in which case the equivalence relation \sim consists of singleton classes and the quotient map is an order-isomorphism to the partial order itself.

Structural representations

Preorders as partial orders on partitions

A fundamental representation of preorders identifies them with partial orders defined on partitions of the underlying set. Specifically, for a preorder \leq on a set X, define the indifference relation \sim by x \sim y if and only if x \leq y and y \leq x; this \sim is an equivalence relation on X. The quotient set X / \sim consists of the equivalence classes = \{ y \in X \mid y \sim x \}, forming a partition of X. There exists a bijection between the set of all preorders on X and the set of pairs ( \sim, \preceq ), where \sim is an equivalence relation on X and \preceq is a partial order on the quotient X / \sim. The construction proceeds by lifting the preorder to the quotient. Define \preceq if and only if x \leq y. This relation \preceq is well-defined because if [x'] = and [y'] = , then x' \sim x and y' \sim y, so x' \leq y holds if and only if x \leq y (by transitivity and reflexivity of \leq, combined with symmetry of \sim). Moreover, the original preorder recovers via x \leq y if and only if \preceq . Conversely, given an equivalence \sim and partial order \preceq on X / \sim, the preorder on X is induced by setting x \leq y if and only if \preceq ; this is reflexive and transitive due to the properties of \sim and \preceq. This decomposition is unique up to : the \sim is uniquely determined as the symmetric kernel of \leq, and the partial order \preceq is the unique relation on the making the quotient map a . Any other pair ( \sim', \preceq' ) yielding the same must satisfy \sim = \sim' and an between (X / \sim, \preceq) and (X / \sim', \preceq') preserving the induced . To confirm \preceq is a partial order, reflexivity follows since x \leq x implies \preceq , and holds because if \preceq and \preceq , then x \leq y and y \leq z, so x \leq z by of \leq, yielding \preceq . Antisymmetry is verified using of \leq: suppose \preceq and \preceq ; then x \leq y and y \leq x, so x \sim y and thus = .

Equivalence classes and quotients

In a preorder (X, \leq), the relation \sim defined by x \sim y if and only if x \leq y and y \leq x is an equivalence relation on X. The equivalence class of an element x \in X is the set = \{ y \in X \mid x \sim y \}, and these classes form a partition of X. Each equivalence class $$ is convex in the preorder, meaning that if a, b \in and a \leq z \leq b for some z \in X, then z \in . The set of equivalence classes X / \sim inherits a partial order from the preorder on X, defined by \leq if and only if x \leq y. This relation is well-defined because if x' \sim x and y' \sim y, then x' \leq y' follows from the reflexivity and of \leq. The resulting structure (X / \sim, \leq) is antisymmetric, as \leq and \leq imply x \sim y, so =, and it preserves the monotonicity properties of the original . This quotient construction represents the as a partial order on its partition into equivalence classes. Common operations on s include the product preorder and subspace preorders. For preorders (X, \leq_X) and (Y, \leq_Y), the product preorder on X \times Y is defined componentwise: (x_1, y_1) \leq (x_2, y_2) x_1 \leq_X x_2 and y_1 \leq_Y y_2. This ensures the product is reflexive and transitive, inheriting monotonicity from the factors. A subspace preorder arises by restricting the original preorder to a S \subseteq X, yielding the induced relation S \times S where a \leq_S b a \leq b in X. For subsets A, B \subseteq X, one may induce a on the power set by declaring A \leq B if and only if a \leq b for all a \in A and b \in B; this construction parallels Dedekind cuts in ordered fields and extends naturally to quotient structures where subsets represent equivalence classes.

Examples

Set theory and logic

In , the power set of a set X, denoted \mathcal{P}(X), equipped with the inclusion relation A \leq B A \subseteq B, forms a partial order and thus a preorder. This relation is reflexive, since every set is a subset of itself; transitive, as the relation preserves under composition; and antisymmetric, ensuring that if A \subseteq B and B \subseteq A, then A = B. For example, if X = \{1, 2\}, then \emptyset \leq \{1\} \leq \{1, 2\}, illustrating a chain within this structure. In logic, the set of logical formulas in a given can be preordered by semantic entailment, where \phi \leq \psi \phi logically entails \psi, denoted \phi \models \psi. This relation is reflexive, as every formula entails itself, and transitive, since if \phi \models \psi and \psi \models \chi, then \phi \models \chi. However, it is generally not antisymmetric, as distinct formulas may be equivalent under entailment in both directions, such as tautologically equivalent statements. This preorder captures the hierarchical structure of implications in .

Graph theory

In , a on a set of can be represented by a () that is both reflexive and . Reflexivity corresponds to the presence of self-loops at every , ensuring that each element is related to itself, while transitivity means that if there is a from u to v and from v to w, then there is a direct edge from u to w. Such a is sometimes called a transitive reflexive . If the is , the corresponding is a transitive , where every pair of distinct is connected by exactly one directed edge, and the structure remains reflexive and transitive. A fundamental example of a preorder arising in digraphs is the reachability preorder, defined on the vertices of any directed graph G = (V, E). For vertices u, v \in V, u \leq v if there exists a directed from u to v in G, including the trivial path of length zero for reflexivity (where u \leq u). This relation is reflexive by the empty path and transitive because the of paths forms a longer path. The reachability preorder captures the structural connectivity of the graph and is equivalent to the of the adjacency relation augmented with self-loops. In finite digraphs, computing this preorder involves finding the transitive closure, which can be done efficiently using algorithms like Warshall's, though the focus here is on its order-theoretic properties rather than computation. The dimension of a \leq on a is defined as the smallest number d such that \leq is the of d total preorders (linear extensions) on the same set. A total preorder is a reflexive and that is also total, meaning any two elements are comparable. This measures the "complexity" of the preorder in terms of how many total preorders are needed to reconstruct it via intersection, analogous to the order dimension for partial orders but adapted to allow equivalence classes. For instance, if the preorder is already total, its is 1. In general, the dimension is at most the square of the size of the set, providing an upper bound, though computing it exactly is NP-hard for many cases. Seminal work in and has explored this concept, particularly in representing preferences without full antisymmetry. An illustrative example occurs in tournament graphs, which model pairwise comparisons such as outcomes. A is a on n vertices where every pair of distinct vertices has exactly one between them. The "beats" , given by the edges (where an edge from u to v means u beats v), is a total irreflexive relation. Its , augmented with reflexivity (self-beats via empty ), yields a total on the vertices, ranking them by dominance: u \leq v if there is a from u to v, indicating u can "reach" or dominate v through a chain of victories. In a transitive (a linear with no cycles), this is a . However, in general tournaments with cycles, classes emerge for mutually reachable players, forming a total structure. This construction highlights how preorders generalize s in competitive settings beyond strict orders.

Computer science

In , preorders provide a foundational structure for modeling reflexive and transitive relationships in various computational domains, such as dependency resolution, type systems, and . Unlike strict partial orders, preorders allow for equivalence classes where elements are indistinguishable under the , enabling flexible approximations of real-world constraints like task indifference or type compatibility. This reflexivity and make preorders suitable for scenarios where exact antisymmetry is unnecessary or computationally burdensome. Topological sorting extends naturally to preorders by first quotienting the preorder into an induced partial order on equivalence classes, then computing a linear extension that respects the dependencies. In scheduling applications, this models task dependencies where a task may depend on itself (reflexively) or form indifferent groups; for instance, in build systems like Make, a preorder captures compilation orders where equivalent modules can be processed in any order within their class, ensuring prerequisites complete before dependents. Algorithms like Kahn's or DFS-based topological sort, adapted via quotienting, yield valid execution sequences, preventing cycles and optimizing parallel execution where possible. In for programming languages, relations are often formalized as s to capture reflexive subtype compatibility (every type subtypes itself) and transitive hierarchies. Width subtyping exemplifies this in types: a record with additional fields subtypes one with a subset of matching fields, as the narrower record can "forget" extraneous without violating . For example, in languages like or , the type {name: [String](/page/String), age: [Int](/page/Int)} subtypes {name: [String](/page/String)}, allowing functions expecting the simpler record to accept the richer one via subsumption. This preorder structure supports sound type checking during inference, ensuring compatibility without requiring full antisymmetry. Abstract interpretation leverages to approximate program semantics over abstract domains, where the relation defines sound over-approximations of concrete behaviors. Widening operators, designed within this , accelerate convergence by inflating approximations monotonically along the preorder, ensuring fixed-point computation terminates despite infinite state spaces. For instance, in analyzing loop invariants, a preorder on numerical domains (e.g., intervals) allows widening to bound unstable values, as in polyhedral for detecting overflows. Seminal work formalizes these preorders for semantics, using orders to relate partial execution sequences and guarantee that abstract transformers preserve concrete . File system directories illustrate preorders concretely under path inclusion, where a directory path p relates to q if p is a prefix of q (reflexive for equal paths, transitive via concatenation). This preorder models the hierarchical structure: the root "/" includes all subpaths, and equivalence classes group paths with identical contents (e.g., symlinks). In POSIX systems, path resolution respects this relation for operations like traversal or mounting, enabling efficient querying of nested dependencies without enforcing strict uniqueness.

Category theory

In , a on a set X can be viewed as a category where the objects are the elements of X, and there is a unique from x to y x \leq y; the composition of morphisms corresponds to the of the relation. Such categories are known as thin categories, characterized by having at most one between any pair of objects; are precisely the thin categories arising from . Functors between these categories induced by correspond exactly to maps, which are functions that preserve the : if x \leq y, then f(x) \leq f(y). For example, in the category associated to a poset (a preorder satisfying antisymmetry), the hom-sets consist of either a single morphism (when x \leq y) or are empty (otherwise), reflecting the partial order structure.

Constructions

Extending preorders

One method to extend a preorder is through the Dedekind–MacNeille completion, which embeds the preorder into the smallest complete lattice containing an isomorphic copy of it while preserving the order. For a preorder (X, \leq), this involves first forming the quotient poset X / \sim, where \sim is the equivalence relation x \sim y if and only if x \leq y and y \leq x, and then constructing the Dedekind–MacNeille completion of this poset. The resulting lattice has all suprema and infima, and the original preorder embeds order-reflectively into it via the quotient map followed by the canonical embedding. Linear extensions provide another way to enlarge a to a total preorder compatible with the original relation. A total preorder \leq' on X is a of (X, \leq) if x \leq y implies x \leq' y for all x, y \in X. The generalized Szpilrajn extension theorem guarantees that every preorder admits such an extension, obtained constructively using on chains of total preorders. In choice theory, linear extensions model complete and transitive preference relations that refine incomplete or partial preferences, facilitating representation theorems for utility functions and social choice mechanisms. Free completions generate the minimal extension of a preorder closed under specified operations, such as forming unions or joins. For instance, the free join-completion of a preorder (X, \leq) is the smallest join-semilattice containing X as a subposet, where new elements represent formal finite joins, and the order extends the original by defining a \leq b if every generator of a is below some generator of b. This construction preserves existing joins in the preorder and is universal among join-preserving extensions. The upset completion specifically adds formal joins to a while structuring the extension around upsets. For a preorder (X, \leq), the upset completion consists of elements from X augmented by formal join symbols j(S) for subsets S \subseteq X, with the order defined such that x \leq j(S) if x belongs to the upset generated by S, and j(S) \leq y if the upset of y contains S. This yields a join-complete extension where: j(S) = \bigvee_{s \in S} s with the upset \uparrow j(S) coinciding with the upset generated by S.

Generating preorders

One common method to generate a from a is by taking its , provided the original relation is reflexive. A R on a set X is reflexive if x R x for all x \in X; the of R, denoted R^+, is the smallest containing R. Since reflexivity is preserved under , R^+ is both reflexive and transitive, hence a . Another construction involves the lexicographic product of preorders. Given preorders (A, \leq_A) and (B, \leq_B), the lexicographic product preorder on the Cartesian product A \times B is defined by (a_1, b_1) \leq (a_2, b_2) if either a_1 <_A a_2 (where <_A is the strict part of \leq_A), or a_1 =_A a_2 and b_1 \leq_B b_2 (with =_A denoting the equivalence induced by \leq_A). This extends naturally to finite products of preorders, yielding a preorder on the resulting product set that prioritizes the first coordinate. Certain preorders, known as interval orders, can be generated via interval representations. Interval orders are partial orders; a preorder is representable as an interval order if its quotient poset (by the ) is an interval order. To each element x in the set, assign a closed interval I(x) = [l(x), r(x)] on the real line such that x \leq y if and only if x = y or r(x) \leq l(y). This ensures reflexivity and under the interval condition. Not all preorders admit such representations, but those that do are precisely the interval preorders. Preorders can also be generated from strict partial orders by adding reflexivity. A strict partial order < on a set X is irreflexive and transitive; the corresponding preorder \leq is obtained by setting x \leq y if x < y or x = y. This ensures reflexivity while preserving .

Interval orders

An is a partial order that can be represented by assigning to each element an on the real line such that the order corresponds to the precedence of intervals. Specifically, a partial order \leq on a set X is an if there exists a family of intervals \{I_x = [\inf(I_x), \sup(I_x)] \mid x \in X\} with \inf(I_x) \leq \sup(I_x) for all x, such that for all distinct x, y \in X, x < y if and only if \sup(I_x) \leq \inf(I_y). The full includes equality for reflexivity. For , this extends by quotienting to the associated partial order. This representation captures orders where incomparability arises from overlapping intervals. A variant known as unit orders restricts the representation to intervals of fixed unit length, corresponding to semiorders. Interval orders admit a forbidden subposet characterization due to Fishburn's theorem, which states that a partial order is an interval order it contains no induced $2+2 subposet. The $2+2 configuration consists of four distinct elements a, b, c, d such that a < b, c < d, and there are no other comparability relations among them, forming two disjoint incomparable 2-chains. This characterization highlights the structural avoidance of certain incomparable pairs that cannot be realized by interval representations. The incomparability graph of an interval order is an . Key properties of interval orders include their connection to dimension: they coincide with posets of interval 1, meaning the poset can be realized as a single interval without intersection of multiple linear extensions in that form. These properties make interval orders particularly amenable to algorithmic recognition and representation, often via constructing the intervals from the relations. A representative application of interval orders arises in scheduling problems, where tasks are modeled as intervals representing their start times and durations on a , and the precedence x \leq y holds if the end of task x does not exceed the start of task y, ensuring no overlap violations in . This setup allows for efficient precedence in non-preemptive scheduling.

Applications

Mathematical uses

In choice theory, preference relations are commonly modeled as , which are reflexive and transitive relations on a set of alternatives or lotteries. A key result is the von Neumann-Morgenstern expected theorem, which states that if a relation ≽ on the set of probability distributions over outcomes is a complete preorder (i.e., , satisfying alongside reflexivity and ) and fulfills the independence —where mixing a preferred option with a third option preserves the —and continuity , then there exists a function u such that the expected \mathbb{E} represents the preferences: p \succsim q \sum u(x_i) p_i \geq \sum u(x_i) q_i for distributions p, q. This framework underpins rational choice , ensuring that choices are consistent with maximizing expected under uncertainty. In , preorders induce structures like the Scott topology on directed complete partial orders (dcpos), which are posets (antisymmetric preorders) that are complete for directed suprema. The Scott topology on a dcpo D has as open sets the upper subsets U \subseteq D (i.e., x \in U, y \geq x implies y \in U) that are inaccessible by directed sups: if a directed subset S \subseteq D has \sup S \in U, then S \cap U \neq \emptyset. This topology, introduced by in the context of for of computation, equips dcpos with a T_0 structure where the specialization preorder coincides with the original order: x \leq y every Scott-open neighborhood of x contains y. It facilitates continuous function spaces and fixed-point constructions essential for solving domain equations in semantics. In algebra, congruence relations on algebraic structures can be viewed through the lens of compatible preorders, particularly in ordered or quasiordered varieties. A preorder \leq on an algebra is compatible if it preserves operations: for a binary operation f, a \leq a', b \leq b' implies f(a,b) \leq f(a',b'). Such preorders generalize standard congruences (which are equivalences) to ordered settings, like in ordered groups or lattices, where they induce quotient structures that retain algebraic properties; for instance, in lattice theory, a compatible preorder determines join-irreducible elements and preserves meet-join operations in quotients. This approach is crucial for studying congruence extension properties and modular varieties. Recent advancements in (HoTT), a foundational framework developed since the , incorporate preorders to synthetically model domain-theoretic concepts without relying on classical axioms. In univalent foundations, preorders serve as a basis for directed complete posets, enabling constructive proofs of for functions and existence of least fixed points via the Knaster-Tarski theorem in a synthetic setting. For weak orders (total preorders), HoTT's higher inductive types allow encoding of homotopy-invariant notions, such as paths representing equivalences between ordered elements, facilitating applications in synthetic topology and guarded recursion. This integration bridges with , supporting predicative mathematics in type-theoretic proofs.

Computational uses

In constraint satisfaction problems (CSPs), are employed to model over solution assignments, guiding variable ordering heuristics during search to prioritize more preferred partial solutions. For instance, in conditional preference networks (CP-nets), which induce a on the set of possible outcomes based on user-specified , variable ordering strategies constraints while respecting the to efficiently explore the search space and avoid suboptimal branches. This approach enhances the efficiency of by selecting variables that minimize the violation of preference orders, as demonstrated in constrained CP-nets where -aware propagation reduces the computational overhead compared to standard CSP solvers. In , particularly clustering tasks, capture similarity relations among data points by combining clustering structures with partial orders, enabling robust grouping under uncertainty or incomplete information. A notable method is , which hybridizes —where data points are partitioned based on pairwise similarities—with partial ordering to form a preorder that refines clusters by imposing transitive preferences on intra-cluster similarities. This is particularly useful in kernel-based methods, where the kernel function defines a that can be extended to a preorder via reflexive and , facilitating hierarchical or preference-aware clustering in high-dimensional spaces. For example, tree-based algorithms leverage preorders derived from subtree structures to rank pairwise similarities, improving clustering accuracy on datasets with ordinal relationships. Database query optimization utilizes to evaluate and select efficient join orderings, especially for acyclic queries, by defining a partial order on possible execution plans based on cost estimates. In this framework, a ≥_r over join trees is established as a (reflexive and transitive), allowing dynamic programming algorithms to prune dominated plans and focus on minimal-cost orderings that respect join dependencies. This -based optimization reduces the of enumerating all possible join sequences, with empirical results showing significant speedups in query execution times for multi-table joins in relational databases. In AI planning, action preconditions often induce a preorder on feasible action sequences, where one action precedes another if its effects satisfy the preconditions of the successor, ensuring plan validity and feasibility. This preorder structure supports by identifying causally linked actions without enforcing a total early in the process, allowing for more flexible plan generation. For example, in preference-based planning, the preorder over plans incorporates precondition satisfaction to rank feasible sequences, enabling the synthesis of optimal plans under resource constraints.

Other domains

In economics, preorders model indifference relations in utility theory, extending beyond strict preferences to capture incomplete or partial comparisons between alternatives. An incomplete preference relation, which forms a preorder, can be represented by a vector-valued function where indifference holds if the utility vectors are equal, and one alternative is preferred if its utility dominates the other componentwise. This representation is possible for "near-complete" preorders with finite width, allowing economic agents to express or incomparability without violating . In and , semantic entailment is conceptualized as a on , where one entails another if its meaning implies the latter, ensuring reflexivity (a entails itself) and (if A entails B and B entails C, then A entails C). This framework uses model-theoretic semantics with a partial order on truth values, defining entailment as the premise's being less than or equal to the hypothesis's in all intended models. Such modeling supports annotation schemes for tasks, achieving high coverage (over 80%) in datasets like RTE corpora by linking natural language constructions to an interpreted . In social sciences, ranking systems aggregate individual preorders into collective decisions, with the Kemeny-Young method extended to partial rankings by minimizing a distance metric between voter preferences and a consensus ranking. This generalization handles incomplete preferences common in group decision-making, such as surveys where respondents provide partial orders, by optimizing agreement on comparable pairs while accounting for incomparabilities through deviation penalties. Applications include employer branding assessments, where aggregating partial rankings yields stable consensus hierarchies.

Enumeration

Counting preorders on finite sets

The number of preorders on an n-element set, denoted P(n), counts the distinct reflexive and transitive relations on that set. Every preorder arises from partitioning the set into equivalence classes (where elements are mutually related) and imposing a partial order on the quotient set of these classes. Consequently, P(n) can be expressed as P(n) = \sum_{k=1}^n S(n,k) \, Q(k), where S(n,k) is the of the second kind (counting the ways to n labeled elements into k nonempty unlabeled subsets) and Q(k) is the number of partial orders on a k-element labeled set. This summation leverages the set representation of preorders, with the product term accounting for the linear extensions within classes (via the ) and the ordering of classes (via the poset). An alternative recursive approach derives from inversion applied to the of the of equivalence relations or transitive relations, though the sum provides the primary enumerative tool. Computed values of P(n) for small n are as follows:
nP(n)
11
24
329
4355
56,942
6209,527
79,535,241
8642,779,354
These values highlight the rapid growth, reflecting the in possible transitive closures. Total preorders, a special case where the quotient poset is a (), connect to the ordered Bell numbers (or Fubini numbers) F(n) = \sum_{k=1}^n S(n,k) \, k!, counting weak orders or ordered set partitions. For instance, F(1)=1, F(2)=3, F(3)=13, F(4)=75.

Asymptotic behavior

The number P(n) of preorders on a labeled set of n elements satisfies \log_2 P(n) \sim n^2/4 as n \to \infty, implying P(n) \approx 2^{n^2/4}. This asymptotic arises from structural decompositions showing that the dominant contribution to the comes from preorders with a bounded number of "layers" or levels, analogous to the for partial orders. In the probabilistic model on preorders, a typical preorder is antisymmetric with high probability, meaning its equivalence classes are singletons and it coincides with a partial order. Specifically, the proportion of preorders that are partial orders approaches 1 as n \to \infty, since the number of partial orders Q(n) over the number of preorders P(n) satisfies Q(n)/P(n) \to 1. The density of the relation—measured by the expected proportion of comparable pairs—is asymptotically $1/2 in the upper triangle, reflecting the balanced structure of typical comparability graphs. Advanced enumerative techniques, such as analytic combinatorics, provide generating functions for P(n) via the structural decomposition into equivalence classes and induced partial orders on the quotient: P(n) = \sum_{k=1}^n S(n,k) Q(k), where S(n,k) are Stirling numbers of the second kind. The asymptotic dominance of the k=n term aligns the growth with that of Q(n), the number of partial orders. Connections to random graphs emerge through the Hasse diagrams of typical preorders, which behave like sparse random directed acyclic graphs with expected out-degree \Theta(n), facilitating probabilistic proofs of the asymptotics. Post-2000 results refine the probability that a uniform random binary relation (each of the n^2 possible ordered pairs included independently with probability $1/2) is transitive, which equals P(n)/2^{n^2} \sim 2^{-(3/4)n^2 + o(n^2)}. This exponentially small probability highlights the rarity of transitivity, with sharp thresholds analyzed for parameterized models where edge probabilities vary, showing phase transitions around p = 1/2 for the emergence of transitive subtournaments.

References

  1. [1]
    Preorder -- from Wolfram MathWorld
    A relation " <= " is called a preorder (or quasiorder) on a set S if it satisfies: 1. Reflexivity: a<=a for all a in S. 2. Transitivity: a<=b and b<=c implies a
  2. [2]
    preorder in nLab
    Dec 25, 2023 · A preorder is like a partial order, but without the antisymmetry requirement. It is a reflexive and transitive relation, written as ≤.Idea · Definition · In homotopy type theory · Construction of preorders from...
  3. [3]
    Preordered Set - an overview | ScienceDirect Topics
    A preordered set is a pair (X, ≼) consisting of a set X and a preorder ≼ on X; we may refer to X itself as the preordered set if ≼ does not need to be mentioned ...
  4. [4]
    [PDF] Order Theory - Columbia University
    If R is reflexive and transitive then R is a preorder (what we have also been calling a. preference relation)
  5. [5]
    Preorders and Finite Topological Spaces - David Richeson
    Jan 27, 2022 · The ordering is reflexive and transitive, but it is not antisymmetric. For example, because –2 divides 2, -2\le 2, and since 2 divides –2, ...
  6. [6]
  7. [7]
    pre-order - PlanetMath
    Mar 22, 2013 · pre-order. Definition. A pre-order on a set S S is a relation ≲ ≲ on S S satisfying the following two axioms:.
  8. [8]
    total preorder in nLab
    Dec 26, 2023 · A total preorder or linear preorder or preference relation or (non-strict) weak order is a preorder whose posetal reflection is a total order.
  9. [9]
    [PDF] On preorders | HAL
    Jul 27, 2025 · . A similar axiomatisation already exists: preorders may be defined in terms of reflexive transitive closure: a relation x : A. A is a preorder ...
  10. [10]
    [PDF] A survey of congruences and quotients of partially ordered sets - arXiv
    A relation R on a set S which is reflexive and transitive is known as a pre-order. Pre-orders are thus a simultaneous generalisation of partial orders and ...
  11. [11]
    strict preorder in nLab
    Jan 20, 2025 · Definitions. A strict preorder or strict quasiorder on a set S S is a (binary) relation < \lt on S S that is both irreflexive and transitive.
  12. [12]
    [PDF] 1 Initial Notation and Definitions
    Jan 10, 2006 · If ^ is a preorder and x ≺ y. ≡ x ^ y ∧ ¬(y ≺ x) then ≺ is a strict partial order. 5. B is a strict total order iff. (a) B is irreflexive. (b) B ...
  13. [13]
    Does every preorder induce a partial order? - Math Stack Exchange
    Jun 16, 2023 · Technically, every preorder induces a strict preorder unless all the elements are equivalent. With that qualification, yes, your way works.Preorders vs partial orders - Clarification - Math Stack ExchangeQuotient of a pre-order category - Math Stack ExchangeMore results from math.stackexchange.com
  14. [14]
    [PDF] 6.042J Chapter 7: Relations and partial orders - MIT OpenCourseWare
    Given a partial order on a set A, the pair .A; / is called a partially ordered set or poset. In terms of graph theory, a poset is simply the directed graph G D ...
  15. [15]
    [PDF] Chapter 1: Ordered Sets - IDA.LiU.SE
    is a preorder. (In other words, x y iff the set of symbols occurring in ... By Lemma 2, < is transitive; thus it is a strict partial order. Assume that ...
  16. [16]
    [PDF] quasiorders, principal topologies, and partially ordered partitions
    A quasorder (or preorder) on a set X is a reflexive transitive relation on X. A partial order on X is an antisymmetric quasiorder on X. A total orderon X is ...
  17. [17]
    [PDF] The classification of preordered spaces in terms of monotones - arXiv
    Aug 14, 2022 · A real-valued function f : X → R is called a monotone or an increasing function if x y implies f(x) ≤ f(y) [19]. If the converse is also.
  18. [18]
    [PDF] Notes on Lattice Theory J. B. Nation University of Hawaii
    Davey and H. Priestley, Introduction to Lattices and Order, Cambridge University Press,. Cambridge, 1990, 2002. 5. A. C. Davis, A characterization of ...Missing: preorder | Show results with:preorder
  19. [19]
    [PDF] Generative effects: Orders and Galois connections
    For example, any discrete preorder is already a partial order, while any codiscrete preorder simply becomes the unique partial order on a one element set.
  20. [20]
    [PDF] Sets II
    Feb 15, 2010 · Both ⊆ and ≤ are examples of a general type of object called a partial order, for which transitivity is a key defining property. First ...
  21. [21]
    [PDF] Lecture Notes: Introduction to Categorical Logic - andrew.cmu.ed
    Mar 12, 2008 · It is a preorder under the logical entailment relation ⊢. We saw already that implication is right adjoint to conjunction,. (− × A) ⊣ (A ...
  22. [22]
    [PDF] Computable Structure Theory: Beyond the arithmetic Draft Antonio ...
    relation ordered by embeddability. That is, ω1 = (WO/∼=;4). If α ∈ ω1, it follows from the theorem above that ω1<α. ∼. = α. Thus, all countable well ...<|control11|><|separator|>
  23. [23]
    1.2.5: Orders - Humanities LibreTexts
    Mar 7, 2024 · Considered as a relation on Z , divisibility is only a preorder since it is not anti-symmetric: 1 ∣ − 1 and − 1 ∣ 1 but 1 ≠ − 1 . Definition ...Missing: positive non-
  24. [24]
    [PDF] Introduction to digraphs
    (g) a pre-order or precedence if it is reflexive and transitive. (h) an order if it is reflexive, transi- tive and antisymmetric. (i) a strict order if it ...
  25. [25]
    The classification of preordered spaces in terms of monotones
    Aug 25, 2022 · We present the classification of preordered spaces in terms of both the existence and cardinality of real-valued monotones and the cardinality of the quotient ...
  26. [26]
    Order theory for computer scientists - Matt Might
    Partial order theory is widely employed in computer science, particularly in logic, formal methods, programming languages and static analysis.Preorders · Fixed Points · Natural Lifts For Lattices
  27. [27]
    Topological sorting - Wikipedia
    The canonical application of topological sorting is in scheduling a sequence of jobs or tasks based on their dependencies.Examples · Algorithms · Relation to partial orders · Relation to scheduling...Missing: preorder | Show results with:preorder
  28. [28]
    Topological Sorting - GeeksforGeeks
    Oct 28, 2025 · Helps in scheduling tasks or events based on dependencies. Detects cycles in a directed graph. Efficient for solving problems with precedence ...Kahn's Algorithm · Problem · Directed Acyclic GraphMissing: relation | Show results with:relation
  29. [29]
    [PDF] Recursive Types and Subtyping
    We first propose a subtyping system based on type graphs, offering more efficient (quadratic) subtype-checking than the existing (exponential) inductive ...
  30. [30]
    [PDF] A2I: Abstract2 Interpretation - Patrick Cousot
    This corresponds to the most general version of a widening operator based on the full past history of computations, as investigated by Cousot [2015]. The prefix ...
  31. [31]
    [PDF] Reasoning About POSIX File Systems - Department of Computing
    Sep 2, 2016 · In fact, in most major file-system implementations path resolution is not atomic. ... partial order of the lattice arising from the ...
  32. [32]
    (PDF) Introduction for Structure, HyperStructure ... - ResearchGate
    Aug 20, 2025 · ... partial order. Thus (𝑇, ≤) is a Tree Structure capturing the ... (File System Directory Forest).Let. 𝐹={C:,C:\Folder,C:\Folder\File ...
  33. [33]
    thin category in nLab
    Feb 23, 2024 · Any preordered set is a thin category. In particular so are posets, (semi)lattices, Heyting algebras and frames. 4. Related concepts. symmetric ...
  34. [34]
    Categories Great and Small | Bartosz Milewski's Programming Cafe
    Dec 5, 2014 · A preorder is a category where there is at most one morphism going from any object a to any object b. Another name for such a category is “thin.
  35. [35]
    monotone function in nLab
    Dec 3, 2022 · A function between preordered sets is called monotone if it respects the (pre)ordering. When preordered sets are regarded as categories (namely: (0,1)- ...Definition · In components
  36. [36]
    category_theory.category.preorder - mathlib3 docs - Lean community
    We show that monotone functions between preorders correspond to functors of the associated categories. Main definitions #. hom_of_le and le_of_hom provide ...
  37. [37]
    [PDF] Dedekind–MacNeille Completion of n-ordered Sets
    Mar 27, 2007 · The completion reduces to the Dedekind–MacNeille completion in the dyadic case, the case of posets. A characterization theorem is provided, ...
  38. [38]
  39. [39]
    [PDF] Domain Theory for Concurrency - BRICS
    Finally, bP is characterised abstractly as the free join-completion of P, meaning (i) it is join-complete and (ii) given any join-complete poset C and a ...
  40. [40]
    [PDF] A Brauerian Representation of Split Preorders - arXiv
    Jan 30, 2009 · If Ref(R) is the reflexive closure of R, it is clear that for a preorder R we have Ref(R′) = R. Conversely, for every irreflexive strictly ...
  41. [41]
    [PDF] what's so special about kruskal's theorem and the ordinal γ0? a ...
    Sep 7, 2012 · Then, by theorem. 4.7, the embedding preorder ≤ induced by ... Ordinal numbers and the Hilbert basis theorem. Journal of Symbolic.
  42. [42]
    [PDF] An Axiomatic Approach to - Yale Department of Economics
    That is, an interval order ranks x higher than y if and only if the left-most point of the interval I(x) is greater than the right-most point of I(y). 13 ...
  43. [43]
    Intransitive indifference with unequal indifference intervals
    Intransitive indifference with unequal indifference intervals. Author links open overlay panelPeter C Fishburn ... An interval order is a binary relation ≺ on a ...
  44. [44]
    [PDF] New perspectives on interval orders and interval graphs
    Next, we have the following characterization theorem for interval orders due to Fishburn [35]. ... Theorem 3.3 Let P = (X, P) be an interval order. Then ...
  45. [45]
    Interval Orders and Interval Graphs: A Study of Partially Ordered Sets
    Interval Orders and Interval Graphs: A Study of Partially Ordered Sets. Front Cover. Peter C. Fishburn. Wiley, 1985 - Mathematics - 215 pages. From inside the ...
  46. [46]
    [PDF] arXiv:2206.13637v1 [cs.AI] 27 Jun 2022
    Jun 27, 2022 · The von Neumann-Morgenstern (VNM) utility theorem shows that under certain axioms of ra- tionality, decision-making is reduced to maximiz- ing ...
  47. [47]
    Linear Utility Functions on Semiordered Mixture Spaces - jstor
    Let us recall the von Neumann-Morgenstern theorem [1]. Let < be a relation on a mixture set A. There exists on A a real function u such that, Va, b e A: a ...<|separator|>
  48. [48]
    [PDF] Liveness Properties in Geometric Logic for Domain-Theoretic Streams
    Dec 18, 2023 · This equips X with a T0 topology, called the Scott topology, whose specialization order coincides with ≤X. Note that C ⊆ X is Scott-closed ...
  49. [49]
    [PDF] The Cuntz semigroup and domain theory - arXiv
    May 24, 2016 · On a domain, the c-space topology agrees with the Scott topology. Indeed, on a domain the sets of the form a form a basis of the Scott topology ...
  50. [50]
    [PDF] Apartness, Sharp Elements and the Scott Topology of Domainsa
    Sep 10, 2023 · We develop the theory of strongly maximal elements highlighting its connection to sharpness and the Lawson topology. Finally, we illustrate the ...<|separator|>
  51. [51]
    [PDF] Domain Theory and the Logic of Observable Properties - arXiv
    Dec 1, 2011 · Domain Theory, the mathematical theory of computation introduced by Scott as a foundation for denotational semantics. The theory of concurrency ...
  52. [52]
    A characterisation of meet and join respecting pre-orders and ...
    It is shown that any lattice pre-order determines two sets of join-irreducibles closed under the relation ≈ and that elements of the lattice are related by the ...
  53. [53]
    [PDF] Synthetic topology in Homotopy Type Theory for probabilistic ... - arXiv
    Dec 16, 2019 · A preorder I is directed if I is inhabited and there is a function u ... Sets in homotopy type theory. In MSCS, special issue: From ...
  54. [54]
    Variable Ordering and Constraint Propagation for Constrained CP ...
    Aug 30, 2015 · variables are sharing constraints. Keywords CP-net ·Constraint Satisfaction ... preorder over the outcomes. We also propose an approxima ...
  55. [55]
    [PDF] Preferences in constraint satisfaction and optimization
    However, this preorder is not general, since two assignments that differ for ... Fuzzy constraint satisfaction. In 3rd. IEEE Int. Conf. on Fuzzy Systems ...
  56. [56]
    Preordering: A hybrid of correlation clustering and partial ordering
    Feb 20, 2025 · j. Every preorder defines, and is characterized by, a clustering and ... Machine learning, 56: 89–113, 2004. doi: 10.1023/B:MACH ...
  57. [57]
    [PDF] On Tree-based Methods for Similarity Learning - arXiv
    Jun 21, 2019 · Similarity functions are ubiquitous in machine learning, they are the essential in- ... any subtree T ⊂TJ defines a preorder on X2: the degree of ...
  58. [58]
    [PDF] Algorithms for Optimizing Acyclic Queries - UCLA StarAI Lab
    Sep 17, 2025 · Most research on query optimization has centered on binary join algorithms like hash join and sort- ... We first observe that ≥r is a preorder ...
  59. [59]
    [PDF] Unifying Classical Planning Approaches - Subbarao Kambhampati
    Each action Ai requires the preconditions. G1; G2;...Gi;1, adds Gi, and G1 ... Thus, we can pre-order two actions ti and tj by generating two refinements one in.
  60. [60]
    (PDF) Planning with Preferences - ResearchGate
    Aug 10, 2025 · ... preorder,. our definition of preference over plans allows ... AI planning, decision analysis, operations research, control theory and economics.
  61. [61]
    [PDF] The Semantics of Entailment
    To model entailment in natural language, we assume that entailment describes a preorder on natural language sentences. Thus, we assume that any sentence ...
  62. [62]
  63. [63]
    A000798 - OEIS
    Number of different quasi-orders (or topologies, or transitive digraphs) with n labeled elements. (Formerly M3631 N1476). 84. 1, 1, 4, 29, 355, 6942, 209527 ...Missing: preorders | Show results with:preorders
  64. [64]
  65. [65]
    A000670 - OEIS
    Also number of asymmetric generalized weak orders on n points. Also called the ordered Bell numbers. A weak order is a relation that is transitive and complete.
  66. [66]
    [PDF] HISTORY OF THE NUMBER OF FINITE POSETS
    Dhar [20]. In 1974 M. Erné, [22], showed that quasiorders are asymptotically posets, i.e. (21) In →1 for n → ∞0.Missing: ratio | Show results with:ratio
  67. [67]
    AMS :: Transactions of the American Mathematical Society
    Kleitman and B. Rothschild, The number of finite topologies, Proc. Amer. Math. Soc. 25 (1970), 276–282. MR 253944, DOI 10.1090/S0002-9939-1970-0253944-9 · V ...
  68. [68]
    (PDF) Probability of a relation on a set to be transitive - ResearchGate
    Mar 9, 2022 · In this paper, the probability of a randomly chosen relation on a set to be one among the various special classes of relations is discussed. In ...