Cargando…

Certified Abstract Cost Analysis

A program containing placeholders for unspecified statements or expressions is called an abstract (or schematic) program. Placeholder symbols occur naturally in program transformation rules, as used in refactoring, compilation, optimization, or parallelization. We present a generalization of automat...

Descripción completa

Detalles Bibliográficos
Autores principales: Albert, Elvira, Hähnle, Reiner, Merayo, Alicia, Steinhöfel, Dominic
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7978779/
http://dx.doi.org/10.1007/978-3-030-71500-7_2
_version_ 1783667225276710912
author Albert, Elvira
Hähnle, Reiner
Merayo, Alicia
Steinhöfel, Dominic
author_facet Albert, Elvira
Hähnle, Reiner
Merayo, Alicia
Steinhöfel, Dominic
author_sort Albert, Elvira
collection PubMed
description A program containing placeholders for unspecified statements or expressions is called an abstract (or schematic) program. Placeholder symbols occur naturally in program transformation rules, as used in refactoring, compilation, optimization, or parallelization. We present a generalization of automated cost analysis that can handle abstract programs and, hence, can analyze the impact on the cost of program transformations. This kind of relational property requires provably precise cost bounds which are not always produced by cost analysis. Therefore, we certify by deductive verification that the inferred abstract cost bounds are correct and sufficiently precise. It is the first approach solving this problem. Both, abstract cost analysis and certification, are based on quantitative abstract execution (QAE) which in turn is a variation of abstract execution, a recently developed symbolic execution technique for abstract programs. To realize QAE the new concept of a cost invariant is introduced. QAE is implemented and runs fully automatically on a benchmark set consisting of representative optimization rules.
format Online
Article
Text
id pubmed-7978779
institution National Center for Biotechnology Information
language English
publishDate 2021
record_format MEDLINE/PubMed
spelling pubmed-79787792021-03-23 Certified Abstract Cost Analysis Albert, Elvira Hähnle, Reiner Merayo, Alicia Steinhöfel, Dominic Fundamental Approaches to Software Engineering Article A program containing placeholders for unspecified statements or expressions is called an abstract (or schematic) program. Placeholder symbols occur naturally in program transformation rules, as used in refactoring, compilation, optimization, or parallelization. We present a generalization of automated cost analysis that can handle abstract programs and, hence, can analyze the impact on the cost of program transformations. This kind of relational property requires provably precise cost bounds which are not always produced by cost analysis. Therefore, we certify by deductive verification that the inferred abstract cost bounds are correct and sufficiently precise. It is the first approach solving this problem. Both, abstract cost analysis and certification, are based on quantitative abstract execution (QAE) which in turn is a variation of abstract execution, a recently developed symbolic execution technique for abstract programs. To realize QAE the new concept of a cost invariant is introduced. QAE is implemented and runs fully automatically on a benchmark set consisting of representative optimization rules. 2021-02-24 /pmc/articles/PMC7978779/ http://dx.doi.org/10.1007/978-3-030-71500-7_2 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
Albert, Elvira
Hähnle, Reiner
Merayo, Alicia
Steinhöfel, Dominic
Certified Abstract Cost Analysis
title Certified Abstract Cost Analysis
title_full Certified Abstract Cost Analysis
title_fullStr Certified Abstract Cost Analysis
title_full_unstemmed Certified Abstract Cost Analysis
title_short Certified Abstract Cost Analysis
title_sort certified abstract cost analysis
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7978779/
http://dx.doi.org/10.1007/978-3-030-71500-7_2
work_keys_str_mv AT albertelvira certifiedabstractcostanalysis
AT hahnlereiner certifiedabstractcostanalysis
AT merayoalicia certifiedabstractcostanalysis
AT steinhofeldominic certifiedabstractcostanalysis