[Paper Review] Separating regular languages by piecewise testable and unambiguous languages
This paper presents a polynomial-time algorithm to determine whether two regular languages can be separated by a piecewise testable language, using a saturation-based construction with a computable bound on subword size. It also provides a 3-Nexptime algorithm for separation by unambiguous languages, offering constructive separators and tight bounds on their complexity.
Separation is a classical problem asking whether, given two sets belonging to some class, it is possible to separate them by a set from a smaller class. We discuss the separation problem for regular languages. We give a Ptime algorithm to check whether two given regular languages are separable by a piecewise testable language, that is, whether a $BΣ1(
Motivation & Objective
- To solve the decision problem of whether two regular languages can be separated by a piecewise testable language.
- To provide a constructive method for generating a separator when one exists, using saturation by a suitable congruence.
- To extend the approach to unambiguous languages, establishing decidability and complexity bounds.
- To offer tight bounds on the size of separators in terms of syntactic monoids and alphabet size.
- To lay groundwork for a general framework for separation problems in formal language theory.
Proposed method
- Use of the syntactic monoid of each input language to derive a bound on subword size for piecewise testable separation.
- Define a congruence relation ≅κ based on subword patterns up to size κ, where κ is a computable function of the monoid sizes and alphabet.
- Prove that if two languages are separable by a piecewise testable language, then they are separable by a language in the class BΣ₁(<) of bounded subword size.
- Apply a pumping-like property via (B,p)-patterns to show that if no separator exists at level κ, then no separator exists at any higher level.
- For unambiguous languages, define a similar bound κ based on monoid sizes and alphabet, using boolean combinations of unambiguous products.
- Use a reduction to automata-based reasoning and nondeterministic 3-exponential time to bound the complexity of unambiguous separation.
Experimental results
Research questions
- RQ1Can we decide in polynomial time whether two regular languages are separable by a piecewise testable language?
- RQ2What is the minimal size of a piecewise testable separator, if one exists, and can it be effectively constructed?
- RQ3Is it decidable whether two regular languages can be separated by an unambiguous language, and what is the complexity of this problem?
- RQ4Can we bound the size of a separator in terms of syntactic monoids and alphabet size for both piecewise testable and unambiguous languages?
- RQ5Is there a general framework for separation problems in formal language theory that unifies approaches for different subclasses?
Key findings
- A polynomial-time algorithm exists to decide whether two regular languages are separable by a piecewise testable language.
- The algorithm is based on detecting forbidden patterns in the input NFAs; their absence guarantees separability.
- When separability holds, a separator can be constructed by saturating one language with a congruence of index bounded by a function of the monoid sizes and alphabet.
- For unambiguous languages, the problem is decidable in 3-Nexptime, with a bound κ = (2|M₁||M₂| + 1)(|A| + 1)² on the size of unambiguous products needed.
- The bound κ ensures that if no separator exists at level κ, then no separator exists at any higher level, due to a pumping-like property.
- The results extend to FO²(<)-definable languages, showing that a separator exists iff one exists with quantifier rank bounded by κ.
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.