A Characterization for Decidable Separability by Piecewise Testable Languages
Abstract
The separability problem for word languages of a class by languages of a class asks, for two given languages and from , whether there exists a language from that includes and excludes , that is, and . In this work, we assume some mild closure properties for 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 and , non-separability by PTL is equivalent to the existence of common patterns in and .
Cite
@article{arxiv.1410.1042,
title = {A Characterization for Decidable Separability by Piecewise Testable Languages},
author = {Wojciech Czerwiński and Wim Martens and Lorijn van Rooijen and Marc Zeitoun and Georg Zetzsche},
journal= {arXiv preprint arXiv:1410.1042},
year = {2023}
}