[Paper Review] Open Graphs and Monoidal Theories
This paper introduces open-graphs—a discrete, finite formalism for string diagrams in monoidal categories—using typed graphs with unconnected edges to represent inputs and outputs. By embedding open-graphs into typed graphs via a selective adhesive functor, it enables type-safe, compositional double-pushout rewriting, supporting mechanised reasoning in symmetric monoidal categories, PROPs, and general monoidal theories.
String diagrams are a powerful tool for reasoning about physical processes, logic circuits, tensor networks, and many other compositional structures. The distinguishing feature of these diagrams is that edges need not be connected to vertices at both ends, and these unconnected ends can be interpreted as the inputs and outputs of a diagram. In this paper, we give a concrete construction for string diagrams using a special kind of typed graph called an open-graph. While the category of open-graphs is not itself adhesive, we introduce the notion of a selective adhesive functor, and show that such a functor embeds the category of open-graphs into the ambient adhesive category of typed graphs. Using this functor, the category of open-graphs inherits "enough adhesivity" from the category of typed graphs to perform double-pushout (DPO) graph rewriting. A salient feature of our theory is that it ensures rewrite systems are "type-safe" in the sense that rewriting respects the inputs and outputs. This formalism lets us safely encode the interesting structure of a computational model, such as evaluation dynamics, with succinct, explicit rewrite rules, while the graphical representation absorbs many of the tedious details. Although topological formalisms exist for string diagrams, our construction is discreet, finitary, and enjoys decidable algorithms for composition and rewriting. We also show how open-graphs can be parametrised by graphical signatures, similar to the monoidal signatures of Joyal and Street, which define types for vertices in the diagrammatic language and constraints on how they can be connected. Using typed open-graphs, we can construct free symmetric monoidal categories, PROPs, and more general monoidal theories. Thus open-graphs give us a handle for mechanised reasoning in monoidal categories.
Motivation & Objective
- To provide a discrete, finite, and computable formalism for string diagrams in monoidal theories.
- To address the limitations of topological formalisms by introducing a finitary, decidable framework for graphical reasoning.
- To ensure type safety in rewriting by preserving input-output interfaces through a selective adhesive functor.
- To enable mechanised reasoning in monoidal categories using double-pushout rewriting on open-graphs.
- To generalise the construction to free symmetric monoidal categories, PROPs, and broader monoidal theories via graphical signatures.
Proposed method
- Introduces open-graphs as typed graphs with unconnected edges representing inputs and outputs.
- Defines a selective adhesive functor from open-graphs into the category of typed graphs, inheriting enough adhesivity for double-pushout rewriting.
- Uses graphical signatures to define vertex and edge types, and their connection constraints, enabling typed composition.
- Constructs cospans over typed open-graphs modulo edge-homeomorphism to form free symmetric monoidal categories.
- Applies double-pushout rewriting to ensure type safety and compositional rewriting of rules.
- Introduces edge-homeomorphism rules to model topological equivalence of wires, analogous to homeomorphism in topology.
Experimental results
Research questions
- RQ1How can string diagrams be formalised as discrete, finite structures that support safe, compositional rewriting?
- RQ2What categorical structure enables double-pushout rewriting in open-graphs despite their lack of full adhesivity?
- RQ3How can graphical signatures be used to parametrise open-graphs and enforce typing constraints in monoidal theories?
- RQ4Can open-graphs be used to construct free symmetric monoidal categories and PROPs in a fully mechanisable way?
- RQ5How can rewriting rules be composed and manipulated while preserving interface consistency?
Key findings
- Open-graphs are formalised as a category with a selective adhesive functor into typed graphs, enabling double-pushout rewriting with type safety.
- The construction supports compositional rewriting: rewriting can be performed in parallel on decomposed components and recombined correctly.
- Edge-homeomorphism rules allow topological equivalence of wire structures, providing a discrete analogue to topological homeomorphism.
- Typed open-graphs over a graphical signature can generate free symmetric monoidal categories and PROPs, generalising to richer monoidal theories.
- The framework is finitary and decidable, enabling implementation in software tools for automated reasoning.
- The approach provides a foundation for applying Knuth-Bendix completion and critical pair analysis to graphical languages in monoidal categories.
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.