Normal Forms for Elements of ${}^*$-Continuous Kleene Algebras Representing the Context-Free Languages
Mark Hopkins, Hans Leiß
TL;DR
The paper develops a robust algebraic framework for representing context-free languages via the tensor product of ${}^*$-continuous Kleene algebras with polycyclic and bra-ket ${\cal R}$-dioids. It introduces normal form theorems that reduce complex bracket-laden automata transitions to structured forms, enabling a calculus for context-free expressions without variable binders. A central contribution is showing that the centralizer of $C_2'$ inside $K ⊗_R C_2'$ captures exactly the context-free representations of elements from the base Kleene algebra, and that these normal forms gracefully compose under Kleene algebra operations. The work connects automata-theoretic representations to algebraic, matrix, and relational models (including completeness and relativized completeness), and points toward applications in parsing, recognition, and potentially 2-stack machine languages. Overall, it provides a foundation for an algebraic calculus of context-free languages within a unified Kleene-algebraic scheme with explicit normal forms and centralizer characterizations.
Abstract
Within the tensor product $K \mathop{\otimes_{\cal R}} C_2'$ of any ${}^*$-continuous Kleene algebra $K$ with the polycyclic ${}^*$-continuous Kleene algebra $C_2'$ over two bracket pairs there is a copy of the fixed-point closure of $K$: the centralizer of $C_2'$ in $K \mathop{\otimes_{\cal R}} C_2'$. Using an automata-theoretic representation of elements of $K\mathop{\otimes_{\cal R}} C_2'$ à la Kleene, with the aid of normal form theorems that restrict the occurrences of brackets on paths through the automata, we develop a foundation for a calculus of context-free expressions without variable binders. We also give some results on the bra-ket ${}^*$-continuous Kleene algebra $C_2$, motivate the ``completeness equation'' that distinguishes $C_2$ from $C_2'$, and show that $C_2'$ already validates a relativized form of this equation.
