Vincenzo Arceri, Isabella Mastroeni, E. Zaffanella
{"title":"Decoupling the ascending and descending phases in Abstract Interpretation","authors":"Vincenzo Arceri, Isabella Mastroeni, E. Zaffanella","doi":"10.48550/arXiv.2206.10893","DOIUrl":null,"url":null,"abstract":". Abstract Interpretation approximates the semantics of a program by mimicking its concrete fixpoint computation on an abstract domain A . The abstract (post-) fixpoint computation is classically divided into two phases: the ascending phase, using widenings as extrapolation operators to enforce termination, is followed by a descending phase, using narrowings as interpolation operators, so as to mitigate the effect of the precision losses introduced by widenings. In this paper we propose a simple variation of this classical approach where, to more effectively recover precision, we decouple the two phases: in particular, before starting the descending phase, we replace the domain A with a more precise abstract domain D . The correctness of the approach is justified by casting it as an instance of the A 2 I framework. After demonstrating the new technique on a simple example, we summarize the results of a preliminary experimental evaluation, showing that it is able to obtain significant precision improvements for several choices of the domains A and D .","PeriodicalId":186570,"journal":{"name":"Asian Symposium on Programming Languages and Systems","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Asian Symposium on Programming Languages and Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2206.10893","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
. Abstract Interpretation approximates the semantics of a program by mimicking its concrete fixpoint computation on an abstract domain A . The abstract (post-) fixpoint computation is classically divided into two phases: the ascending phase, using widenings as extrapolation operators to enforce termination, is followed by a descending phase, using narrowings as interpolation operators, so as to mitigate the effect of the precision losses introduced by widenings. In this paper we propose a simple variation of this classical approach where, to more effectively recover precision, we decouple the two phases: in particular, before starting the descending phase, we replace the domain A with a more precise abstract domain D . The correctness of the approach is justified by casting it as an instance of the A 2 I framework. After demonstrating the new technique on a simple example, we summarize the results of a preliminary experimental evaluation, showing that it is able to obtain significant precision improvements for several choices of the domains A and D .