Blog Archive

Monday, March 30, 2026

The Syntax of Some Typical Relations

Let P be a poset. We know that Set(X,P) is a poset as well.

So the syntax of a poset should be given by a finite limit sketch.

Let us begin with the finite limit sketch of monomorphism.

In a category with finite limits, f is mono iff the following diagram is a pullback.

image-20260329174524325

Hence we can define the sketch of monomorphism, denoted by (m,L).

By duality we can define the sketch of epimorphism, denoted by (e,C).

Here is a simple application.

In all concrete categories with a free-forgetful adjunction, such as Grp,Ring,Top,Haus,

all monomorphisms are injective functions, but epimorphisms are not necessarily surjective.

Here is the reason: the forgetful functor, as a right adjoint, preserves limits. Hence it maps a model of a finite limit sketch to another model. But in general, it does not need to preserve colimits.

An interesting example is Top. The forgetful functor admits both a left and a right adjoint, i.e. the discrete topology and the trivial topology. Hence the forgetful functor preserves both limits and colimits. However, for Haus, the forgetful functor does not admit a right adjoint anymore. Also, epimorphisms should not be surjective there either.

For example, a dense inclusion is epi but not surjective. Here is the reason: click here

A binary relation is a monomorphism m:RX×X.

Hence we can define the sketch of a relation, denoted by (R,L).

Now we would like to describe the pre-order relation m:RP×P.

What is reflexivity?

r:XR,Δ=mr, i.e. Δ:XrRmP×P

In other words, Δ is a subobject of R.

What is transitivity? Consider Q=R×PR; it represents something like ((x,y),(y,z)).

Let q1,q2:QR be the two projections, and also let π1,π2:P×PP.

Transitivity claims that there exists a map t:QR such that

To express transitivity, write the relation as a map m:RP×P, and let d0=π1m and d1=π2m. Then form the pullback

Q=R×PR

along d1:RP and d0:RP, so that a point of Q represents a composable pair xy and yz.

Let the two projections be q1,q2:QR. Transitivity is expressed by requiring a morphism c:QR such that

d0c=d0q1,d1c=d1q2

Equivalently,

mc=d0q1, d1q2:QP×P

This means that from a composable pair (xy, yz) we obtain a relation xz.

Hence we get the sketch of a pre-order. Let us denote it by (p,L).

To express antisymmetry, consider the opposite relation RopP×P, obtained by composing m:RP×P with the symmetry map τ:P×PP×P.

Then form the pullback

A=R×P×PRop

which represents pairs (x,y) such that both xy and yx hold. Antisymmetry means that such a pair must lie on the diagonal. In other words, the map AP×P factors through the diagonal ΔP:PP×P, i.e. A is a subobject of ΔP.

Equivalently, there is a morphism d:AP such that

ΔPd=AP×P

This expresses precisely that whenever xy and yx, one must have x=y.

Hence we get the sketch of a poset, denoted by (P,L).

To express symmetry, let τ:P×PP×P be the symmetry map exchanging the two factors. Then the opposite relation is the composite

RmP×PτP×P

Symmetry means that whenever xRy, we also have yRx. Equivalently, the opposite relation factors through R itself. In other words, there is a morphism s:RR such that

ms=τm.

This says that every relation (x,y) in R is sent to the reversed relation (y,x), so the relation is symmetric.

Hence we get the sketch of an equivalence relation, denoted by (E,L).

We could consider the sketch of a kernel pair as well.

image-20260329210657346

In general, let C be a locally small category with finite limits, and let X be a model of a finite limit sketch (S,L).

Then

HomC(,X)

is a model of (S,L) in [Cop,Set], since the Yoneda embedding preserves limits.

Hence, if X is an internal poset, then HomC(,X) is a poset-valued functor.

Popular Posts