## Logical reasoning for higher-order functions with local state (2006)

### Cached

### Download Links

- [arxiv.org]
- [www.doc.ic.ac.uk]
- [www.doc.ic.ac.uk]
- [www.doc.ic.ac.uk]
- [www.doc.ic.ac.uk]
- [www.doc.ic.ac.uk]
- DBLP

### Other Repositories/Bibliography

Venue: | of Lecture Notes in Computer Science |

Citations: | 13 - 4 self |

### BibTeX

@TECHREPORT{Yoshida06logicalreasoning,

author = {Nobuko Yoshida and Kohei Honda and Martin Berger and Queen Mary},

title = {Logical reasoning for higher-order functions with local state},

institution = {of Lecture Notes in Computer Science},

year = {2006}

}

### Years of Citing Articles

### OpenURL

### Abstract

Abstract. We introduce an extension of Hoare logic for call-by-value higherorder functions with ML-like local reference generation. Local references may be generated dynamically and exported outside their scope, may store higherorder functions and may be used to construct complex mutable data structures. This primitive is captured logically using a predicate asserting reachability of a reference name from a possibly higher-order datum and quantifiers over hidden references. The logic enjoys three completeness properties: relative completeness, a logical characterisation of the contextual congruence and derivability of characteristic formulae. We explore the logic’s descriptive and reasoning power with non-trivial programming examples combining higher-order procedures and dynamically generated local state. Axioms for reachability and local invariant play a central role for reasoning about the examples. 1