[Paper Review] A Characterization for Decidable Separability by Piecewise Testable Languages
This paper provides a characterization for when separability by piecewise testable languages (PTL) is decidable for a given language class 𝒞, showing that it reduces to the decidability of an unboundedness problem and the effective regularity of downward closures under the scattered substring ordering. The key result is a general condition ensuring decidable PTL separability for classes like context-free languages and vector addition systems, despite undecidability of PTL membership within these classes.
The separability problem for word languages of a class $\mathcal{C}$ by languages of a class $\mathcal{S}$ asks, for two given languages $I$ and $E$ from $\mathcal{C}$, whether there exists a language $S$ from $\mathcal{S}$ that includes $I$ and excludes $E$, that is, $I \subseteq S$ and $S\cap E = \emptyset$. In this work, we assume some mild closure properties for $\mathcal{C}$ and study for which such classes separability by a piecewise testable language (PTL) is decidable. We characterize these classes in terms of decidability of (two variants of) an unboundedness problem. From this, we deduce that separability by PTL is decidable for a number of language classes, such as the context-free languages and languages of labeled vector addition systems. Furthermore, it follows that separability by PTL is decidable if and only if one can compute for any language of the class its downward closure wrt. the scattered substring ordering (i.e., if the set of scattered substrings of any language of the class is effectively regular). The obtained decidability results contrast some undecidability results. In fact, for all (non-regular) language classes that we present as examples with decidable separability, it is undecidable whether a given language is a PTL itself. Our characterization involves a result of independent interest, which states that for any kind of languages $I$ and $E$, non-separability by PTL is equivalent to the existence of common patterns in $I$ and $E$.
Motivation & Objective
- To determine for which language classes 𝒞 the separability problem by piecewise testable languages (PTL) is decidable.
- To identify sufficient and necessary conditions on 𝒞 for PTL separability to be decidable, under mild closure assumptions.
- To clarify the relationship between PTL separability and the effective regularity of downward closures under the scattered substring ordering.
- To contrast decidability of PTL separability with the undecidability of PTL membership in many natural language classes.
- To provide a general framework applicable to non-regular classes such as context-free languages and languages of vector addition systems.
Proposed method
- Reduces the PTL separability problem to the decidability of an unboundedness problem related to the structure of languages in 𝒞.
- Introduces and analyzes two variants of an unboundedness problem that characterize the decidability of PTL separability.
- Establishes that non-separability by PTL is equivalent to the existence of common patterns in the languages I and E.
- Uses closure properties of 𝒞 (e.g., closure under complement, intersection, and morphism) to ensure effective constructions of relevant language intersections.
- Leverages the fact that PTLs are finite Boolean combinations of languages of the form A*a1A*...A*anA*, focusing on order and content of symbols.
- Applies results from formal language theory, including the notion of downward closure under the scattered substring ordering, to derive effective regularity conditions.
Experimental results
Research questions
- RQ1For which language classes 𝒞 is the problem of separating two languages I and E by a piecewise testable language decidable?
- RQ2What structural properties of 𝒞 ensure that the downward closure of any language in 𝒞 under the scattered substring ordering is effectively regular?
- RQ3How does the existence of common patterns in two languages I and E relate to their non-separability by PTL?
- RQ4Why is PTL separability decidable for context-free languages despite the undecidability of PTL membership in this class?
- RQ5Can the characterization of PTL separability be extended to other separator classes, such as regular languages or subclasses of PTL?
Key findings
- Decidability of PTL separability for a class 𝒞 is equivalent to the decidability of a specific unboundedness problem related to the structure of languages in 𝒞.
- For any language class 𝒞 closed under complement and morphism, PTL separability is decidable if and only if the downward closure of every language in 𝒞 under the scattered substring ordering is effectively regular.
- Separability by PTL is decidable for context-free languages and languages of labeled vector addition systems, despite the undecidability of determining whether a given context-free language is itself a PTL.
- Non-separability by PTL is equivalent to the existence of common patterns in the two languages I and E, providing a structural characterization of inseparability.
- The paper establishes a general framework that can be extended to other separator classes, suggesting potential characterizations for regular separability based on intersection emptiness problems.
- The results contrast with the general undecidability of emptiness and membership problems, showing that separability can be decidable even when membership in the separator class is not.
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.