An Algebra of Alignment for Relational Verification
Timos Antonopoulos, Eric Koskinen, Ton Chanh Le, Ramana Nagasamudram, David A. Naumann, Minh Ngo
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Hypra: A Deductive Program Verifier for Hyper Hoare Logic cites Incorrectness logic
- Hypra: A Deductive Program Verifier for Hyper Hoare Logic cites Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
- Hypra: A Deductive Program Verifier for Hyper Hoare Logic cites The next 700 relational program logics
- Hypra: A Deductive Program Verifier for Hyper Hoare Logic cites Constraint-Based Relational Verification
- Hypra: A Deductive Program Verifier for Hyper Hoare Logic cites Software Verification of Hyperproperties Beyond k-Safety
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties cites Incorrectness logic
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties cites The next 700 relational program logics
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties cites Constraint-Based Relational Verification
- Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties cites Software Verification of Hyperproperties Beyond k-Safety
- Calculational Design of Hyperlogics by Abstract Interpretation cites Incorrectness logic
- Calculational Design of Hyperlogics by Abstract Interpretation cites Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
- Calculational Design of Hyperlogics by Abstract Interpretation cites Software Verification of Hyperproperties Beyond k-Safety
- KestRel: Relational Verification using E-Graphs for Program Alignment cites Hypra: A Deductive Program Verifier for Hyper Hoare Logic
- KestRel: Relational Verification using E-Graphs for Program Alignment cites Hyper Hoare Logic: (Dis-)Proving Program Hyperproperties
- KestRel: Relational Verification using E-Graphs for Program Alignment cites The next 700 relational program logics
- KestRel: Relational Verification using E-Graphs for Program Alignment cites Constraint-Based Relational Verification
- Software Verification of Hyperproperties Beyond k-Safety cites Constraint-Based Relational Verification
Cited by top-tier papers11
- Hyper Hoare Logic: (Dis-)Proving Program HyperpropertiesThibault Dardinier, Peter MüllerPLDI 2024 · 28 citations
- Hypra: A Deductive Program Verifier for Hyper Hoare LogicThibault Dardinier, Anqi Li, Peter MüllerOOPSLA 2024 · 6 citations
- Coinductive Proofs of Regular Expression Equivalence in Zero KnowledgeJohn C. Kolesar, Shan Ali, Timos Antonopoulos, Ruzica PiskacOOPSLA 2025 · 4 citations
- Calculational Design of Hyperlogics by Abstract InterpretationPatrick Cousot, Jeffery WangPOPL 2025 · 3 citations
- KestRel: Relational Verification using E-Graphs for Program AlignmentRobert Dickerson, Prasita Mukherjee, Benjamin DelawareOOPSLA 2025 · 3 citations
Builds on11
- Incorrectness logicPeter W. O'HearnPOPL 2020 · 122 citations
- Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 citations
- ARDiff: scaling program equivalence checking via iterative abstraction and refinement of common codeSahar Badihi, Faridah Akinotcho, Yi Li, Julia RubinFSE 2020 · 44 citations
- Software Verification of Hyperproperties Beyond k-SafetyRaven Beutner, Bernd FinkbeinerCAV 2022 · 44 citations
- The next 700 relational program logicsKenji Maillard, Catalin Hritcu, Exequiel Rivas, Antoine Van MuylderPOPL 2020 · 41 citations
Related papers
- Alignment Completeness for Relational Hoare LogicsRamana Nagasamudram, David A. NaumannLICS 2021 · 10 citations
- On incorrectness logic and Kleene algebra with top and testsCheng Zhang, Arthur Azevedo de Amorim, Marco GaboardiPOPL 2022 · 9 citations
- CF-GKAT: Efficient Validation of Control-Flow TransformationsCheng Zhang, Tobias Kappé, David E. Narváez, Nico NausPOPL 2025 · 3 citations
- Guarded Kleene algebra with tests: verification of uninterpreted programs in nearly linear timeSteffen Smolka, Nate Foster, Justin Hsu, Tobias Kappé et al.POPL 2020 · 32 citations
- Encode the ∀∃ Relational Hoare Logic into Standard Hoare LogicShushu Wu, Xiwei Wu, Qinxiang CaoOOPSLA 2025 · 1 citation
