Speeding up SMT Solving via Compiler Optimization
摘要
SMT solvers are fundamental tools for reasoning about constraints in practical problems like symbolic execution and program synthesis. Faster SMT solving can improve the performance and precision of those analysis tools. Existing approaches typically speed up SMT solving by developing new heuristics inside particular solvers, which requires nontrivial engineering efforts. This paper presents a new perspective on speeding up SMT solving. We propose SMT-LLVM Optimizing Translation (SLOT), a solver-agnostic pre-processing approach that utilizes existing compiler optimizations to simplify SMT problem instances. We implement SLOT for the two most application-critical SMT theories, bitvectors, and floating-point numbers. Our extensive evaluation based on the standard SMT-LIB benchmarks shows that SLOT can substantially increase the number of solvable SMT formulas given fixed timeouts and achieve mean speedups of nearly 3× for large benchmarks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- First-Class Verification Dialects for MLIR 引用了 Alive2: bounded translation validation for LLVM
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded Theories 引用了 Alive2: bounded translation validation for LLVM
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded Theories 引用了 An SMT Solver for Regular Expressions and Linear Arithmetic over String Length
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded Theories 引用了 Syntia: Synthesizing the Semantics of Obfuscated Code
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded Theories 引用了 Validating SMT solvers via semantic fusion
- Spatial and Temporal Decomposition for Faster Translation Validation 引用了 Alive2: bounded translation validation for LLVM
引用它的顶会 Paper3
- First-Class Verification Dialects for MLIRMathieu Fehr, Yuyou Fan, Hugo Pompougnac, John Regehr 等PLDI 2025 · 5 次引用
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded TheoriesBenjamin Mikek, Qirun ZhangPLDI 2024 · 1 次引用
- Spatial and Temporal Decomposition for Faster Translation ValidationBenjamin Mikek, Chathur Bommineni, Qirun Zhang, Thomas RepsOOPSLA 2026
它引用的 Paper11
- Alive2: bounded translation validation for LLVMNuno P. Lopes, Juneyoung Lee, Chung-Kil Hur, Zhengyang Liu 等PLDI 2021 · 109 次引用
- Syntia: Synthesizing the Semantics of Obfuscated CodeTim Blazytko, Moritz Contag, Cornelius Aschermann, Thorsten HolzUSENIX Security 2017 · 99 次引用
- Validating SMT solvers via semantic fusionDominik Winterer, Chengyu Zhang, Zhendong SuPLDI 2020 · 80 次引用
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 次引用
- An SMT Solver for Regular Expressions and Linear Arithmetic over String LengthMurphy Berzish, Mitja Kulczynski, Federico Mora, Florin Manea 等CAV 2021 · 37 次引用
相关 Paper
- Fast bit-vector satisfiabilityPeisen Yao, Qingkai Shi, Heqing Huang, Charles ZhangISSTA 2020 · 13 次引用
- Dataflow-based pruning for speeding up superoptimizationManasij Mukherjee, Pranav Kant, Zhengyang Liu, John RegehrOOPSLA 2020 · 21 次引用
- ASE: A Value Set Decision Procedure for Symbolic ExecutionAlireza S. Abyaneh, Christoph M. KirschASE 2021 · 2 次引用
- QSF: Multi-objective Optimization Based Efficient Solving for Floating-Point ConstraintsXu Yang, Zhenbang Chen, Wei Dong, Ji WangFSE 2025
- Synthesize solving strategy for symbolic executionZhenbang Chen, Zehua Chen, Ziqi Shuai, Guofeng Zhang 等ISSTA 2021 · 13 次引用
