Measuring the Precision of Abstract Interpretations

We develop a methodology for constructing semantics-based analyses of programs by approximating their probabilistic semantics. The framework we introduce resembles the one based on Galois connections used in abstract interpretation, the main difference being the choice of linear space structures instead of order-theoretic ones as semantical (concrete and abstract) domains. The intrinsic quantitative nature of linear spaces makes the method suitable for investigations on the problem of a numerical comparison of abstract interpretations with respect to their precision. After introducing the notion of probabilistic abstract interpretation, we define a measure of its precision by means of the norm of a linear operator which encodes the "incompleteness" of the abstraction. Finally we show the application of our results in a series of classical examples.

[1]  Orna Grumberg,et al.  Abstract interpretation of reactive systems , 1997, TOPL.

[2]  Herbert Wiklicky,et al.  Probabilistic Concurrent Constraint Programming: Towards a Fully Abstract Model , 1998, MFCS.

[3]  G. Murphy C*-Algebras and Operator Theory , 1990 .

[4]  Patrick Cousot,et al.  Abstract Interpretation and Application to Logic Programs , 1992, J. Log. Program..

[5]  Patrick Cousot,et al.  Systematic design of program analysis frameworks , 1979, POPL.

[6]  Patrick Cousot Constructive design of a hierarchy of semantics of a transition system by abstract interpretation , 2002, Theor. Comput. Sci..

[7]  Flemming Nielson,et al.  Abstract interpretation: a semantics-based tool for program analysis , 1995, LICS 1995.

[8]  Patrick Cousot,et al.  Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints , 1977, POPL.

[9]  Roberto Giacobazzi,et al.  Completeness in Abstract Interpretation: A Domain Perspective , 1997, AMAST.

[10]  Herbert Wiklicky,et al.  An operational semantics for probabilistic concurrent constraint programming , 1998, Proceedings of the 1998 International Conference on Computer Languages (Cat. No.98CB36225).

[11]  Herbert Wiklicky,et al.  Concurrent constraint programming: towards probabilistic abstract interpretation , 2000, PPDP '00.

[12]  Agostino Cortesi,et al.  The Quotient of an Abstract Interpretation , 1998, Theor. Comput. Sci..

[13]  Dexter Kozen,et al.  Semantics of probabilistic programs , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[14]  Frederick J. Beutler,et al.  The operator theory of the pseudo-inverse I. Bounded operators , 1965 .

[15]  N. Saheb-Djahromi,et al.  CPO'S of Measures for Nondeterminism , 1980, Theor. Comput. Sci..

[16]  Flemming Nielson,et al.  Principles of Program Analysis , 1999, Springer Berlin Heidelberg.

[17]  Patrick Cousot,et al.  Constructive design of a hierarchy of semantics of a transition system by abstract interpretation , 2002, MFPS.

[18]  V. Prasolov Problems and theorems in linear algebra , 1994 .