Solving String Constraints Using SAT
Kevin Lotz, Amit Goel, Bruno Dutertre, Benjamin Kiesl-Reiter, Soonho Kong, Rupak Majumdar, Dirk Nowotka
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- The Power of Regular Constraint Propagation 引用了 An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
- The Power of Regular Constraint Propagation 引用了 Z3str4: A Multi-armed String Solver
- Static Inference of Regular Grammars for Ad Hoc Parsers 引用了 An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
- Static Inference of Regular Grammars for Ad Hoc Parsers 引用了 Z3str4: A Multi-armed String Solver
- Regex Decision Procedures in Extended RE# 引用了 An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
- Regex Decision Procedures in Extended RE# 引用了 Z3str4: A Multi-armed String Solver
- Even Faster Conflicts and Lazier Reductions for String Solvers 引用了 Z3str4: A Multi-armed String Solver
- String Solving with Stabilization and Transducers 引用了 An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
- String Solving with Stabilization and Transducers 引用了 The Power of Regular Constraint Propagation
- String Solving with Stabilization and Transducers 引用了 Even Faster Conflicts and Lazier Reductions for String Solvers
引用它的顶会 Paper5
- Regex Decision Procedures in Extended RE#Ian Erik Varatalu, Margus Veanes, Ekaterina Zhuchko, Juhan P. ErnitsCAV 2025 · 3 次引用
- The Power of Regular Constraint PropagationMatthew Hague, Artur Jez, Anthony Widjaja Lin, Oliver Markgraf 等OOPSLA 2025 · 2 次引用
- Static Inference of Regular Grammars for Ad Hoc ParsersMichael Schröder, Jürgen CitoOOPSLA 2025 · 1 次引用
- Towards Projected and Incremental Pseudo-Boolean Model CountingSuwei Yang, Kuldeep S. MeelAAAI 2025
- String Solving with Stabilization and TransducersDavid Chocholatý, Vojtech Havlena, Lukás Holík, Juraj Síc 等CAV 2026
它引用的 Paper3
- An SMT Solver for Regular Expressions and Linear Arithmetic over String LengthMurphy Berzish, Mitja Kulczynski, Federico Mora, Florin Manea 等CAV 2021 · 37 次引用
- Z3str4: A Multi-armed String SolverFederico Mora, Murphy Berzish, Mitja Kulczynski, Dirk Nowotka 等FM 2021 · 30 次引用
- Even Faster Conflicts and Lazier Reductions for String SolversAndres Nötzli, Andrew Reynolds, Haniel Barbosa, Clark W. Barrett 等CAV 2022 · 13 次引用
相关 Paper
- From Clauses to KlausesJoseph E. Reeves, Marijn J. H. Heule, Randal E. BryantCAV 2024 · 2 次引用
- Word Equations in Synergy with Regular ConstraintsFrantisek Blahoudek, Yu-Fang Chen, David Chocholatý, Vojtech Havlena 等FM 2023 · 16 次引用
- Solving String Constraints with Lengths by StabilizationYu-Fang Chen, David Chocholatý, Vojtech Havlena, Lukás Holík 等OOPSLA 2023 · 18 次引用
- Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
- Solving String Split Constraints via Structural RelaxationRui Han, Ziheng Wang, Baoquan Cui, Yuhang Dong 等ISSTA 2026
