Artifact for "Embedding Hindsight Reasoning in Separation Logic"
Authors/Creators
- 1. TU Braunschweig
- 2. New York University
Description
Automatically proving linearizability of concurrent data structures remains a key challenge for verification. We present temporal interpolation as a new proof principle to guide automated proof search using hindsight arguments within concurrent separation logic. Temporal interpolation offers an easy-to-automate alternative to prophecy variables and has the advantage of structuring proofs into easy-to-discharge hypotheses. Additionally, we advance hindsight theory by integrating it into a program logic, bringing formal rigor and complementary proof machinery. We substantiate the usefulness of temporal interpolation by implementing it in a tool and using it to automatically verify the Logical Ordering tree. The proof is challenging due to future-dependent linearization points and complex structure overlays. It is the first formal proof of this data structure. Interestingly, our formalization revealed an unknown bug and an existing informal proof as erroneous.
The present artifact demonstrates that our aforementioned implementation, an extension of the PLANKTON tool, (1) can automatically verify the Logical Ordering tree, and (2) compare our extension with the original version of PLANKTON in terms of performance and proof capabilities.
Files
plankton.zip
Additional details
Related works
- Is supplement to
- Conference paper: 10.1145/3591296 (DOI)
- Report: 10.48550/arXiv.2209.13692 (DOI)
References
- Roland Meyer, Thomas Wies, and Sebastian Wolff. 2023. Embedding Hindsight Reasoning in Separation Logic. Proc. ACM Program. Lang. 7, PLDI, Article 182 (June 2023), 24 pages. https://doi.org/10.1145/3591296