Affiliation:
1. University of Copenhagen, Copenhagen, Denmark
2. University of Aarhus, Aarhus, Denmark
Abstract
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Eilenberg–Moore Monoids and Backtracking Monad Transformers;Electronic Proceedings in Theoretical Computer Science;2016-04-01
2. Relating computational effects by ⊤⊤-lifting;Information and Computation;2013-01