arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.10308cs.LO
收藏

量化一阶公式抽象域的高效实现

Efficient Implementation of an Abstract Domain of Quantified First-Order Formulas

Eden Frenkel, Tej Chajed, Oded Padon, Sharon Shoham

AI总结:

针对量化一阶公式抽象域因公式复杂、集合规模大而难以应用的问题,提出基于下近似语义蕴含的句法包含关系的抽象元素高效表示法,开发相关算法与数据结构,实现符号抽象算法并在Paxos等案例中验证了可行性与效率。

摘要:

本文为将抽象解释应用于由多组量化一阶逻辑公式构成的抽象域奠定了实用基础。由于涉及的公式复杂度高,且公式集合(即抽象元素)规模极大,该抽象域乍看之下似乎不具备可行性。我们提出了一种抽象元素的高效表示方法,该方法基于一种全新的、对语义蕴含关系进行下近似的句法包含关系来消除冗余。我们开发了相应的算法与数据结构,能够基于抽象元素的表示形式,高效计算某个抽象元素与具体状态抽象结果的并集(join)。为验证该抽象域的可行性,我们利用所提出的数据结构与算法实现了一种符号抽象算法,用于计算迁移系统最优抽象变换器的最小不动点,该不动点对应最强归纳不变式。我们成功求出了例如Paxos算法的最小不动点(在我们的表示中该不动点包含1438个具有$\forall^*\forall^*\forall^*$量化结构的公式),其耗时与当前最优的性质导向方法相当。

英文摘要:

This paper lays a practical foundation for using abstract interpretation with an abstract domain that consists of sets of quantified first-order logic formulas. This abstract domain seems infeasible at first sight due to the complexity of the formulas involved and the enormous size of sets of formulas (abstract elements). We introduce an efficient representation of abstract elements, which eliminates redundancies based on a novel syntactic subsumption relation that under-approximates semantic entailment. We develop algorithms and data structures to efficiently compute the join of an abstract element with the abstraction of a concrete state, operating on the representation of abstract elements. To demonstrate feasibility of the domain, we use our data structures and algorithms to implement a symbolic abstraction algorithm that computes the least fixpoint of the best abstract transformer of a transition system, which corresponds to the strongest inductive invariant. We succeed at finding, for example, the least fixpoint for Paxos (which in our representation has 1,438 formulas with $\forall^*\exists^*\forall^*$ quantification) in time comparable to state-of-the-art property-directed approaches.

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

↑