Abstract
AbstractSymmetric monoidal theories (SMTs) generalise algebraic theories in a way that make them suitable to express resource-sensitive systems, in which variables cannot be copied or discarded at will. In SMTs, traditional tree-like terms are replaced by string diagrams, topological entities that can be intuitively thought of as diagrams of wires and boxes. Recently, string diagrams have become increasingly popular as a graphical syntax to reason about computational models across diverse fields, including programming language semantics, circuit theory, quantum mechanics, linguistics, and control theory. In applications, it is often convenient to implement the equations appearing in SMTs as rewriting rules. This poses the challenge of extending the traditional theory of term rewriting, which has been developed for algebraic theories, to string diagrams. In this paper, we develop a mathematical theory of string diagram rewriting for SMTs. Our approach exploits the correspondence between string diagram rewriting and double pushout (DPO) rewriting of certain graphs, introduced in the first paper of this series. Such a correspondence is only sound when the SMT includes a Frobenius algebra structure. In the present work, we show how an analogous correspondence may be established for arbitrary SMTs, once an appropriate notion of DPO rewriting (which we call convex) is identified. As proof of concept, we use our approach to show termination of two SMTs of interest: Frobenius semi-algebras and bialgebras.
Publisher
Cambridge University Press (CUP)
Subject
Computer Science Applications,Mathematics (miscellaneous)
Reference70 articles.
1. Power, J. (2006a). Countable Lawvere theories and computational effects. In: Seda, A. K., Hurley, T., Schellekens, M. P., Airchinnigh, M. M. and Strong, G. (eds.) MFCSIT 2004, ENTCS, vol. 161, Elsevier, 59–71.
2. Coalgebras and cartesian categories;Fox;Communications in Algebra,1976
3. Sassone, V. and SobociŃski, P. (2005). Reactive systems over cospans. In: LICS 2005, IEEE Computer Society, 311–320.
4. Bonchi, F. , Holland, J. , Pavlovic, D. and SobociŃski, P. (2017b). Refinement for signal flow graphs. In: Meyer, R. and Nestmann, U. (eds.) CONCUR 2017, LIPIcs, vol. 85, Schloss Dagstuhl - Leibniz-Zentrum fÜr Informatik, 24:1–24:16.
5. The calculus of signal flow diagrams I: linear relations on streams;Bonchi;Information and Computation,2017
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Relational Machine Calculus;Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science;2024-07-08
2. Truth diagrams for some non-classical and modal logics;Journal of Applied Non-Classical Logics;2024-07-04
3. Pregeometric Spaces from Wolfram Model Rewriting Systems as Homotopy Types;International Journal of Theoretical Physics;2024-03-28
4. Allegories of Symbolic Manipulations;2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS);2023-06-26
5. Higher-Dimensional Subdiagram Matching;2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS);2023-06-26