Relational Logic with Framing and Hypotheses: Technical Report
Anindya Banerjee, David A. Naumann, Mohammad Nikouei

TL;DR
This paper introduces a novel relational logic that enables reasoning about program pairs with aligned control flow, dissimilar structures, and dynamic allocations, enhancing verification capabilities for complex relational properties.
Contribution
It presents a new syntax and proof rules for relational logic that integrates product programs and hypotheses, supporting broader relational verification scenarios.
Findings
Proves soundness of the proposed logic.
Supports reasoning about dissimilar control and data structures.
Enables verification of data abstraction, optimizations, and security properties.
Abstract
Relational properties arise in many settings: relating two versions of a program that use different data representations, noninterference properties for security, etc. The main ingredient of relational verification, relating aligned pairs of intermediate steps, has been used in numerous guises, but existing relational program logics are narrow in scope. This paper introduces a logic based on novel syntax that weaves together product programs to express alignment of control flow points at which relational formulas are asserted. Correctness judgments feature hypotheses with relational specifications, discharged by a rule for the linking of procedure implementations. The logic supports reasoning about program-pairs containing both similar and dissimilar control and data structures. Reasoning about dynamically allocated objects is supported by a frame rule based on frame conditions amenable…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Security and Verification in Computing · Advanced Software Engineering Methodologies
