A coalgebraic view of bar recursion and bar induction

Capretta, Venanzio and Uustalu, Tarmo (2016) A coalgebraic view of bar recursion and bar induction. Lecture Notes in Computer Science, 9634 . pp. 91-106. ISSN 0302-9743

PDF (Author version of published article) - Requires a PDF viewer such as GSview, Xpdf or Adobe Acrobat Reader
Download (320kB) | Preview


We reformulate the bar recursion and induction principles in terms of recursive and wellfounded coalgebras. Bar induction was originally proposed by Brouwer as an axiom to recover certain classically valid theorems in a constructive setting. It is a form of induction on non- wellfounded trees satisfying certain properties. Bar recursion, introduced later by Spector, is the corresponding function defnition principle.

We give a generalization of these principles, by introducing the notion of barred coalgebra: a process with a branching behaviour given by a functor, such that all possible computations terminate.

Coalgebraic bar recursion is the statement that every barred coalgebra is recursive; a recursive coalgebra is one that allows defnition of functions by a coalgebra-to-algebra morphism. It is a framework to characterize valid forms of recursion for terminating functional programs. One application of the principle is the tabulation of continuous functions: Ghani, Hancock and Pattinson defned a type of wellfounded trees that represent continuous functions on streams. Bar recursion allows us to prove that every stably continuous function can be tabulated to such a tree where by stability we mean that the modulus of continuity is also continuous.

Coalgebraic bar induction states that every barred coalgebra is well-founded; a wellfounded coalgebra is one that admits proof by induction.

Item Type: Article
Additional Information: The final publication is available at Springer via http://link.springer.com/chapter/10.1007%2F978-3-662-49630-5_6
Schools/Departments: University of Nottingham UK Campus > Faculty of Science > School of Computer Science
Identification Number: https://doi.org/10.1007/978-3-662-49630-5_6
Depositing User: Capretta, Venanzio
Date Deposited: 10 Jun 2016 08:45
Last Modified: 15 Sep 2016 10:07
URI: http://eprints.nottingham.ac.uk/id/eprint/33872

Actions (Archive Staff Only)

Edit View Edit View