二进制符号数表示中实数的极限

Franziskus Wiesnet, Nils Köpp
{"title":"二进制符号数表示中实数的极限","authors":"Franziskus Wiesnet, Nils Köpp","doi":"10.46298/lmcs-18(3:24)2022","DOIUrl":null,"url":null,"abstract":"We extract verified algorithms for exact real number computation from\nconstructive proofs. To this end we use a coinductive representation of reals\nas streams of binary signed digits. The main objective of this paper is the\nformalisation of a constructive proof that real numbers are closed with respect\nto limits. All the proofs of the main theorem and the first application are\nimplemented in the Minlog proof system and the extracted terms are further\ntranslated into Haskell. We compare two approaches. The first approach is a\ndirect proof. In the second approach we make use of the representation of reals\nby a Cauchy-sequence of rationals. Utilizing translations between the two\nrepresenation and using the completeness of the Cauchy-reals, the proof is very\nshort. In both cases we use Minlog's program extraction mechanism to\nautomatically extract a formally verified program that transforms a converging\nsequence of reals, i.e.~a sequence of streams of binary signed digits together\nwith a modulus of convergence, into the binary signed digit representation of\nits limit. The correctness of the extracted terms follows directly from the\nsoundness theorem of program extraction. As a first application we use the\nextracted algorithms together with Heron's method to construct an algorithm\nthat computes square roots with respect to the binary signed digit\nrepresentation. In a second application we use the convergence theorem to show\nthat the signed digit representation of real numbers is closed under\nmultiplication.","PeriodicalId":314387,"journal":{"name":"Log. Methods Comput. Sci.","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Limits of real numbers in the binary signed digit representation\",\"authors\":\"Franziskus Wiesnet, Nils Köpp\",\"doi\":\"10.46298/lmcs-18(3:24)2022\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We extract verified algorithms for exact real number computation from\\nconstructive proofs. To this end we use a coinductive representation of reals\\nas streams of binary signed digits. The main objective of this paper is the\\nformalisation of a constructive proof that real numbers are closed with respect\\nto limits. All the proofs of the main theorem and the first application are\\nimplemented in the Minlog proof system and the extracted terms are further\\ntranslated into Haskell. We compare two approaches. The first approach is a\\ndirect proof. In the second approach we make use of the representation of reals\\nby a Cauchy-sequence of rationals. Utilizing translations between the two\\nrepresenation and using the completeness of the Cauchy-reals, the proof is very\\nshort. In both cases we use Minlog's program extraction mechanism to\\nautomatically extract a formally verified program that transforms a converging\\nsequence of reals, i.e.~a sequence of streams of binary signed digits together\\nwith a modulus of convergence, into the binary signed digit representation of\\nits limit. The correctness of the extracted terms follows directly from the\\nsoundness theorem of program extraction. As a first application we use the\\nextracted algorithms together with Heron's method to construct an algorithm\\nthat computes square roots with respect to the binary signed digit\\nrepresentation. In a second application we use the convergence theorem to show\\nthat the signed digit representation of real numbers is closed under\\nmultiplication.\",\"PeriodicalId\":314387,\"journal\":{\"name\":\"Log. Methods Comput. Sci.\",\"volume\":\"12 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-03-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Log. Methods Comput. Sci.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.46298/lmcs-18(3:24)2022\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Log. Methods Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-18(3:24)2022","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

我们从构造证明中提取出精确实数计算的验证算法。为此,我们使用了二进制有符号数字流的协归纳表示。本文的主要目的是形式化实数对极限是封闭的建设性证明。主要定理的所有证明和第一个应用都在Minlog证明系统中实现,并将提取的术语进一步翻译成Haskell。我们比较两种方法。第一种方法是直接证明。在第二种方法中,我们利用实数的柯西有理数序列来表示。利用两种表示法之间的转换和柯西实数的完备性,证明非常简短。在这两种情况下,我们都使用Minlog的程序提取机制来自动提取一个正式验证的程序,该程序将实数的收敛序列转换为其极限的二进制有符号数表示,即具有收敛模数的二进制有符号数流序列。提取项的正确性直接来源于程序提取的稳健性定理。作为第一个应用,我们将提取的算法与Heron的方法结合使用,构建了一个计算二进制有符号数字表示的平方根的算法。在第二个应用中,我们使用收敛定理来证明实数的符号数表示是闭欠乘。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Limits of real numbers in the binary signed digit representation
We extract verified algorithms for exact real number computation from constructive proofs. To this end we use a coinductive representation of reals as streams of binary signed digits. The main objective of this paper is the formalisation of a constructive proof that real numbers are closed with respect to limits. All the proofs of the main theorem and the first application are implemented in the Minlog proof system and the extracted terms are further translated into Haskell. We compare two approaches. The first approach is a direct proof. In the second approach we make use of the representation of reals by a Cauchy-sequence of rationals. Utilizing translations between the two represenation and using the completeness of the Cauchy-reals, the proof is very short. In both cases we use Minlog's program extraction mechanism to automatically extract a formally verified program that transforms a converging sequence of reals, i.e.~a sequence of streams of binary signed digits together with a modulus of convergence, into the binary signed digit representation of its limit. The correctness of the extracted terms follows directly from the soundness theorem of program extraction. As a first application we use the extracted algorithms together with Heron's method to construct an algorithm that computes square roots with respect to the binary signed digit representation. In a second application we use the convergence theorem to show that the signed digit representation of real numbers is closed under multiplication.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信