Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving

Abstract

Satisfiability Modulo Theories (SMT) solvers are crucial in many applications, yet their performance is often a bottleneck. This paper introduces SIRISMT, a novel framework that employs machine learning techniques for the automatic synthesis of efficient SMT-solving strategies. Specifically, SIRISMT targets at Z3 and consists of three key stages. First, given a set of training SMT formulas, SIRISMT simulates the solving process by leveraging reinforcement learning to guide its exploration within the strategy space. Next, SIRISMT refines the collected strategies by pruning redundant tactics and generating augmented strategies based on the subsequence structure of the learned strategies. These refined strategies are then fed back into the reinforcement learning model. Finally, the refined and optimized strategies are integrated into one strategy, which can be directly plugged into modern SMT solvers. Extensive evaluations show the superior performance of SIRISMT over the baseline methods. For example, compared to the default Z3, it solves 26.8% more formulas and achieves up to an 86.3% improvement in the Par-2 score on benchmark datasets. Additionally, we show that the synthesized strategy can improve the code coverage by up to 11.8% in a downstream symbolic execution benchmark.

Cite

Text

Zhou et al. "Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/887

Markdown

[Zhou et al. "Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/zhou2025ijcai-simulate/) doi:10.24963/IJCAI.2025/887

BibTeX

@inproceedings{zhou2025ijcai-simulate,
  title     = {{Simulate, Refine and Integrate: Strategy Synthesis for Efficient SMT Solving}},
  author    = {Zhou, Bingzhe and Wang, Hannan and Yao, Yuan and Chen, Taolue and Xu, Feng and Ma, Xiaoxing},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {7976-7984},
  doi       = {10.24963/IJCAI.2025/887},
  url       = {https://mlanthology.org/ijcai/2025/zhou2025ijcai-simulate/}
}