Computer Certified Efficient Exact Reals in Coq [chapter]

Robbert Krebbers, Bas Spitters
2011 Lecture Notes in Computer Science  
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
more » ... mize 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.
doi:10.1007/978-3-642-22673-1_7 fatcat:lysohwv64zgutc4xbsx452e7fm