Rewriting Modulo Traced Comonoid Structure
Dan R. Ghica, George Kaye

TL;DR
This paper extends hypergraph rewriting techniques to traced comonoid categories, enabling a complete and unique correspondence between terms and hypergraphs, with applications to sequential circuit semantics.
Contribution
It introduces a hypergraph rewriting framework for traced comonoid categories, establishing full completeness and adapting DPO rewriting for this setting.
Findings
Hypergraph subclasses are fully complete for traced comonoid categories.
Unique correspondence between terms and hypergraphs up to isomorphism.
Framework supports operational semantics for sequential circuits.
Abstract
In this paper we adapt previous work on rewriting string diagrams using hypergraphs to the case where the underlying category has a traced comonoid structure, in which wires can be forked and the outputs of a morphism can be connected to its input. Such a structure is particularly interesting because any traced Cartesian (dataflow) category has an underlying traced comonoid structure. We show that certain subclasses of hypergraphs are fully complete for traced comonoid categories: that is to say, every term in such a category has a unique corresponding hypergraph up to isomorphism, and from every hypergraph with the desired properties, a unique term in the category can be retrieved up to the axioms of traced comonoid categories. We also show how the framework of double pushout rewriting (DPO) can be adapted for traced comonoid categories by characterising the valid pushout complements…
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.
