$k$-Universality of Regular Languages
Abstract
A subsequence of a word is a word such that , for some set of indices . A word is -subsequence universal over an alphabet if every word in appears in as a subsequence. In this paper, we study the intersection between the set of -subsequence universal words over some alphabet and regular languages over . We call a regular language \emph{--subsequence universal} if there exists a -subsequence universal word in , and \emph{--subsequence universal} if every word of is -subsequence universal. We give algorithms solving the problems of deciding if a given regular language, represented by a finite automaton recognising it, is \emph{--subsequence universal} and, respectively, if it is \emph{--subsequence universal}, for a given . The algorithms are FPT w.r.t.~the size of the input alphabet, and their run-time does not depend on ; they run in polynomial time in the number of states of the input automaton when the size of the input alphabet is . Moreover, we show that the problem of deciding if a given regular language is \emph{--subsequence universal} is NP-complete, when the language is over a large alphabet. Further, we provide algorithms for counting the number of -subsequence universal words (paths) accepted by a given deterministic (respectively, nondeterministic) finite automaton, and ranking an input word (path) within the set of -subsequence universal words accepted by a given finite automaton.
Cite
@article{arxiv.2311.10658,
title = {$k$-Universality of Regular Languages},
author = {Duncan Adamson and Pamela Fleischmann and Annika Huch and Tore Koß and Florin Manea and Dirk Nowotka},
journal= {arXiv preprint arXiv:2311.10658},
year = {2023}
}