Simulating finite automata with context-free grammars

We consider simulating finite automata (both deterministic and nondeterministic) with context-free grammars in Chomsky normal form (CNF). We show that any unary DFA with n states can be simulated by a CNF grammar with O(n1/3) variables, and this bound is tight. We show that any unary NFA with n states can be simulated by a CNF grammar with O(n2/3) variables. Finally, for larger alphabets we show that there exist languages which can be accepted by an n-state DFA, but which require Ω(n/log n) variables in any equivalent CNF grammar.

[1]  Jeffrey Shallit,et al.  Automatic Complexity of Strings , 2001, J. Autom. Lang. Comb..

[2]  Jeffrey Shallit,et al.  Separating Words with Small Grammars , 1999, J. Autom. Lang. Comb..

[3]  Jeffrey Shallit,et al.  Unary Language Operations, State Complexity and Jacobsthal's Function , 2002, Int. J. Found. Comput. Sci..

[4]  Sheng Yu,et al.  The State Complexities of Some Basic Operations on Regular Languages , 1994, Theor. Comput. Sci..

[5]  Jozef Gruska On a classification of context-free languages , 1967, Kybernetika.

[6]  Jozef Gruska,et al.  Descriptional Complexity (of Languages) - A Short Survey , 1976, MFCS.

[7]  de Ng Dick Bruijn A combinatorial problem , 1946 .

[8]  Jean-Camille Birget,et al.  Intersection and Union of Regular Languages and State Complexity , 1992, Inf. Process. Lett..

[9]  Srecko Brlek,et al.  On the Length of Word Chains , 1987, Inf. Process. Lett..

[10]  Jozef Gruska Descriptional Complexity of Context-Free Languages , 1973, MFCS.

[11]  Jonathan Goldstine,et al.  A Pushdown Automaton or a Context-Free Grammar - Which is More Economical? , 1982, Theor. Comput. Sci..

[12]  Ingo Althöfer Tight Lower Bounds on the Length of Word Chains , 1990, Inf. Process. Lett..

[13]  Jozef Gruska,et al.  Some Classifications of Context-Free Languages , 1969, Inf. Control..

[14]  I. Good Normal Recurring Decimals , 1946 .

[15]  A. R. Meyer,et al.  Economy of Description by Automata, Grammars, and Formal Systems , 1971, SWAT.

[16]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[17]  Marek Chrobak,et al.  Finite Automata and Unary Languages , 1986, Theor. Comput. Sci..