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

01/10/2019
by   Nikolay V. Shilov, et al.
0

Research project "Platform-independent approach to formal specification and verification of standard mathematical functions" is aimed onto a development of an incremental combined approach to the specification and verification of the standard mathematical functions like sqrt, cos, sin, etc. Platform-independence means that we attempt to design a relatively simple axiomatization of the computer arithmetic in terms of real, rational, and integer arithmetic (i.e. the fields R and Q of real and rational numbers, the ring Z of integers) but don't specify neither base of the computer arithmetic, nor a format of numbers' representation. Incrementality means that we start with the most straightforward specification of the simplest easy to verify algorithm in real numbers and finish with a realistic specification and a verification of an algorithm in computer arithmetic. We call our approach combined because we start with a manual (pen-and-paper) verification of some selected algorithm in real numbers, then use these algorithm and verification as a draft and proof-outlines for the algorithm in computer arithmetic and its manual verification, and finish with a computer-aided validation of our manual proofs with some proof-assistant system (to avoid appeals to "obviousness" that are very common in human-carried proofs). In the paper we present first steps towards a platform-independent incremental combined approach to specification and verification of the standard functions cos and sin that implement mathematical trigonometric functions cos and sin.

READ FULL TEXT

page 1

page 2

page 3

page 4

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/03/2023

Proof in the time of machines

We compare the values associated with (traditional) community based proo...
research
05/04/2022

Constructive Analysis in the Agda Proof Assistant

Proof assistant software has recently been used to verify proofs of majo...
research
09/28/2022

FV Time: a formally verified Coq library

FV Time is a small-scale verification project developed in the Coq proof...
research
07/02/2019

Specifying verified x86 software from scratch

We present a simple framework for specifying and proving facts about the...
research
11/23/2020

Arithmetic Expression Construction

When can n given numbers be combined using arithmetic operators from a g...
research
03/24/2020

Computer-Assisted Verification of Four Interval Arithmetic Operators

Interval arithmetic libraries provide the four elementary arithmetic ope...

Please sign up or login with your details

Forgot password? Click here to reset