Coalgebraic Characterizations of Context-Free Languages
Joost Winter (CWI), Jan J.M. Rutten (CWI/Radboud University Nijmegen),, Marcello M. Bonsangue (Leiden University/CWI)

TL;DR
This paper presents three novel coalgebraic frameworks for characterizing context-free languages, linking algebraic and coalgebraic structures through output-derivative pairs and final coalgebra semantics.
Contribution
It introduces three equivalent coalgebraic characterizations of context-free languages, expanding the theoretical understanding and connecting to power series and powerset constructions.
Findings
Three coalgebraic characterizations are equivalent.
Connections to formal power series are established.
Relationship to generalized powerset construction is discussed.
Abstract
In this article, we provide three coalgebraic characterizations of the class of context-free languages, each based on the idea of adding coalgebraic structure to an existing algebraic structure by specifying output-derivative pairs. Final coalgebra semantics then gives an interpretation function into the final coalgebra of all languages with the usual output and derivative operations. The first characterization is based on systems, where each derivative is given as a finite language over the set of nonterminals; the second characterization on systems where derivatives are given as elements of a term-algebra; and the third characterization is based on adding coalgebraic structure to a class of closed (unique) fixed point expressions. We prove equivalences between these characterizations, discuss the generalization from languages to formal power series, as well as the relationship to the…
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.
