• Aucun résultat trouvé

Formal proofs of numerical programs

N/A
N/A
Protected

Academic year: 2021

Partager "Formal proofs of numerical programs"

Copied!
2
0
0

Texte intégral

(1)

HAL Id: inria-00536135

https://hal.inria.fr/inria-00536135

Submitted on 15 Nov 2010

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Formal proofs of numerical programs

Nguyen Thi Minh Tuyen, Sylvie Boldo, Claude Marché

To cite this version:

Nguyen Thi Minh Tuyen, Sylvie Boldo, Claude Marché. Formal proofs of numerical programs. Forum Digitéo, Oct 2010, Palaiseau, France. �inria-00536135�

(2)

Compiler Processor

YES NO

doub

le rounding

64-bit

rounding

How to prove a program whatever the compiler and the architecture?

Annotated C program

ACSL specification language

Frama-C/Jessie plug-in

WHY verification condition generator

Verification conditions

Automatic provers

(Alt-Ergo,Gappa,CVC3,etc.)

change interpretation of FP computations Previous works: only

follow the strict IEEE-754

State the rounding error of each FP computation whatever the environment

Let ε = 2051 · 2−60 and ε = 2050 × 2−64. Let η = 2049 × 2−1082 and η = 2049 × 2−1086. If we define each operation result as any real such that

|x y (x + y)|≤ε · (|x| + |y|) + η

|x y (x y)|≤ε · (|x| + |y|) + η

|x y (x y)|≤ε · |x y| + η

|x y (x/y)|≤ε · |x/y| + η

and if we are able to deduce a property (such as a rounding error), then this property holds whatever the architecture and the compiler optimizations among commutativity, addition/subtraction associativity (for less than 16 additions), use of FMA, use of extended registers, expression factorization and unfactorization.

Theorem

Case study

Part of KB3D NASA

http://research.nianet.org/

fm-at-nia/KB3D/ Look into multiplication/division reordering

Look into assembly

know the order of the operations

know the precision used for each operation know if the architecture supports FMA or not

Future work

NGUYEN Thi Minh Tuyen

FORMAL PROOFS OF NUMERICAL PROGRAMS

N

o

10

This work was supported by the Hisseo project, funded by Digiteo (http://hisseo.saclay.inria.fr/) Contact : [email protected], [email protected], [email protected]

Forum 2010

www.digiteo.fr

Références

Documents relatifs

To test whether the vesicular pool of Atat1 promotes the acetyl- ation of -tubulin in MTs, we isolated subcellular fractions from newborn mouse cortices and then assessed

Néanmoins, la dualité des acides (Lewis et Bronsted) est un système dispendieux, dont le recyclage est une opération complexe et par conséquent difficilement applicable à

Cette mutation familiale du gène MME est une substitution d’une base guanine par une base adenine sur le chromosome 3q25.2, ce qui induit un remplacement d’un acide aminé cystéine

En ouvrant cette page avec Netscape composer, vous verrez que le cadre prévu pour accueillir le panoramique a une taille déterminée, choisie par les concepteurs des hyperpaysages

Chaque séance durera deux heures, mais dans la seconde, seule la première heure sera consacrée à l'expérimentation décrite ici ; durant la seconde, les élèves travailleront sur

A time-varying respiratory elastance model is developed with a negative elastic component (E demand ), to describe the driving pressure generated during a patient initiated

The aim of this study was to assess, in three experimental fields representative of the various topoclimatological zones of Luxembourg, the impact of timing of fungicide

Attention to a relation ontology [...] refocuses security discourses to better reflect and appreciate three forms of interconnection that are not sufficiently attended to