Rewriting Graphically with Symmetric Traced Monoidal Categories
George Kaye

TL;DR
This paper introduces interfaced linear hypergraphs as a new graphical language for symmetric traced monoidal categories, enabling sound and complete graph rewriting suitable for Cartesian structures like digital circuits.
Contribution
It develops a novel hypergraph-based language for STMCs that is sound, complete, and compatible with Cartesian structures, and applies adhesive category theory for graph rewriting.
Findings
Interfaced linear hypergraphs accurately model STMC morphisms.
The language supports sound and complete graph rewriting.
Applied to digital circuits as a case study.
Abstract
We examine a variant of hypergraphs that we call interfaced linear hypergraphs, with the aim of creating a sound and complete graphical language for symmetric traced monoidal categories (STMCs) suitable for graph rewriting. In particular, we are interested in rewriting for categorical settings with a Cartesian structure, such as digital circuits. These are incompatible with previous languages where the trace is constructed using a compact closed or Frobenius structure, as combining these with Cartesian product can lead to degenerate diagrams. Instead we must consider an approach where the trace is constructed as an atomic operation. Interfaced linear hypergraphs are defined as regular hypergraphs in which each vertex is the source and target of exactly one edge each, equipped with an additional interface edge. The morphisms of a freely generated STMC are interpreted as interfaced linear…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Model-Driven Software Engineering Techniques · Formal Methods in Verification
