Download PDFOpen PDF in browserCurrent version

Towards Corecursion Without Corecursion in Coq

EasyChair Preprint 8442, version 1

Versions: 12history
11 pagesDate: July 10, 2022

Abstract

Coinduction is an important concept in functional programming. To formally prove properties of corecursive functions one can try to
define them in a proof assistant such as Coq. But there are limitations on the  functions that can be defined. In particular, corecursive calls must occur directly under a call to a constructor, without any  calls to other recursive functions in between. In this paper we show how a partially ordered set endowed with a  notion of approximation can be organized as a Complete Partial Order.  This makes it possible to define corecursive functions without using Coq's corecursion,  as the unique solution of a fixpoint equation, thereby escaping Coq's builtin limitations.

Keyphrases: Coq, coinductive type, corecursive function, fixpoint

BibTeX entry
BibTeX does not have the right entry for preprints. This is a hack for producing the correct reference:
@booklet{EasyChair:8442,
  author    = {Vlad Rusu and David Nowak},
  title     = {Towards Corecursion Without Corecursion in Coq},
  howpublished = {EasyChair Preprint 8442},
  year      = {EasyChair, 2022}}
Download PDFOpen PDF in browserCurrent version