用量词替换推断不变量:抑制搜索空间爆炸
Inferring Invariants with Quantifier Alternations: Taming the Search Space Explosion
摘要:
我们提出了一个PDR/IC3算法,用于寻找具有量词交替的归纳不变量。我们解决的可扩展性问题,由于大搜索空间的量化不变量相结合的广度优先搜索策略和一个新的语法形式的量化自由机构。广度优先策略防止归纳推广陷入搜索空间中搜索代价高的区域,而是专注于容易发现的引理。新的句法形式非常适合于量词交替的引理,允许在无量词体中进行有限的合取和析取,同时仔细控制搜索空间的大小。结合广度优先策略与新的句法形式的结果,在有用的归纳偏见,优先级的引理根据:(i)定义良好的语法度量简单的量词结构和量词自由机构,(ii)的经验有用的启发式更喜欢的引理,是快速发现。在一个基准套件的主要分布式协议和复杂的Paxos的变种,我们证明了我们的算法可以解决更多的最复杂的例子比国家的最先进的技术。
英文摘要:
We present a PDR/IC3 algorithm for finding inductive invariants with quantifier alternations. We tackle scalability issues that arise due to the large search space of quantified invariants by combining a breadth-first search strategy and a new syntactic form for quantifier-free bodies. The breadth-first strategy prevents inductive generalization from getting stuck in regions of the search space that are expensive to search and focuses instead on lemmas that are easy to discover. The new syntactic form is well-suited to lemmas with quantifier alternations by allowing both limited conjunction and disjunction in the quantifier-free body, while carefully controlling the size of the search space. Combining the breadth-first strategy with the new syntactic form results in useful inductive bias by prioritizing lemmas according to: (i) well-defined syntactic metrics for simple quantifier structures and quantifier-free bodies, and (ii) the empirically useful heuristic of preferring lemmas that are fast to discover. On a benchmark suite of primarily distributed protocols and complex Paxos variants, we demonstrate that our algorithm can solve more of the most complicated examples than state-of-the-art techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。