2006 · 138 citations · 32 references
ComputingComputer ScienceFormal MethodsLogicProgramming LanguagesHoare LogicSeparation Of FunctionsType SystemsDependent TypesHigher-order FunctionsHigher-order LogicPolymorphic TypesPolymorphism StudiesSeparation LogicSpecification LogicType Theory
In previous work, we proposed a Hoare Type Theory (HTT) which combines effectful higher-order functions, dependent types and Hoare Logic specifications into a unified framework. However, the framework did not support polymorphism, and ailed to provide a modular treatment of state in specifications. In this paper, we address these shortcomings by showing that the addition of polymorphism alone is sufficient for capturing modular state specifications in the style of Separation Logic. Furthermore, we argue that polymorphism is an essential ingredient of the extension, as the treatment of higher-order functions requires operations not encodable via the spatial connectives of Separation Logic.
32
An axiomatic basis for computer programming
C. A. R. Hoare · Communications of the ACM · 1969 · 3.9K citations · Full text
Separation logic: a logic for shared mutable data structures
John Reynolds · 2003 · 2.2K citations
A formulation of the simple theory of types
Alonzo Church · Journal of Symbolic Logic · 1940 · 1.9K citations
George C. Necula · 1997 · 1.8K citations
Notions of computation and monads
Eugenio Moggi · Information and Computation · 1991 · 1.7K citations