Rel, bicategory of relations, allegory
left and right euclidean;
extensional, well-founded relations.
A preorder (also sometimes called a quasi-order, especially if one works with $\lt$ instead of $\leq$) is like a partial order, but without the “antisymmetry” requirement that $x \leq y$ and $y \leq x$ implies $x = y$.
By interpreting the relation $\leq$ as the existence of a unique morphism, preorders may be regarded as certain categories (namely, thin categories). This category is sometimes called the preorder category associated to a preorder; see below for details.
A preorder on a set $S$ is a reflexive and transitive relation, generally written $\leq$. A preordered set, or proset, is a set equipped with a preorder. (This should not be confused with a pro-set, i.e. a pro-object in Set.)
A preordered set is a loop digraph $(V, E, s:E \to V, t:E \to V)$, with functions $refl:V \to E$ and
such that
Equivalently, a preordered set is a (strict) thin category: a strict category such that for any pair of objects $x, y$, there is at most one morphism from $x$ to $y$. The existence of such a morphism corresponds to the truth of the relation $x \leq y$. In other words, it's a (strict) category enriched over the cartesian monoidal category of truth values (a (0,1)-category).
In homotopy type theory, we must be careful to distinguish preorders (on a homotopy type of arbitrary h-level) and preordered sets (which apply to an h-set). When translating ordinary, set-level mathematics to HoTT, preordered sets are almost always what is wanted. A preorder on a type $A$ consists of:
For each pair of elements $a, b : A$, a proposition $a \le b$;
For every $a : A$, a witness of reflexivity $\operatorname{refl}_a : a \le a$
For every $a, b, c : A$, $p : a \le b$ and $q : b \le c$, a witness of transitivity $\operatorname{trans}_{a,b,c}(p, q) : a \le c$.
Note that, as usual, the quantifiers “for each” and “for every” should be interpreted as applications of the corresponding dependent function types. Every homotopy type $A$ has an h-set of possible preordered structures, but the sum of all possible structures has h-level bounded by $A$‘s.
Any preordered set is equivalent to a poset. This is a special case of the theorem that every category has a skeleton, but (if you define ‘equivalence’ weakly enough) this case does not require the axiom of choice.
If the foundations have quotient sets, then every preorder has a quotient set equivalent to a poset. Let $(P, \leq)$ be a preorder. Define the equivalence relation $\sim$ on $P$ for all elements $a, b \in P$ as $a \sim b := (a \leq b) \wedge (b \leq a)$. Then the quotient set $P / \sim$ is a poset. This is the 0-truncated version of the fact that because every precategory has a core pregroupoid and every pregroupoid has a Rezk completion into a groupoid, every precategory has a Rezk completion into a category.
Note that while in homotopy type theory, preorders can be applied to general types (thus the need for differentiating between preorders and preordered sets), partial orders necessarily apply to sets: Any map $p : (a \le b) \wedge (b \le a) \to (a = b)$ is necessarily a fibrewise equivalence (fixing $a$ and quantifying over $b$), since it induces an equivalence of total spaces. Thus, the codomain type $(a = b)$ is a proposition, since the domain $(a \le b) \wedge (b \le a)$, being a product of propositions, is a proposition.
In set-theoretic foundations, a preordered set is the same as a thin category (a category in which any two parallel morphisms are equal), and it is partially ordered just when it is skeletal. Thus, asking for a preordered set to be partially ordered may seem to break the principle of equivalence of category theory. However, as remarked above, a thin category always has a skeleton which is a poset; so working with posets up to isomorphism is the same as working with preordered sets up to equivalence. In other words, if $x \le y$ and $y \le x$, so that $x$ and $y$ are isomorphic, we may as well say that they are equal (since they are isomorphic in only one way).
Another way to say this is that the nerve simplicial set of a preorder, which is necessarily a Segal space or category object in an (infinity,1)-category in $Set \hookrightarrow \infty Grpd$, is in addition a complete Segal space or genuine category object in $Set$ if the preorder is in fact a partial order. For more on this perspective see at Segal space – Examples – In Set.
If we distinguish between isomorphism and equality of elements in a preordered set (hence considering preordered sets up to isomorphism, rather than up to equivalence), then this is equivalent to considering the corresponding thin category to also be a strict category. When treated in this sense, preordered sets are not equivalent to posets.
On the other hand, in non-set-theoretic foundations where not every category need have an underlying set (i.e. need not be a strict category in any canonical way) — such as homotopy type theory or preset theories — a preordered set defined as “a set with a relation $\leq$ …” is automatically a strict category, with a notion of equality of objects coming from the given set. By contrast, in this case a thin category (as opposed to a more general category) does have a canonical structure of strict category in which equality of objects means isomorphism, but not every strict thin category is canonical in this sense. In this case, partially ordered sets correspond to thin categories (with canonical strict-category structures), while preordered sets correspond to thin categories with arbitrary strict-category structures.
(See also codensity monad, guarded quantification.)
Given sets $A$ and $B$ and a binary relation $R(x, y)$ between $A$ and $B$, then the relation
is a preorder on $A$.
We work in dependent type theory, where implication is denoted by the function type $P \to Q$ and universal quantification is denoted by the dependent product type $\prod_{x:A} P(x)$. Thus, the type family $T(x, y)$ is represented as
A binary relation in dependent type theory is a type family $x:A, y:B \vdash R(x, y)$ such that each $R(x, y)$ is an h-proposition. Since $R(x, w)$ and $R(y, w)$ are both h-propositions, and h-propositions are closed under function types and dependent product types, $T(x, y)$ is also valued in h-propositions, and is a binary relation.
In addition, for all elements $x:A$, there is an element
defined by the identity function on $R(x, w)$
and for all elements $x:A$, $y:A$, and $z:A$, there is a function
defined by composition of the functions $f(w):R(x, w) \to R(y, w)$ and $g(w):R(y, w) \to R(z, w)$ dependent upon element $w:B$:
Since the type
is a binary relation valued in h-propositions which satisfies reflexivity and transitivity, it is a preorder.
The 2-category of preorders (more precisely, that of thin categories) is reflective in Cat. The reflector preserves the objects and declares $x \leq y$ if there exists an arrow from $x$ to $y$.
Internal to any regular category every poset is a Cauchy complete category.
This appears as (Rosolini, prop. 2.1).
Internal to any exact category the Cauchy completion of any preorder exists and is its poset reflection?.
This appears as (Rosolini, corollary. 2.3).
preorder
Cauchy completion for preorders is discussed in
Last revised on October 6, 2023 at 09:05:29. See the history of this page for a list of all contributions to it.