arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.10752cs.FLcs.DC
收藏

计算正则抽象框架的归纳不变量

Computing Inductive Invariants of Regular Abstraction Frameworks

Philipp Czerner, Javier Esparza, Valentin Krasotin, Christoph Welzel-Mohr

AI总结:

针对正则转移系统的验证,提出正则抽象框架推广归纳不变量方法,证明EXPSPACE完备性,并设计惰性学习算法提升效率。

摘要:

正则转移系统(RTS)是建模无限状态系统(尤其是参数化系统)的常用形式化方法。在CONCUR 22的一篇论文中,Esparza等人引入了一种基于归纳不变量的RTS验证新方法。该方法计算给定RTS的所有可表示为具有有界子句数的CNF公式的归纳不变量的交集,并利用该交集构造一个自动机,用于识别可达配置的超近似。该论文证明了判定该自动机的语言是否与给定的不安全配置正则集相交的问题属于EXPSPACE且为PSPACE-hard。我们引入正则抽象框架,这是对Esparza等人方法的推广,与Hong和Lin的正则抽象非常相似。一个框架由一个约束正则语言和一个称为解释的转换器组成,该转换器为每个约束分配满足该约束的RTS配置集合。正则抽象框架的示例包括Esparza等人的公式、八边形、有界差分矩阵和视图。我们证明了上述判定问题推广到正则抽象框架后仍属于EXPSPACE,并证明了匹配的(非平凡的)EXPSPACE-hard下界。EXPSPACE-hard意味着在最坏情况下,识别可达配置超近似的自动机具有双指数数量的状态。我们引入了一种学习算法,以惰性方式计算该自动机,只要当前假设已足够强以证明安全性就停止。我们报告了实现情况,并表明我们的实验结果优于Esparza等人的结果。

英文摘要:

Regular transition systems (RTS) are a popular formalism for modeling infinite-state systems in general, and parameterised systems in particular. In a CONCUR 22 paper, Esparza et al. introduce a novel approach to the verification of RTS, based on inductive invariants. The approach computes the intersection of all inductive invariants of a given RTS that can be expressed as CNF formulas with a bounded number of clauses, and uses it to construct an automaton recognising an overapproximation of the reachable configurations. The paper shows that the problem of deciding if the language of this automaton intersects a given regular set of unsafe configurations is in $\textsf{EXPSPACE}$ and $\textsf{PSPACE}$-hard. We introduce $\textit{regular abstraction frameworks}$, a generalisation of the approach of Esparza et al., very similar to the regular abstractions of Hong and Lin. A framework consists of a regular language of $\textit{constraints}$, and a transducer, called the $\textit{interpretation}$, that assigns to each constraint the set of configurations of the RTS satisfying it. Examples of regular abstraction frameworks include the formulas of Esparza et al., octagons, bounded difference matrices, and views. We show that the generalisation of the decision problem above to regular abstraction frameworks remains in $\textsf{EXPSPACE}$, and prove a matching (non-trivial) $\textsf{EXPSPACE}$-hardness bound. $\textsf{EXPSPACE}$-hardness implies that, in the worst case, the automaton recognising the overapproximation of the reachable configurations has a double-exponential number of states. We introduce a learning algorithm that computes this automaton in a lazy manner, stopping whenever the current hypothesis is already strong enough to prove safety. We report on an implementation and show that our experimental results improve on those of Esparza et al.

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

↑