Dependent Type Theory of Stateful Higher-Order Functions. Nanevski, A. & Morrisett, G. G. 2005. ZSCC: 0000024 tex.ids: nanevski
Paper abstract bibtex In this paper we investigate a logic for reasoning about programs with higher-order functions and effectful features like non-termination and state with aliasing. We propose a dependent type theory HTT (short for Hoare Type Theory), where types serve as program specifications. In case of effectful programs, the type of Hoare triples \P\x:A\Q\ specifies the precondition P, the type of the return result A, and the postcondition Q. By Curry-Howard isomorphism, a dependent type theory may be viewed as a functional programming language. From this perspective, the type of Hoare triples is a monad, and HTT is a monadic language, whose pure fragment consists of higher-order functions, while the effectful fragment is a full Turing-complete imperative language with conditionals, loops, recursion and commands for stateful operations like allocation, lookup and mutation of location content.
@article{nanevski_dependent_2005,
title = {Dependent {Type} {Theory} of {Stateful} {Higher}-{Order} {Functions}},
copyright = {open},
url = {https://dash.harvard.edu/handle/1/26506436},
abstract = {In this paper we investigate a logic for reasoning about programs with higher-order functions and effectful features like non-termination and state with aliasing. We propose a dependent type theory HTT (short for Hoare Type Theory), where types serve as program specifications. In case of effectful programs, the type of Hoare triples \{P\}x:A\{Q\} specifies the precondition P, the type of the return result A, and the postcondition Q. By Curry-Howard isomorphism, a dependent type theory may be viewed as a functional programming language. From this perspective, the type of Hoare triples is a monad, and HTT is a monadic language, whose pure fragment consists of higher-order functions, while the effectful fragment is a full Turing-complete imperative language with conditionals, loops, recursion and commands for stateful operations like allocation, lookup and mutation of location content.},
language = {en\_US},
urldate = {2020-02-01},
author = {Nanevski, Aleksandar and Morrisett, Greg Gregory},
year = {2005},
note = {ZSCC: 0000024
tex.ids: nanevski},
keywords = {⛔ No DOI found},
pages = {48}
}
Downloads: 0
{"_id":"LJpdBkjNwbg5QRmr8","bibbaseid":"nanevski-morrisett-dependenttypetheoryofstatefulhigherorderfunctions-2005","authorIDs":[],"author_short":["Nanevski, A.","Morrisett, G. G."],"bibdata":{"bibtype":"article","type":"article","title":"Dependent Type Theory of Stateful Higher-Order Functions","copyright":"open","url":"https://dash.harvard.edu/handle/1/26506436","abstract":"In this paper we investigate a logic for reasoning about programs with higher-order functions and effectful features like non-termination and state with aliasing. We propose a dependent type theory HTT (short for Hoare Type Theory), where types serve as program specifications. In case of effectful programs, the type of Hoare triples \\P\\x:A\\Q\\ specifies the precondition P, the type of the return result A, and the postcondition Q. By Curry-Howard isomorphism, a dependent type theory may be viewed as a functional programming language. From this perspective, the type of Hoare triples is a monad, and HTT is a monadic language, whose pure fragment consists of higher-order functions, while the effectful fragment is a full Turing-complete imperative language with conditionals, loops, recursion and commands for stateful operations like allocation, lookup and mutation of location content.","language":"en_US","urldate":"2020-02-01","author":[{"propositions":[],"lastnames":["Nanevski"],"firstnames":["Aleksandar"],"suffixes":[]},{"propositions":[],"lastnames":["Morrisett"],"firstnames":["Greg","Gregory"],"suffixes":[]}],"year":"2005","note":"ZSCC: 0000024 tex.ids: nanevski","keywords":"⛔ No DOI found","pages":"48","bibtex":"@article{nanevski_dependent_2005,\n\ttitle = {Dependent {Type} {Theory} of {Stateful} {Higher}-{Order} {Functions}},\n\tcopyright = {open},\n\turl = {https://dash.harvard.edu/handle/1/26506436},\n\tabstract = {In this paper we investigate a logic for reasoning about programs with higher-order functions and effectful features like non-termination and state with aliasing. We propose a dependent type theory HTT (short for Hoare Type Theory), where types serve as program specifications. In case of effectful programs, the type of Hoare triples \\{P\\}x:A\\{Q\\} specifies the precondition P, the type of the return result A, and the postcondition Q. By Curry-Howard isomorphism, a dependent type theory may be viewed as a functional programming language. From this perspective, the type of Hoare triples is a monad, and HTT is a monadic language, whose pure fragment consists of higher-order functions, while the effectful fragment is a full Turing-complete imperative language with conditionals, loops, recursion and commands for stateful operations like allocation, lookup and mutation of location content.},\n\tlanguage = {en\\_US},\n\turldate = {2020-02-01},\n\tauthor = {Nanevski, Aleksandar and Morrisett, Greg Gregory},\n\tyear = {2005},\n\tnote = {ZSCC: 0000024\ntex.ids: nanevski},\n\tkeywords = {⛔ No DOI found},\n\tpages = {48}\n}\n\n","author_short":["Nanevski, A.","Morrisett, G. G."],"key":"nanevski_dependent_2005","id":"nanevski_dependent_2005","bibbaseid":"nanevski-morrisett-dependenttypetheoryofstatefulhigherorderfunctions-2005","role":"author","urls":{"Paper":"https://dash.harvard.edu/handle/1/26506436"},"keyword":["⛔ No DOI found"],"downloads":0},"bibtype":"article","biburl":"https://bibbase.org/zotero/k4rtik","creationDate":"2020-05-31T17:07:22.479Z","downloads":0,"keywords":["⛔ no doi found"],"search_terms":["dependent","type","theory","stateful","higher","order","functions","nanevski","morrisett"],"title":"Dependent Type Theory of Stateful Higher-Order Functions","year":2005,"dataSources":["Z5Dp3qAJiMzxtvKMq"]}