arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.15702math.LO
收藏

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

Limits of real numbers in the binary signed digit representation

Franziskus Wiesnet, Nils Köpp

AI总结:

本文从构造性证明中提取验证算法,证明实数在二进制有符号数字表示下对极限封闭,并用于平方根计算和乘法封闭性验证。

摘要:

我们从构造性证明中提取用于精确实数计算的验证算法。为此,我们使用实数的余归纳表示,即二进制有符号数字流。本文的主要目标是形式化一个构造性证明,表明实数对极限运算是封闭的。主定理和第一个应用的所有证明都在Minlog证明系统中实现,提取的项进一步翻译成Haskell。我们比较了两种方法。第一种方法是直接证明。第二种方法利用有理数的柯西序列来表示实数。利用两种表示之间的转换以及柯西实数的完备性,证明非常简短。在两种情况下,我们都使用Minlog的程序提取机制自动提取一个经过形式验证的程序,该程序将收敛的实数序列(即带有收敛模数的二进制有符号数字流序列)转换为其极限的二进制有符号数字表示。提取项的正确性直接来自程序提取的可靠性定理。作为第一个应用,我们将提取的算法与海伦方法结合,构造一个在二进制有符号数字表示下计算平方根的算法。在第二个应用中,我们使用收敛定理来证明实数的有符号数字表示对乘法是封闭的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑