Skip to main content
Log in

Codensity Games for Bisimilarity

  • Published:
New Generation Computing Aims and scope Submit manuscript

Abstract

Bisimilarity as an equivalence notion of systems has been central to process theory. Due to the recent rise of interest in quantitative systems (probabilistic, weighted, hybrid, etc.), bisimilarity has been extended in various ways, such as bisimulation metric between probabilistic systems. An important feature of bisimilarity is its game-theoretic characterization, where Spoiler and Duplicator play against each other; extension of bisimilarity games to quantitative settings has been actively pursued too. In this paper, we present a general framework that uniformly describes game characterizations of bisimilarity-like notions. Our framework is formalized categorically using fibrations and coalgebras. In particular, our characterization of bisimilarity in terms of fibrational predicate transformers allows us to derive what we call codensity bisimilarity games: a general categorical game characterization of bisimilarity. Our framework covers known bisimilarity-like notions (such as bisimulation metric and bisimulation seminorm) as well as new ones (including what we call bisimulation topology).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Availability of data and materials

Not applicable.

Code availability

Not applicable.

References

  1. Park, D.: Concurrency and automata on infinite sequences. In: Proceedings of the 5th GI-Conference on Theoretical Computer Science, pp. 167–183. Springer, London (1981). http://dl.acm.org/citation.cfm?id=647210.720030

  2. Milner, R.: Communication and Concurrency. Prentice-Hall, Hoboken (1989)

    MATH  Google Scholar 

  3. Sangiorgi, D., Rutten, J. (eds.): Advanced Topics in Bisimulation and Coinduction. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, Cambridge (2011). https://doi.org/10.1017/CBO9780511792588

    Book  Google Scholar 

  4. Larsen, K.G., Skou, A.: Bisimulation through probabilistic testing. Inf. Comput. 94(1), 1–28 (1991)

    Article  MathSciNet  Google Scholar 

  5. Desharnais, J., Gupta, V., Jagadeesan, R., Panangaden, P.: Metrics for labelled Markov processes. Theor. Comput. Sci. 318(3), 323–354 (2004). https://doi.org/10.1016/j.tcs.2003.09.013

    Article  MathSciNet  MATH  Google Scholar 

  6. Hermida, C., Jacobs, B.: Structural induction and coinduction in a fibrational setting. Inf. Comput. 145(2), 107–152 (1998). https://doi.org/10.1006/inco.1998.2725

    Article  MathSciNet  MATH  Google Scholar 

  7. Hasuo, I., Kataoka, T., Cho, K.: Coinductive predicates and final sequences in a fibration. Math. Struct. Comput. Sci. 28(4), 562–611 (2018). https://doi.org/10.1017/S0960129517000056

    Article  MathSciNet  MATH  Google Scholar 

  8. Baldan, P., Bonchi, F., Kerstan, H., König, B.: Coalgebraic behavioral metrics. Log. Methods Comput. Sci. (2018). https://doi.org/10.23638/LMCS-14(3:20)2018

    Article  MathSciNet  MATH  Google Scholar 

  9. Bonchi, F., Petrisan, D., Pous, D., Rot, J.: Coinduction up-to in a fibrational setting. In: Henzinger, T.A., Miller, D. (eds.) Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), CSL-LICS ’14, Vienna, Austria, July 14 - 18, 2014, pp. 20–1209. ACM (2014). https://doi.org/10.1145/2603088.2603149

  10. König, B., Mika-Michalski, C.: (Metric) bisimulation games and real-valued modal logics for coalgebras. In: 29th International Conference on Concurrency Theory, CONCUR 2018, September 4-7, 2018, pp. 37–13717. Beijing, China (2018)

  11. Bonchi, F., König, B., Petrisan, D.: Up-to techniques for behavioural metrics via fibrations. In: Schewe, S., Zhang, L. (eds.) 29th International Conference on Concurrency Theory, CONCUR 2018, September 4-7, 2018, Beijing, China. LIPIcs, vol. 118, pp. 17–11717. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik (2018). https://doi.org/10.4230/LIPIcs.CONCUR.2018.17

  12. Wißmann, T., Dubut, J., Katsumata, S., Hasuo, I.: Path category for free—open morphisms from coalgebras with non-deterministic branching. CoRR (2018). arXiv:1811.12294 (To appear in Proc. FoSSaCS 2019)

  13. Fijalkow, N., Klin, B., Panangaden, P.: Expressiveness of probabilistic modal logics, Revisited. In: Procs. ICALP 2017. Leibniz International Proceedings in Informatics (LIPIcs), vol. 80, pp. 105–110512 (2017)

  14. Katsumata, S., Sato, T., Uustalu, T.: Codensity lifting of monads and its dual. Log. Methods Comput. Sci. (2018). https://doi.org/10.23638/LMCS-14(4:6)2018

    Article  MathSciNet  MATH  Google Scholar 

  15. Sprunger, D., Katsumata, S., Dubut, J., Hasuo, I.: Fibrational bisimulations and quantitative reasoning. In: Cîrstea, C. (ed.) Coalgebraic Methods in Computer Science: 14th IFIP WG 1.3 International Workshop, CMCS 2018, Colocated with ETAPS 2018, Thessaloniki, Greece, April 14-15, 2018, Revised Selected Papers. Lecture Notes in Computer Science, vol. 11202, pp. 190–213. Springer (2018). https://doi.org/10.1007/978-3-030-00389-0_11

  16. Desharnais, J., Laviolette, F., Tracol, M.: Approximate analysis of probabilistic processes: Logic, simulation and games. In: 2008 Fifth International Conference on Quantitative Evaluation of Systems, pp. 264–273 (2008). https://doi.org/10.1109/QEST.2008.42

  17. Komorida, Y., Katsumata, S., Hu, N., Klin, B., Hasuo, I.: Codensity games for bisimilarity. In: 34th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2019, Vancouver, BC, Canada, June 24-27, 2019, pp. 1–13. IEEE (2019). https://doi.org/10.1109/LICS.2019.8785691

  18. Staton, S.: Relating coalgebraic notions of bisimulation. Log. Methods Comput. Sci. (2011). https://doi.org/10.2168/LMCS-7(1:13)2011

    Article  MathSciNet  MATH  Google Scholar 

  19. Bakhtiari, Z., Hansen, H.H.: Bisimulation for weakly expressive coalgebraic modal logics. In: Bonchi, F., König, B. (eds.) 7th Conference on Algebra and Coalgebra in Computer Science (CALCO 2017). Leibniz International Proceedings in Informatics (LIPIcs), vol. 72, pp. 4–1416. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany (2017). https://doi.org/10.4230/LIPIcs.CALCO.2017.4. http://drops.dagstuhl.de/opus/volltexte/2017/8050

  20. Balle, B., Gourdeau, P., Panangaden, P.: Bisimulation Metrics for Weighted Automata. In: Chatzigiannakis, I., Indyk, P., Kuhn, F., Muscholl, A. (eds.) 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017). Leibniz International Proceedings in Informatics (LIPIcs), vol. 80, pp. 103–110314. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, Dagstuhl, Germany (2017). https://doi.org/10.4230/LIPIcs.ICALP.2017.103. http://drops.dagstuhl.de/opus/volltexte/2017/7395

  21. Komorida, Y., Katsumata, S.-y., Kupke, C., Rot, J., Hasuo, I.: Expressivity of quantitative modal logics : Categorical foundations via codensity and approximation. In: 2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pp. 1–14 (2021). https://doi.org/10.1109/LICS52264.2021.9470656

  22. Joyal, A., Nielsen, M., Winskel, G.: Bisimulation from open maps. Inf. Comput. 127(2), 164–185 (1996)

    Article  MathSciNet  Google Scholar 

  23. Rutten, J.J.M.M.: Universal coalgebra: a theory of systems. Theor. Comput. Sci. 249, 3–80 (2000)

    Article  MathSciNet  Google Scholar 

  24. Jacobs, B.: Introduction to Coalgebra: Towards Mathematics of States and Observation. Cambridge Tracts in Theoretical Computer Science, vol. 59. Cambridge University Press, Cambridge (2016). https://doi.org/10.1017/CBO9781316823187

    Book  Google Scholar 

  25. van Breugel, F., Mislove, M.W., Ouaknine, J., Worrell, J.: An intrinsic characterization of approximate probabilistic bisimilarity. In: Gordon, A.D. (ed.) Foundations of Software Science and Computational Structures, 6th International Conference, FOSSACS 2003 Held as Part of the Joint European Conference on Theory and Practice of Software, ETAPS 2003, Warsaw, Poland, April 7-11, 2003, Proceedings. Lecture Notes in Computer Science, vol. 2620, pp. 200–215. Springer (2003). https://doi.org/10.1007/3-540-36576-1_13

  26. Cuijpers, P.J.L., Reniers, M.A.: Topological (bi-)simulation. Electr. Notes Theor. Comput. Sci. 100, 49–64 (2004). https://doi.org/10.1016/j.entcs.2004.08.017

    Article  MATH  Google Scholar 

  27. Baldan, P., König, B., Mika-Michalski, C., Padoan, T.: Fixpoint games on continuous lattices. Proc. ACM Program. Lang. (2019). https://doi.org/10.1145/3290339

    Article  Google Scholar 

  28. Tarski, A.: A lattice-theoretical fixpoint theorem and its applications. Pac. J. Math. 5(2), 285–309 (1955)

    Article  MathSciNet  Google Scholar 

  29. Cousot, P., Cousot, R.: Constructive versions of Tarski’s fixed point theorems. Pac. J. Math. 82(1), 43–57 (1979)

    Article  MathSciNet  Google Scholar 

  30. Wilke, T.: Alternating tree automata, parity games, and modal \(\mu\)-calculus. Bull. Belg. Math. Soc. Simon Stevin 8(2), 359–391 (2001)

    Article  MathSciNet  Google Scholar 

  31. Ehlers, R., Moldovan, D.: Sparse positional strategies for safety games. In: Peled, D.A., Schewe, S. (eds.) Proceedings First Workshop on Synthesis, SYNT 2012, Berkeley, California, USA, 7th and 8th July 2012. EPTCS, vol. 84, pp. 1–16 (2012). https://doi.org/10.4204/EPTCS.84.1

  32. Beyene, T.A., Chaudhuri, S., Popeea, C., Rybalchenko, A.: A constraint-based approach to solving games on infinite graphs. In: Jagannathan, S., Sewell, P. (eds.) The 41st Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL ’14, San Diego, CA, USA, January 20-21, 2014, pp. 221–234. ACM (2014). https://doi.org/10.1145/2535838.2535860

  33. Jacobs, B.: Categorical Logic and Type Theory. North Holland, Amsterdam (1999)

    MATH  Google Scholar 

  34. Herrlich, H.: Topological functors. Gen. Topol. Appl. 4(2), 125–142 (1974). https://doi.org/10.1016/0016-660X(74)90016-6

    Article  MathSciNet  MATH  Google Scholar 

  35. Adámek, J., Herrlich, H., Strecker, G.: Abstract and Concrete Categories. Wiley-Interscience, New York (1990)

    MATH  Google Scholar 

  36. Tix, R., Keimel, K., Plotkin, G.: Semantic domains for combining probability and non-determinism. Electron. Notes Theor. Comput. Sci. 222, 3–99 (2009). https://doi.org/10.1016/j.entcs.2009.01.002

    Article  MATH  Google Scholar 

  37. Hasuo, I.: Generic weakest precondition semantics from monads enriched with order. Theor. Comput. Sci. 604, 2–29 (2015). https://doi.org/10.1016/j.tcs.2015.03.047

    Article  MathSciNet  MATH  Google Scholar 

  38. Hino, W., Kobayashi, H., Hasuo, I., Jacobs, B.: Healthiness from duality. In: Grohe, M., Koskinen, E., Shankar, N. (eds.) Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’16, New York, NY, USA, July 5-8, 2016, pp. 682–691. ACM (2016)

  39. MacLane, S.: Categories for the Working Mathematician. Graduate Texts in Mathematics, vol. 5, 2nd edn. Springer, Berlin (1998)

    Google Scholar 

  40. Blackburn, P., Rijke, M.D., Venema, Y.: Modal Logic. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, Cambridge (2001). https://doi.org/10.1017/CBO9781107050884

    Book  MATH  Google Scholar 

  41. Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order, 2nd edn. Cambridge University Press, Cambridge (2002). https://doi.org/10.1017/CBO9780511809088

    Book  MATH  Google Scholar 

  42. Vickers, S.: Topology Via Logic Tracts in Theoretical Computer Science, vol. 5. Cambridge University Press, Cambridge (1989)

    Google Scholar 

  43. Schröder, L.: Expressivity of coalgebraic modal logic: the limits and beyond. Theor. Comput. Sci. 390(2–3), 230–247 (2008). https://doi.org/10.1016/j.tcs.2007.09.023

    Article  MathSciNet  MATH  Google Scholar 

  44. Klin, B.: The least fibred lifting and the expressivity of coalgebraic modal logic. In: Fiadeiro, J.L., Harman, N., Roggenbach, M., Rutten, J.J.M.M. (eds.) Algebra and Coalgebra in Computer Science: First International Conference, CALCO 2005, Swansea, UK, September 3-6, 2005, Proceedings. Lecture Notes in Computer Science, vol. 3629, pp. 247–262. Springer (2005). https://doi.org/10.1007/11548133_16

  45. Adámek, J., Gumm, H.P., Trnková, V.: Presentation of set functors: a coalgebraic perspective. J. Log. Comput. 20(5), 991–1015 (2010). https://doi.org/10.1093/logcom/exn090

    Article  MathSciNet  MATH  Google Scholar 

  46. Pattinson, D.: Expressive logics for coalgebras via terminal sequence induction. Notre Dame J. Formal Log. 45(1), 19–33 (2004). https://doi.org/10.1305/ndjfl/1094155277

    Article  MathSciNet  MATH  Google Scholar 

  47. Boreale, M.: Weighted bisimulation in linear algebraic form. In: Bravetti, M., Zavattaro, G. (eds.) CONCUR 2009-Concurrency Theory, pp. 163–177. Springer, Berlin (2009)

    Chapter  Google Scholar 

  48. Conway, J.B.: A Course in Functional Analysis. Graduate Texts in Mathematics, vol. 96, 2nd edn. Springer, Berlin (2007)

    Book  Google Scholar 

  49. Etessami, K., Wilke, T., Schuller, R.A.: Fair simulation relations, parity games, and state space reduction for Büchi automata. SIAM J. Comput. 34(5), 1159–1175 (2005)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

Y.K., S.K., C.E., and I.H. are supported by ERATO HASUO Metamathematics for Systems Design Project (No. JPMJER1603), JST. Y.K. is supported by JSPS KAKENHI Grant Number JP21J13334. S.K. and I.H. are supported by the JSPS-Inria Bilateral Joint Research Project CRECOGI, and JST Moonshot R &D No. JPMJMS2033. I.H. is supported by Grants-in-Aid No. 15KT0012 and 15K11984, JSPS. B.K. is supported by the ERC under the European Union’s Horizon 2020 research and innovation programme (ERC consolidator grant LIPA, agreement no. 683080). Part of the work was done during N.H.’s internship, S.H.’s internship, and B.K.’s visit, at National Institute of Informatics, Tokyo, Japan.

Funding

Y.K., S.K., C.E., and I.H. are supported by ERATO HASUO Metamathematics for Systems Design Project (no. JPMJER1603), JST. Y.K. is supported by JSPS KAKENHI Grant Number JP21J13334. S.K. and I.H. are supported by the JSPS-Inria Bilateral Joint Research Project CRECOGI, and JST Moonshot R &D no. JPMJMS2033. I.H. is supported by Grants-in-Aid No. 15KT0012 and 15K11984, JSPS. B.K. is supported by the ERC under the European Union’s Horizon 2020 research and innovation programme (ERC consolidator grant LIPA, agreement no. 683080).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yuichi Komorida, Shin-ya Katsumata or Ichiro Hasuo.

Ethics declarations

Conflict of interest

Not applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

To Masami Hagiya on the occasion of his \(2^6\)th birthday. Masami’s research career has been a role model for us theoretical computer scientists who seek real-world impact through the power of logic. He has shown through his works that one good use of logical abstraction is to tame new computing paradigms. The current work draws inspiration from this, and uses logical (and categorical) abstraction to establish a uniform understanding of various bisimilarity-like notions that otherwise look very different from each other.

Appendices

Appendix 1: Direct Proof of Equivalence of the Two Game Notions Characterizing Probabilistic Bisimilarity (Tables 2 and 4)

1.1 Table 4 \(\leadsto\) Table 2

Assume that Duplicator wins Table 4 from (xy), and let Spoiler play some Z in Table 2. There are two cases to consider which are essentially identical, but we write them down separately for reference.

  • If \(\tau (x,Z)>\tau (y,Z)\) then we make Spoiler select \(s=x\) and play Z in Table 4. To this Duplicator responds with some \(Z'\supseteq Z\) such that \(\tau (x,Z)\le \tau (y,Z')\), which implies that \(Z'\ne Z\). Pick any \(y'\in Z'\setminus Z\) and play it as Spoiler in Table 4; when Duplicator responds with some \(x'\in Z\), play the pair \(x'\) and \(y'\) as Duplicator in Table 2.

  • If \(\tau (x,Z)<\tau (y,Z)\) then we make Spoiler select \(s=y\) and play Z in Table 4. To this Duplicator responds with some \(Z'\supseteq Z\) such that \(\tau (y,Z)\le \tau (x,Z')\), which implies that \(Z'\ne Z\). Pick any \(y'\in Z'\setminus Z\) and play it as Spoiler in Table 4; when Duplicator responds with some \(x'\in Z\), play the pair \(x'\) and \(y'\) as Duplicator in Table 2.

1.2 Table 2 \(\leadsto\) Table 4

This is a less straightforward implication. A winning strategy for Duplicator in Table 4 is built not from a single strategy in Table 2, but rather from an entire collection of winning positions.

Formally, assume that Duplicator wins Table 2 from (xy), and let Spoiler choose \(s\in \{x,y\}\) and play some Z in Table 4. We define

$$\begin{aligned} \bar{Z} = \{w\in X \mid \exists v\in Z \text{ such } \text{ that } \text{ Duplicator } \text{ wins } \text{ Table }~2\,\text { from }(v,w)\}. \end{aligned}$$

One basic observation is that \(Z\subseteq \bar{Z}\), since Duplicator wins from all positions of the form (ww). As a result, we have

$$\begin{aligned} \tau (x,Z)\le \tau (x,\bar{Z}) \qquad \text{ and } \qquad \tau (y,Z)\le \tau (y,\bar{Z}). \end{aligned}$$
(A1)

Another observation is that Spoiler wins Table 2 from the position \(\bar{Z}\). To see this, consider any Duplicator’s response \(x'\in \bar{Z}\), \(y'\not \in \bar{Z}\). Then there is some \(v\in Z\) such that Duplicator wins Table 2 from \((v,x')\). If Duplicator could win Table 2 from \((x',y')\) then she could win from \((v,y')\) as well, which contradicts the assumption that \(y'\not \in \bar{Z}\).

Since we assume that Duplicator wins Table 2 from (xy), \(\bar{Z}\) cannot be a legal move for Spoiler from (xy), hence

$$\begin{aligned} \tau (x,\bar{Z})=\tau (y,\bar{Z}). \end{aligned}$$

Together with (A1) this implies that

$$\begin{aligned} \tau (x,Z)\le \tau (y,\bar{Z}) \qquad \text{ and } \qquad \tau (y,Z)\le \tau (x,\bar{Z}), \end{aligned}$$

so \(Z'=\bar{Z}\) is a legal move for Duplicator in the stage (ii) of Table 4, no matter if Spoiler chose \(s=x\) or \(s=y\) in the stage (i). To this, in the stage (iii) Spoiler replies with some \(y'\in \bar{Z}\setminus Z\). By the definition of \(\bar{Z}\), there is some \(v\in Z\) such that Duplicator wins Table 2 from \((v,y')\), so Duplicator can respond with \(x'=v\).

Appendix 2: Introduction to \(\mathbf {CLat}_{\sqcap }\)-Fibration

We present an introduction to (\(\mathbf {CLat}_{\sqcap }\)-)fibrations, starting from a functor \(F_{\mathbb {E}}:\mathbb {C}^{\mathrm {op}}\rightarrow \mathbf {CLat}_{\sqcap }\). The relevance of the latter is explained in Sect. 2.2. For details, readers are referred to [33].

1.1 The Grothendieck Construction

In general, the equivalence between index categories \(\mathbb {C}^{\mathrm {op}}\rightarrow \mathbf {Cat}\) and fibrations is well-known. Here we sketch the Grothendieck construction from the former to the latter, focusing the special case of \(\mathbb {C}^{\mathrm {op}}\rightarrow \mathbf {CLat}_{\sqcap }\) and \(\mathbf {CLat}_{\sqcap }\)-fibrations. Its idea is to “patch up” the family \(\bigl (F_{\mathbb {E}}X\bigr )_{X\in \mathbb {C}}\) of complete lattices, and form a big category \(\mathbb {E}\), as shown in Fig. 2.

On the right-hand side in Fig. 2, we add some arrows (denoted by \(\dashrightarrow\)) so that we have an arrow \((F_{\mathbb {E}} f)(Q)\rightarrow Q\) in \(\mathbb {E}\) for each \(Q\in F_{\mathbb {E}} Y\). (On the left-hand side, the correspondence depicts the action of the map \(F_{\mathbb {E}} f\).) The diagram in \(\mathbb {E}\) in Fig. 2 should be understood as a Hasse diagram: those arrows which arise from composition are not depicted.

Fig. 2
figure 2

Grothendieck construction

Definition B.1

(The Grothendieck construction) Given a functor \(F_{\mathbb {E}}:\mathbb {C}^{\mathrm {op}}\rightarrow \mathbf {CLat}_{\sqcap }\), we define the category \(\mathbb {E}\) as follows.

  • An object is a pair (XP) of an object \(X\in \mathbb {C}\) and an element \(P\in F_{\mathbb {E}} X\); and

  • An arrow \(f:(X,P)\rightarrow (Y,Q)\) is an arrow \(f:X\rightarrow Y\) in \(\mathbb {C}\) such that

    $$\begin{aligned} P\sqsubseteq (F_{\mathbb {E}} f)(Q). \end{aligned}$$

    Here \(\sqsubseteq\) refers to the order of the complete lattice \(F_{\mathbb {E}} X\).

Thus arises a category \(\mathbb {E}\) that incorporates the following.

  • the order structure of each of the posets \((F_{\mathbb {E}} X)_{X\in \mathbb {C}}\), and

  • the pullback structure by \((F_{\mathbb {E}} f)_{f:\mathbb {C}-\text {arrow}}\).

For fixed \(X\in \mathbb {C}\), the objects of the form (XP) and the arrows \(\mathrm {id}_{X}\) between them form a subcategory of \(\mathbb {E}\). This is denoted by \(\mathbb {E}_{X}\) and called the fiber over X. It is obvious that \(\mathbb {E}_{X}\) is a poset that is isomorphic to \(F_{\mathbb {E}} X\).

Moreover, there is a canonical projection functor \(p:\mathbb {E}\rightarrow \mathbb {C}\) that carries (XP) to X.

1.2 Formal Definition of \(\mathbf {CLat}_{\sqcap }\)-Fibration

We axiomatize those structures which arise in the way described above.

Definition 9.1

(\(\mathbf {CLat}_{\sqcap }\)-fibration) A \(\mathbf {CLat}_{\sqcap }\)-fibration \(\mathbb {E} \xrightarrow {p} \mathbb {C}\) consists of two categories \(\mathbb {E},\mathbb {C}\) and a functor \(p:\mathbb {E}\rightarrow \mathbb {C}\), that satisfy the following properties.

  • Each fiber \(\mathbb {E}_{X}\) is a complete lattice. Here the fiber \(\mathbb {E}_{X}\) for \(X\in \mathbb {C}\) is the subcategory of \(\mathbb {E}\) consisting of the following data: objects \(P\in \mathbb {E}\) such that \(pP=X\); and arrows \(f:P\rightarrow Q\) such that \(pf=\mathrm {id}_{X}\) (such arrows are said to be vertical).

  • Given \(f:X\rightarrow Y\) in \(\mathbb {C}\) and \(Q\in \mathbb {E}_{Y}\), there is an object \(f^{*} Q\in \mathbb {E}_{X}\) and an \(\mathbb {E}\)-arrow \(\overline{f}Q:f^{*}Q\rightarrow Q\) with the following universal property. For any \(P\in \mathbb {E}_{X}\) and \(g:P\rightarrow Q\) in \(\mathbb {E}\), if \(pg=f\) then g factors through \(\overline{f}(Q)\) uniquely via a vertical arrow. That is, there exists unique \(g'\) such that \(g=\overline{f}(Q)\mathbin {\circ }g'\) and \(pg'=\mathrm {id}_{X}\):

  • The correspondences \((\_)^{*}\) and \(\overline{(\_)}\) are functorial:

    $$\begin{aligned} \mathrm {id}_{Y}^{*}Q&=Q,&(g\mathbin {\circ }f)^{*}(Q)&= f^{*}(g^{*}Q),\\ \overline{\mathrm {id}_{Y}}(Q)&=\mathrm {id}_{Q},&\overline{g\mathbin {\circ }f}(Q)&= \overline{g}Q\mathbin {\circ }\overline{f}(g^{*}Q). \end{aligned}$$

    The last equality can be depicted as follows:

The category \(\mathbb {E}\) is called the total category of the fibration; \(\mathbb {C}\) is the base category. The arrow \(\overline{f}Q:f^{*}Q\rightarrow Q\) is called the Cartesian lifting of f and Q. An arrow in \(\mathbb {E}\) is Cartesian if it coincides with \(\overline{f}Q\) for some f and Q.

In the case where \(\mathbb {E} \xrightarrow {p} \mathbb {C}\) is induced by an indexed category \(F_{\mathbb {E}}:\mathbb {C}^{\mathrm {op}}\rightarrow \mathbf {CLat}_{\sqcap }\) via Definition B.1, a Cartesian lifting is given by \(f^{*}(Q)=(F_{\mathbb {E}} f)(Q)\).

In the current paper we focus on \(\mathbf {CLat}_{\sqcap }\)-fibrations. In a (general) fibration, a fiber \(\mathbb {E}_{X}\) is not just a preorder but a category, and this elicits a lot of technical subtleties. Nevertheless, it should not be hard to generalize the current paper’s observations to general, not necessarily \(\mathbf {CLat}_{\sqcap }\)-, fibrations (especially to the split ones). We shall often denote a vertical arrow in \(\mathbb {E}\) (i.e., an arrow inside a fiber) by \(\sqsubseteq\).

Appendix 3: Codensity Characterization of Hausdorff pseudometric

Proposition C.1

Let (Xd) be a pseudometric space. For any \(S,T\subseteq X\), we define two functions

$$\begin{aligned} d_{H}(S,T)=\max \left( \sup _{x\in S}\inf _{y\in T} d(x,y),\sup _{y\in T}\inf _{x\in S} d(x,y)\right) \end{aligned}$$

and

$$\begin{aligned} d_{c}(S,T)=\sup _{k\in \mathbf {PMet}_{1}((X,d),([0,1],d_{\mathbb {R}}))}d_{\mathbb {R}}\left( \inf _{x\in S}k(x),\inf _{y\in T}k(y)\right) . \end{aligned}$$

The values of two functions coincide.

Proof

First, we show \(d_{c}(S,T)\ge d_{H}(S,T)\) by contradiction.

Suppose it does not hold. Then, by definition, at least one of

$$\begin{aligned} \sup _{x\in S}\inf _{y\in T} d(x,y) \end{aligned}$$

and

$$\begin{aligned} \sup _{y\in T}\inf _{x\in S} d(x,y) \end{aligned}$$

is greater than \(d_{c}(S,T)\). We can assume the former is greater than \(d_{c}(S,T)\) w.l.o.g.

Therefore, for some \(x_0 \in S\),

$$\begin{aligned} d_{c}(S,T) < \inf _{y\in T} d(x_0,y) \end{aligned}$$

holds.

Now, since \(d(x_0,\_)\) is a non-expansive function by the triangle inequality, we have

$$\begin{aligned} d_{c}(S,T) \ge d_{\mathbb {R}}\left( \inf _{x\in S}d(x_0,x),\inf _{y\in T}d(x_0,y)\right) . \end{aligned}$$

However, since \(\inf _{x\in S}d(x_0,x)=0\), we have \(d_{c}(S,T) \ge \inf _{y\in T}d(x_0,y)\), which is a contradiction.

Next, we show \(d_{c}(S,T) \le d_{H}(S,T)\) by contradiction.

Suppose \(d_{c}(S,T) > d_{H}(S,T) + \varepsilon\) for some \(\varepsilon > 0\). Then, for some non-expansive \(k:X\rightarrow [0,1]\),

$$\begin{aligned} d_{\mathbb {R}}\left( \inf _{x\in S}k(x),\inf _{y\in T}k(y)\right) > d_{H}(S,T) + \varepsilon \end{aligned}$$

holds.

W.l.o.g. we can assume \(\inf _{x\in S}k(x) \le \inf _{y\in T}k(y)\).

Thus, for some \(x_0 \in S\) and \(y_0 \in T\) satisfying \(k(x_0) \le \inf _{x\in S}k(x) + \varepsilon /5\) and \(k(y_0) \le \inf _{y\in T}k(y) + \varepsilon /5\),

$$\begin{aligned} d_{\mathbb {R}}(k(x_0),k(y_0)) > d_{H}(S,T) + 3\varepsilon /5 \end{aligned}$$

holds. Since

$$\begin{aligned} d_{H}(S,T) \ge \sup _{x\in S}\inf _{y\in T} d(x,y), \end{aligned}$$

there exists some \(y_{1} \in T\) satisfying

$$\begin{aligned} d_{H}(S,T) \ge d(x_0,y_{1}) \ge d_{\mathbb {R}}(k(x_0),k(y_{1})). \end{aligned}$$

However, we have \(k(x_0) \le k(y_0) + \varepsilon /5 \le k(y_{1}) + 2\varepsilon /5\), so

$$\begin{aligned} d_{\mathbb {R}}(k(x_0),k(y_{1}) + \varepsilon /5) \ge d_{\mathbb {R}}(k(x_0),k(y_0) + 2\varepsilon /5) \end{aligned}$$

and

$$\begin{aligned} d_{\mathbb {R}}(k(x_0),k(y_{1})) + 3\varepsilon /5 \ge d_{\mathbb {R}}(k(x_0),k(y_0)) \end{aligned}$$

holds.

Then,

$$\begin{aligned}&d_{\mathbb {R}}(k(x_0),k(y_0)) \\&\le d_{\mathbb {R}}(k(x_0),k(y_{1})) + 3\varepsilon /5 \\&\le d_{H}(S,T) + 3\varepsilon /5 \\&< d_{\mathbb {R}}(k(x_0),k(y_0)) \end{aligned}$$

holds, which is a contradiction. \(\square\)

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Komorida, Y., Katsumata, Sy., Hu, N. et al. Codensity Games for Bisimilarity. New Gener. Comput. 40, 403–465 (2022). https://doi.org/10.1007/s00354-022-00186-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00354-022-00186-y

Keywords

Navigation