English

Converting Nondeterministic Automata and Context-Free Grammars into Parikh Equivalent One-Way and Two-Way Deterministic Automata

Formal Languages and Automata Theory 2012-12-12 v2

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 nn states there exist Parikh equivalent one-way and two-way deterministic automata with eO(nlnn)e^{O(\sqrt{n \ln n})} and p(n)p(n) states, respectively, where p(n)p(n) 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 2O(h2)2^{O(h^2)} and 2O(h)2^{O(h)} 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