Skip to main content
QUICK REVIEW

[Paper Review] Structured Cospans

John C. Baez, Kenny Courser|arXiv (Cornell University)|Nov 12, 2019
Topological and Geometric Data AnalysisComputer Science7 citations
TL;DR

This paper introduces structured cospans as a framework for modeling open networks—such as electrical circuits, Petri nets, and chemical reaction networks—with inputs and outputs. By leveraging a functor L: A → X and constructing cospans L(a) → x ← L(b), the authors show that structured cospans form a symmetric monoidal double category when A and X have finite colimits and L preserves them, offering a more structured and flexible alternative to decorated cospans for network composition and modeling.

ABSTRACT

One goal of applied category theory is to better understand networks appearing throughout science and engineering. Here we introduce "structured cospans" as a way to study networks with inputs and outputs. 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, we obtain a symmetric monoidal category whose objects are those of $\mathsf{A}$ and whose morphisms are isomorphism classes of structured cospans. This is a hypergraph category. However, it arises from a more fundamental structure: a symmetric monoidal double category where the horizontal 1-cells are structured cospans. We show how structured cospans solve certain problems in the closely related formalism of "decorated cospans", and explain how they work in some examples: electrical circuits, Petri nets, and chemical reaction networks.

Motivation & Objective

  • To develop a more intuitive and flexible framework for modeling open networks with inputs and outputs.
  • To address limitations of decorated cospans in handling isomorphism classes and structural detail.
  • To formalize network composition and tensoring using structured cospans in a higher-categorical setting.
  • To demonstrate the framework’s applicability to concrete systems like electrical circuits, Petri nets, and chemical reaction networks.
  • To establish structured cospans as a symmetric monoidal double category, enabling compositional reasoning with coherence and modularity.

Proposed method

  • Define structured cospans as diagrams L(a) → x ← L(b) in a category X, where L: A → X is a functor.
  • Construct a double category LCsp(X) with objects from A, vertical morphisms from A, horizontal 1-cells as structured cospans, and 2-morphisms as commutative diagrams.
  • Show that LCsp(X) becomes a symmetric monoidal double category when A and X have finite colimits and L preserves them.
  • Use the structure of pushouts in X to ensure well-defined horizontal composition of structured cospans.
  • Demonstrate that isomorphism classes of structured cospans form a symmetric monoidal category, specifically a hypergraph category.
  • Compare structured cospans to decorated cospans, showing advantages in preserving structural detail and avoiding isomorphism class complications.

Experimental results

Research questions

  • RQ1How can structured cospans provide a more natural and flexible alternative to decorated cospans for modeling open networks?
  • RQ2What categorical structure underlies the composition and tensoring of open networks like Petri nets and electrical circuits?
  • RQ3How do structured cospans handle the coherence of network composition when inputs and outputs are identified?
  • RQ4In what way do structured cospans preserve the internal structure of networks better than isomorphism classes of decorated cospans?
  • RQ5What conditions on the functor L: A → X ensure that structured cospans form a symmetric monoidal double category?

Key findings

  • Structured cospans form a symmetric monoidal double category when A and X have finite colimits and L: A → X preserves them.
  • The category of isomorphism classes of structured cospans is a hypergraph category, enabling compositional modeling of networks.
  • The framework avoids the structural ambiguity of decorated cospans by working directly with actual cospans rather than equivalence classes.
  • The method supports both sequential composition and parallel tensoring of open networks, such as in electrical circuits and chemical reaction networks.
  • The construction is functorial and general, applicable to diverse network types including Petri nets and reaction networks.
  • The use of double categories provides strict associativity for vertical composition and coherent horizontal composition, improving categorical manageability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.