Axe 'Em: 利用归纳公理消除虚假状态
Axe 'Em: Eliminating Spurious States with Induction Axioms
AI总结:
针对一阶逻辑(FOL)抽象建模中因语义差距导致的虚假状态问题,提出利用归纳公理精炼良基/有限域语义的方法,通过OSC片段归约证明可判定性,原型工具验证了其有效性。
摘要:
一阶逻辑(FOL)已被证明是一种通用且具表达力的工具,可作为抽象建模语言的基础。FOL(尤其是未解释函数和量词)用于验证具有无界域的复杂系统(如堆操作程序和分布式协议),在表达力和自动化便利性之间取得了平衡。然而,由于无法区分有限和无限一阶结构,或FOL中良基关系的不可定义性等原因,FOL语义可能与建模系统的预期语义存在重要差异。这种语义差距可能导致虚假状态和非真实行为,它们仅作为一阶抽象的产物存在,会阻碍验证过程。本文朝着弥合这一语义差距迈出了一步。我们提出一种方法,利用抽象序关系(验证中的常见原语)的归纳公理,合理地根据良基语义或有限域语义精炼一阶抽象。首先,我们基于良基归纳为上述每种语义形式化合理的公理模式。其次,我们展示如何使用必然无限的虚假反模型来指导这些公理模式的实例化。最后,我们在最近发现的FOL有序自循环(OSC)片段中,将良基语义和有限域语义合理且完整地归约为标准语义,并证明在OSC中这些语义下的可满足性是可判定的。我们实现了一个原型工具来评估我们的方法,并在出现虚假模型的各种示例上进行了测试。我们的工具能快速找到精炼语义所需的公理,并成功完成验证过程。
英文摘要:
First-order logic (FOL) has proved to be a versatile and expressive tool as the basis of abstract modeling languages. Used to verify complex systems with unbounded domains, such as heap-manipulating programs and distributed protocols, FOL, and specifically uninterpreted functions and quantifiers, strike a balance between expressiveness and amenity to automation. However, FOL semantics may differ in important ways from the intended semantics of the modeled system, due to the inability to distinguish between finite and infinite first-order structures, for example, or the undefinability of well-founded relations in FOL. This semantic gap may give rise to spurious states and unreal behaviors, which only exist as an artifact of the first-order abstraction and impede the verification process. In this paper we take a step towards bridging this semantic gap. We present an approach for soundly refining the first-order abstraction according to either well-founded semantics or finite-domain semantics, utilizing induction axioms for an abstract order relation, a common primitive in verification. We first formalize sound axiom schemata for each of the aforementioned semantics, based on well-founded induction. Second, we show how to use spurious counter-models, which are necessarily infinite, to guide the instantiation of these axiom schemata. Finally, we present a sound and complete reduction of well-founded semantics and finite-domain semantics to standard semantics in the recently discovered Ordered Self-Cycle (OSC) fragment of FOL, and prove that satisfiability under these semantics is decidable in OSC. We implement a prototype tool to evaluate our approach, and test it on various examples where spurious models arise. Our tool quickly finds the necessary axioms to refine the semantics, and successfully completes the verification process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。