Computer Science – Logic in Computer Science
Scientific paper
2011-09-14
LMCS 7 (3:21) 2011
Computer Science
Logic in Computer Science
42 pages
Scientific paper
10.2168/LMCS-7(3:21)2011
Separation logic is a Hoare-style logic for reasoning about programs with heap-allocated mutable data structures. As a step toward extending separation logic to high-level languages with ML-style general (higher-order) storage, we investigate the compatibility of nested Hoare triples with several variations of higher-order frame rules. The interaction of nested triples and frame rules can be subtle, and the inclusion of certain frame rules is in fact unsound. A particular combination of rules can be shown consistent by means of a Kripke model where worlds live in a recursively defined ultrametric space. The resulting logic allows us to elegantly prove programs involving stored code. In particular, using recursively defined assertions, it leads to natural specifications and proofs of invariants required for dealing with recursion through the store.
Birkedal Lars
Reus Bernhard
Schwinghammer Jan
Yang Hongseok
No associations
LandOfFree
Nested Hoare Triples and Frame Rules for Higher-order Store 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 Nested Hoare Triples and Frame Rules for Higher-order Store, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Nested Hoare Triples and Frame Rules for Higher-order Store will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-569360