English

$k$-Universality of Regular Languages Revisited

Formal Languages and Automata Theory 2025-03-25 v1 Data Structures and Algorithms

Abstract

A subsequence of a word ww is a word uu such that u=w[i1]w[i2]w[ik]u = w[i_1] w[i_2] \cdots w[i_k], for some set of indices 1i1<i2<<ikw1 \leq i_1 < i_2 < \dots < i_k \leq \vert w \vert. A word ww is \emph{kk-subsequence universal} over an alphabet Σ\Sigma if every word over Σ\Sigma up to length kk appears in ww as a subsequence. In this paper, we revisit the problem kk-ESU of deciding, for a given integer kk, whether a regular language, given either as nondeterministic finite automaton or as a regular expression, contains a kk-universal word. [Adamson et al., ISAAC 2023] showed that this problem is NP-hard, even in the case when k=1k=1, and an FPT algorithm w.r.t. the size of the input alphabet was given. In this paper, we improve the aforementioned algorithmic result and complete the analysis of this problem w.r.t. other parameters. That is, we propose a more efficient FPT algorithm for kk-ESU, with respect to the size of the input alphabet, and propose new FPT algorithms for this problem w.r.t.~the number of states of the input automaton and the length of the input regular expression. We also discuss corresponding lower bounds. Our results significantly improve the understanding of this problem.

Keywords

Cite

@article{arxiv.2503.18611,
  title  = {$k$-Universality of Regular Languages Revisited},
  author = {Duncan Adamson and Pamela Fleischmann and Annika Huch and Tore Koß and Florin Manea},
  journal= {arXiv preprint arXiv:2503.18611},
  year   = {2025}
}