原始浮在Coq

Guillaume Bertholon, Érik Martin-Dorel, P. Roux
{"title":"原始浮在Coq","authors":"Guillaume Bertholon, Érik Martin-Dorel, P. Roux","doi":"10.4230/LIPIcs.ITP.2019.7","DOIUrl":null,"url":null,"abstract":"16 Some mathematical proofs involve intensive computations, for instance: the four-color theorem, Hales’ 17 theorem on sphere packing (formerly known as the Kepler conjecture) or interval arithmetic. For 18 numerical computations, floating-point arithmetic enjoys widespread usage thanks to its efficiency, 19 despite the introduction of rounding errors. 20 Formal guarantees can be obtained on floating-point algorithms based on the IEEE 754 standard, 21 which precisely specifies floating-point arithmetic and its rounding modes, and a proof assistant 22 such as Coq, that enjoys efficient computation capabilities. Coq offers machine integers, however 23 floating-point arithmetic still needed to be emulated using these integers. 24 A modified version of Coq is presented that enables using the machine floating-point operators. 25 The main obstacles to such an implementation and its soundness are discussed. Benchmarks show 26 potential performance gains of two orders of magnitude. 27 2012 ACM Subject Classification Theory of computation→ Type theory; Mathematics of computing 28 → Numerical analysis; General and reference → Performance 29","PeriodicalId":296683,"journal":{"name":"International Conference on Interactive Theorem Proving","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Primitive Floats in Coq\",\"authors\":\"Guillaume Bertholon, Érik Martin-Dorel, P. Roux\",\"doi\":\"10.4230/LIPIcs.ITP.2019.7\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"16 Some mathematical proofs involve intensive computations, for instance: the four-color theorem, Hales’ 17 theorem on sphere packing (formerly known as the Kepler conjecture) or interval arithmetic. For 18 numerical computations, floating-point arithmetic enjoys widespread usage thanks to its efficiency, 19 despite the introduction of rounding errors. 20 Formal guarantees can be obtained on floating-point algorithms based on the IEEE 754 standard, 21 which precisely specifies floating-point arithmetic and its rounding modes, and a proof assistant 22 such as Coq, that enjoys efficient computation capabilities. Coq offers machine integers, however 23 floating-point arithmetic still needed to be emulated using these integers. 24 A modified version of Coq is presented that enables using the machine floating-point operators. 25 The main obstacles to such an implementation and its soundness are discussed. Benchmarks show 26 potential performance gains of two orders of magnitude. 27 2012 ACM Subject Classification Theory of computation→ Type theory; Mathematics of computing 28 → Numerical analysis; General and reference → Performance 29\",\"PeriodicalId\":296683,\"journal\":{\"name\":\"International Conference on Interactive Theorem Proving\",\"volume\":\"20 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-09-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Interactive Theorem Proving\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4230/LIPIcs.ITP.2019.7\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Interactive Theorem Proving","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.ITP.2019.7","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

摘要

一些数学证明涉及大量的计算,例如:四色定理、关于球填充的海尔斯定理(以前称为开普勒猜想)或区间算术。对于数值计算,尽管引入了舍入误差,但由于其效率,浮点运算得到了广泛的使用。20基于IEEE 754标准的浮点算法可以得到形式化的保证,21精确地规定了浮点运算及其舍入模式,以及Coq等证明助手22,具有高效的计算能力。Coq提供了机器整数,但是仍然需要使用这些整数来模拟23浮点运算。提出了Coq的一个改进版本,使其能够使用机器浮点运算符。25 .讨论了这种执行的主要障碍及其健全性。基准测试显示了26个潜在的两个数量级的性能提升。27 2012 ACM学科分类:计算理论→类型理论;计算数学28→数值分析;总则与参考→性能
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Primitive Floats in Coq
16 Some mathematical proofs involve intensive computations, for instance: the four-color theorem, Hales’ 17 theorem on sphere packing (formerly known as the Kepler conjecture) or interval arithmetic. For 18 numerical computations, floating-point arithmetic enjoys widespread usage thanks to its efficiency, 19 despite the introduction of rounding errors. 20 Formal guarantees can be obtained on floating-point algorithms based on the IEEE 754 standard, 21 which precisely specifies floating-point arithmetic and its rounding modes, and a proof assistant 22 such as Coq, that enjoys efficient computation capabilities. Coq offers machine integers, however 23 floating-point arithmetic still needed to be emulated using these integers. 24 A modified version of Coq is presented that enables using the machine floating-point operators. 25 The main obstacles to such an implementation and its soundness are discussed. Benchmarks show 26 potential performance gains of two orders of magnitude. 27 2012 ACM Subject Classification Theory of computation→ Type theory; Mathematics of computing 28 → Numerical analysis; General and reference → Performance 29
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Formalizing Norm Extensions and Applications to Number Theory Fermat's Last Theorem for regular primes MizAR 60 for Mizar 50 Reimplementing Mizar in Rust A Formal Analysis of RANKING
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1