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

针对SAT和SMT的不相交投影枚举

Disjoint Projected Enumeration for SAT and SMT without Blocking Clauses

University of Trento(特伦托大学);University of Freiburg(弗赖堡大学)

Giuseppe Spallitta, Roberto Sebastiani, Armin Biere

AI总结:

本文提出两种新型求解器,结合CDCL与时间顺序回溯,实现高效且不相交的枚举。通过改进的implicant shrinking算法减少部分赋值数量,提升搜索效率,并在投影枚举和SMT推理中表现优异。

摘要:

All-Solution Satisfiability (AllSAT) 及其扩展 All-Solution Satisfiability Modulo Theories (AllSMT) 近年来在形式验证和人工智能应用中变得尤为重要。这些问题是枚举公式所有满足赋值的问题,对测试生成、模型检查和概率推断有帮助。然而,传统 AllSAT 算法因搜索空间指数增长和阻塞子句导致的内存爆炸和长期单位传播性能下降而面临重大计算挑战。本文提出两种新型求解器:tabularAllSAT,一种投影 AllSAT 求解器,和 tabularAllSMT,一种投影 AllSMT 求解器。两者结合冲突驱动子句学习(CDCL)与时间顺序回溯,以提高效率并确保不相交枚举。为检索紧凑的部分赋值,我们提出了一种新的激进 implicant 缩小算法,与时间顺序回溯兼容,以最小化部分赋值数量,从而降低整体搜索复杂性。此外,我们扩展了求解器框架以有效高效地处理投影枚举和 SMT 公式,适应基础框架以整合理论推理和区分重要与非重要变量。广泛的实验评估证明了我们的方法相比最先进的求解器在投影和 SMT 推理场景中的优越性。

英文摘要:

All-Solution Satisfiability (AllSAT) and its extension, All-Solution Satisfiability Modulo Theories (AllSMT), have become more relevant in recent years, mainly in formal verification and artificial intelligence applications. The goal of these problems is the enumeration of all satisfying assignments of a formula (for SAT and SMT problems, respectively), making them useful for test generation, model checking, and probabilistic inference. Nevertheless, traditional AllSAT algorithms face significant computational challenges due to the exponential growth of the search space and inefficiencies caused by blocking clauses, which cause memory blowups and degrade unit propagation performances in the long term. This paper presents two novel solvers: tabularAllSAT, a projected AllSAT solver, and tabularAllSMT, a projected AllSMT solver. Both solvers combine Conflict-Driven Clause Learning (CDCL) with chronological backtracking to improve efficiency while ensuring disjoint enumeration. To retrieve compact partial assignments we propose a novel aggressive implicant shrinking algorithm, compatible with chronological backtracking, to minimize the number of partial assignments, reducing overall search complexity. Furthermore, we extend the solver framework to handle projected enumeration and SMT formulas effectively and efficiently, adapting the baseline framework to integrate theory reasoning and the distinction between important and non-important variables. An extensive experimental evaluation demonstrates the superiority of our approach compared to state-of-the-art solvers, particularly in scenarios requiring projection and SMT-based reasoning.

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

↑