English

Alignment Completeness for Relational Hoare Logics

Logic in Computer Science 2021-05-03 v2 Programming Languages

Abstract

Relational Hoare logics (RHL) provide rules for reasoning about relations between programs. Several RHLs include a rule we call sequential product that infers a relational correctness judgment from judgments of ordinary Hoare logic (HL). Other rules embody sensible patterns of reasoning and have been found useful in practice, but sequential product is relatively complete on its own (with HL). As a more satisfactory way to evaluate RHLs, a notion of alignment completeness is introduced, in terms of the inductive assertion method and product automata. Alignment completeness results are given to account for several different sets of rules. The notion may serve to guide the design of RHLs and relational verifiers for richer programming languages and alignment patterns.

Keywords

Cite

@article{arxiv.2101.11730,
  title  = {Alignment Completeness for Relational Hoare Logics},
  author = {Ramana Nagasamudram and David A. Naumann},
  journal= {arXiv preprint arXiv:2101.11730},
  year   = {2021}
}

Comments

Minor revision of original. To appear in LICS 2021 but this version has appendix

R2 v1 2026-06-23T22:36:21.113Z