Skip to Main content Skip to Navigation
Journal articles

On the Height of Towers of Subsequences and Prefixes

Stěpán Holub 1 Tomáš Masopust 2 Michaël Thomazo 3
3 VALDA - Value from Data
DI-ENS - Département d'informatique de l'École normale supérieure, Inria de Paris
Abstract : A tower is a sequence of words alternating between two languages in such a way that every word is a subsequence of the following word. The height of the tower is the number of words in the sequence. If there is no infinite tower (a tower of infinite height), then the height of all towers between the languages is bounded. We study upper and lower bounds on the height of maximal finite towers between two regular languages with respect to the size of the NFA (respectively the DFA) representation. Our motivation to study the bounds on maximal finite towers comes from a method to compute a piecewise testable separator of two regular languages. We show that the upper bound is polynomial in the number of states and exponential in the size of the alphabet, and that it is asymptotically tight if the size of the alphabet is fixed. If the alphabet may grow, then, using an alphabet of size approximately the number of states of the automata, the lower bound on the height of towers is exponential with respect to that number. In this case, there is a gap between the lower and upper bound, and the asymptotically optimal bound remains an open problem. Since, in many cases, the constructed towers are sequences of prefixes, we also study towers of prefixes.
Document type :
Journal articles
Complete list of metadatas

Cited literature [14 references]  Display  Hide  Download
Contributor : Michaël Thomazo <>
Submitted on : Friday, August 23, 2019 - 8:33:23 AM
Last modification on : Wednesday, October 21, 2020 - 3:16:04 PM
Long-term archiving on: : Friday, January 10, 2020 - 5:08:45 AM


Files produced by the author(s)




Stěpán Holub, Tomáš Masopust, Michaël Thomazo. On the Height of Towers of Subsequences and Prefixes. Information and Computation, Elsevier, 2019, ⟨10.1016/j.ic.2019.01.004⟩. ⟨hal-02269576⟩



Record views


Files downloads