English

Recursive Definitions of Monadic Functions

Logic in Computer Science 2010-12-23 v1

Abstract

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.

Keywords

Cite

@article{arxiv.1012.4895,
  title  = {Recursive Definitions of Monadic Functions},
  author = {Alexander Krauss},
  journal= {arXiv preprint arXiv:1012.4895},
  year   = {2010}
}

Comments

In Proceedings PAR 2010, arXiv:1012.4555

R2 v1 2026-06-21T17:02:56.076Z