Weakly-relational shapes for numeric abstractions: improved algorithms and proofs of correctness
Weakly-relational shapes for numeric abstractions: improved algorithms and proofs of correctness
复制标题
DOI:
10.1007/s10703-009-0073-1
复制
发表时间:
2009-12
影响因子:
0.8
通讯作者:
Roberto Bagnara;P. Hill;E. Zaffanella
中科院分区:
文献类型:
--
作者:
Roberto Bagnara;P. Hill;E. Zaffanella
Weakly-relational numeric constraints provide a compromise between complexity and expressivity that is adequate for several applications in the field of formal analysis and verification of software and hardware systems. We address the problems to be solved for the construction of full-fledged, efficient and provably correct abstract domains based on such constraints. We first propose to work withsemanticabstract domains, whose elements aregeometric shapes, instead of the (more concrete) syntactic abstract domains of constraint networks and matrices on which the previous proposals are based. This allows to solve, once and for all, the problem wherebyclosure by entailment, a crucial operation for the realization of such domains, seemed to impede the realization of proper widening operators. In our approach, the implementation of widenings relies on the availability of an effective reduction procedure for the considered constraint description: one for the domain ofbounded difference shapesalready exists in the literature; we provide algorithms for the significantly more complex cases of rational and integeroctagonal shapes. We also improve upon the state-of-the-art by presenting, along with their proof of correctness, closure by entailment algorithms of reduced complexity for domains based on rational and integer octagonal constraints. The consequences of implementing weakly-relational numerical domains with floating point numbers are also discussed.