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

精确实数运算中的共归纳形式推理

Coinductive Formal Reasoning in Exact Real Arithmetic

Milad Niqui

摘要:

在这篇文章中,我们提出了一种方法,正式证明的正确性懒惰算法计算单应性和二次变换-字段操作的特殊情况下-由共归纳流的实数表示。该算法工作在Möbius映射的共归纳流上,并形成了Edalat-Potts精确实算术的基础。我们使用Coq的证明助手的机器来表示共归纳类型的形式化。形式化的算法只是部分生产性的,即,它们并不为所有可能的输入输出可证明的无限流。我们将展示如何处理这一问题的句法限制的存在所造成的建设性类型论的Coq。此外,我们表明,我们开发的类型理论技术是兼容的语义的算法作为连续映射实数。由此产生的Coq形式化可供公众下载。

英文摘要:

In this article we present a method for formally proving the correctness of the lazy algorithms for computing homographic and quadratic transformations -- of which field operations are special cases-- on a representation of real numbers by coinductive streams. The algorithms work on coinductive stream of Möbius maps and form the basis of the Edalat--Potts exact real arithmetic. We use the machinery of the Coq proof assistant for the coinductive types to present the formalisation. The formalised algorithms are only partially productive, i.e., they do not output provably infinite streams for all possible inputs. We show how to deal with this partiality in the presence of syntactic restrictions posed by the constructive type theory of Coq. Furthermore we show that the type theoretic techniques that we develop are compatible with the semantics of the algorithms as continuous maps on real numbers. The resulting Coq formalisation is available for public download.

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

↑