计算机科学 > 计算机科学中的逻辑
[提交于 2010年12月22日]
标题:Recursive Definitions of Monadic Functions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Using standard domain-theoretic fixed-points, we present an approach for defining recursive functions that are formulated in monadic style. The method works both in the simple option monad and the state-exception monad of Isabelle/HOL's imperative programming extension, which results in a convenient definition principle for imperative programs, which were previously hard to define. For such monadic functions, the recursion equation can always be derived without preconditions, even if the function is partial. The construction is easy to automate, and convenient induction principles can be derived automatically.
提交历史
来自:EPTCS[v1] 2010年12月22日 星期三 07:09:04 UTC