Download PDFOpen PDF in browser

Recursive Definitions of Monadic Functions

13 pagesPublished: May 15, 2012

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.

In: Ekaterina Komendantskaya, Ana Bove and Milad Niqui (editors). PAR-10. Partiality and Recursion in Interactive Theorem Provers, vol 5, pages 1-13.

BibTeX entry
@inproceedings{PAR-10:Recursive_Definitions_Monadic_Functions,
  author    = {Alexander Krauss},
  title     = {Recursive Definitions of Monadic Functions},
  booktitle = {PAR-10. Partiality and Recursion in Interactive Theorem Provers},
  editor    = {Ekaterina Komendantskaya and Ana Bove and Milad Niqui},
  series    = {EPiC Series in Computing},
  volume    = {5},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/hcw},
  doi       = {10.29007/1mdt},
  pages     = {1-13},
  year      = {2012}}
Download PDFOpen PDF in browser