# The Power of Regular Constraint Propagation (Technical Report)

**Authors:** Matthew Hague, Artur Je\.z, Anthony W. Lin, Oliver Markgraf, Philipp R\"ummer

arXiv: 2508.19888 · 2025-08-28

## TL;DR

This paper introduces a generic regular constraint propagation method for string solving, demonstrating its theoretical soundness and completeness, and showing significant practical performance improvements in a solver.

## Contribution

It proposes a simple, generic string solving technique based on regular constraint propagation, with theoretical guarantees and practical implementation showing improved solver performance.

## Key findings

- RCP is sound and complete for a large fragment of string constraints.
- Implementation in OSTRICH improves performance and competitiveness.
- Outperforms other solvers on random PCP and bioinformatics benchmarks.

## 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2508.19888/full.md

## Figures

23 figures with captions in the complete paper: https://tomesphere.com/paper/2508.19888/full.md

## References

76 references — full list in the complete paper: https://tomesphere.com/paper/2508.19888/full.md

---
Source: https://tomesphere.com/paper/2508.19888