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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
The QED Manifesto. In: CADE-12: Proceedings of the 12th International Conference on Automated Deduction, pp. 238–251. Springer, Heidelberg (1994)
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)
Billingsley, P.: Probability and Measure. John Wiley, Chichester (1995)
Celiku, O.: Quantitative Temporal Logic Mechanized in HOL. In: International Colloquium Theoretical Aspects of Computing, pp. 439–453 (2005)
Church, A.: A Formulation of the Simple Theory of Types. Journal of Symbolic Logic 5, 56–68 (1940)
Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. The MIT Press, Cambridge (2000)
Devroye, L.: Non-Uniform Random Variate Generation. Springer, Heidelberg (1986)
Microsoft Excel (2007), http://office.microsoft.com
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)
Gordon, M.J.C., Melham, T.F.: Introduction to HOL: A Theorem Proving Environment for Higher-Order Logic. Cambridge University Press, Cambridge (1993)
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)
Harrison, J.: Theorem Proving with the Real Numbers. Springer, Heidelberg (1998)
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
Hurd, J.: Formal Verification of Probabilistic Algorithms. PhD Thesis, University of Cambridge, Cambridge, UK (2002)
Hurd, J., McIver, A., Morgan, C.: Probabilistic Guarded Commands Mechanized in HOL. Theoretical Computer Science 346, 96–112 (2005)
Khazanie, R.: Basic Probability Theory and Applications. Goodyear (1976)
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)
McCullough, B.D.: Assessing the Reliability of Statistical Software: Part I. The. American Statistician 52(4), 358–366 (1998)
McCullough, B.D.: Assessing the Reliability of Statistical Software: Part II. The. American Statistician 53(2), 149–159 (1999)
McCullough, B.D., Wilson, B.: On the Accuracy of Statistical Procedures in Microsoft Excel 2003. Computational Statistics and Data. Analysis 49, 1244–1252 (2005)
McShane, E.J.: A Unified Theory of Integration. The American Mathematical Monthly 80, 349–357 (1973)
Milner, R.: A Theory of Type Polymorphism in Programming. Journal of Computer and System Sciences 17, 348–375 (1978)
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)
Paulson, L.C.: ML for the Working Programmer. Cambridge University Press, Cambridge (1996)
Pfeffer, A.: IBAL: A Probabilistic Rational Programming Language. In: International Joint Conferences on Artificial Intelligence, pp. 733–740. Morgan Kaufmann Publishers, San Francisco (2001)
Rutten, J., Kwaiatkowska, M., Normal, G., Parker, D.: Mathematical Techniques for Analyzing Concurrent and Probabilisitc Systems. CRM Monograph, 23, (2004)
SAS. (2007), http://sas.com/technologies/analytics/statistics/stat/index.html
SPSS (2007), http://www.spss.com/
Author information
Authors and Affiliations
Editor information
Rights 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)