TL;DR
This paper presents an extended Coq library for exact real arithmetic using type classes, enabling efficient computation of functions like sine and cosine, with significant speed improvements and broader applicability to undecidable structures.
Contribution
The authors extend their previous Coq implementation by adding new functions, alternative dense set representations, and a hierarchy for undecidable structures, improving efficiency and generality.
Findings
Achieved a 100x speed-up in basic operations.
Successfully implemented and verified sine and cosine functions.
Extended hierarchy to include order on undecidable structures.
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. Previously, we [Krebbers/Spitters 2011] provided a fast implementation of the exact real numbers in the Coq proof assistant. Our implementation improved on an earlier implementation by O'Connor by using type classes to describe an abstract specification of the underlying dense set from which the real numbers are built. In particular, we used dyadic rationals built from Coq's machine integers to obtain a 100 times speed up of the basic operations already. This article is a substantially expanded version of [Krebbers/Spitters 2011] in which the implementation is extended in the various ways. First, we implement and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
