English

Existential length universality

Formal Languages and Automata Theory 2020-03-11 v5

Abstract

We study the following natural variation on the classical universality problem: given a language L(M)L(M) represented by MM (e.g., a DFA/RE/NFA/PDA), does there exist an integer 0\ell \geq 0 such that ΣL(M)\Sigma^\ell \subseteq L(M)? In the case of an NFA, we show that this problem is NEXPTIME-complete, and the smallest such \ell can be doubly exponential in the number of states. This particular case was formulated as an open problem in 2009, and our solution uses a novel and involved construction. In the case of a PDA, we show that it is recursively unsolvable, while the smallest such \ell is not bounded by any computable function of the number of states. In the case of a DFA, we show that the problem is NP-complete, and enlogn(1+o(1))e^{\sqrt{n \log n} (1+o(1))} is an asymptotically tight upper bound for the smallest such \ell, where nn is the number of states. Finally, we prove that in all these cases, the problem becomes computationally easier when the length \ell is also given in binary in the input: it is polynomially solvable for a DFA, PSPACE-complete for an NFA, and co-NEXPTIME-complete for a PDA.

Keywords

Cite

@article{arxiv.1702.03961,
  title  = {Existential length universality},
  author = {Paweł Gawrychowski and Martin Lange and Narad Rampersad and Jeffrey Shallit and Marek Szykuła},
  journal= {arXiv preprint arXiv:1702.03961},
  year   = {2020}
}

Comments

This is the full version of the conference paper https://doi.org/10.4230/LIPIcs.STACS.2020.16

R2 v1 2026-06-22T18:17:21.669Z