Core Concepts
Every context-free monoidal language is the image under a monoidal functor of a regular monoidal language.
Abstract
The paper introduces context-free languages of string diagrams in monoidal categories, extending recent work on the categorification of context-free languages and regular languages of string diagrams.
Key highlights:
Context-free monoidal languages are defined using a symmetric multicategory of diagram contexts, which generalizes the notion of spliced arrows used for context-free languages in categories.
The authors introduce the category of raw optics over a monoidal category, and its left adjoint, the optical contour. This machinery is used to prove a representation theorem for context-free monoidal languages.
The representation theorem states that every context-free monoidal language is the image under a monoidal functor of a regular monoidal language. This is a stronger result than the classical Chomsky-Schützenberger representation theorem, which requires an intersection of a Dyck language and a regular language.
The authors provide examples of context-free monoidal languages, including classical context-free languages of words, trees, and hypergraphs, when instantiated over appropriate monoidal categories.
The paper shows that regular monoidal languages are a special case of context-free monoidal languages, and discusses the connections to previous work on languages of string diagrams.