• Aucun résultat trouvé

Automating the Verification of Floating-Point Algorithms

N/A
N/A
Protected

Academic year: 2022

Partager "Automating the Verification of Floating-Point Algorithms"

Copied!
1
0
0

Texte intégral

(1)

Invited Talk

Automating the Verification of Floating-point Algorithms

Guillaume Melquiond

Inria Saclay – ˆIle-de-France & LRI, CNRS UMR 8623, Universit´e Paris-Sud Centre Universitaire d’Orsay, Bˆatiment 650 (PCRI), Orsay, F-91405

Floating-point numbers are limited both in range and in precision, yet they are widely used as a way to implement computations on real numbers. Thus arithmetic operations introduce small errors which might be amplified during subsequent computations and cause inaccuracies.

As such, proving the correctness of a floating-point algorithm usually entails verifying that the computed results are still close enough to some ideal values, despite the method error and the round-off errors. The traditional way to tackle such a verification is to perform an error analysis, possibly using automated tools.

Unfortunately, when it comes to the low-level functions found in mathematical libraries, the floating-point code is usually so contrived that this approach falls short. Indeed, just knowing the code is no longer sufficient to verify it, one also has to know the mathematical reasons that led to choosing this code in the first place. This excludes any hope of full automation, yet automated tools are sorely needed, if only because performing a pen-and-paper proof of such functions is long, tedious, and error-prone.

This talk will show some issues specific to the verification of the floating-point functions of a mathematical library, and some methods for solving them automatically. These methods will be exemplified using Gappa, a tool dedicated to proving the logical formulas that arise during the verification of small yet complicated floating-point algorithms. This tool is based on interval arithmetic, expression rewriting, and theorem saturation. For increased confidence, the tool also generates formal proofs which can be verified by the Coq proof assistant.

Références

Documents relatifs

We have formally verified in Coq the proof of Theorem 7.2 and the proofs of the Remarks mentioned in Section 7.2.1 , relying on the FLX format of the Flocq library, and using the

- les morphinique peuvent être nécessaires, lorsque le paracétamol et la codéine sont insuffisantes, en sachant qu`il s`agit d`antalgique majeurs (palier 3),la

However, for cost reasons, in this co-processor, as well as in its successors by Intel, Cyrix or AMD, these functions didnot use the hardware algorithm mentioned above, but

At this point, the tool is able to bound all the variables of the C code and all their mathematically ideal values, assuming that some variables are not zero. Unfortu- nately,

Seven Constant Rate of Strain Consolidation (CRSC), nine special Type B (surcharge) oedometer, two special Type C (reload) oedometer, 16 Ko-Consolidated Direct

ﱐﺎﺜﻟﺍ ﻞﺼﻔﻟﺍ : ﻝﺍﻮﻣﻻﺍ ﻞﻴﻏ ﺓﺮﻫﺎﻇ ﺔﺤﻓﺎﻜﳌ ﺔﻟﻭﺪﺒﳌﺍ ﺩﻮﻬﳉﺍ ﻭ ﺕﺎﺒﻘﻌﻟﺍ ﺪﻴﻬﲤ ... 43 ﱐﺎﺜﻟﺍ ﺚﺤﺒﳌﺍ : ﻝﺍﻮﻣﻻﺍ ﻞﻴﺴﻏ ﺓﺮﻫﺎﻇ ﺔﺤﻓﺎﻜﳌ ﺔﻟﻭﺬﺒﳌﺍ ﺩﻮﻬﳉﺍ ... 64 ﻝﻭﻻﺍ ﺐﻠﻄﳌﺍ :

Nous avons abouti à une formule de la production d’entropie sans dimension caractérisant un écoulement de couche limite tridimensionnel avec transfert de chaleur autour d’un

A lower density of keratinocytes does not allow proper reconstruction of the epidermis since, in this case, the culture medium can overlay the seeded