[Paper Review] Alternating Towers and Piecewise Testable Separators
This paper investigates the complexity of computing piecewise testable separators for regular languages using alternating towers, showing that the height of maximal finite towers—critical for determining separability—scales polynomially with the number of states but exponentially with the alphabet size. The authors establish tight exponential lower bounds for binary alphabets and prove NL-completeness for the existence of infinite prefix towers, resolving key complexity questions in language separability.
Two languages are separable by a piecewise testable language if and only if there exists no infinite tower between them. An infinite tower is an infinite sequence of strings alternating between the two languages such that every string is a subsequence (scattered substring) of all the strings that follow. For regular languages represented by nondeterministic finite automata, the existence of an infinite tower is decidable in polynomial time. In this paper, we investigate the complexity of a particular method to compute a piecewise testable separator. We show that it is closely related to the height of maximal finite towers, and provide the upper and lower bounds with respect to the size of the given nondeterministic automata. Specifically, we show that the upper bound is polynomial with respect to the number of states with the cardinality of the alphabet in the exponent. Concerning the lower bound, we show that towers of exponential height with respect to the cardinality of the alphabet exist. Since these towers mostly turn out to be sequences of prefixes, we also provide a comparison with towers of prefixes.
Motivation & Objective
- To determine the upper and lower bounds on the height of maximal finite towers between two regular languages represented by nondeterministic finite automata.
- To clarify the relationship between tower height and the computational complexity of constructing piecewise testable separators.
- To investigate the existence of infinite towers of prefixes between disjoint regular languages and establish its complexity.
- To extend prior results on alternating towers and improve bounds for both NFAs and DFAs.
- To address the open problem of efficiently computing piecewise testable separators by analyzing structural properties of towers.
Proposed method
- The paper analyzes alternating towers—alternating sequences of strings from two languages where each string is a scattered subsequence of all later strings—using product automata constructions.
- It employs reachability analysis in the product automaton A × B to detect cycles and patterns that imply the existence of high or infinite towers.
- A novel pattern-based characterization is introduced, involving six states (σ, σ1, σ2, τ, τ1, τ2) forming cycles and mutual reachability to detect infinite tower conditions.
- The authors reduce the problem of infinite prefix tower existence to the standard reachability problem in directed graphs, proving NL-completeness via a constructive reduction.
- They use structural analysis of strongly connected components and cycle detection to derive upper and lower bounds on tower height.
- The method leverages known results on piecewise testable separability and connects them to the non-existence of infinite towers, establishing algorithmic implications.
Experimental results
Research questions
- RQ1What is the maximum possible height of a finite alternating tower between two regular languages represented by NFAs, given the absence of an infinite tower?
- RQ2How does the height of such towers scale with respect to the number of states and the size of the alphabet?
- RQ3Can exponential lower bounds on tower height be achieved even for minimal deterministic finite automata (DFAs)?
- RQ4What is the computational complexity of determining whether an infinite tower of prefixes exists between two disjoint regular languages?
- RQ5Is there a connection between the structure of finite towers and the efficiency of computing piecewise testable separators?
Key findings
- The upper bound on the height of maximal finite towers is polynomial in the number of states but exponential in the size of the alphabet, specifically bounded by a polynomial with the alphabet size in the exponent.
- A tight exponential lower bound of order 2^|Σ| is established for binary regular languages, up to a linear factor, showing the bound is nearly optimal.
- The existence of an infinite tower of prefixes between two disjoint regular languages is NL-complete, both for NFAs and minimal DFAs.
- The lower bound construction for exponential tower height is achieved through sequences of prefixes, indicating that prefix-based towers are a key source of complexity.
- The paper confirms that the algorithm for computing piecewise testable separators based on tower height must, in the worst case, handle at least exponentially many regular languages with respect to the alphabet size.
- The results show that the complexity of computing separators is fundamentally tied to the height of finite towers, and that this height can be exponentially large even for small alphabets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.