Lune

CAV2023Top-tier venue

Solving String Constraints Using SAT

Kevin Lotz, Amit Goel, Bruno Dutertre, Benjamin Kiesl-Reiter, Soonho Kong, Rupak Majumdar, Dirk Nowotka

Abstract

Abstract String solvers are automated-reasoning tools that can solve combinatorial problems over formal languages. They typically operate on restricted first-order logic formulas that include operations such as string concatenation, substring relationship, and regular expression matching. String solving thus amounts to deciding the satisfiability of such formulas. While there exists a variety of different string solvers, many string problems cannot be solved efficiently by any of them. We present a new approach to string solving that encodes input problems into propositional logic and leverages incremental SAT solving. We evaluate our approach on a broad set of benchmarks. On the logical fragment that our tool supports, it is competitive with state-of-the-art solvers. Our experiments also demonstrate that an eager SAT-based approach complements existing approaches to string solving in this specific fragment.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Power of Regular Constraint Propagation cites An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
  • The Power of Regular Constraint Propagation cites Z3str4: A Multi-armed String Solver
  • Static Inference of Regular Grammars for Ad Hoc Parsers cites An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
  • Static Inference of Regular Grammars for Ad Hoc Parsers cites Z3str4: A Multi-armed String Solver
  • Regex Decision Procedures in Extended RE# cites An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
  • Regex Decision Procedures in Extended RE# cites Z3str4: A Multi-armed String Solver
  • Even Faster Conflicts and Lazier Reductions for String Solvers cites Z3str4: A Multi-armed String Solver
  • String Solving with Stabilization and Transducers cites An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
  • String Solving with Stabilization and Transducers cites The Power of Regular Constraint Propagation
  • String Solving with Stabilization and Transducers cites Even Faster Conflicts and Lazier Reductions for String Solvers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Regex Decision Procedures in Extended RE#Ian Erik Varatalu, Margus Veanes, Ekaterina Zhuchko, Juhan P. ErnitsCAV 2025 · 3 citations
  2. The Power of Regular Constraint PropagationMatthew Hague, Artur Jez, Anthony Widjaja Lin, Oliver Markgraf et al.OOPSLA 2025 · 2 citations
  3. Static Inference of Regular Grammars for Ad Hoc ParsersMichael Schröder, Jürgen CitoOOPSLA 2025 · 1 citation
  4. Towards Projected and Incremental Pseudo-Boolean Model CountingSuwei Yang, Kuldeep S. MeelAAAI 2025
  5. String Solving with Stabilization and TransducersDavid Chocholatý, Vojtech Havlena, Lukás Holík, Juraj Síc et al.CAV 2026

Builds on3

  1. An SMT Solver for Regular Expressions and Linear Arithmetic over String LengthMurphy Berzish, Mitja Kulczynski, Federico Mora, Florin Manea et al.CAV 2021 · 37 citations
  2. Z3str4: A Multi-armed String SolverFederico Mora, Murphy Berzish, Mitja Kulczynski, Dirk Nowotka et al.FM 2021 · 30 citations
  3. Even Faster Conflicts and Lazier Reductions for String SolversAndres Nötzli, Andrew Reynolds, Haniel Barbosa, Clark W. Barrett et al.CAV 2022 · 13 citations

Related papers

  1. From Clauses to KlausesJoseph E. Reeves, Marijn J. H. Heule, Randal E. BryantCAV 2024 · 2 citations
  2. Word Equations in Synergy with Regular ConstraintsFrantisek Blahoudek, Yu-Fang Chen, David Chocholatý, Vojtech Havlena et al.FM 2023 · 16 citations
  3. Solving String Constraints with Lengths by StabilizationYu-Fang Chen, David Chocholatý, Vojtech Havlena, Lukás Holík et al.OOPSLA 2023 · 18 citations
  4. Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
  5. Solving String Split Constraints via Structural RelaxationRui Han, Ziheng Wang, Baoquan Cui, Yuhang Dong et al.ISSTA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines