不变推理中的复杂性与信息
Complexity and Information in Invariant Inference
摘要:
本文讨论了复杂的SAT为基础的不变推理,一个突出的安全验证方法。我们考虑的问题,推断一个归纳不变的多项式长度给定的过渡系统和安全性。我们分析了这个问题的复杂性,在一个黑盒模型,称为霍尔查询模型,这是一般足以捕捉算法,如IC 3/PDR及其变种。该模型中的算法通过查询霍尔三元组的有效性来了解系统的可达状态。我们表明,在一般情况下,在霍尔查询模型的算法需要一个指数数量的查询。我们的下界是信息理论的,甚至适用于计算不受限制的算法,表明没有选择的泛化从多项式数量的霍尔查询中获得的部分信息可以导致在这个类中的一个有效的不变的推理过程。然后,我们首次证明,通过利用丰富的Hoare查询,如PDR中所做的那样,推理可以比ICE学习等方法更有效,ICE学习只利用候选人的归纳检查。我们这样做是通过构建一类过渡系统,一个简单的版本的PDR与一个单一的框架推断不变量的多项式数量的查询,而每个算法只使用归纳检查和反例需要一个指数数量的查询。我们的研究结果还揭示了与经典理论的连接和差异的确切概念学习查询,并意味着学习从反例归纳比经典的精确学习标记的例子。这表明反例引导归纳综合的收敛速度取决于反例的形式。
英文摘要:
This paper addresses the complexity of SAT-based invariant inference, a prominent approach to safety verification. We consider the problem of inferring an inductive invariant of polynomial length given a transition system and a safety property. We analyze the complexity of this problem in a black-box model, called the Hoare-query model, which is general enough to capture algorithms such as IC3/PDR and its variants. An algorithm in this model learns about the system's reachable states by querying the validity of Hoare triples. We show that in general an algorithm in the Hoare-query model requires an exponential number of queries. Our lower bound is information-theoretic and applies even to computationally unrestricted algorithms, showing that no choice of generalization from the partial information obtained in a polynomial number of Hoare queries can lead to an efficient invariant inference procedure in this class. We then show, for the first time, that by utilizing rich Hoare queries, as done in PDR, inference can be exponentially more efficient than approaches such as ICE learning, which only utilize inductiveness checks of candidates. We do so by constructing a class of transition systems for which a simple version of PDR with a single frame infers invariants in a polynomial number of queries, whereas every algorithm using only inductiveness checks and counterexamples requires an exponential number of queries. Our results also shed light on connections and differences with the classical theory of exact concept learning with queries, and imply that learning from counterexamples to induction is harder than classical exact learning from labeled examples. This demonstrates that the convergence rate of Counterexample-Guided Inductive Synthesis depends on the form of counterexamples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。