Formal proof for delayed finite field arithmetic using floating point operators - Archive ouverte HAL Access content directly
Conference Papers Year : 2008

Formal proof for delayed finite field arithmetic using floating point operators

Sylvie Boldo
Pascal Giorgi

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.
Fichier principal
Vignette du fichier
rnc.pdf (134.08 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00135090 , version 1 (06-03-2007)
hal-00135090 , version 2 (24-05-2007)
hal-00135090 , version 3 (14-05-2008)

Identifiers

Cite

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. ⟨hal-00135090v3⟩
374 View
183 Download

Altmetric

Share

Gmail Facebook X LinkedIn More