针对IC3算法深度优化SAT求解器
Deeply Optimizing the SAT Solver for the IC3 Algorithm
AI总结:
针对IC3算法中SAT查询的独特特征,提出变量决策子集计算、桶替代VSIDS二元堆、支持无额外激活变量的临时子句三项优化,集成于轻量级CDCL求解器GipSAT,使基于它的IC3求解速度比基于MiniSat的版本平均提升3.61倍。
摘要:
IC3算法又称PDR,是一种基于SAT的模型检验算法,近年来凭借其效率、可扩展性和完备性在该领域产生了重大影响。它利用SAT求解器求解一系列与相对归纳相关的SAT查询。本文基于我们对这些SAT查询独特特征的观察,对IC3中的SAT求解器提出了若干优化方案。通过观察到SAT查询并不一定需要对所有变量进行决策,我们在每次求解过程前计算需要决策的变量子集,同时确保结果不受影响。此外,注意到VSIDS中二元堆操作的开销不可忽略,我们用桶(buckets)替代二元堆以实现常数时间操作。再者,我们支持临时子句,无需为每次求解过程分配新的激活变量,从而无需重置求解器。我们开发了一种新型轻量级CDCL SAT求解器GipSAT,集成了这些优化方案。综合评估凸显了GipSAT实现的性能提升。具体而言,基于GipSAT的IC3在求解时间上相比基于MiniSat的IC3实现平均提速3.61倍。
英文摘要:
The IC3 algorithm, also known as PDR, is a SAT-based model checking algorithm that has significantly influenced the field in recent years due to its efficiency, scalability, and completeness. It utilizes SAT solvers to solve a series of SAT queries associated with relative induction. In this paper, we introduce several optimizations for the SAT solver in IC3 based on our observations of the unique characteristics of these SAT queries. By observing that SAT queries do not necessarily require decisions on all variables, we compute a subset of variables that need to be decided before each solving process while ensuring that the result remains unaffected. Additionally, noting that the overhead of binary heap operations in VSIDS is non-negligible, we replace the binary heap with buckets to achieve constant-time operations. Furthermore, we support temporary clauses without the need to allocate a new activation variable for each solving process, thereby eliminating the need to reset solvers. We developed a novel lightweight CDCL SAT solver, GipSAT, which integrates these optimizations. A comprehensive evaluation highlights the performance improvements achieved by GipSAT. Specifically, the GipSAT-based IC3 demonstrates an average speedup of 3.61 times in solving time compared to the IC3 implementation based on MiniSat.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。