arXiv · 2506.22061
Negated String Containment is Decidable (Technical Report)
Abstract
We provide a positive answer to a long-standing open question of the decidability of the not-contains string predicate. Not-contains is practically relevant, for instance in symbolic execution of string manipulating programs. Particularly, we show that the predicate $\neg\mathit{Contains}(x_1 \ldots x_n, y_1 \ldots y_m)$, where $x_1 \ldots x_n$ and $y_1 \ldots y_m$ are sequences of string variables constrained by regular languages, is decidable. Decidability of a not-contains predicate combined with chain-free word equations and regular membership constraints follows.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Vojtěch Havlena, Michal Hečko, Lukáš Holík, Ondřej Lengál. 2025-06-27. Negated String Containment is Decidable (Technical Report). https://arxiv.org/abs/2506.22061
Cite the original work for its findings. Save a collection to share your selection of sources.