计算机科学 > 计算机科学中的逻辑
[提交于 2011年5月13日]
标题:Computer certified efficient exact reals in Coq
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Bas Spitters[v1] 2011年5月13日 星期五 15:13:57 UTC