Regular planar monoidal languages

Matthew Earnshaw,Paweł Sobociński
DOI: https://doi.org/10.1016/j.jlamp.2024.100963
IF: 1.088
2024-03-28
Journal of Logical and Algebraic Methods in Programming
Abstract:We introduce regular languages of morphisms in free monoidal categories, with their associated grammars and automata. These subsume the classical theory of regular languages of words and trees, but also open up a much wider class of languages of planar string diagrams. We give a pumping lemma for monoidal languages, generalizing the one for words and trees. We use the algebra of monoidal and cartesian restriction categories to investigate the properties of regular monoidal languages, and provide sufficient conditions for their recognizability by deterministic monoidal automata.
computer science, theory & methods,logic
What problem does this paper attempt to address?