论文标题

使关系hoare逻辑对齐完整

Making Relational Hoare Logic Alignment Complete

论文作者

Banerjee, Anindya, Nagasamudram, Ramana, Naumann, David A.

论文摘要

在关系验证中,计算步骤的明智比对有助于使用简单的关系主张之间的关系证明。关系hoare逻辑(RHL)提供了体现各种对齐的组成规则。看似更灵活的对齐方式可以根据程序过渡关系以产品自动机的形式表示。从普通意义上讲,使用单个退化对准规则可以完整。基于对齐自动机的一致性,对齐完整性的概念先前是更令人满意的度量,并且某些规则被证明是相对于几种临时形式的对齐自动机的对准。使用基于测试的Kleene代数基于Kleene代数的规则,相对于非常一般的对齐自动机,则显示RHL是对齐的。除了解决一般对齐完整性的开放问题外,此结果桥接基于人类语法的推理和自动机表示,促进自动验证。

In relational verification, judicious alignment of computational steps facilitates proof of relations between programs using simple relational assertions. Relational Hoare logics (RHL) provide compositional rules that embody various alignments. Seemingly more flexible alignments can be expressed in terms of product automata based on program transition relations. A RHL can be complete, in the ordinary sense, using a single degenerate alignment rule. The notion of alignment completeness was previously proposed as a more satisfactory measure, based on alignment automata, and some rules were shown to be alignment complete with respect to a few ad hoc forms of alignment automata. Using a rule of semantics-preserving rewrites based on Kleene algebra with tests, an RHL is shown to be alignment complete with respect to a very general class of alignment automata. Besides solving the open problem of general alignment completeness, this result bridges between human-friendly syntax-based reasoning and automata representations that facilitate automated verification.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源