Formal Verification of a State-of-the-Art Integer Square Root - Laboratoire Méthodes Formelles
Communication Dans Un Congrès Année : 2019

Formal Verification of a State-of-the-Art Integer Square Root

Résumé

We present the automatic formal verification of a state-of-the-art algorithm from the GMP library that computes the square root of a 64-bit integer. Although it uses only integer operations, the best way to understand the program is to view it as a fixed-point arithmetic algorithm that implements Newton's method. The C code is short but intricate, involving magic constants and intentional arithmetic overflows. We have verified the algorithm using the Why3 tool and automated solvers such as Gappa.
Fichier principal
Vignette du fichier
main.pdf (175.91 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02092970 , version 1 (08-04-2019)

Identifiants

Citer

Guillaume Melquiond, Raphaël Rieu-Helft. Formal Verification of a State-of-the-Art Integer Square Root. ARITH-26 2019 - 26th IEEE 26th Symposium on Computer Arithmetic, Jun 2019, Kyoto, Japan. pp.183-186, ⟨10.1109/ARITH.2019.00041⟩. ⟨hal-02092970⟩
314 Consultations
379 Téléchargements

Altmetric

Partager

More