# RHLE: Modular Deductive Verification of Relational forallexists Properties

arXiv: https://arxiv.org/abs/2002.02904 · HTML: https://mlsanity.com/paper/2002.02904/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Submitted 7 Feb 2020.

## Built on by (most cited first, 1 of 1)

- [On the Relative Security of Prompt Injection: Mechanised Definitions, Defences and Verdicts for LLM Agents](https://mlsanity.com/paper/2611.11506/) (2026)

## Abstract (arXiv)

Hoare-style program logics are a popular and effective technique for software verification. Relational program logics are an instance of this approach that enables reasoning about relationships between the execution of two or more programs. Existing relational program logics have focused on verifying that all runs of a collection of programs do not violate a specified relational behavior. Several important relational properties, including refinement and noninterference, do not fit into this category, as they also mandate the existence of specific desirable executions. This paper presents RHLE, a logic for verifying these sorts of relational forallexists properties. Key to our approach is a novel form of function specification that employs a variant of ghost variables to ensure that valid implementations exhibit certain behaviors. We have used a program verifier based on RHLE to verify a diverse set of relational forallexists properties drawn from the literature.
