English

Parikh Image of Pushdown Automata

Formal Languages and Automata Theory 2017-06-27 v1

Abstract

We compare pushdown automata (PDAs for short) against other representations. First, we show that there is a family of PDAs over a unary alphabet with nn states and p2n+4p \geq 2n + 4 stack symbols that accepts one single long word for which every equivalent context-free grammar needs Ω(n2(p2n4))\Omega(n^2(p-2n-4)) variables. This family shows that the classical algorithm for converting a PDA to an equivalent context-free grammar is optimal even when the alphabet is unary. Moreover, we observe that language equivalence and Parikh equivalence, which ignores the ordering between symbols, coincide for this family. We conclude that, when assuming this weaker equivalence, the conversion algorithm is also optimal. Second, Parikh's theorem motivates the comparison of PDAs against finite state automata. In particular, the same family of unary PDAs gives a lower bound on the number of states of every Parikh-equivalent finite state automaton. Finally, we look into the case of unary deterministic PDAs. We show a new construction converting a unary deterministic PDA into an equivalent context-free grammar that achieves best known bounds.

Keywords

Cite

@article{arxiv.1706.08315,
  title  = {Parikh Image of Pushdown Automata},
  author = {Pierre Ganty and Elena Gutiérrez},
  journal= {arXiv preprint arXiv:1706.08315},
  year   = {2017}
}

Comments

17 pages, 2 figures

R2 v1 2026-06-22T20:29:29.371Z