Forall-Exists Relational Verification by Filtering to Forall-Forall
arXiv:2509.04777
Abstract
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 (2-safety) properties and, generally, -safety properties. In contrast, few logics and tools exist for reasoning about properties which are critical in the presence of nondeterminism. This paper's primary contribution is a technique for verifying a judgment by way of a novel transformation. The filter-adequacy transformation adds assertions to a product program in such a way that the desired property (of a pair of underlying unary programs) is implied by a 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 properties to unary correctness; proves that successful verification of a transformed bicom implies the 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 and unary verification tools can be used for .
arXiv commentv2: expanded evaluation section; expository improvements throughout; v3: add missing author in metadata