Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Quantitative continuity and computable analysis in Coq

Florian Steinberg 1 Laurent Théry 2, 3 Holger Thies 4
1 TOCCATA - Formally Verified Programs, Certified Tools and Numerical Computations
LRI - Laboratoire de Recherche en Informatique, Inria Saclay - Ile de France
2 MARELLE - Mathematical, Reasoning and Software
CRISAM - Inria Sophia Antipolis - Méditerranée
3 STAMP - Sûreté du logiciel et Preuves Mathématiques Formalisées
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : We give a number of formal proofs of theorems from the field of computable analysis. Many of our results specify executable algorithms that work on infinite inputs by means of operating on finite approximations and are proven correct in the sense of computable analysis. The development is done in the proof assistant Coq and heavily relies on the Incone library for information theoretic continuity. This library is developed by one of the authors and the paper can be used as an introduction to the library as it describes many of its most important features in detail. While the ability to have full executability in a formal development of mathematical statements about real numbers and the like is not a feature that is unique to the Incone library, its original contribution is to adhere to the conventions of computable analysis to provide a general purpose interface for algorithmic reasoning on continuous structures. The results that provide complete computational content include that the algebraic operations and the efficient limit operator on the reals are computable, that certain countably infinite products are isomorphic to spaces of functions, compatibility of the enumeration representation of subsets of natural numbers with the abstract definition of the space of open subsets of the natural numbers, and that continuous realizability implies sequential continuity. We also describe many non-computational results that support the correctness of our definitions. These include that the information theoretic notion of continuity used in the library is equivalent to the metric notion of continuity on Baire space, a complete comparison of the different concepts of continuity that arise from metric and represented-space structures and the discontinuity of the unrestricted limit operator on the real numbers and the task of selecting an element of a closed subset of the natural numbers. The paper briefly describes Incone's sub libraries mf and Metric which may be of separate interest and have fewer dependencies and can thus be acquired separately. We occasionally mention additional material from the sister library CoqRep that contains more experimental concepts in attempt to more conveniently manipulate algorithms on infinite data inside of Coq while avoiding a full formalization of a model of computation.
Document type :
Preprints, Working Papers, ...
Complete list of metadatas

Cited literature [80 references]  Display  Hide  Download
Contributor : Florian Steinberg <>
Submitted on : Tuesday, April 2, 2019 - 5:21:37 PM
Last modification on : Tuesday, April 21, 2020 - 1:08:11 AM
Document(s) archivé(s) le : Wednesday, July 3, 2019 - 5:26:01 PM


Files produced by the author(s)


  • HAL Id : hal-02088293, version 1


Florian Steinberg, Laurent Théry, Holger Thies. Quantitative continuity and computable analysis in Coq. 2019. ⟨hal-02088293⟩



Record views


Files downloads