基于约束的关系验证
Constraint-based Relational Verification
摘要:
近年来,他们已经有许多作品,旨在自动化关系验证。同时,尽管约束Horn子句(CHC)赋予了广泛的验证技术和工具,但它们缺乏表达$k$之外的超属性的能力-安全性,如广义非干扰和共同终止。本文介绍了一种新的和全自动的基于约束的关系验证方法。我们首先介绍了一类新的谓词约束满足问题称为pfwCSP的约束表示为子句模一阶理论的谓词变量的三种:普通的,良好的基础,或功能。这种对CHC的推广允许任意的(即,可能非Horn)子句、良好基础约束、功能约束,并且能够表达这些关系验证问题。我们的方法使我们能够表达和自动验证需要非平凡的问题实例(即,非顺序和非锁步)自合成,这是通过自动推断适当的指示何时以及哪个程序副本移动的指示符(或对齐)来实现的。为了解决这个新的语言中的问题,我们提出了一个约束求解方法pfwCSP的基础上分层反例引导归纳合成(CEGIS)的普通,良好的基础,和功能谓词。我们已经实现了所提出的框架,并取得了可喜的成果,在不同的关系验证问题,超出了以前的验证框架的范围。
英文摘要:
In recent years they have been numerous works that aim to automate relational verification. Meanwhile, although Constrained Horn Clauses (CHCs) empower a wide range of verification techniques and tools, they lack the ability to express hyperproperties beyond $k$-safety such as generalized non-interference and co-termination. This paper describes a novel and fully automated constraint-based approach to relational verification. We first introduce a new class of predicate Constraint Satisfaction Problems called pfwCSP where constraints are represented as clauses modulo first-order theories over predicate variables of three kinds: ordinary, well-founded, or functional. This generalization over CHCs permits arbitrary (i.e., possibly non-Horn) clauses, well-foundedness constraints, functionality constraints, and is capable of expressing these relational verification problems. Our approach enables us to express and automatically verify problem instances that require non-trivial (i.e., non-sequential and non-lock-step) self-composition by automatically inferring appropriate schedulers (or alignment) that dictate when and which program copies move. To solve problems in this new language, we present a constraint solving method for pfwCSP based on stratified CounterExample-Guided Inductive Synthesis (CEGIS) of ordinary, well-founded, and functional predicates. We have implemented the proposed framework and obtained promising results on diverse relational verification problems that are beyond the scope of the previous verification frameworks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。