Formal Probabilistic Analysis of Cyber-Physical Transportation Systems

  • Atif Mashkoor
  • Osman Hasan
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7335)


Formal specification and verification of cyber-physical transportation systems is inherently a complex task. A fail-safe specification of such systems not only includes intricate formalizations of assumptions and requirements but also a fine-grained analysis of their unpredictable and random components, at times at different levels of abstraction. Traditional techniques of verification and validation, such as simulation or model checking, do not cope very well with the posed challenges. In fact, sometimes it becomes merely impossible to guarantee certain properties, such as liveness, under all possible scenarios. We propose an approach based on higher-order logic for formal modelling and reasoning of cyber-physical transportation systems. In this approach, we express the unpredictable elements of the model by appropriate random variables. Instead of guaranteeing absolute correctness, these randomized models can then be used to formally reason about the probability or expectation of the system meeting its required specification. For illustration purposes, the paper presents a simple analysis of a vehicle platoon control algorithm.


Transportation System Theorem Prove Fractional Order System Discrete Random Variable Continuous Random Variable 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abrial, J.R.: The B Book. Cambridge University Press (1996)Google Scholar
  2. 2.
    Abrial, J.R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press (2010)Google Scholar
  3. 3.
    Badeau, F., Amelot, A.: Using B as a High Level Programming Language in an Industrial Project: Roissy VAL. In: Treharne, H., King, S., Henson, M., Schneider, S. (eds.) ZB 2005. LNCS, vol. 3455, pp. 334–354. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  4. 4.
    Baier, C., Katoen, J.: Principles of Model Checking. MIT Press (2008)Google Scholar
  5. 5.
    Behm, P., Benoit, P., Faivre, A., Meynadier, J.-M.: Météor: A Successful Application of B in a Large Project. In: Wing, J.M., Woodcock, J. (eds.) FM 1999. LNCS, vol. 1708, pp. 369–387. Springer, Heidelberg (1999)Google Scholar
  6. 6.
    Brown, C.: Automated Reasoning in Higher-order Logic. College Publications (2007)Google Scholar
  7. 7.
    Cardell-Oliver, R.: The Formal Verification of Hard Real-time Systems. PhD Thesis, University of Cambridge, UK (1992)Google Scholar
  8. 8.
    Church, A.: A Formulation of the Simple Theory of Types. Journal of Symbolic Logic 5, 56–68 (1940)MathSciNetzbMATHCrossRefGoogle Scholar
  9. 9.
    Clarke, E.M., Zuliani, P.: Statistical Model Checking for Cyber-Physical Systems. In: Bultan, T., Hsiung, P.-A. (eds.) ATVA 2011. LNCS, vol. 6996, pp. 1–12. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  10. 10.
    Cowan, R.J.: Useful Headway Models. Transportation Research 9, 371–375 (1975)CrossRefGoogle Scholar
  11. 11.
    Devroye, L.: Non-Uniform Random Variate Generation. Springer (1986)Google Scholar
  12. 12.
    Elleuch, M., Hasan, O., Tahar, S., Abid, M.: Formal Analysis of a Scheduling Algorithm for Wireless Sensor Networks. In: Qin, S., Qiu, Z. (eds.) ICFEM 2011. LNCS, vol. 6991, pp. 388–403. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  13. 13.
    Fitting, M.: First-Order Logic and Automated Theorem Proving. Springer (1996)Google Scholar
  14. 14.
    Galambos, J.: Advanced Probability Theory. Marcel Dekker Inc. (1995)Google Scholar
  15. 15.
    Gomes, A., Mota, A., Sampaio, A., Ferri, F., Buzzi, J.: Systematic Model-Based Safety Assessment Via Probabilistic Model Checking. In: Margaria, T., Steffen, B. (eds.) ISoLA 2010, Part I. LNCS, vol. 6415, pp. 625–639. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  16. 16.
    Gordon, M.: Mechanizing Programming Logics in Higher-0rder Logic. In: Current Trends in Hardware Verification and Automated Theorem Proving, pp. 387–439. Springer (1989)Google Scholar
  17. 17.
    Hallerstede, S., Hoang, T.S.: Qualitative Probabilistic Modelling in Event-B. In: Davies, J., Gibbons, J. (eds.) IFM 2007. LNCS, vol. 4591, pp. 293–312. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  18. 18.
    Harrison, J.: Formalized Mathematics. Technical Report 36, Turku Centre for Computer Science, Finland (1996)Google Scholar
  19. 19.
    Harrison, J.: Theorem Proving with the Real Numbers. Springer (1998)Google Scholar
  20. 20.
    Harrison, J.: Handbook of Practical Logic and Automated Reasoning. Cambridge University Press (2009)Google Scholar
  21. 21.
    Harrison, J., Slind, K., Arthan, R.D.: HOL. In: Wiedijk, F. (ed.) The Seventeen Provers of the World. LNCS (LNAI), vol. 3600, pp. 11–19. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  22. 22.
    Hasan, O., Afshar, S.K., Tahar, S.: Formal Analysis of Optical Waveguides in HOL. In: 22nd International Conference on Theorem Proving in Higher-Order Logics, Munich, Germany. Springer (2009)Google Scholar
  23. 23.
    Hasan, O., Tahar, S., Abbasi, N.: Formal Reliability Analysis using Theorem Proving. IEEE Transactions on Computers 59(5), 579–592 (2010)MathSciNetCrossRefGoogle Scholar
  24. 24.
    Hasan, O., Tahar, S.: Formal Probabilistic Analysis: A Higher-Order Logic Based Approach. In: Frappier, M., Glässer, U., Khurshid, S., Laleau, R., Reeves, S. (eds.) ABZ 2010. LNCS, vol. 5977, pp. 2–19. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  25. 25.
    Herencia-Zapana, H., Hagen, G., Narkawicz, A.: Formalizing Probabilistic Safety Claims. In: Bobaru, M., Havelund, K., Holzmann, G.J., Joshi, R. (eds.) NFM 2011. LNCS, vol. 6617, pp. 162–176. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  26. 26.
    Hölzl, J., Heller, A.: Three Chapters of Measure Theory in Isabelle/HOL. In: van Eekelen, M., Geuvers, H., Schmaltz, J., Wiedijk, F. (eds.) ITP 2011. LNCS, vol. 6898, pp. 135–151. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  27. 27.
    Hurd, J.: Formal Verification of Probabilistic Algorithms. PhD Thesis, University of Cambridge, UK (2002)Google Scholar
  28. 28.
    Kwiatkowska, M., Norman, G., Parker, D.: Controller Dependability Analysis by Probabilistic Model Checking. Control Engineering Practice 15(11), 1427–1434 (2007)CrossRefGoogle Scholar
  29. 29.
    Kwiatkowska, M., Norman, G., Parker, D.: PRISM: Probabilistic Symbolic Model Checker. In: Field, T., Harrison, P.G., Bradley, J., Harder, U. (eds.) TOOLS 2002. LNCS, vol. 2324, pp. 200–204. Springer, Heidelberg (2002)Google Scholar
  30. 30.
    Levine, A.: Theory of Probability. Addison-Wesley (1971)Google Scholar
  31. 31.
    Mashkoor, A., Jacquot, J.P.: Utilizing Event-B for Domain Engineering: A Critical Analysis. Requirements Engineering 16(3), 191–207 (2011)CrossRefGoogle Scholar
  32. 32.
    Mhamdi, T., Hasan, O., Tahar, S.: On the Formalization of the Lebesgue Integration Theory in HOL. In: Kaufmann, M., Paulson, L.C. (eds.) ITP 2010. LNCS, vol. 6172, pp. 387–402. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  33. 33.
    Milner, R.: A Theory of Type Polymorphism in Programming. Journal of Computer and System Sciences 17, 348–375 (1977)MathSciNetCrossRefGoogle Scholar
  34. 34.
    Paulson, L.: ML for the Working Programmer. Cambridge University Press (1996)Google Scholar
  35. 35.
    Siddique, U., Hasan, O.: Formal Analysis of Fractional Order Systems in HOL. In: Formal Methods in Computer Aided Design, pp. 163–170 (2011)Google Scholar
  36. 36.
    Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Towards Probabilistic Modelling in Event-B. In: Méry, D., Merz, S. (eds.) IFM 2010. LNCS, vol. 6396, pp. 275–289. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  37. 37.
    Yang, F., Jacquot, J.-P.: Scaling Up with Event-B: A Case Study. In: Bobaru, M., Havelund, K., Holzmann, G.J., Joshi, R. (eds.) NFM 2011. LNCS, vol. 6617, pp. 438–452. Springer, Heidelberg (2011)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Atif Mashkoor
    • 1
  • Osman Hasan
    • 2
  1. 1.Software Competence Center HagenbergHagenbergAustria
  2. 2.School of Electrical Engineering and Computer ScienceNational University of Sciences and TechnologyIslamabadPakistan

Personalised recommendations