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.

Cospan Bisimulation 2

(draft ... references to be added)

Introduction

We collect some results on cospan bisimulations. These results invariable relate ordinary bisimulations on sets with ordered bisimulation on ordered sets. Since bisimulations on ordered sets include simulations as well as bisimulations we will call them (bi)simulations.

Overview

We first review notation and define the notion of an order-extension of a set-functor.

The subsection span and cospan bisimulations investigates the relationship between cospan bisimulations and span bisimulations.

The subsection cospan (bi)simulations and change of base looks at cospan (bi)simulations enriched over different quantales.

Summary

Together this shows that cospan (bi)simulation works uniformly over sets, orders, metric spaces and Ω\Omega-categories. For example, Rutten’s final coalgebra theorem for sets can now be seen as a special case of Worrell’s final coalgebra theorem for Ω\Omega-categories.

Questions

If ff_\diamond and ff^\diamond are cospan-bisimulations, is then ff a coalgebra morphism?

Connections with logic induced bisimulations?

Notation

In this section,

Order-Extensions

Following on from part one, we are interested in preordification TT' of TT. Preordifictions are universal solutions to the problem of finding a TT' together with a transformation DTTDDT\to T'D. In fact, the preordification TT' of TT can be defined as the OrdOrd-enriched left Kan extension of DTDT along DD. But some results hold more generally for any ordered extension DTTDDT\to T'D.

Definition: We call T:OrdOrdT':Ord\to Ord an order-extension of T:SetSetT:Set\to Set if there is a natural transformation

DTTD.DT\to T'D.

Remark: Equivalently, TT' is an order-extension of TT if there is a natural tranformation TDTVT\to DT'V. This also captures the intuition that TT' adds ordering to TT. If one insists on TDTVT\to DT'V being an iso, this notion is equivalent to the one of Jacobs and Jacobs-Hughes (ADD REFERENCES).

Question: TDTVT\to DT'V iso is equivalent to DTTDDT\to T'D being bijective. Is there an interesting example of an order-extension for which DTTDDT\to T'D is not bijective?

Remark: The mate of DTTDDT\to T'D is TVVTTV\to VT'. If TT' is the preordification then TVVTTV\to VT' is an iso, but for posetifications this does not need to be the case as the example of convex powerset (=the posetification of powerset) shows. We summarise some of the relationships between properties of these natural transformations in the table below.

1DTTDDT\to T'DTT’ is an order-extension of TT
2DTTDDT\to T'D isoTT' a strict order-extension of TT
3TT' left Kan extension,TT' is the ordification of TT
4TVVTTV\to VT' isoTT’ is an order-lifting of TT
5TVTDT\to VT'D isoTDT'D is an order on TT

3213\Rightarrow 2\Rightarrow 1 and 252\Rightarrow 5 and 454\Rightarrow 5. If Ord=PreOrd=Pre, then also 343\Rightarrow 4.

Span and cospan bisimulations

The following result makes precise that every span bisimulation is a cospan (bi)simulation.

Proposition: Let TT' be an order-extension of TT. If two states in two TT-coalgebras are TT-span-bisimilar then they are TT'-cospan-(bi)similar.

Proof: Let XTXX\to TX and YTYY\to TY be two TT-caolgebras. Let XRYX\leftarrow R \rightarrow Y be a TT-span bisimulation. Let RR' be the cocomma of XRYX\leftarrow R \rightarrow Y. Applying TT' to the square

DRDXDYR\begin{array}{} &&DR&&\\ &\swarrow&&\searrow&\\ DX&&&&DY\\ &\searrow&&\swarrow&\\ &&R'&& \end{array}

and using the arrow RTRR\to TR from the span-bisimulation the universal property of the cocomma RR' gives the required arroe RTRR'\to T'R'. QED

Examples: A number of familiar examples arise as instances of this proposition.

Questions: Is there something more one can say about structural relationships between bisimulation and simulation? For example, one could try to isolate those functors for which forward simulation plus backward simulation is bisimulation, but I do not know how interesting this would be (is there a good abstract notion of “deterministic” functor?). Anything else?

For weak pullback preserving functors, we also have the converse of the previous proposition.

Proposition: Let T:SetSetT:Set\to Set preserve weak pullbacks. If two states in two TT-coalgebras are cospan-bisimilar then they are span-bisimilar.

Proof: Let RR be a cospan bisimulation and XRYX\to R' \leftarrow Y be the collage, hence cocomma, of RR. Let TT' be the ordification of TT. With the help of the iso DTTDDT\to T'D we can consider the (R,R)(R,R')-square as a cocomma in ordered sets. Cocommas are exact. Since ordifications TT' preserve exact squares if TT preserves weak pullbacks [Theorem 4.11,BKV15] , the (TR,TR)(TR,T'R')-square is exact. But exact squares in posets are weak comma squares, hence there is an RTRR\to TR making RR into a span bisimulation. QED

Morphisms and Bisimulations

In sets every function is a relation and every coalgebra morphism a bisimulation. In ordered sets every function f:XYf:X\to Y gives rise to two relation f:XYf_\diamond:X\looparrowright Y and f:YXf^\diamond: Y\looparrowright X with

(x,y)f  fxy(y,x)f  yfx(x,y)\in f_\diamond \ \Leftrightarrow \ fx\le y \quad\quad\quad\quad (y,x)\in f^\diamond \ \Leftrightarrow \ y\le fx

Proposition: Let T:OrdOrdT:Ord\to Ord. If ff is a TT-coalgebra morphism, then ff_\diamond and ff^\diamond are cospan-(bi)simulations.

Proof: ff_\diamond and ff^\diamond are the weakening closures of the spans (id,f)(id,f) and (f,id)(f,id), respectively. Recall the definition of cospan-(bi)simulation and the fact that the collage of the weakening closure of a relation represented by a span (p,q)(p,q) is the cocomma of (p,q)(p,q). Now the proposition follows from the universal property of cocommas. QED

Example: Recall that RR is a DU\mathcal D\mathcal U-cospan-(bi)simulation 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}

We also know that f:XYf:X\to Y is a morphism (X,ξ)(Y,ν)(X,\xi)\to(Y,\nu) of DU\mathcal D\mathcal U-coalegbras iff

aξx.bν(fx).yb.xa.fxybν(fx).aξ(x).xa.yb. yfx\begin{gather} \forall a\in \xi x.\exists b\in\nu(fx).\forall y\in b.\exists x\in a. fx \le y\\[1ex] \forall b\in \nu(fx).\exists a\in\xi(x).\forall x\in a.\exists y\in b. \ y\le fx \end{gather}

It is now easy to check that the first clause says precisely that ff_\diamond is a (bi)simulation and the second clause that ff^\diamond is a (bi)simulation. (I find this very pretty.)

Question: Can we prove the converse of the proposition? - - - This is interesting, I wrote out the obvious diagrams, but I didn’t see how to proceed. - - - Maybe the converse is only true in special cases?

Cospan (bi)simulations and change of base

Cospan (bi)simulations allow us to see ordinary coalgebraic bisimulations as well as quantale enriched ones in the same framwork. The basic picture, taken from Section 4 of [BKV19] is as follows. CDVC\dashv D\dashv V take, respectively, connected components, discrete preorders and underlying sets. They lift via doctrinal adjunction to coalgebras since the right adjoints satisfy DTSetTPreDDT_{Set}\cong T_{Pre}D and VTPreTSetVVT_{Pre}\cong T_{Set}V.

On the right-hand side, dd' is the top and bottom preserving embedding with a right adjoint vv' and, if Ω\Omega is non-trivial and integral[1], a left adjoint cc'. The left ajoint cc' maps all elements other than bottom to 1 and the right adjoint vv' maps all elements other than top to 0. The adjunction dvd'\dashv v' lifts to a PrePre-enriched adjunction between the categories of coalgebras. If the quantale Ω\Omega has no zero-divisors, then cc' is a quantale-morphism and cdc'\dashv d' lifts to Ω\Omega-cat enriched adjunction between categories of coalgebras. See Propositions 4.9 and 4.10 of [BKV19] for details.

Propositions ?? ... I think, mutatis mutandis, we can move the two propositions above from the left Set/Pre column to the right Pre/Ω\Omega-cat column ...

Examples ?? Can we make an example of ordinary transition systems and bisimulation and then a metric example? Are there scenarios where one would want an orderd coalgebra as an abstraction of a metric coalgebra? I never really looked so much at Kripke frames over metric spaces ... any ideas?

References

Balan, Kurz, Velebil: Positive fragments of coalgebraic logics. 2015.

Balan, Kurz, Velebil: Extending set functors to generalised metric spaces. 2019.

Jacobs

Hughes-Jacobs

Further

Scratch notes on exact squares

Footnotes
  1. A quantale is integral if the neutral element of the multiplication is the top element.