Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Bisimulation for Ordered Coalgebras

(draft ... reference to be added) ... (up)

The basic observation about ordinary, set-based coalgebras, due to Aczel’s monograph “Non-Well Founded Sets”, is the following:

Given a coalgebra XX, the largest bisimulation on XX is the kernel of the unique morphism XZX\to Z into the final coalgebra ZZ.

Aczel observed this as a fact for special coalgebras such as Kripke models and then took it as a starting point for a general definition, known today as Aczel-Mendler bisimulation.

Moving to the ordered setting, that is, enriching over preorders or posets, one can generalise by either formalising kernels as pullbacks (as before) or as order-pullbacks, which we call comma objects or comma squares or just commas, following terminology introduced by Lawvere in the category-enriched situation.

Choosing pullbacks, one only recovers the equality on the final coalgebra. On the other hand, choosing comma squares leads to a richer theory of bisimulations that includes simulations as special cases of bisimulations.

In fact, in preorders and posets, comma and cocomma squares are exact, that is, weakening relations can be both tabulated and cotabulated. This leads us to Definition 5.2 of (Worrell 2000), which, btw, does work for more general enrichments. Also note that because of the use of co-spans there is no need to restrict to weak-pullback preserving functors.

We first need to recall that every weakening relation R:XYR:X\looparrowright Y can be represented as a preorder/poset R\overline R such that

In other words, we encode the relation RR via the order of the preorder/poset R\overline R, also known as the collage of XX and YY.

Definition: Let TT be a (locally monotone) functor on preorders or posets. The weakening relation R:XYR:X\looparrowright Y is an order-bisimulation between coalgebras XX and YY if there is RTR\overline R\to T\overline R such that

XRYTXTRTY\begin{array}{} X & \rightarrow & \overline R & \leftarrow & Y\\ \downarrow &&\downarrow && \downarrow \\ TX & \rightarrow & T\overline R & \leftarrow & TY \end{array}

Remark: Equivalently, R:XYR:X\looparrowright Y is an order-bisimulation if the unqiuely determined function RTR\overline R\to T\overline R in Set\sf Set is order-preserving.

Remark: It follows from the definition that RR is a weakening relation. In other words, the pullback and the comma of the cospan XRYX \rightarrow \overline R \leftarrow Y coincide. (Notation: I am tempted to drop the overline over the RR in the following, because of the ugly extra space it introduces between lines.)

Example: The identity cospan XXXX \rightarrow X \leftarrow X is not isomorphic to the collage of a relation unless XX is discrete. The collage of the order on XX can be obtained as the cocomma of the comma of the identity cospan. [1] In fact, in posets, every collage is the cocomma of its comma.

Example: If we instantiate the definition above with the downset functor and the upset functor, we obtain that TT-bisimulation is simulation.

xRy  xx.yy.xRy\begin{align} xRy \ \Rightarrow \ & \forall x\to x'.\exists y\to y'. x' R\, y' \end{align}
xRy  yy.xx.xRy\begin{align} xRy \ \Rightarrow \ & \forall y\to y'.\exists x\to x'. x' R y' \end{align}

Intuitively, a DD-bisimulation is forward simulation: Every move in the domain can be simulated by a “larger” move in the codomain. Conversely, UU-bisimulation is backward simulation: Every move in the codomain can be simulated by “smaller” move in the domain. (The words “smaller” and “larger” are intended to remind us of the fact that RR is a weakening relation closed under the order in XX and YY.)

Remark: Notice that even if XX and YY are discrete, we do not obtain ordinary bisimulation, but rather ordinary forward and backward simulation. On the other hand, if we take TT to be the convex powerset functor, then TT-bisimulation is ordinary bisimulation.

Remark: The framework of functorial modal logic guarantees that for every functor TT there is a sound, complete and bisimilarity preserving logic. In this case, these are the familiar (,,)(\Diamond,\bot,\vee)-logic for the downset functor and the (,,)(\Box,\top,\wedge)-logic for the upset functor. In case of the convex powerset functor we obtain Dunn’s positive modal logic.

Ordered neighbourhood coalgebras

Recall from Monotone Neighbourhood Coalgebras and Neighbourhood Coalgebras the various ways in which neighbourhood coalgebras can be extended to the ordered setting. For the proofs below, we will need the following.

In D(X,)\mathcal D(X,\le) we have

ab  xa.yb. xy.a \le b\ \Longleftrightarrow \ \forall x\in a.\exists y\in b.\ x\le y.

In U(X,)\mathcal U(X,\le) we have

ab  yb.xa. xy.a \le b\ \Longleftrightarrow \ \forall y\in b.\exists x\in a.\ x\le y.

DU\mathcal D\mathcal U-coalgebras

Recall DUX=[[X,2],2]\mathcal D\mathcal UX = [[X,2],2] for ordered sets XX. In particular DUX\mathcal D\mathcal UX is UpPXUp\mathcal P X for discrete XX (when UpPXUp\mathcal P X is ordered by inclusion).

Lemma: Let R:XYR:X\looparrowright Y be a weakening relation and RR' its collage. Then the order of DUR\mathcal D\mathcal UR' is given by

AB  aA.bB.yb.xa. xRyA\le B \ \Longleftrightarrow \ \forall a\in A.\exists b\in B.\forall y\in b.\exists x\in a.\ xRy

Corollary: A weakening relation R:XYR:X\looparrowright Y is a cospan-(bi)simulation between DU\mathcal D\mathcal U-coalgebras (X,ξ)(X,\xi) and (Y,ν)(Y,\nu) iff

xRy    aξx.bνy.yb.xa. xRy\begin{align} xRy \ \ \Rightarrow \ \ & \forall a\in\xi x.\exists b\in\nu y. \forall y'\in b.\exists x'\in a.\ x'Ry' \end{align}

UD\mathcal U\mathcal D-coalgebras

Recall UDX=[[Xo,2],2]o\mathcal U\mathcal DX = [[X^o,2],2]^o for ordered sets XX.

Lemma: Let R:XYR:X\looparrowright Y be a weakening relation and RR' its collage. Then the order of UDR\mathcal U\mathcal DR' is given by

AB  bB.aA.xa.yb. xRyA\le B \ \Longleftrightarrow \ \forall b\in B.\exists a\in A.\forall x\in a.\exists y\in b.\ xRy

Corollary: A weakening relation R:XYR:X\looparrowright Y is a cospan-(bi)simulation between DU\mathcal D\mathcal U-coalgebras (X,ξ)(X,\xi) and (Y,ν)(Y,\nu) iff or, more explicitely,

xRy    bνy.aξx.xa.yb. xRy\begin{align} xRy \ \ \Rightarrow \ \ & \forall b\in\nu y.\exists a\in\xi x. \forall x'\in a.\exists y'\in b.\ x'Ry' \end{align}

Order dual of R-coherent pairs

Can these characterisations be rephrased using the ordered version of RR-coherent pairs? [3]

No, because xa.yb.xRy\forall x\in a. \exists y\in b.xRy is equivlant to aRo[b]a\subseteq R^o[b]. [4] On the other hand, the dual [JKM20] RR^\partial of a relation RR is defined as (a,b)RR[a]b(a,b)\in R^\partial \Leftrightarrow R[a]\subseteq b, that is, xa.xRyyb\forall x\in a.xRy\Rightarrow y\in b.

Remark: The weakening relation R:(X,ξ)(Y,ν)R:(X,\xi)\looparrowright (Y,\nu) is a UD\mathcal U\mathcal D-bisimulation iff

xRy    yb.xa.R[a]bxRy \ \ \Rightarrow \ \ \forall y\to b.\exists x\to a. R[a]\supseteq b

and RR is a DU\mathcal D\mathcal U-bisimulation iff

xRy    xa.yb.aRo[b]xRy \ \ \Rightarrow \ \ \forall x\to a.\exists y\to b. a\subseteq R^o[b]

Other Functors

Ordification of the Neighbourhood Functors

For the Ordification of the neighbourhood functor and the monotone neighbourhood functor see the note on Cospan Bisimulation.

Downsets

xRy  xξ(x).yb.xRy(ξ(x)Ro[ν(y)])\begin{align} xRy \ \Longrightarrow \ & \forall x\in\xi(x). \exists y \in b. xRy \quad\quad (\Leftrightarrow \xi(x)\subseteq R^o[\nu(y)]) \end{align}

Upsets

xRy  yν(y).xξ(x).xRy(R[ξ(x)]ν(y))\begin{align} xRy \ \Longrightarrow \ & \forall y\in\nu(y). \exists x \in \xi(x). xRy \quad\quad (\Leftrightarrow R[\xi(x)]\supseteq \nu(y)) \end{align}

Convex subsets

Is obtained from the conjunction of the two conditions above.

References

Hansen, Kupke and Pacuit: Neighbourhood Structures: Bisimilarity and Basic Model Theory. LMCS 2009. (Def 3.5, Thm 3.12)

Worrell: Coinduction for recursive data types: partial orders, metric spaces and Ω\Omega-categories, CMCS 2000. (Def 5.2)

Further Reading

Aczel:

Aczel, Mendler:

Lawvere:

Rutten:

Footnotes
  1. This observation is useful for working with abstract order-enriched categories. If they admit commas of identity cospans, then for each object there is a span representing the order on that object.

  2. We write xxx\to x' for xξxx'\in\xi x and similarly for yyy\to y' etc.

  3. R-coherent pairs were introduced in [HKR09].

  4. If R:XYR:X\looparrowright Y is a weakening relation then R:YoXoR:Y^o\looparrowright X^o is the opposite relation. In the discrete case it coincides with R1R^{-1}.