arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.17765cs.LOcs.FL
收藏

推测性 SAT modulo SAT

Speculative SAT Modulo SAT

Hari Govind V K, Isabel Garcia-Contreras, Sharon Shoham, Arie Gurfinkel

AI总结:

本文提出 SMS 的推广方法 SPEC SMS,通过在模块间推测性地进行决策和双向交换学习子句,克服了原有模块化 SAT 求解的单向性限制,并在 Z3 中实现,在困难基准测试上呈指数级提升性能。

摘要:

最先进的模型检查算法(如 IC3/PDR)基于单向的模块化 SAT 求解来寻找和/或阻塞反例。模块化 SAT 求解器将一个 SAT 查询划分为多个子查询,每个子查询由独立的 SAT 求解器(称为模块)求解,并在模块之间传播信息(引理、证明义务、阻塞子句等)。尽管模块化求解是 IC3/PDR 的关键,但它显然不如整体式求解有效,尤其是当单个子查询比组合查询更难解决时。SAT modulo SAT (SMS) 通过在模块之间来回传播单元文字,并利用一个模块的信息尽快(即在任何子查询的可满足性确立之前)简化另一个模块的子查询,部分解决了这一问题。然而,由于决策和传播之间的严格顺序——在子查询满足 SAT 之前,只允许一个模块做决策——SMS 的双向性受到限制。在本文中,我们提出了 SMS 的一种推广,称为 SPEC SMS,它在模块之间推测性地进行决策。这使其具有双向性——在多个模块中做出决策,并在两个方向上交换学习到的子句。我们进一步将 DRUP 证明和插值(这些在模型检查中很有用)扩展到 SPEC SMS。我们在 Z3 中实现了 SPEC SMS,并表明它在一系列对 SMS 来说证明是困难的基准测试上表现呈指数级提升。

英文摘要:

State-of-the-art model-checking algorithms like IC3/PDR are based on uni-directional modular SAT solving for finding and/or blocking counterexamples. Modular SAT solvers divide a SAT-query into multiple sub-queries, each solved by a separate SAT solver (called a module), and propagate information (lemmas, proof obligations, blocked clauses, etc.) between modules. While modular solving is key to IC3/PDR, it is obviously not as effective as monolithic solving, especially when individual sub-queries are harder to solve than the combined query. This is partially addressed in SAT modulo SAT (SMS) by propagating unit literals back and forth between the modules and using information from one module to simplify the sub-query in another module as soon as possible (i.e., before the satisfiability of any sub-query is established). However, bi-directionality of SMS is limited because of the strict order between decisions and propagation -- only one module is allowed to make decisions, until its sub-query is SAT. In this paper, we propose a generalization of SMS, called SPEC SMS, that speculates decisions between modules. This makes it bi-directional -- decisions are made in multiple modules, and learned clauses are exchanged in both directions. We further extend DRUP proofs and interpolation, these are useful in model checking, to SPEC SMS. We have implemented SPEC SMS in Z3 and show that it performs exponentially better on a series of benchmarks that are provably hard for SMS.

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

↑