Refinement Composition Logic
One successful approach to verifying programs is refinement, where one establishes that the implementation ( e.g. , in C) behaves as specified in its mathematical specification. In this approach, the end result (a whole implementation refines a whole specification) is often established via composing multiple “small” refinements. In this paper, we focus on the task of composing refinements. Our key observation is a novel correspondence between the task of composing refinements and the task of proving entailments in modern separation logic. This correspondence is useful. First, it unlocks tools and abstract constructs developed for separation logic, greatly streamlining the composition proof. Second, it uncovers a fundamentally new verification strategy. We address the key challenge in establishing the correspondence with a novel use of angelic non-determinism . Guided by the correspondence, we develop RCL (Refinement Composition Logic) , a logic dedicated to composing refinements. All our results are formalized in Coq.
Authors
- Youngju Song (ORCID: https://orcid.org/0000-0001-7093-3824)
- Dongjae Lee (ORCID: https://orcid.org/0000-0003-2576-1220)
Institutions
- Seoul National University (KR)
- Max Planck Institute for Software Systems (DE)
Publication Details
- Journal
- Proceedings of the ACM on Programming Languages
- Published
- 2024-08-15
- DOI
- https://doi.org/10.1145/3674645
- Citations
- 2
- Primary Topic
- Formal Methods in Verification
- Type
- article
- Field-Weighted Citation Impact
- 0.72