Skip to main content

Measuring the Precision of Abstract Interpretations

  • Conference paper
  • First Online:
Book cover Logic Based Program Synthesis and Transformation (LOPSTR 2000)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2042))

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Frederick J. Beutler. The operator theory of the pseudo-inverse. Journal of Mathematical Analysis and Applications, 10:451–470,471-493, 1965.

    Article  MathSciNet  Google Scholar 

  2. Stephen L. Campbell and D. Meyer. Generalized Inverse of Linear Transformations. Constable and Company, London, 1979.

    Google Scholar 

  3. A. Cortesi, G. File’, and W. Winsborough. The Quotient of an Abstract Interpretation. Theoretical Computer Science, 202(1-2):163–192, 1998.

    Article  MATH  MathSciNet  Google Scholar 

  4. Patrick Cousot. Constructive design of a Hierarchy of Semantics of a Transition System by Abstract Interpretation. In S. Brooks and M. Mislove, editors, 13th International Symposium on Mathematical Foundations of Programming Semantics (MFPS97), volume 6 of Electronic Notes in Theoretical Computer Science, Amsterdam, 1997. Elsevier.

    Google Scholar 

  5. Patrick Cousot and Radhia Cousot. Abstract Interpretation: A Unified Lattice Model for Static Analysis of Programs by Construction or Approximation of Fixpoints. In Symposium on Principles of Programming Languages (POPL), pages 238–252, Los Angeles, 1977.

    Google Scholar 

  6. Patrick Cousot and Radhia Cousot. Systematic Design of Program Analysis Frameworks. In Symposium on Principles of Programming Languages (POPL), pages 269–282, San Antonio, Texas, 1979.

    Google Scholar 

  7. Patrick Cousot and Radhia Cousot. Abstract Interpretation and Applications to Logic Programs. Journal of Logic Programming, 13(2-3):103–180, July 1992.

    Article  MATH  MathSciNet  Google Scholar 

  8. D. Dams, R. Gerth, and O. Grumberg. Abstract Interpretations of Reactive Systems. ACM Trans. Program. Lang. Syst., 19(2):253–291, 1997.

    Article  Google Scholar 

  9. Alessandra Di Pierro and Herbert Wiklicky. An operational semantics for Probabilistic Concurrent Constraint Programming. In P. Iyer, Y. Choo, and D. Schmidt, editors, ICCL’98-International Conference on Computer Languages, pages 174–183. IEEE Computer Society Press, 1998.

    Google Scholar 

  10. Alessandra Di Pierro and Herbert Wiklicky. Probabilistic Concurrent Constraint Programming: Towards a fully abstract model. In L. Brim, J. Gruska, and J. Zlatuska, editors, MFCS’98-Mathematical Foundations of Computer Science, volume 1450 of Lecture Notes in Computer Science, pages 446–455, Berlin-New York, August 1998. Springer Verlag.

    Google Scholar 

  11. Alessandra Di Pierro and Herbert Wiklicky. Concurrent Constraint Programming: Towards Probabilistic Abstract Interpretation. In M. Gabbrielli and F. Pfenning, editors, Proceedings of PPDP’00-Priciples and Practice of Declarative Programming, pages 127–138, Montéeal, Canada, September 2000. ACM SIGPLAN, Association of Computing Machinery.

    Google Scholar 

  12. John W. Eaton. Octave. Boston, MA, 1997.

    Google Scholar 

  13. R. Giacobazzi and F. Ranzato. Completeness in abstract interpretation: A domain perspective. In M. Johnson, editor, Proc. of the 6th International Conference on Algebraic Methodology and Software Technology (AMAST’97), volume 1349 of Lecture Notes in Computer Science, pages 231–245. Springer-Verlag, Berlin, 1997.

    Chapter  Google Scholar 

  14. Neil D. Jones and Flemming Nielson. Abstract interpretation: A semantic-based tool for program analysis. In S. Abramsky, D. M. Gabbay, and T. S. E. Maibaum, editors, Semantic Modelling, volume 4 of Handbook of Logic in Computer Science, pages 527–636. Clarendon Press, Oxford, 1995.

    Google Scholar 

  15. Dexter Kozen. Semantics for probabilistic programs. Journal of Computer and System Sciences, 22:328–350, 1981.

    Article  MATH  MathSciNet  Google Scholar 

  16. Gerard J. Murphy. C*-Algebras and Operator Theory. Academic Press, San Diego, 1990.

    Google Scholar 

  17. Flemming Nielson, Hanne Riis Nielson, and Chris Hankin. Principles of Program Aanalysis. Springer Verlag, Berlin-Heidelberg, 1999.

    Google Scholar 

  18. Viktor V. Prasolov. Problems and Theorems in Linear Algebra, volume 134 of Translation of Mathematical Monographs. American Mathematical Society, Providence, Rhode Island, 1994.

    MATH  Google Scholar 

  19. Walter Rudin. Functional Analysis. International Series in Pure and Applied Mathematics. McGraw-Hill, 1991. Second Edition.

    Google Scholar 

  20. N. Saheb-Djahromi. CPO’s of measures for nondeterminism. Theoretical Computer Science, 12:19–37, 1980.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Di Pierro, A., Wiklicky, H. (2001). Measuring the Precision of Abstract Interpretations. In: Logic Based Program Synthesis and Transformation. LOPSTR 2000. Lecture Notes in Computer Science, vol 2042. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45142-0_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-45142-0_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42127-6

  • Online ISBN: 978-3-540-45142-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics