Computer certified efficient exact reals in Coq

Robbert Krebbers*, Bas Spitters

*Corresponding author for this work

Research output: Contribution to book/anthology/report/proceedingArticle in proceedingsResearchpeer-review

10 Citations (Scopus)

Abstract

Floating point operations are fast, but require continuous effort on the part of the user in order to ensure that the results are correct. This burden can be shifted away from the user by providing a library of exact analysis in which the computer handles the error estimates. We provide an implementation of the exact real numbers in the Coq proof assistant. This improves on the earlier Coq-implementation by O'Connor in two ways: we use dyadic rationals built from the machine integers and we optimize computation of power series by using approximate division. Moreover, we use type classes for clean mathematical interfaces. This appears to be the first time that type classes are used in heavy computation. We obtain over a 100 times speed up of the basic operations and indications for improving the Coq system.

Original languageEnglish
Title of host publicationIntelligent Computer Mathematics - 18th Symposium, Calculemus 2011 and 10th International Conference, MKM 2011, Proceedings
Number of pages17
Publication date11 Aug 2011
Pages90-106
ISBN (Print)9783642226724
DOIs
Publication statusPublished - 11 Aug 2011
Externally publishedYes
Event18th Symposium on the Integration of Symbolic Computation and Mechanized Reasoning, Calculemus 2011 and 10th International Conference on Mathematical Knowledge Management, MKM 2011 - Bertinoro, Italy
Duration: 18 Jul 201123 Jul 2011

Conference

Conference18th Symposium on the Integration of Symbolic Computation and Mechanized Reasoning, Calculemus 2011 and 10th International Conference on Mathematical Knowledge Management, MKM 2011
Country/TerritoryItaly
CityBertinoro
Period18/07/201123/07/2011
SponsorUniversity of Bologna
SeriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6824 LNAI
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Computer certified efficient exact reals in Coq'. Together they form a unique fingerprint.

Cite this