Extracting efficient exact real number computation from proofs in constructive type theory
Michal Kone\v{c}n\'y, Sewon Park, Holger Thies

TL;DR
This paper introduces a new axiomatization of real numbers in dependent type theory to extract certified, efficient exact real computation programs from constructive proofs, bridging formal verification and practical implementation.
Contribution
It formalizes real numbers in a way similar to existing implementations, enabling direct extraction of efficient programs from proofs in Coq, including partial and nondeterministic computations.
Findings
Extracted programs perform similarly to native AERN implementations.
Formalization is sound with respect to computable analysis.
Demonstrated feasibility through Coq implementation and natural examples.
Abstract
Exact real computation is an alternative to floating-point arithmetic where operations on real numbers are performed exactly, without the introduction of rounding errors. When proving the correctness of an implementation, one can focus solely on the mathematical properties of the problem without thinking about the subtleties of representing real numbers. We propose a new axiomatization of the real numbers in a dependent type theory with the goal of extracting certified exact real computation programs from constructive proofs. Our formalization differs from similar approaches, in that we formalize the reals in a conceptually similar way as some mature implementations of exact real computation. Primitive operations on reals can be extracted directly to the corresponding operations in such an implementation, producing more efficient programs. We particularly focus on the formalization of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
