Abstract
Frame and anti-frame rules have been proposed as proof rules for modular reasoning about programs. Frame rules allow one to hide irrelevant parts of the state during verification, whereas the anti-frame rule allows one to hide local state from the context. We give the first sound model for Charguéraud and Pottier's type and capability system including both frame and anti-frame rules. The model is a possible worlds model based on the operational semantics and step-indexed heap relations, and the worlds are constructed as a recursively defined predicate on a recursively defined metric space. We also extend the model to account for Pottier's generalized frame and anti-frame rules, where invariants are generalized to families of invariants indexed over pre-orders. This generalization enables reasoning about some well-bracketed as well as (locally) monotonic uses of local state.
Original language | English |
---|---|
Title of host publication | Foundations of Software Science and Computational Structures : 14th International Conference, FOSSACS 2011, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2011, Saarbrücken, Germany, March 26–April 3, 2011. Proceedings |
Editors | Martin Hofman |
Number of pages | 15 |
Publisher | Springer |
Publication date | 2011 |
Pages | 305-319 |
ISBN (Print) | 978-3-642-19804-5 |
ISBN (Electronic) | 978-3-642-19805-2 |
DOIs | |
Publication status | Published - 2011 |
Event | 14th International Conference on Foundations of Software Science and Computational Structures - Saarbrücken, Germany Duration: 26 Mar 2011 → 3 Apr 2011 Conference number: 14 |
Conference
Conference | 14th International Conference on Foundations of Software Science and Computational Structures |
---|---|
Number | 14 |
Country/Territory | Germany |
City | Saarbrücken |
Period | 26/03/2011 → 03/04/2011 |
Series | Lecture notes in computer science |
---|---|
Volume | 6604 |
ISSN | 0302-9743 |