Inductive Reasoning About Effectful Data Types

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningfagfællebedømt

We present a pair of reasoning principles, definition and proof by rigid induction, which can be seen as proper generalizations of lazy-datatype induction to monadic effects other than partiality. We further show how these principles can be integrated into logical-relations arguments, and obtain as a particular instance a general and principled proof that the success-stream and failure-continuation models of backtracking are equivalent. As another application, we present a monadic model of general search trees, not necessarily traversed depth-first. The results are applicable to both lazy and eager languages, and we emphasize this by presenting most examples in both Haskell and SML.
OriginalsprogEngelsk
TitelICFP 07 : Proceedings of the 2007 ACM SIGPLAN International Conference on Functional Programming, Freiburg, Germany, October 1-3, 2007
ForlagAssociation for Computing Machinery
Publikationsdato2007
Sider97-110
ISBN (Trykt)978-1-59593-815-2
DOI
StatusUdgivet - 2007
BegivenhedACM/SIGPLAN International Conference on Functional Programming - Freiburg, Tyskland
Varighed: 1 okt. 20073 okt. 2007
Konferencens nummer: 12

Konference

KonferenceACM/SIGPLAN International Conference on Functional Programming
Nummer12
LandTyskland
ByFreiburg
Periode01/10/200703/10/2007
NavnSIGPLAN Notices
Nummer42 (9)
ISSN0362-1340

ID: 1050059