Coinductive Formal Reasoning in Exact Real Arithmetic
Milad Niqui

TL;DR
This paper presents a formal verification of lazy algorithms for exact real arithmetic using coinductive streams and the Coq proof assistant, addressing partial productivity and ensuring semantic correctness.
Contribution
It introduces a formal Coq framework for verifying coinductive algorithms in exact real arithmetic, handling partiality and aligning with real number semantics.
Findings
Formalised algorithms are partially productive.
Compatibility of type-theoretic techniques with real number semantics.
Coq formalisation is publicly available.
Abstract
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\"{o}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…
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.
