Published March 1, 2023 | Version v5

Artifact for "Embedding Hindsight Reasoning in Separation Logic"

  • 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

Files (891.5 MB)

Name Size
md5:9e3afb803592e09819120ec3c2a16a3e
8.7 MB Preview Download
md5:2512c7f9f04e519ca858302b23c905f9
427.1 MB Download
md5:d9bd3ab26d07693392c33772c0905ad2
455.4 MB Download
md5:0ef161ca9db15dd4b300a509d20cee69
195.5 kB Preview Download

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