Lune

FM2023Top-tier venue

Word Equations in Synergy with Regular Constraints

Frantisek Blahoudek, Yu-Fang Chen, David Chocholatý, Vojtech Havlena, Lukás Holík, Ondrej Lengál, Juraj Síc

Abstract

We argue that in string solving, word equations and regular constraints are better mixed together than approached separately as in most current string solvers. We propose a fast algorithm, complete for the fragment of chain-free constraints, in which word equations and regular constraints are tightly integrated and exchange information, efficiently pruning the cases generated by each other and limiting possible combinatorial explosion. The algorithm is based on a novel language-based characterisation of satisfiability of word equations with regular constraints. We experimentally show that our prototype implementation is competitive with the best string solvers and even superior in that it is the fastest on difficult examples and has the least number of timeouts.

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.

7 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

  • An SMT Solver for Regular Expressions and Linear Arithmetic over String Length cites Efficient handling of string-number conversion
  • 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 Solving string constraints with Regex-dependent functions through transducers with priorities and variables
  • 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 Solving string constraints with Regex-dependent functions through transducers with priorities and variables
  • Regex Decision Procedures in Extended RE# cites Black Ostrich: Web Application Scanning with String Solvers
  • Regex Decision Procedures in Extended RE# cites Parikh's Theorem Made Symbolic
  • Regex Decision Procedures in Extended RE# cites Z3str4: A Multi-armed String Solver
  • Black Ostrich: Web Application Scanning with String Solvers cites Z3str4: A Multi-armed String Solver
  • Even Faster Conflicts and Lazier Reductions for String Solvers cites Z3str4: A Multi-armed String Solver
  • Parikh's Theorem Made Symbolic cites Solving string constraints with Regex-dependent functions through transducers with priorities and variables
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Black Ostrich: Web Application Scanning with String SolversBenjamin Eriksson, Amanda Stjerna, Riccardo De Masellis, Philipp Rümmer et al.CCS 2023 · 9 citations
  2. Regex Decision Procedures in Extended RE#Ian Erik Varatalu, Margus Veanes, Ekaterina Zhuchko, Juhan P. ErnitsCAV 2025 · 3 citations
  3. Parikh's Theorem Made SymbolicMatthew Hague, Artur Jez, Anthony W. LinPOPL 2024 · 3 citations
  4. The Power of Regular Constraint PropagationMatthew Hague, Artur Jez, Anthony Widjaja Lin, Oliver Markgraf et al.OOPSLA 2025 · 2 citations
  5. Static Inference of Regular Grammars for Ad Hoc ParsersMichael Schröder, Jürgen CitoOOPSLA 2025 · 1 citation

Builds on5

  1. Solving string constraints with Regex-dependent functions through transducers with priorities and variablesTaolue Chen, Alejandro Flores-Lamas, Matthew Hague, Zhilei Han et al.POPL 2022 · 39 citations
  2. 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
  3. Z3str4: A Multi-armed String SolverFederico Mora, Murphy Berzish, Mitja Kulczynski, Dirk Nowotka et al.FM 2021 · 30 citations
  4. Efficient handling of string-number conversionParosh Aziz Abdulla, Mohamed Faouzi Atig, Yu-Fang Chen, Bui Phi Diep et al.PLDI 2020 · 25 citations
  5. 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. Solving String Constraints with Lengths by StabilizationYu-Fang Chen, David Chocholatý, Vojtech Havlena, Lukás Holík et al.OOPSLA 2023 · 18 citations
  2. Solving String Constraints Using SATKevin Lotz, Amit Goel, Bruno Dutertre, Benjamin Kiesl-Reiter et al.CAV 2023 · 11 citations
  3. On the Expressive Power of String ConstraintsJoel D. Day, Vijay Ganesh, Nathan Grewal, Florin ManeaPOPL 2023 · 11 citations
  4. A Uniform Framework for Handling Position Constraints in String SolvingYu-Fang Chen, Vojtech Havlena, Michal Hecko, Lukás Holík et al.PLDI 2025
  5. Deep Integration of Circuit Simulator and SAT SolverHe-Teng Zhang, Jie-Hong R. Jiang, Luca G. Amarù, Alan Mishchenko et al.DAC 2021 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines