改进用于非线性实数算术的 NLSAT
Improving NLSAT for Nonlinear Real Arithmetic
AI总结:
针对 NLSAT 决策时忽略子句对算术变量影响的问题,本文引入子句级信息,提出可行集前瞻与算术传播分支启发式,并实现 clauseSMT,在 QF_NRA 可满足实例上优于 CVC5、Z3 和 YICES2。
摘要:
模型构造可满足性演算(Model-Constructing Satisfiability Calculus,MCSAT)框架已被应用于各种算术理论上的 SMT 问题。NLSAT 是一种使用柱形代数分解(cylindrical algebraic decomposition,CAD)进行解释的实现,在处理非线性实数算术(nonlinear real arithmetic,NRA)约束方面尤其具有竞争力。然而,当前的冲突驱动子句学习(Conflict-Driven Clause Learning,CDCL)风格算法在做出决策时只考虑文字信息,因此忽略了子句对算术变量的影响。这一局限可能导致 NLSAT 因次优的文字选择而遭遇不必要的冲突。为解决该问题,我们分析了由文字决策引发的冲突,并纳入直接影响算术变量的子句级信息。我们提出了两项主要算法改进:基于子句级可行集的前瞻机制,以及基于算术传播的分支启发式方法。我们基于动态变量排序框架实现了名为 clauseSMT 的求解器。实验表明,与现有 SMT 求解器(CVC5、Z3、YICES2)相比,clauseSMT 在非线性实数算术问题上具有竞争力,并且在 SMT-LIB 中 SMT(QF_NRA) 的可满足实例上优于所有这些求解器。我们还评估了所提方法的有效性。
英文摘要:
The Model-Constructing Satisfiability Calculus (MCSAT) framework has been applied to SMT problems over various arithmetic theories. NLSAT, an implementation using cylindrical algebraic decomposition (CAD) for explanation, is especially competitive for nonlinear real arithmetic (NRA) constraints. However, current Conflict-Driven Clause Learning (CDCL)-style algorithms only consider literal information when making decisions, and thus ignore the influence of clauses on arithmetic variables. This limitation may lead NLSAT to encounter unnecessary conflicts due to suboptimal literal choices. To address this issue, we analyze conflicts caused by literal decisions and incorporate clause-level information that directly affects arithmetic variables. We propose two main algorithmic improvements: a clause-level feasible-set-based look-ahead mechanism and an arithmetic propagation-based branching heuristic. We implement our solver, named clauseSMT, based on a dynamic variable ordering framework. Experiments indicate that clauseSMT is competitive on nonlinear real arithmetic problems compared with existing SMT solvers (CVC5, Z3, YICES2), and it outperforms all of them on satisfiable instances of SMT(QF_NRA) in SMT-LIB. We also evaluate the effectiveness of our proposed methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。