Cargando…

Deductive Verification of Floating-Point Java Programs in KeY

Deductive verification has been successful in verifying interesting properties of real-world programs. One notable gap is the limited support for floating-point reasoning. This is unfortunate, as floating-point arithmetic is particularly unintuitive to reason about due to rounding as well as the pre...

Descripción completa

Detalles Bibliográficos
Autores principales: Abbasi, Rosa, Schiffl, Jonas, Darulova, Eva, Ulbrich, Mattias, Ahrendt, Wolfgang
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984528/
http://dx.doi.org/10.1007/978-3-030-72013-1_13
_version_ 1783668084120223744
author Abbasi, Rosa
Schiffl, Jonas
Darulova, Eva
Ulbrich, Mattias
Ahrendt, Wolfgang
author_facet Abbasi, Rosa
Schiffl, Jonas
Darulova, Eva
Ulbrich, Mattias
Ahrendt, Wolfgang
author_sort Abbasi, Rosa
collection PubMed
description Deductive verification has been successful in verifying interesting properties of real-world programs. One notable gap is the limited support for floating-point reasoning. This is unfortunate, as floating-point arithmetic is particularly unintuitive to reason about due to rounding as well as the presence of the special values infinity and ‘Not a Number’ (NaN). In this paper, we present the first floating-point support in a deductive verification tool for the Java programming language. Our support in the KeY verifier handles arithmetic via floating-point decision procedures inside SMT solvers and transcendental functions via axiomatization. We evaluate this integration on new benchmarks, and show that this approach is powerful enough to prove the absence of floating-point special values—often a prerequisite for further reasoning about numerical computations—as well as certain functional properties for realistic benchmarks.
format Online
Article
Text
id pubmed-7984528
institution National Center for Biotechnology Information
language English
publishDate 2021
record_format MEDLINE/PubMed
spelling pubmed-79845282021-03-23 Deductive Verification of Floating-Point Java Programs in KeY Abbasi, Rosa Schiffl, Jonas Darulova, Eva Ulbrich, Mattias Ahrendt, Wolfgang Tools and Algorithms for the Construction and Analysis of Systems Article Deductive verification has been successful in verifying interesting properties of real-world programs. One notable gap is the limited support for floating-point reasoning. This is unfortunate, as floating-point arithmetic is particularly unintuitive to reason about due to rounding as well as the presence of the special values infinity and ‘Not a Number’ (NaN). In this paper, we present the first floating-point support in a deductive verification tool for the Java programming language. Our support in the KeY verifier handles arithmetic via floating-point decision procedures inside SMT solvers and transcendental functions via axiomatization. We evaluate this integration on new benchmarks, and show that this approach is powerful enough to prove the absence of floating-point special values—often a prerequisite for further reasoning about numerical computations—as well as certain functional properties for realistic benchmarks. 2021-02-26 /pmc/articles/PMC7984528/ http://dx.doi.org/10.1007/978-3-030-72013-1_13 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Abbasi, Rosa
Schiffl, Jonas
Darulova, Eva
Ulbrich, Mattias
Ahrendt, Wolfgang
Deductive Verification of Floating-Point Java Programs in KeY
title Deductive Verification of Floating-Point Java Programs in KeY
title_full Deductive Verification of Floating-Point Java Programs in KeY
title_fullStr Deductive Verification of Floating-Point Java Programs in KeY
title_full_unstemmed Deductive Verification of Floating-Point Java Programs in KeY
title_short Deductive Verification of Floating-Point Java Programs in KeY
title_sort deductive verification of floating-point java programs in key
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984528/
http://dx.doi.org/10.1007/978-3-030-72013-1_13
work_keys_str_mv AT abbasirosa deductiveverificationoffloatingpointjavaprogramsinkey
AT schiffljonas deductiveverificationoffloatingpointjavaprogramsinkey
AT darulovaeva deductiveverificationoffloatingpointjavaprogramsinkey
AT ulbrichmattias deductiveverificationoffloatingpointjavaprogramsinkey
AT ahrendtwolfgang deductiveverificationoffloatingpointjavaprogramsinkey