Published October 15, 2020 | Version v2
Conference paper Open

Gradual Verification of Recursive Heap Data Structures

  • 1. Carnegie Mellon University
  • 2. Jane Street
  • 3. University of Chile

Description

Current static verification techniques do not provide good support for incrementality, making it difficult
for developers to focus on specifying and verifying the properties and components that are most important.
Dynamic verification approaches support incrementality, but cannot provide static guarantees. To bridge
this gap, prior work proposed gradual verification, which supports incrementality by allowing every
assertion to be complete, partial, or omitted, and provides sound verification that smoothly scales from
dynamic to static checking. The prior approach to gradual verification, however, was limited to programs
without recursive data structures. This paper extends gradual verification to programs that manipulate
recursive, mutable data structures on the heap. We address several technical challenges, such as
semantically connecting iso- and equi-recursive interpretations of abstract predicates, and supporting
gradual verification of heap ownership. This work thus lays the foundation for future tools that work on
realistic programs and support verification within an engineering process in which cost-benefit trade-offs
can be made.

Files

extra-proofs.zip

Files (8.2 MB)

Name Size Download all
md5:cad63cdfcba219876cda44056e5da5a9
6.4 MB Preview Download
md5:b555b05762a2d53fe6bdcb3ca91aa85b
1.7 MB Preview Download

Additional details

Related works

Is supplement to
Conference paper: 10.1145/3428296 (DOI)