Formal proof for delayed finite field arithmetic using floating point operators

Sylvie Boldo 1 Marc Daumas 2 Pascal Giorgi 3
1 PROVAL - Proof of Programs
UP11 - Université Paris-Sud - Paris 11, Inria Saclay - Ile de France, CNRS - Centre National de la Recherche Scientifique : UMR
3 ARITH - Arithmétique informatique
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier
Abstract : Formal proof checkers such as Coq are capable of validating proofs of correction of algorithms for finite field arithmetics but they require extensive training from potential users. The delayed solution of a triangular system over a finite field mixes operations on integers and operations on floating point numbers. We focus in this report on verifying proof obligations that state that no round off error occurred on any of the floating point operations. We use a tool named Gappa that can be learned in a matter of minutes to generate proofs related to floating point arithmetic and hide technicalities of formal proof checkers. We found that three facilities are missing from existing tools. The first one is the ability to use in Gappa new lemmas that cannot be easily expressed as rewriting rules. We coined the second one ``variable interchange'' as it would be required to validate loop interchanges. The third facility handles massive loop unrolling and argument instantiation by generating traces of execution for a large number of cases. We hope that these facilities may sometime in the future be integrated into mainstream code validation.
Type de document :
Communication dans un congrès
8th Conference on Real Numbers and Computers, Jul 2008, Saint Jacques de Compostelle, Spain. pp.113-122, 2008
Liste complète des métadonnées

Littérature citée [18 références]  Voir  Masquer  Télécharger

https://hal.archives-ouvertes.fr/hal-00135090
Contributeur : Marc Daumas <>
Soumis le : mercredi 14 mai 2008 - 15:05:42
Dernière modification le : vendredi 9 juin 2017 - 10:40:26
Document(s) archivé(s) le : jeudi 23 septembre 2010 - 17:05:00

Fichiers

rnc.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00135090, version 3
  • ARXIV : cs/0703026

Collections

Citation

Sylvie Boldo, Marc Daumas, Pascal Giorgi. Formal proof for delayed finite field arithmetic using floating point operators. 8th Conference on Real Numbers and Computers, Jul 2008, Saint Jacques de Compostelle, Spain. pp.113-122, 2008. 〈hal-00135090v3〉

Partager

Métriques

Consultations de
la notice

433

Téléchargements du document

190