Computer-Assisted Verification of Four Interval Arithmetic Operators

03/24/2020
by   Daisuke Ishii, et al.
0

Interval arithmetic libraries provide the four elementary arithmetic operators for operand intervals bounded by floating-point numbers. However, actual implementations need to make a large case analysis that considers, e.g., magnitude relations between all pairs of argument bounds, positional relations between the arguments and zero, and handling of the special values, i.e. infinities and NaN. Their correctness is not obvious as they are implemented by human hands, which comes to be critical for the reliability. This work provides a mechanically-verified interval arithmetic library. For this purpose, we utilize the Why3 platform equipped with a specification language for annotated programs and back-end theorem provers. We conducted several proof tasks for each of three properties of the target code: validity, soundness, and tightness. To accomplish the proof, we propose several techniques to specify/verify the target annotated code. First, we specify additional lemmas that support deductions made by back-end SMT solvers. Second, we examine the tightness property so that the code annotated the property with our proposed comparison predicates is verified successfully. In the experiments, applying the techniques in conjunction with the Alt-Ergo SMT solver and the Coq proof assistant proved the entire code.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/06/2021

Approximate Translation from Floating-Point to Real-Interval Arithmetic

Floating-point arithmetic (FPA) is a mechanical representation of real a...
research
11/24/2017

Exploring Approximations for Floating-Point Arithmetic using UppSAT

We consider the problem of solving floating-point constraints obtained f...
research
10/12/2021

A Cross-Platform Benchmark for Interval Computation Libraries

Interval computation is widely used to certify computations that use flo...
research
07/02/2022

Auto-active Verification of Floating-point Programs via Nonlinear Real Provers

We give a process for verifying numerical programs against their functio...
research
01/10/2019

Towards platform-independent specification and verification of the standard trigonometry functions

Research project "Platform-independent approach to formal specification ...
research
01/03/2018

Towards platform-independent verification of the standard mathematical functions: the square root function

The paper presents (human-oriented) specification and (pen-and-paper) ve...
research
05/29/2021

Verified Quadratic Virtual Substitution for Real Arithmetic

This paper presents a formally verified quantifier elimination (QE) algo...

Please sign up or login with your details

Forgot password? Click here to reset