Skip to main content
Top
Published in: Software and Systems Modeling 3/2019

09-10-2017 | Regular Paper

Introducing probabilistic reasoning within Event-B

Authors: Mohamed Amine Aouadhi, Benoît Delahaye, Arnaud Lanoix

Published in: Software and Systems Modeling | Issue 3/2019

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Event-B is a proof-based formal method used for discrete systems modelling. Several works have previously focused on the extension of Event-B for the description of probabilistic systems. In this paper, we propose an extension of Event-B that allows designing fully probabilistic systems as well as systems containing both probabilistic and non-deterministic choices. Compared to existing approaches which only focus on probabilistic assignments, our approach allows expressing probabilistic choices in all places where non-deterministic choices originally appear in a standard Event-B model: in the choice between enabled events, event parameter values and in probabilistic assignments. Furthermore, we introduce novel and adapted proof obligations for the consistency of such systems and introduce two key aspects to incremental design: probabilisation of existing events and refinement through the addition of new probabilistic events. In particular, we provide proof obligations for the almost-certain convergence of a set of new events, which is a required property in order to prove standard refinement in this context. Finally, we propose a fully detailed case study, which we use throughout the paper to illustrate our new constructions.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Abrial, J.-R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, Cambridge (2010)CrossRefMATH Abrial, J.-R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, Cambridge (2010)CrossRefMATH
2.
go back to reference Abrial, J.-R., Butler, M., Hallerstede, S., Hoang, T.S., Mehta, F., Voisin, L.: Rodin: an open toolset for modelling and reasoning in event-b. Int. J. Softw. Tools Technol. Transf. 12(6), 447–466 (2010)CrossRef Abrial, J.-R., Butler, M., Hallerstede, S., Hoang, T.S., Mehta, F., Voisin, L.: Rodin: an open toolset for modelling and reasoning in event-b. Int. J. Softw. Tools Technol. Transf. 12(6), 447–466 (2010)CrossRef
3.
go back to reference Abrial, J.-R., Cansell, D., Méry, D.: A mechanically proved and incremental development of ieee 1394 tree identify protocol. Form. Aspects Comput. 14(3), 215–227 (2003)CrossRefMATH Abrial, J.-R., Cansell, D., Méry, D.: A mechanically proved and incremental development of ieee 1394 tree identify protocol. Form. Aspects Comput. 14(3), 215–227 (2003)CrossRefMATH
4.
go back to reference Aouadhi, M.A., Delahaye, B., Lanoix, A.: Moving from event-b to probabilistic event-b. In: Proceedings of the 32nd Annual ACM Symposium on Applied Computing. ACM (2017, to appear) Aouadhi, M.A., Delahaye, B., Lanoix, A.: Moving from event-b to probabilistic event-b. In: Proceedings of the 32nd Annual ACM Symposium on Applied Computing. ACM (2017, to appear)
6.
go back to reference Back, R.-J.: Refinement calculus, part ii: Parallel and reactive programs. In: Stepwise Refinement of Distributed Systems Models, Formalisms, Correctness, pp. 67–93. Springer (1990) Back, R.-J.: Refinement calculus, part ii: Parallel and reactive programs. In: Stepwise Refinement of Distributed Systems Models, Formalisms, Correctness, pp. 67–93. Springer (1990)
7.
go back to reference Back, R.J., von Wright, J.: Refinement calculus, part i: Sequential nondeterministic programs. In: Stepwise Refinement of Distributed Systems Models, Formalisms, Correctness, pp. 42–66. Springer (1990) Back, R.J., von Wright, J.: Refinement calculus, part i: Sequential nondeterministic programs. In: Stepwise Refinement of Distributed Systems Models, Formalisms, Correctness, pp. 42–66. Springer (1990)
8.
go back to reference Baier, C., Katoen, J.-P., et al.: Principles of Model Checking, pp. 2620–2649. MIT Press, Cambridge (2008)MATH Baier, C., Katoen, J.-P., et al.: Principles of Model Checking, pp. 2620–2649. MIT Press, Cambridge (2008)MATH
9.
go back to reference Barthe, G., Fournet, C., Grégoire, B., Strub, P.-Y., Swamy, N., Zanella-Béguelin, S.: Probabilistic relational verification for cryptographic implementations. In: ACM SIGPLAN Notices, vol. 49, pp. 193–205. ACM (2014) Barthe, G., Fournet, C., Grégoire, B., Strub, P.-Y., Swamy, N., Zanella-Béguelin, S.: Probabilistic relational verification for cryptographic implementations. In: ACM SIGPLAN Notices, vol. 49, pp. 193–205. ACM (2014)
10.
go back to reference Bert, D., Cave, F.: Construction of finite labelled transition systems from b abstract systems. In: Integrated Formal Methods, LNCS, vol. 1945, pp. 235–254. Springer (2000) Bert, D., Cave, F.: Construction of finite labelled transition systems from b abstract systems. In: Integrated Formal Methods, LNCS, vol. 1945, pp. 235–254. Springer (2000)
11.
go back to reference Bianco, A., De Alfaro, L.: Model checking of probabilistic and nondeterministic systems. In: International Conference on Foundations of Software Technology and Theoretical Computer Science, pp. 499–513. Springer (1995) Bianco, A., De Alfaro, L.: Model checking of probabilistic and nondeterministic systems. In: International Conference on Foundations of Software Technology and Theoretical Computer Science, pp. 499–513. Springer (1995)
13.
go back to reference Butler, M., Maamria, I.: Practical theory extension in event-b. In: Theories of Programming and Formal Methods, LNCS, vol. 8051, pp. 67–81 (2013) Butler, M., Maamria, I.: Practical theory extension in event-b. In: Theories of Programming and Formal Methods, LNCS, vol. 8051, pp. 67–81 (2013)
14.
go back to reference Chu, W.W., Sit, C.-M.: Estimating task response time with contentions for real-time distributed systems. In Real-Time Systems Symposium, 1988., Proceedings., pp. 272–281. IEEE (1988) Chu, W.W., Sit, C.-M.: Estimating task response time with contentions for real-time distributed systems. In Real-Time Systems Symposium, 1988., Proceedings., pp. 272–281. IEEE (1988)
15.
go back to reference De Roever, W.-P., Engelhardt, K., Buth, K.-H.: Data Refinement: Model-Oriented Proof Methods and Their Comparison, vol. 47. Cambridge University Press, Cambridge (1998)CrossRefMATH De Roever, W.-P., Engelhardt, K., Buth, K.-H.: Data Refinement: Model-Oriented Proof Methods and Their Comparison, vol. 47. Cambridge University Press, Cambridge (1998)CrossRefMATH
16.
go back to reference Dehnert, C., Gebler, D., Volpato, M., Jansen, D.N.: On Abstraction of Probabilistic Systems, pp. 87–116. Springer Berlin Heidelberg, Berlin (2014)MATH Dehnert, C., Gebler, D., Volpato, M., Jansen, D.N.: On Abstraction of Probabilistic Systems, pp. 87–116. Springer Berlin Heidelberg, Berlin (2014)MATH
17.
go back to reference Goldreich, O.: Probabilistic proof systems. In: Modern Cryptography, Probabilistic Proofs and Pseudorandomness, pp. 39–72. Springer (1999) Goldreich, O.: Probabilistic proof systems. In: Modern Cryptography, Probabilistic Proofs and Pseudorandomness, pp. 39–72. Springer (1999)
18.
go back to reference Haghighi, H., Afshar, M.: A z-based formalism to specify Markov chains. Comput. Sci. Eng. 2(3), 24–31 (2012)CrossRef Haghighi, H., Afshar, M.: A z-based formalism to specify Markov chains. Comput. Sci. Eng. 2(3), 24–31 (2012)CrossRef
19.
go back to reference Hallerstede, S., Hoang, T.S.: Qualitative probabilistic modelling in event-b. In: Integrated Formal Methods, pp. 293–312. Springer (2007) Hallerstede, S., Hoang, T.S.: Qualitative probabilistic modelling in event-b. In: Integrated Formal Methods, pp. 293–312. Springer (2007)
20.
go back to reference He, J., Hoare, C., Sanders, J.W.: Data refinement refined resume. In: ESOP 86, pp. 187–196. Springer (1986) He, J., Hoare, C., Sanders, J.W.: Data refinement refined resume. In: ESOP 86, pp. 187–196. Springer (1986)
21.
go back to reference Hoang, T.S.: The development of a probabilistic B-method and a supporting toolkit. PhD thesis, The University of New South Wales (2005) Hoang, T.S.: The development of a probabilistic B-method and a supporting toolkit. PhD thesis, The University of New South Wales (2005)
22.
go back to reference Hoang, T.S.: Reasoning about almost-certain convergence properties using event-b. Sci. Comput. Program. 81, 108–121 (2014)CrossRef Hoang, T.S.: Reasoning about almost-certain convergence properties using event-b. Sci. Comput. Program. 81, 108–121 (2014)CrossRef
23.
go back to reference Hurd, J.: Formal verification of probabilistic algorithms. PhD thesis, University of Cambridge, Computer Laboratory (2003) Hurd, J.: Formal verification of probabilistic algorithms. PhD thesis, University of Cambridge, Computer Laboratory (2003)
24.
go back to reference Hurd, J., McIver, A., Morgan, C.: Probabilistic guarded commands mechanized in hol. Electron. Notes Theor. Comput. Sci. 112, 95–111 (2005)CrossRefMATH Hurd, J., McIver, A., Morgan, C.: Probabilistic guarded commands mechanized in hol. Electron. Notes Theor. Comput. Sci. 112, 95–111 (2005)CrossRefMATH
25.
go back to reference Jonsson, B., Larsen, K.G.: Specification and refinement of probabilistic processes. In: Proceedings of Sixth Annual IEEE Symposium on Logic in Computer Science, 1991. LICS’91, pp. 266–277. IEEE (1991) Jonsson, B., Larsen, K.G.: Specification and refinement of probabilistic processes. In: Proceedings of Sixth Annual IEEE Symposium on Logic in Computer Science, 1991. LICS’91, pp. 266–277. IEEE (1991)
26.
go back to reference Katoen, J.-P.: Abstraction of Probabilistic Systems, pp. 1–3. Springer Berlin Heidelberg, Berlin (2007)MATH Katoen, J.-P.: Abstraction of Probabilistic Systems, pp. 1–3. Springer Berlin Heidelberg, Berlin (2007)MATH
27.
go back to reference Mayr, R., Henda, N.B., Abdulla, P.A.: Decisive Markov chains. Log. Methods Comput. Sci. 3, 7 (2007)MathSciNetMATH Mayr, R., Henda, N.B., Abdulla, P.A.: Decisive Markov chains. Log. Methods Comput. Sci. 3, 7 (2007)MathSciNetMATH
28.
go back to reference McIver, A., Morgan, C.C.: Abstraction, Refinement and Proof for Probabilistic Systems. Springer, Berlin (2006)MATH McIver, A., Morgan, C.C.: Abstraction, Refinement and Proof for Probabilistic Systems. Springer, Berlin (2006)MATH
29.
go back to reference Morgan, C., Hoang, T.S., Abrial, J.-R.: The challenge of probabilistic event b—extended abstract. In: ZB 2005: Formal Specification and Development in Z and B, pp. 162–171. Springer (2005) Morgan, C., Hoang, T.S., Abrial, J.-R.: The challenge of probabilistic event b—extended abstract. In: ZB 2005: Formal Specification and Development in Z and B, pp. 162–171. Springer (2005)
30.
go back to reference Motwani, R., Raghavan, P.: Randomized Algorithms. Chapman & Hall/CRC, Boca Raton (2010)MATH Motwani, R., Raghavan, P.: Randomized Algorithms. Chapman & Hall/CRC, Boca Raton (2010)MATH
32.
go back to reference Puterman, M.L.: Markov Decision Processes: Discrete Stochastic Dynamic Programming. Wiley, New York (2014)MATH Puterman, M.L.: Markov Decision Processes: Discrete Stochastic Dynamic Programming. Wiley, New York (2014)MATH
33.
go back to reference Sere, K., Troubitsyna, E.: Probabilities in action systems. In: Proceedings of the 8th Nordic Workshop on Programming Theory, pp. 373–387 (1996) Sere, K., Troubitsyna, E.: Probabilities in action systems. In: Proceedings of the 8th Nordic Workshop on Programming Theory, pp. 373–387 (1996)
34.
35.
go back to reference Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Reliability assessment in event-b development. In: NODES 09, p. 11 (2009) Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Reliability assessment in event-b development. In: NODES 09, p. 11 (2009)
36.
go back to reference Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Towards probabilistic modelling in event-b. In: Integrated Formal Methods, pp. 275–289. Springer (2010) Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Towards probabilistic modelling in event-b. In: Integrated Formal Methods, pp. 275–289. Springer (2010)
37.
go back to reference Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Integrating stochastic reasoning into event-b development. Form. Aspects Comput. 27(1), 53–77 (2015)MathSciNetCrossRefMATH Tarasyuk, A., Troubitsyna, E., Laibinis, L.: Integrating stochastic reasoning into event-b development. Form. Aspects Comput. 27(1), 53–77 (2015)MathSciNetCrossRefMATH
38.
go back to reference Trivedi, K.S., Ramani, S., Fricks, R.: Recent advances in modeling response-time distributions in real-time systems. Proc. IEEE 91(7), 1023–1037 (2003)CrossRef Trivedi, K.S., Ramani, S., Fricks, R.: Recent advances in modeling response-time distributions in real-time systems. Proc. IEEE 91(7), 1023–1037 (2003)CrossRef
39.
go back to reference Villemeur, A.: Reliability, Availability, Maintainability and Safety Assessment, Assessment, Hardware, Software and Human Factors, vol. 2. Wiley, New York (1992) Villemeur, A.: Reliability, Availability, Maintainability and Safety Assessment, Assessment, Hardware, Software and Human Factors, vol. 2. Wiley, New York (1992)
40.
go back to reference Yilmaz, E.: Tool support for qualitative reasoning in Event-B. PhD thesis, Master Thesis ETH Zürich, 2010 (2010) Yilmaz, E.: Tool support for qualitative reasoning in Event-B. PhD thesis, Master Thesis ETH Zürich, 2010 (2010)
Metadata
Title
Introducing probabilistic reasoning within Event-B
Authors
Mohamed Amine Aouadhi
Benoît Delahaye
Arnaud Lanoix
Publication date
09-10-2017
Publisher
Springer Berlin Heidelberg
Published in
Software and Systems Modeling / Issue 3/2019
Print ISSN: 1619-1366
Electronic ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-017-0626-5

Other articles of this Issue 3/2019

Software and Systems Modeling 3/2019 Go to the issue

Premium Partner