Improving Real Analysis in Coq: a User-Friendly Approach to Integrals and Derivatives - Archive ouverte HAL Access content directly
Preprints, Working Papers, ... Year : 2012

Improving Real Analysis in Coq: a User-Friendly Approach to Integrals and Derivatives

Abstract

Verification of numerical analysis programs requires dealing with derivatives and integrals. High confidence in this process can be achieved using a formal proof checker, such as Coq. Its standard library provides an axiomatization of real numbers and various lemmas about real analysis, which may be used for this purpose. Unfortunately, its definitions of derivative and integral are unpractical as they are partial functions that demand a proof term. This proof term makes the handling of mathematical formulas cumbersome and does not conform to traditional analysis. Other proof assistants usually do not suffer from this issue; for instance, they may rely on Hilbert's epsilon to get total operators. In this paper, we propose a way to define total operators for derivative and integral without having to extend Coq's standard axiomatization of real numbers. We proved the compatibility of our definitions with the standard library's in order to leverage existing results. We also greatly improved automation for real analysis proofs that use Coq standard definitions. We exercised our approach on lemmas involving iterated partial derivatives and differentiation under the integral sign, that were missing from the formal proof of a numerical program solving the wave equation.
Fichier principal
Vignette du fichier
article.pdf (191.18 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00712938 , version 1 (28-06-2012)
hal-00712938 , version 2 (14-09-2012)

Identifiers

  • HAL Id : hal-00712938 , version 1

Cite

Sylvie Boldo, Catherine Lelay, Guillaume Melquiond. Improving Real Analysis in Coq: a User-Friendly Approach to Integrals and Derivatives. 2012. ⟨hal-00712938v1⟩
1046 View
984 Download

Share

Gmail Facebook X LinkedIn More