Kahan's algorithm for a correct discriminant computation at last formally proven - Inria - Institut national de recherche en sciences et technologies du numérique
Pré-Publication, Document De Travail Année : 2007

Kahan's algorithm for a correct discriminant computation at last formally proven

Sylvie Boldo

Résumé

This article tackles Kahan's algorithm to compute accurately the discriminant whatever the inputs. This is a known difficult problem and this algorithm leads to an error bounded by 2 ulps of the result. The proofs involved are long and tricky and even trickier than expected as the test involved may give an unexpected result. We give here the total demonstration of the validity of this algorithm and we provide sufficient conditions to guarantee neither Overflow, nor Underflow will jeopardize the result. The program was annotated using the Caduceus tool and the proof obligations were done using the Coq automatic proof checker.
Fichier principal
Vignette du fichier
discri.pdf (106.71 Ko) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte

Dates et versions

inria-00171497 , version 1 (12-09-2007)
inria-00171497 , version 2 (24-11-2009)

Identifiants

  • HAL Id : inria-00171497 , version 1

Citer

Sylvie Boldo. Kahan's algorithm for a correct discriminant computation at last formally proven. 2007. ⟨inria-00171497v1⟩
468 Consultations
806 Téléchargements

Partager

More