Composing Codensity Bisimulations

Mayuko Kori,Kazuki Watanabe,Jurriaan Rot,Shin-ya Katsumata
2024-05-22
Abstract:Proving compositionality of behavioral equivalence on state-based systems with respect to algebraic operations is a classical and widely studied problem. We study a categorical formulation of this problem, where operations on state-based systems modeled as coalgebras can be elegantly captured through distributive laws between functors. To prove compositionality, it then suffices to show that this distributive law lifts from sets to relations, giving an explanation of how behavioral equivalence on smaller systems can be combined to obtain behavioral equivalence on the composed system.
Logic in Computer Science,Category Theory
What problem does this paper attempt to address?
The main focus of this paper is on how to combine behavioral equivalences (specifically bisimilarity) on state-based systems to preserve the compositionality of their algebraic operations. Specifically, the study focuses on achieving this goal through the so-called "codensity lifting" and particularly considers how to handle non-trivial compositional relationships, pseudometrics, etc. The core contributions of the paper include: 1. **Generalization of Codensity Lifting**: Extending the concept of codensity lifting to apply not only to endofunctors but also to broader scenarios, such as lifting product operators. 2. **Existence Conditions for Distributive Laws**: Proposing a sufficient condition to ensure the existence of a distributive law from one codensity lifting to another, which helps in proving compositionality. 3. **Compositional Variants of Codensity Games**: Investigating a compositional version of codensity games that can combine game invariants and using this setup to provide an alternative proof for preserving bisimilarity. The paper first defines the concept of bisimilarity for state-based systems and formulates it as coalgebras in a specific fibered category. Then, it defines compositional operations by introducing structure functors and natural transformations that describe system transitions. The main challenge of the paper is to find a method to extend these compositional operations to behavioral equivalences (such as bisimilarity), which requires lifting structure functors and ensuring that the relevant distributive laws can be lifted. To address these challenges, the authors adopt a technique called "codensity lifting," which is a flexible method for handling various types of behavioral equivalences. Additionally, the authors propose a simplified condition that, when satisfied, guarantees the existence of distributive laws, thereby preserving the compositionality of bisimilarity. Finally, the authors explore a game-theoretic framework related to codensity bisimilarity and demonstrate how to use this framework to combine game invariants and provide a proof of bisimilarity in the compositional case.