The Frobenius and Factor Universality Problems of the Kleene Star of a Finite Set of Words
- 22 March 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 68 (3), 1-22
- https://doi.org/10.1145/3447237
Abstract
We solve open problems concerning the Kleene star \(\) of a finite set \(\) of words over an alphabet \(\). The Frobenius monoid problem is the question for a given finite set of words \(\), whether the language \(\) is cofinite. We show that it is PSPACE-complete. We also exhibit an infinite family of sets \(\) such that the length of the longest words not in \(\) (when \(\) is cofinite) is exponential in the length of the longest words in \(\) and subexponential in the sum of the lengths of words in \(\). The factor universality problem is the question for a given finite set of words \(\), whether every word over \(\) is a factor (substring) of some word from \(\). We show that it is also PSPACE-complete. Besides that, we exhibit an infinite family of sets \(\) such that the length of the shortest words not being a factor of any word in \(\) is exponential in the length of the longest words in \(\) and subexponential in the sum of the lengths of words in \(\). This essentially settles in the negative the longstanding Restivo’s conjecture (1981) and its weak variations. All our solutions are based on one shared construction, and as an auxiliary general tool, we introduce the concept of set rewriting systems. Finally, we complement the results with upper bounds.
Keywords
Funding Information
- National Science Centre, Poland (2017/25/B/ST6/01920)
This publication has 16 references indexed in Scilit:
- On incomplete and synchronizing finite setsTheoretical Computer Science, 2017
- DE BRUIJN SEQUENCES REVISITEDInternational Journal of Foundations of Computer Science, 2012
- Parsing with a finite dictionaryTheoretical Computer Science, 2005
- On the presence of periodic configurations in Turing machines and in counter machinesTheoretical Computer Science, 2002
- The Frobenius Problem, Rational Polytopes, and Fourier–Dedekind SumsJournal of Number Theory, 2002
- Complexity of the Frobenius problemCombinatorica, 1996
- The state complexities of some basic operations on regular languagesTheoretical Computer Science, 1994
- Lattice translates of a polytope and the Frobenius problemCombinatorica, 1992
- Improved upper bounds on shellsortJournal of Computer and System Sciences, 1985
- On a Problem of PartitionsAmerican Journal of Mathematics, 1942