Skip to main content

Verification of Probabilistic Properties in HOL Using the Cumulative Distribution Function

  • Conference paper
Integrated Formal Methods (IFM 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4591))

Included in the following conference series:

Abstract

Traditionally, computer simulation techniques are used to perform probabilistic analysis. However, they provide inaccurate results and cannot handle large-scale problems due to their enormous CPU time requirements. To overcome these limitations, we propose to complement simulation based tools with higher-order-logic theorem proving so that an integrated approach can provide exact results for the critical sections of the analysis in the most efficient manner. In this paper, we illustrate the practical effectiveness of our idea by verifying numerous probabilistic properties associated with random variables in the HOL theorem prover. Our verification approach revolves around the fact that any probabilistic property associated with a random variable can be verified using the classical Cumulative Distribution Function (CDF) properties, if the CDF relation of that random variable is known. For illustration purposes, we also present the verification of a couple of probabilistic properties, which cannot be evaluated precisely by the existing simulation techniques, associated with the Continuous Uniform random variable in HOL.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. The QED Manifesto. In: CADE-12: Proceedings of the 12th International Conference on Automated Deduction, pp. 238–251. Springer, Heidelberg (1994)

    Google Scholar 

  2. Baier, C., Haverkort, B., Hermanns, H., Katoen, J.P.: Model Checking Algorithms for Continuous time Markov Chains. IEEE Transactions on Software Engineering 29(4), 524–541 (2003)

    Article  Google Scholar 

  3. Billingsley, P.: Probability and Measure. John Wiley, Chichester (1995)

    MATH  Google Scholar 

  4. Celiku, O.: Quantitative Temporal Logic Mechanized in HOL. In: International Colloquium Theoretical Aspects of Computing, pp. 439–453 (2005)

    Google Scholar 

  5. Church, A.: A Formulation of the Simple Theory of Types. Journal of Symbolic Logic 5, 56–68 (1940)

    Article  MATH  MathSciNet  Google Scholar 

  6. Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. The MIT Press, Cambridge (2000)

    Google Scholar 

  7. Devroye, L.: Non-Uniform Random Variate Generation. Springer, Heidelberg (1986)

    MATH  Google Scholar 

  8. Microsoft Excel (2007), http://office.microsoft.com

  9. Gordon, M.J.C.: Mechanizing Programming Logics in Higher-0rder Logic. In: Current Trends in Hardware Verification and Automated Theorem Proving, pp. 387–439. Springer, Heidelberg (1989)

    Google Scholar 

  10. Gordon, M.J.C., Melham, T.F.: Introduction to HOL: A Theorem Proving Environment for Higher-Order Logic. Cambridge University Press, Cambridge (1993)

    MATH  Google Scholar 

  11. Gupta, V.T., Jagadeesan, R., Panangaden, P.: Stochastic Processes as Concurrent Constraint Programs. In: Principles of Programming Languages, pp. 189–202. ACM Press, New York (1999)

    Google Scholar 

  12. Harrison, J.: Theorem Proving with the Real Numbers. Springer, Heidelberg (1998)

    MATH  Google Scholar 

  13. Hasan, O., Tahar, S.: Formalization of Standard Uniform Random Variable. Technical Report, Concordia University, Montreal, Canada (December 2006), http://hvg.ece.concordia.ca/Publications/TECH_REP/SURV_TR06

  14. Hurd, J.: Formal Verification of Probabilistic Algorithms. PhD Thesis, University of Cambridge, Cambridge, UK (2002)

    Google Scholar 

  15. Hurd, J., McIver, A., Morgan, C.: Probabilistic Guarded Commands Mechanized in HOL. Theoretical Computer Science 346, 96–112 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  16. Khazanie, R.: Basic Probability Theory and Applications. Goodyear (1976)

    Google Scholar 

  17. MacKay, D.J.C.: Introduction to Monte Carlo methods. In: Learning in Graphical Models. NATO Science Series, pp. 175–204. Kluwer Academic Publishers, Dordrecht (1998)

    Google Scholar 

  18. McCullough, B.D.: Assessing the Reliability of Statistical Software: Part I. The. American Statistician 52(4), 358–366 (1998)

    Article  Google Scholar 

  19. McCullough, B.D.: Assessing the Reliability of Statistical Software: Part II. The. American Statistician 53(2), 149–159 (1999)

    Article  Google Scholar 

  20. McCullough, B.D., Wilson, B.: On the Accuracy of Statistical Procedures in Microsoft Excel 2003. Computational Statistics and Data. Analysis 49, 1244–1252 (2005)

    Article  MathSciNet  Google Scholar 

  21. McShane, E.J.: A Unified Theory of Integration. The American Mathematical Monthly 80, 349–357 (1973)

    Article  MATH  MathSciNet  Google Scholar 

  22. Milner, R.: A Theory of Type Polymorphism in Programming. Journal of Computer and System Sciences 17, 348–375 (1978)

    Article  MATH  MathSciNet  Google Scholar 

  23. Park, S., Pfenning, F., Thrun, S.: A Probabilistic Language based upon Sampling Functions. In: Principles of Programming Languages, pp. 171–182. ACM Press, New York (2005)

    Google Scholar 

  24. Paulson, L.C.: ML for the Working Programmer. Cambridge University Press, Cambridge (1996)

    MATH  Google Scholar 

  25. Pfeffer, A.: IBAL: A Probabilistic Rational Programming Language. In: International Joint Conferences on Artificial Intelligence, pp. 733–740. Morgan Kaufmann Publishers, San Francisco (2001)

    Google Scholar 

  26. Rutten, J., Kwaiatkowska, M., Normal, G., Parker, D.: Mathematical Techniques for Analyzing Concurrent and Probabilisitc Systems. CRM Monograph, 23, (2004)

    Google Scholar 

  27. SAS. (2007), http://sas.com/technologies/analytics/statistics/stat/index.html

  28. SPSS (2007), http://www.spss.com/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jim Davies Jeremy Gibbons

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hasan, O., Tahar, S. (2007). Verification of Probabilistic Properties in HOL Using the Cumulative Distribution Function. In: Davies, J., Gibbons, J. (eds) Integrated Formal Methods. IFM 2007. Lecture Notes in Computer Science, vol 4591. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73210-5_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73210-5_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73209-9

  • Online ISBN: 978-3-540-73210-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics