Statistical Model Checking for  $$\textsf {P}$$ | SpringerLink
Skip to main content

Statistical Model Checking for \(\textsf {P}\)

  • Conference paper
  • First Online:
Formal Methods for Industrial Critical Systems (FMICS 2023)

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

  • 346 Accesses

Abstract

\(\textsf {P}\) is a programming language equipped with a unified framework for modeling, specifying, implementing, testing, and verifying complex distributed systems. This language is based on the actor model, and its framework includes a compiler toolchain for code generation, bounded randomized testing, and reachability analysis. This paper presents an extension of \(\textsf {P}\)’s framework to include statistical model checking of quantititive temporal logic formulas. The distributed statistical model checking for discrete event simulators \(\textsf {MultiVeStA}\) has been integrated into the P framework for Monte Carlo validation of \(\textsf {P}\) programs against \(\textsf {QuaTEx}\) quantitative temporal logic formulas. For this, \(\textsf {P}\)’s compiler has been modified to generate instrumentation code enabling the observation of a program’s attributes without direct, manual intervention of the code. As a result, distributed incremental statistical model checking is now available for \(\textsf {P}\) via probabilistic sampling. As the experiments show, some of them reported here, these new verification capabilities scale up and complement the ones already available for \(\textsf {P}\).

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

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 6634
Price includes VAT (Japan)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 8293
Price includes VAT (Japan)
  • 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

Similar content being viewed by others

Notes

  1. 1.

    In [13, 14], the example was used to illustrate the feature-oriented language QFLan.

References

  1. Agha, G., Meseguer, J., Sen, K.: PMaude: rewrite-based specification language for probabilistic object systems. Electron. Not. Theoret. Comput. Sci. 153(2), 213–239 (2006). Proceedings of the Third Workshop on Quantitative Aspects of Programming Languages (QAPL 2005)

    Article  Google Scholar 

  2. Agha, G.A.: Actors: a Model of Concurrent Computation in Distributed Systems (Parallel Processing, Semantics, Open, Programming Languages, Artificial Intelligence). Ph.D. thesis, University of Michigan, USA (1985)

    Google Scholar 

  3. AlTurki, M., Meseguer, J., Gunter, C.A.: Probabilistic modeling and analysis of DoS protection for the ASV protocol. In: SecReT@LICS/CSF 2008, Electronic Notes in Theoretical Computer Science, vol. 234, pp. 3–18. Elsevier (2008)

    Google Scholar 

  4. Andrews, T., Qadeer, S., Rajamani, S.K., Rehof, J., Xie, Y.: Zing: a model checker for concurrent software. In: Alur, R., Peled, D.A. (eds.) CAV 2004. LNCS, vol. 3114, pp. 484–487. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-27813-9_42

    Chapter  Google Scholar 

  5. Deligiannis, P., Senthilnathan, A., Nayyar, F., Lovett, C., Lal, A.: Industrial-strength controlled concurrency testing for c# programs with coyote. In: Sankaranarayanan, S., Sharygina, N. (eds.) TACAS 2023. LNCS, vol. 13994, pp. 433–452. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-30820-8_26

  6. Desai, A., Gupta, V., Jackson, E.K., Qadeer, S., Rajamani, S.K., Zufferey, D. : P: safe asynchronous event-driven programming. In: ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2013, Seattle, WA, USA, June 16–19, 2013, pp. 321–332. ACM (2013)

    Google Scholar 

  7. Eckhardt, J., Mühlbauer, T., Meseguer, J., Wirsing, M.: Statistical model checking for composite actor systems. In: Martí-Oliet, N., Palomino, M. (eds.) WADT 2012. LNCS, vol. 7841, pp. 143–160. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-37635-1_9

    Chapter  Google Scholar 

  8. Eker, S., Meseguer, J., Sridharanarayanan, A.: The Maude LTL model checker. In: WRLA2002, Electronic Notes in Theoretical Computer Science, vol. 71, pp. 162–187. Elsevier (2002)

    Google Scholar 

  9. Hansson, H., Jonsson, B.: A logic for reasoning about time and reliability. Formal Aspects Comput. 6(5), 512–535 (1994)

    Article  Google Scholar 

  10. Hewitt, C., Bishop, P.B., Steiger, R.: A universal modular ACTOR formalism for artificial intelligence. In: Proceedings of the 3rd International Joint Conference on Artificial Intelligence, Standford, CA, USA, 20–23 August 1973, pp. 235–245. William Kaufmann (1973)

    Google Scholar 

  11. P Developers. P’s web site (2023). https://p-org.github.io/P/. Accessed 10 May 2023

  12. Sebastio, S., Vandin, A.: Multivesta: statistical model checking for discrete event simulators. ValueTools 2013, pp. 310–315, Brussels, BEL, 2013. ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering)

    Google Scholar 

  13. ter Beek, M.H., Legay, A., Lluch-Lafuente, A., Vandin, A.: Statistical analysis of probabilistic models of software product lines with quantitative constraints. In: Proceedings of the 19th International Conference on Software Product Line, SPLC 2015, Nashville, TN, USA, 20–24 July 2015, pp. 11–15. ACM (2015)

    Google Scholar 

  14. ter Beek, M.H., Legay, A., Lluch-Lafuente, A., Vandin, A.: A framework for quantitative modeling and analysis of highly (re)configurable systems. IEEE Trans. Software Eng. 46(3), 321–345 (2020)

    Article  Google Scholar 

Download references

Acknowledgments

The authors would like to thank D. Giannakopoulou and C. Muñoz for fruitful discussions on these ideas, and the anonymous referees for their very helpful comments that helped in improving the paper. This work was partially supported by Amazon Research Awards (Fall 2021) Project “Probabilistic and Symbolic Tools for P Program Verification”, and projects TED2021-130666B-I00 and PID2021-125527NB-I00 funded by the Spanish government.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Camilo Rocha .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Durán, F., Pozas, N., Ramírez, C., Rocha, C. (2023). Statistical Model Checking for \(\textsf {P}\). In: Cimatti, A., Titolo, L. (eds) Formal Methods for Industrial Critical Systems. FMICS 2023. Lecture Notes in Computer Science, vol 14290. Springer, Cham. https://doi.org/10.1007/978-3-031-43681-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-43681-9_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-43680-2

  • Online ISBN: 978-3-031-43681-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics