Formal Grammars and Generating Functions: From Algebraic Structure to Non-Algebraic and Non-Derivable Series
Abstract
This paper investigates how the algebraic and analytic properties of ordinary length generating functions constrain the grammatical and computational complexity of formal languages. We review the Chomsky-Schutzenberger representation, DSV translations for unambiguous context-free grammars, and their stack-indexed extensions, distinguishing finite algebraic systems from more general constructions. Examples and a diagonal argument demonstrate that even a rational generating function need not determine a language's grammatical class. Our central computability result establishes that, for a recursively enumerable language, computability of its length-counting sequence is equivalent to decidability of membership. Consequently, if a recursively enumerable language has a D-finite length generating function over Q(z), it is decidable; equivalently, undecidable recursively enumerable languages cannot have D-finite length generating functions. We then examine coefficient growth and singularities through Pringsheim's theorem, the Polya-Carlson dichotomy, Hadamard gaps, and Siegel G-functions. The resulting picture is asymmetric: analytic properties provide useful one-way constraints on language computability, but length enumeration loses too much information to determine grammatical or computational complexity without additional assumptions.
Create a lesson
Related papers
On the equivalence between generating functions computed by memory transducers and enumerating functions produced by indexed grammars
Shared title terminology · Vincent Ghigo
Beyond the Turing threshold: Productive grammars generate essentially undecidable languages
Shared title terminology · Luis M. Augusto
Construction of a DFA for Computing Grundy Numbers in the Successful Derivation Games on Right-Linear Grammars
Shared title terminology · Yoshiaki Takata, Yusuke Inoue, Hiroyuki Seki
The Value Generating Power of Weighted Tree Automata with Initial Algebra Semantics
Shared title terminology · Manfred Droste, Zoltán Fülöp, Andreja Tepavčević et al.
Tensorized Automata: Algebraically Informed Representation Learning for Sequential Decision Making
Shared title terminology · Anand Balakrishnan, Dweep Trivedi, Swarat Chaudhuri
Reliability-Aware Z-Grammars and Z-Automata over a Credible-Grade Semiring
Shared title terminology · Sherzod Turaev, Nor Haniza Sarmin, Wan Heng Fong