The Relationship Between Separation Logic and Implicit Dynamic Frames
Matthew J. Parkinson (Microsoft Research), Alexander J. Summers (ETH, Zurich)

TL;DR
This paper establishes a formal connection between separation logic and implicit dynamic frames, defining a unified semantics and demonstrating how separation logic can be encoded into implicit dynamic frames for automated verification.
Contribution
It introduces a unified logic encompassing both separation logic and implicit dynamic frames, with a novel semantics based on minimal state extension, enabling encoding and tool support.
Findings
Defined a total heap semantics for the combined logic
Proved equivalence of semantics for separation logic subsyntax
Showed encoding of separation logic into implicit dynamic frames preserves semantics
Abstract
Separation logic is a concise method for specifying programs that manipulate dynamically allocated storage. Partially inspired by separation logic, Implicit Dynamic Frames has recently been proposed, aiming at first-order tool support. In this paper, we precisely connect the semantics of these two logics. We define a logic whose syntax subsumes both that of a standard separation logic, and that of implicit dynamic frames as sub-syntaxes. We define a total heap semantics for our logic, and, for the separation logic subsyntax, prove it equivalent the standard partial heaps model. In order to define a semantics which works uniformly for both subsyntaxes, we define the novel concept of a minimal state extension, which provides a different (but equivalent) definition of the semantics of separation logic implication and magic wand connectives, while also giving a suitable semantics for these…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
