dc.contributor.author | Nanevski, Aleksandar | |
dc.contributor.author | Ahmed, Amal | |
dc.contributor.author | Morrisett, Greg Gregory | |
dc.contributor.author | Birkedal, Lars | |
dc.date.accessioned | 2016-02-25T17:38:18Z | |
dc.date.issued | 2006 | |
dc.identifier.citation | Nanevski, Aleksandar, Amal Ahmed, Greg Morrisett, and Lars Birkedal. 2006. Abstract Predicates and Mutable ADTs in Hoare Type Theory. Harvard Computer Science Group Technical Report TR-14-06. | en_US |
dc.identifier.uri | http://nrs.harvard.edu/urn-3:HUL.InstRepos:25620475 | |
dc.description.abstract | Hoare Type Theory (HTT) combines a dependently typed, higher-order language with monadically-encapsulated, stateful computations. The type system incorporates pre- and post-conditions, in a fashion similar to Hoare and Separation Logic, so that programmers can modularly specify the requirements and effects of computations within types. This paper extends HTT with quantification over abstract predicates (i.e., higher-order logic), thus embedding into HTT the Extended Calculus of Constructions. When combined with the Hoare-like specifications, abstract predicates provide a powerful way to define and encapsulate the invariants of private state; that is, state which may be shared by several functions, but is not accessible to their clients. We demonstrate this power by sketching a number of abstract data types and functions that demand ownership of mutable memory, including an idealized custom memory manager. | en_US |
dc.description.sponsorship | Engineering and Applied Sciences | en_US |
dc.language.iso | en_US | en_US |
dash.license | LAA | |
dc.title | Abstract Predicates and Mutable ADTs in Hoare Type Theory | en_US |
dc.type | Research Paper or Report | en_US |
dc.description.version | Version of Record | en_US |
dash.depositing.author | Morrisett, Greg Gregory | |
dc.date.available | 2016-02-25T17:38:18Z | |
dash.contributor.affiliated | Morrisett, Greg Gregory | |