arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.10219cs.LO
收藏

可满足性模整数算术理论的局部搜索

Local Search For Satisfiability Modulo Integer Arithmetic Theories

Shaowei Cai, Bohan Li, Xindi Zhang

AI总结:

开发了首个直接操作变量的SMT(IA)局部搜索算法LS-IA,设计针对整数算术的操作符、评分函数和两级选择启发式,实验证明其与Z3组合提升了SMT-LIB可满足基准集上的现有水平。

摘要:

可满足性模理论(SMT)是指在特定背景一阶理论下判定公式可满足性的问题。本文聚焦于可满足性模整数算术,简称SMT(IA),包括线性和非线性整数算术理论。主流的SMT方法依赖于调用基于CDCL的SAT求解器,采用惰性或急切方式。然而,局部搜索作为解决包括SAT在内的组合问题的有竞争力的方法,在SMT中尚未得到充分研究。我们通过直接对变量进行操作,开发了首个SMT(IA)的局部搜索算法,突破了传统框架。我们提出了一个考虑布尔变量和整数变量差异的局部搜索框架。此外,我们设计了针对整数算术的新颖操作符和评分函数,以及两级操作选择启发式。综合这些,我们开发了一个名为LS-IA的局部搜索SMT(IA)求解器。实验在SMT-LIB的基准上评估LS-IA。结果显示,LS-IA与最先进的SMT求解器具有竞争力且互补,在仅含整数变量的公式上表现尤为出色。与Z3的简单顺序组合改进了SMT-LIB可满足基准集上的现有水平。

英文摘要:

Satisfiability Modulo Theories (SMT) refers to the problem of deciding the satisfiability of a formula with respect to certain background first order theories. In this paper, we focus on Satisfiablity Modulo Integer Arithmetic, which is referred to as SMT(IA), including both linear and non-linear integer arithmetic theories. Dominant approaches to SMT rely on calling a CDCL-based SAT solver, either in a lazy or eager favor. Local search, a competitive approach to solving combinatorial problems including SAT, however, has not been well studied for SMT. We develop the first local search algorithm for SMT(IA) by directly operating on variables, breaking through the traditional framework. We propose a local search framework by considering the distinctions between Boolean and integer variables. Moreover, we design a novel operator and scoring functions tailored for integer arithmetic, as well as a two-level operation selection heuristic. Putting these together, we develop a local search SMT(IA) solver called LS-IA. Experiments are carried out to evaluate LS-IA on benchmarks from SMTLIB. The results show that LS-IA is competitive and complementary with state-of-the-art SMT solvers, and performs particularly well on those formulae with only integer variables. A simple sequential portfolio with Z3 improves the state-of-the-art on satisfiable benchmark sets from SMT-LIB.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑