Variance analyses from invariance analyses
Variance analyses from invariance analyses
复制标题
DOI:
10.1145/1190216.1190249
复制
发表时间:
2007-01
期刊:
影响因子:
--
通讯作者:
Josh Berdine;A. Chawdhary;B. Cook;Dino Distefano;P. O'Hearn
中科院分区:
文献类型:
--
作者:
Josh Berdine;A. Chawdhary;B. Cook;Dino Distefano;P. O'Hearn
An invariance assertion for a program location l is a statement that always holds at l during execution of the program. Program invariance analyses infer invariance assertions that can be useful when trying to prove safety properties. We use the term variance assertion to mean a statement that holds between any state at l and any previous state that was also at l. This paper is concerned with the development of analyses for variance assertions and their application to proving termination and liveness properties. We describe a method of constructing program variance analyses from invariance analyses. If we change the underlying invariance analysis, we get a different variance analysis. We describe several applications of the method, including variance analyses using linear arithmetic and shape analysis. Using experimental results we demonstrate that these variance analyses give rise to a new breed of termination provers which are competitive with and sometimes better than today's state-of-the-art termination provers.