跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:1106.3448 (cs)
[提交于 2011年6月17日 (v1),最后修订于 2013年2月13日 (此版本, v3)]

标题:Type classes for efficient exact real arithmetic in Coq

作者:Robbert Krebbers, Bas Spitters
查看论文《Type classes for efficient exact real arithmetic in Coq》的 PDF
查看原文 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. 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 verify the sine and cosine function. Secondly, we create an additional implementation of the dense set based on Coq's fast rational numbers. Thirdly, we extend the hierarchy to capture order on undecidable structures, while it was limited to decidable structures before. This hierarchy, based on type classes, allows us to share theory on the naturals, integers, rationals, dyadics, and reals in a convenient way. Finally, we obtain another dramatic speed-up by avoiding evaluation of termination proofs at runtime.
评论: arXiv admin note: text overlap with arXiv:1105.2751
主题: 计算机科学中的逻辑 (cs.LO); 数值分析 (cs.NA); 数值分析 (math.NA)
引用方式: arXiv:1106.3448 [cs.LO]
  (或者 arXiv:1106.3448v3 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.1106.3448
期刊参考: Logical Methods in Computer Science, Volume 9, Issue 1 (February 14, 2013) lmcs:958
相关 DOI: https://doi.org/10.2168/LMCS-9(1:1)2013

提交历史

来自:Jürgen Koslowski
[v1] 2011年6月17日 星期五 11:20:20 UTC (56 KB)
[v2] 2012年12月1日 星期六 15:24:43 UTC (59 KB)
[v3] 2013年2月13日 星期三 15:06:05 UTC (62 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math
< 上一篇   |   下一篇 >
最新 | 近期 | 2013-02
切换浏览方式为:
cs
cs.LO
cs.NA
math.NA

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站