Rewriting Context-free Families of String Diagrams
Vladimir Nikolaev Zamdzhiev

TL;DR
This paper develops a formal, automatable framework for reasoning about infinite families of string diagrams using context-free graph grammars and double-pushout rewriting, enabling more efficient and error-resistant proofs.
Contribution
It introduces a novel mathematical framework that models equations between infinite string diagram families with context-free grammars and proves its soundness and decidability for software implementation.
Findings
Framework accurately models infinite diagram families.
Proves the framework's soundness with respect to string diagram semantics.
Establishes decidability properties for automated reasoning.
Abstract
String diagrams provide a convenient graphical framework which may be used for equational reasoning about morphisms of monoidal categories. However, unlike term rewriting, rewriting string diagrams results in shorter equational proofs, because the string diagrammatic representation allows us to formally establish equalities modulo any rewrite steps which follow from the monoidal structure. Manipulating string diagrams by hand is a time-consuming and error-prone process, especially for large string diagrams. This can be ameliorated by using software proof assistants, such as Quantomatic. However, reasoning about concrete string diagrams may be limiting and in some scenarios it is necessary to reason about entire (infinite) families of string diagrams. When doing so, we face the same problems as for manipulating concrete string diagrams, but in addition, we risk making further…
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
TopicsSoftware Testing and Debugging Techniques · Security and Verification in Computing · Logic, programming, and type systems
