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

一种用于关系验证的对齐代数

An algebra of alignment for relational verification

Timos Antonopoulos, Eric Koskinen, Ton Chanh Le, Ramana Nagasamudram, David A. Naumann, Minh Ngo

摘要:

关系验证包括信息流安全性、回归验证、编译器的转换验证等。程序和计算的有效对齐有助于使用更简单的关系不变量和关系过程规范,这反过来又使自动化和模块化推理成为可能。对齐已被探索的痕迹对,演绎规则的关系霍尔逻辑(RHL),和几种形式的产品自动机。本文展示了一个简单的扩展Kleene代数与测试(KAT),称为BiKAT,包含先前的公式,包括对齐证人forall-exists属性,这带来了新的RHL风格的规则,这些属性。对齐可以发现算法或手动设计,但在任何一种情况下,他们的充分性相对于原始程序必须证明;一个明确的代数使建设性的证明方程推理。此外,我们的方法继承了现有的基于KAT的技术和工具,这是适用于一系列的语义模型的算法的好处。

英文摘要:

Relational verification encompasses information flow security, regression verification, translation validation for compilers, and more. Effective alignment of the programs and computations to be related facilitates use of simpler relational invariants and relational procedure specs, which in turn enables automation and modular reasoning. Alignment has been explored in terms of trace pairs, deductive rules of relational Hoare logics (RHL), and several forms of product automata. This article shows how a simple extension of Kleene Algebra with Tests (KAT), called BiKAT, subsumes prior formulations, including alignment witnesses for forall-exists properties, which brings to light new RHL-style rules for such properties. Alignments can be discovered algorithmically or devised manually but, in either case, their adequacy with respect to the original programs must be proved; an explicit algebra enables constructive proof by equational reasoning. Furthermore our approach inherits algorithmic benefits from existing KAT-based techniques and tools, which are applicable to a range of semantic models.

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

↑