Quantitative continuity and computable analysis in Coq
- Others:
- Formally Verified Programs, Certified Tools and Numerical Computations (TOCCATA) ; Laboratoire de Recherche en Informatique (LRI) ; Université Paris-Sud - Paris 11 (UP11)-CentraleSupélec-Centre National de la Recherche Scientifique (CNRS)-Université Paris-Sud - Paris 11 (UP11)-CentraleSupélec-Centre National de la Recherche Scientifique (CNRS)-Inria Saclay - Ile de France ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
- Mathematical, Reasoning and Software (MARELLE) ; Inria Sophia Antipolis - Méditerranée (CRISAM) ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
- Sûreté du logiciel et Preuves Mathématiques Formalisées (STAMP) ; Inria Sophia Antipolis - Méditerranée (CRISAM) ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
- Kyushu University [Fukuoka]
- This work was supported by JSPS KAKENHI Grant Number JP18J10407, by the Japan Society for thePromotion of Science (JSPS), Core-to-Core Program (A. Advanced Research Networks), by the ANR projectFastRelax (ANR-14-CE25-0018-01) of the French National Agency for Research and by EU-MSCA-RISEproject 731143 "Computing with Infinite Data" (CID
Description
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.
Additional details
- URL
- https://hal.inria.fr/hal-02088293
- URN
- urn:oai:HAL:hal-02088293v1
- Origin repository
- UNICA