Coinductive correctness of homographic and quadratic algorithms for exact real numbers

  • Authors:
  • Milad Niqui

  • Affiliations:
  • Institute for Computing and Information Sciences, Radboud University Nijmegen, The Netherlands

  • Venue:
  • TYPES'06 Proceedings of the 2006 international conference on Types for proofs and programs
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this article we present a method for formally proving the correctness of the lazy algorithms for computing homographic and quadratic transformations -- of which field operations are special cases-- on a representation of real numbers by coinductive streams. The algorithms work on coinductive stream of Möbius maps and form the basis of Edalat-Potts exact real arithmetic. We build upon our earlier work of formalising the homographic and quadratic algorithms in constructive type theory via general corecursion. Based on the notion of cofixed point equations for general corecursive definitions we prove by coinduction the correctness of the algorithms. We use the machinery of the Coq proof assistant for coinductive types to present the formalisation. The material in this article is fully formalised in the Coq proof assistant.