The Power of Regular Constraint Propagation (Technical Report)

📅 2025-08-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
String constraint solving faces a fundamental trade-off between expressiveness, efficiency, and strategy complexity. Method: This paper proposes a generic solving framework based on regular-language preimage and postimage propagation: it iteratively computes the preimages/postimages of regular constraints under string operations (e.g., concatenation, replacement) to progressively narrow variable domains and determine formula satisfiability. Contribution/Results: We establish, for the first time, theoretical completeness and correctness of this approach for the most expressive decidable fragment of string constraints known to date. Technically, we implement symbolic regular propagation and integrate it into the open-source solver OSTRICH. Experimental evaluation on random Post Correspondence Problem (PCP) and bioinformatics benchmarks demonstrates substantial performance gains over state-of-the-art solvers, validating both theoretical soundness and practical applicability.

Technology Category

Application Category

📝 Abstract
The past decade has witnessed substantial developments in string solving. Motivated by the complexity of string solving strategies adopted in existing string solvers, we investigate a simple and generic method for solving string constraints: regular constraint propagation. The method repeatedly computes pre- or post-images of regular languages under the string functions present in a string formula, inferring more and more knowledge about the possible values of string variables, until either a conflict is found or satisfiability of the string formula can be concluded. Such a propagation strategy is applicable to string constraints with multiple operations like concatenation, replace, and almost all flavors of string transductions. We demonstrate the generality and effectiveness of this method theoretically and experimentally. On the theoretical side, we show that RCP is sound and complete for a large fragment of string constraints, subsuming both straight-line and chain-free constraints, two of the most expressive decidable fragments for which some modern string solvers provide formal completeness guarantees. On the practical side, we implement regular constraint propagation within the open-source string solver OSTRICH. Our experimental evaluation shows that this addition significantly improves OSTRICH's performance and makes it competitive with existing solvers. In fact, it substantially outperforms other solvers on random PCP and bioinformatics benchmarks. The results also suggest that incorporating regular constraint propagation alongside other techniques could lead to substantial performance gains for existing solvers.
Problem

Research questions and friction points this paper is trying to address.

Investigates regular constraint propagation for solving string constraints
Applies propagation to string formulas with multiple operations
Demonstrates theoretical soundness and practical effectiveness in string solving
Innovation

Methods, ideas, or system contributions that make the work stand out.

Regular constraint propagation for string solving
Computes pre- or post-images of regular languages
Applicable to concatenation, replace and transductions operations
🔎 Similar Papers
No similar papers found.
Matthew Hague
Matthew Hague
Royal Holloway, University of London
AutomataLogicVerification
Artur Jeż
Artur Jeż
Uniwersytet Wrocławski
stringologyword equations
A
Anthony W. Lin
University of Kaiserslautern-Landau and Max-Planck Institute
O
Oliver Markgraf
University of Kaiserslautern-Landau
P
Philipp Rümmer
University of Regensburg and Uppsala University