通过过滤为Forall-Forall的Forall-Exists关系验证
Forall-Exists Relational Verification by Filtering to Forall-Forall
AI总结:
本文提出一种通过过滤充分性变换将∀∃关系验证转化为∀∀验证的方法,开发配套程序逻辑与bicom乘积程序形式,证明可靠性并实现原型,可复用现有自动主动验证工具处理非确定性下的关键∀∃属性。
摘要:
关系验证涵盖数据抽象推理、安全与隐私推理、安全编译、张量程序功能规范等研究方向。目前已有多种关系霍尔逻辑,配套工具支持对乘积程序的∀∀(2-安全性)属性以及一般k-安全性属性进行组合推理。相比之下,用于推理∀∃属性的逻辑和工具很少,而这类属性在非确定性语境中至关重要。\n本文的主要贡献是提出一种通过新型过滤充分性变换来验证∀∃判断的方法。该变换向乘积程序添加断言,使得(底层一元程序对的)目标∀∃属性可由变换后乘积的∀∀属性推导得出。本文开发了用于扩展断言失败的基本∀∃判断的程序逻辑;开发了bicoms(一种表示执行对的乘积程序形式,支持将∀∀属性直接转换为一元正确性);(使用该逻辑)证明了可靠性定理,即对变换后的bicom成功进行∀∀验证,意味着其底层一元命令满足∀∃规约;并实现了一个用于自动主动关系验证的原理验证原型,已用于验证本文中的所有示例。该方法因此允许用户使用普通断言与假设以及标准断言语言,从而可利用包括自动主动验证器在内的现有工具。
英文摘要:
Relational verification encompasses reasoning about data abstraction, security and privacy, secure compilation, and functional specification of tensor programs, among others. Several relational logics and tools support compositional reasoning about $\forall\forall$ (2-safety) properties and, generally, $k$-safety properties. In contrast, few logics and tools exist for reasoning about $\forall\exists$ properties which are critical in the presence of nondeterminism. This paper's primary contribution is a technique for verifying a $\forall\exists$ judgment by way of a novel transformation. The filter-adequacy transformation adds assertions to a product program in such a way that the desired $\forall\exists$ property (of a pair of underlying unary programs) is implied by a $\forall\forall$ property of the transformed product. The paper develops bicoms, a form of product programs that facilitates expressing good alignments and caters for direct translation of $\forall\forall$ properties to unary correctness; proves that successful $\forall\forall$ verification of a transformed bicom implies the $\forall\exists$ spec for its underlying unary commands; and evaluates the technique using a prototype auto-active relational verifier. The technique enables users to work with ordinary assertions and assumptions, and a standard assertion language, so that existing $\forall\forall$ and unary verification tools can be used for $\forall\exists$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。