Converting Nondeterministic Automata and Context-Free Grammars into Parikh Equivalent One-Way and Two-Way Deterministic Automata
Abstract
We investigate the conversion of one-way nondeterministic finite automata and context-free grammars into Parikh equivalent one-way and two-way deterministic finite automata, from a descriptional complexity point of view. We prove that for each one-way nondeterministic automaton with states there exist Parikh equivalent one-way and two-way deterministic automata with and states, respectively, where is a polynomial. Furthermore, these costs are tight. In contrast, if all the words accepted by the given automaton contain at least two different letters, then a Parikh equivalent one-way deterministic automaton with a polynomial number of states can be found. Concerning context-free grammars, we prove that for each grammar in Chomsky normal form with h variables there exist Parikh equivalent one-way and two-way deterministic automata with and states, respectively. Even these bounds are tight.
Keywords
Cite
@article{arxiv.1212.1346,
title = {Converting Nondeterministic Automata and Context-Free Grammars into Parikh Equivalent One-Way and Two-Way Deterministic Automata},
author = {Giovanna J. Lavado and Giovanni Pighizzini and Shinnosuke Seki},
journal= {arXiv preprint arXiv:1212.1346},
year = {2012}
}
Comments
30 pages, 2 figure. A preliminary version has been presented at DLT 2012, LNCS 7410, pp. 284-295. Version 2: an example has been added in Section 3