The Relationship Between Separation Logic and Implicit Dynamic Frames

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

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 connectives in implicit dynamic frames. We show that our resulting semantics agrees with the existing definition of weakest pre-condition semantics for the implicit dynamic frames fragment. Finally, we show that we can encode the separation logic fragment of our logic into the implicit dynamic frames fragment, preserving semantics. For the connectives typically supported by tools, this shows that separation logic can be faithfully encoded in a first-order automatic verification tool (Chalice).

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

The Relationship Between Separation Logic and Implicit Dynamic Frames does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with The Relationship Between Separation Logic and Implicit Dynamic Frames, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and The Relationship Between Separation Logic and Implicit Dynamic Frames will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-64996

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.