A certified, corecursive implementation of exact real numbers

  • Authors:
  • Alberto Ciaffaglione;Pietro Di Gianantonio

  • Affiliations:
  • Dipartimento di Matematica e Informatica, Università di Udine, Italy;Dipartimento di Matematica e Informatica, Università di Udine, Italy

  • Venue:
  • Theoretical Computer Science - Real numbers and computers
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We implement exact real numbers in the logical framework Coq using streams, i.e., infinite sequences, of digits, and characterize constructive real numbers through a minimal axiomatization. We prove that our construction inhabits the axiomatization, working formally with coinductive types and corecursive proofs. Thus we obtain reliable, corecursive algorithms for computing on real numbers.