Parsing as a lifting problem and the Chomsky-Sch\"utzenberger representation theorem
Paul-Andr\'e Melli\`es, Noam Zeilberger

TL;DR
This paper generalizes context-free grammars and the Chomsky-Schützenberger theorem using operads and category theory, providing a new framework for understanding formal languages and automata.
Contribution
It introduces a novel operadic framework for CFGs over categories and extends the Chomsky-Schützenberger theorem to this setting, unifying language theory with category theory.
Findings
CFGs can be represented as functors of operads into operads of spliced words.
CF languages are closed under intersection with regular languages.
The generalized Chomsky-Schützenberger theorem applies to languages of arrows over categories.
Abstract
We begin by explaining how any context-free grammar encodes a functor of operads from a freely generated operad into a certain "operad of spliced words". This motivates a more general notion of CFG over any category , defined as a finite species equipped with a color denoting the start symbol and a functor of operads into the operad of spliced arrows in . We show that many standard properties of CFGs can be formulated within this framework, and that usual closure properties of CF languages generalize to CF languages of arrows. We also discuss a dual fibrational perspective on the functor via the notion of "displayed" operad, corresponding to a lax functor of operads . We then turn to the Chomsky-Sch\"utzenberger Representation Theorem. We describe how a non-deterministic finite state automaton can be seen as a category …
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.
