English

RHLE: Modular Deductive Verification of Relational $\forall\exists$ Properties

Programming Languages 2022-09-09 v5 Logic in Computer Science

Abstract

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 \forall\exists 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 \forall\exists properties drawn from the literature.

Keywords

Cite

@article{arxiv.2002.02904,
  title  = {RHLE: Modular Deductive Verification of Relational $\forall\exists$ Properties},
  author = {Robert Dickerson and Qianchuan Ye and Michael K. Zhang and Benjamin Delaware},
  journal= {arXiv preprint arXiv:2002.02904},
  year   = {2022}
}
R2 v1 2026-06-23T13:34:31.450Z