Formal Verification of a State-of-the-Art Integer Square Root - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2019

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

Abstract

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
Origin Files produced by the author(s)
Loading...

Dates and versions

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

Identifiers

Cite

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 View
379 Download

Altmetric

Share

More