TY - GEN
T1 - Precise cost analysis via local reasoning
AU - Alonso-Blas, Diego Esteban
AU - Arenas, Puri
AU - Genaim, Samir
PY - 2013/11/18
Y1 - 2013/11/18
N2 - The classical approach to static cost analysis is based on first transforming a given program into a set of cost relations, and then solving them into closed-form upper-bounds. The quality of the upper-bounds and the scalability of such cost analysis highly depend on the precision and efficiency of the solving phase. Several techniques for solving cost relations exist, some are efficient but not precise enough, and some are very precise but do not scale to large cost relations. In this paper we explore the gap between these techniques, seeking for ones that are both precise and efficient. In particular, we propose a novel technique that first splits the cost relation into several atomic ones, and then uses precise local reasoning for some and less precise but efficient reasoning for others. For the precise local reasoning, we propose several methods that define the cost as a solution of a universally quantified formula. Preliminary experiments demonstrate the effectiveness of our approach.
AB - The classical approach to static cost analysis is based on first transforming a given program into a set of cost relations, and then solving them into closed-form upper-bounds. The quality of the upper-bounds and the scalability of such cost analysis highly depend on the precision and efficiency of the solving phase. Several techniques for solving cost relations exist, some are efficient but not precise enough, and some are very precise but do not scale to large cost relations. In this paper we explore the gap between these techniques, seeking for ones that are both precise and efficient. In particular, we propose a novel technique that first splits the cost relation into several atomic ones, and then uses precise local reasoning for some and less precise but efficient reasoning for others. For the precise local reasoning, we propose several methods that define the cost as a solution of a universally quantified formula. Preliminary experiments demonstrate the effectiveness of our approach.
UR - https://www.scopus.com/pages/publications/84887427540
U2 - 10.1007/978-3-319-02444-8_23
DO - 10.1007/978-3-319-02444-8_23
M3 - Conference contribution
AN - SCOPUS:84887427540
SN - 9783319024431
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 319
EP - 333
BT - Automated Technology for Verification and Analysis - 11th International Symposium, ATVA 2013, Proceedings
T2 - 11th International Symposium on Automated Technology for Verification and Analysis, ATVA 2013
Y2 - 15 October 2013 through 18 October 2013
ER -