[Paper Review] Open Systems: A Double Categorical Perspective
This paper introduces a double categorical framework to model open systems—systems with inputs and outputs—offering a more flexible alternative to Fong's decorated cospans. By formalizing structured cospans and a new version of decorated cospans within symmetric monoidal double categories, the author establishes an equivalence between these two approaches under certain conditions, providing a unified, compositional foundation for modeling open electrical circuits, Markov processes, and Petri nets.
Fong developed `decorated cospans' to model various kinds of open systems: that is, systems with inputs and outputs. In this framework, open systems are seen as the morphisms of a category and can be composed as such, allowing larger open systems to be built up from smaller ones. Much work has already been done in this direction, but there is a problem: the notion of isomorphism between decorated cospans is often too restrictive. Here we introduce and compare two ways around this problem: structured cospans, and a new version of decorated cospans. Structured cospans are very simple: given a functor $L \colon \mathsf{A} o \mathsf{X}$, a `structured cospan' is a diagram in $\mathsf{X}$ of the form $L(a) ightarrow x \leftarrow L(b)$. If $\mathsf{A}$ and $\mathsf{X}$ have finite colimits and $L$ is a left adjoint, there is a symmetric monoidal category whose objects are those of $\mathsf{A}$ and whose morphisms are isomorphism classes of structured cospans. However, this category arises from a more fundamental structure: a symmetric monoidal double category. Under certain conditions this symmetric monoidal double category is equivalent to one built using our new version of decorated cospans. We apply these ideas to symmetric monoidal double categories of open electrical circuits, open Markov processes and open Petri nets.
Motivation & Objective
- To address the limitation of Fong's decorated cospans, where isomorphism classes are too restrictive for modeling open systems.
- To develop a more flexible and foundational framework using structured cospans within symmetric monoidal double categories.
- To introduce a new version of decorated cospans that forms a symmetric monoidal double category equivalent to structured cospans under suitable conditions.
- To unify and generalize the compositional modeling of open systems across diverse domains such as electrical circuits, Markov processes, and Petri nets.
- To establish a formal equivalence between structured cospans and the new decorated cospans via double category theory, enhancing modularity and compositionality.
Proposed method
- Define structured cospans as diagrams of the form L(a) → x ← L(b), where L: A → X is a functor, typically a left adjoint.
- Construct a symmetric monoidal double category of structured cospans when A and X have finite colimits and L is a left adjoint.
- Introduce a new version of decorated cospans by defining a double category whose 1-cells are decorated cospans and 2-cells are compatible transformations.
- Establish a double category structure on decorated cospans by defining horizontal and vertical composition with coherence conditions.
- Use foot-replacement techniques to relate the double category of structured cospans to that of decorated cospans, enabling comparison and equivalence under conditions.
- Apply the framework to concrete systems: electrical circuits, open Markov processes, and Petri nets, demonstrating compositional modeling via double categories.
Experimental results
Research questions
- RQ1How can structured cospans be formalized as a symmetric monoidal double category to provide a more foundational framework than isomorphism classes of decorated cospans?
- RQ2What conditions ensure that the double category of decorated cospans (in the new version) is equivalent to the double category of structured cospans?
- RQ3How does the double categorical structure improve the compositionality and modularity of modeling open systems such as electrical circuits and Petri nets?
- RQ4Can the framework be applied uniformly across different types of open systems, including Markov processes and Petri nets, with consistent categorical machinery?
- RQ5What is the role of foot-replacement in constructing and comparing double categories of structured and decorated cospans?
Key findings
- The symmetric monoidal double category of structured cospans is constructed from a left adjoint functor L: A → X when A and X have finite colimits.
- A new version of decorated cospans is defined as a symmetric monoidal double category, providing a more flexible alternative to isomorphism classes in Fong’s original framework.
- Under suitable conditions, the double category of structured cospans is equivalent to the double category of the new decorated cospans, establishing a formal unification of the two approaches.
- The framework successfully models open electrical circuits, open Markov processes, and open Petri nets as symmetric monoidal double categories, enabling compositional reasoning.
- The double categorical structure allows for richer compositionality, including both horizontal and vertical composition of systems, with coherent 2-morphisms capturing system transformations.
- The use of foot-replaced double categories enables systematic comparison and transformation between different categorical models of open systems, enhancing modularity and reusability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.