Stochastic Analogues of Invariants - Martingales in Stochastic Event-B

Richard Banach

2015

Abstract

In conventional formal model based development frameworks, invariants play a key role in controlling the behaviour of the model (when they contribute to the definition of the model) or in verifying the model’s properties (when the model, independently defined, is required to preserve the invariants). However, when variables take values distributed according to some probability distribution, the possibility of verifying that system behaviour is, in the long term, confined to some acceptable set of states can be severely diminished because the system might, in fact, with low probability fail to be thus confined. This short paper proposes martingales as suitable analogues of invariants for capturing suitable properties of non-terminating systems whose behaviour is with high probability good, yet where a small chance of poor behaviour remains. The idea is explored in the context of the well-known Event-B framework.

References

  1. Abrial, J.-R. (1989). A Formal Approach to Large Software Construction. In van de Snepscheut, editor, Mathematics of Program Construction, volume 375 of LNCS, pages 1-20. Springer.
  2. Abrial, J.-R. (1996). The B-book: assigning programs to meanings. Cambridge University Press.
  3. Abrial, J.-R. (2010). Modeling in Event-B: System and Software Engineering. Cambridge University Press.
  4. Abrial, J.-R., Butler, M., Hallerstede, S., Hoang, T., Mehta, F., and Voisin, L. (2010). Rodin: an open toolset for modelling and reasoning in Event-B. Int. J. Software Tools for Technology Transfer, 12(6):447-466.
  5. Banach, R., Jeske, C., Poppleton, M., and Stepney, S. (2006a). Retrenching the Purse: Finite Exception Logs, and Validating the Small. In Hinchey, editor, Proc. NASA/IEEE SEW-30, pages 234-245, Layola College Graduate Center, Columbia, MD.
  6. Banach, R., Jeske, C., Poppleton, M., and Stepney, S. (2006b). Retrenching the Purse: Hashing Injective CLEAR Codes, and Security Properties. In Steffen, Margaria, and Philippou, editors, ISOLA-06, Paphos, Cyprus. IEEE.
  7. Banach, R., Jeske, C., Poppleton, M., and Stepney, S. (2007). Retrenching the Purse: The Balance Enquiry Quandary, and Generalised and (1,1) Forward Refinements. Fundamenta Informaticae, 77:29-69.
  8. Banach, R., Poppleton, M., Jeske, C., and Stepney, S. (2005). Retrenching the Purse: Finite Sequence Numbers and the Tower Pattern. In Formal Methods 2005, pages 382-398.
  9. D.T.I. (1991). Information Technology Security Evaluation Criteria. http://www.cesg.gov.uk/site/iacs/itsec/ media/formal-docs/Itsec.pdf.
  10. Grimmett, G. and Stirzaker, D. (2001). Probability and Random Processes. O.U.P., 3rd edition.
  11. Heerink, L. and Tretmans, J. (1996). Formal Methods in Conformance Testing: A Probabilistic Refinement. In Testing of Communicating Systems, pages 261-276. Springer.
  12. ISO-Z (2002). Information Technology - Z Formal Specification Notation - Syntax, Type System and Semantics: International Standard. ISO/IEC 13568. http://www. iso.org/iso/en/ittf/PubliclyAvailableStandards/ c021573 ISO IEC 13568 2002(E).zip.
  13. Jones, C., O'Hearne, P., and Woodcock, J. (2006). Verified Software: A Grand Challenge. IEEE Computer, 39(4):93-95.
  14. Jones, C. and Woodcock (eds.), J. (2008). FAC Special Issue on the Mondex Verification. Formal Aspects of Computing, 20(1):1-139.
  15. McIver, A. and Morgan, C. (2005). Abstraction, Refinement and Proof for Probabilistic Systems. Springer.
  16. National Science and Technology Council (2011). Trustworthy Cyberspace: Strategic plan for the Federal Cybersecurity Research and Development Program. http:// www.whitehouse.gov/sites/default/files/microsites/ ostp/fed cybersecurity rd strategic plan 2011.pdf.
  17. Resnick, S. (1992). Adventures in Stochastic Processes. Birkhauser.
  18. Spivey, J. (1992). The Z Notation: A Reference Manual. Prentice-Hall, second edition.
  19. Stepney, S., Cooper, D., and Woodcock, J. (2000). An Electronic Purse: Specification, Refinement and Proof. Technical Report PRG-126, Oxford University Computing Laboratory.
  20. Summit Report (2008). Summit Report: Cyber-Physical Systems. http://iccps2012.cse.wustl.edu/ doc/ CPS Summit Report.pdf.
  21. Sztipanovits, J. (2011). Model Integration and Cyber Physical Systems: A Semantics Perspective. In Butler and Schulte, editors, Proc. FM11. Springer, LNCS 6664, p.1, http://sites.lero.ie/ download.aspx?f=Sztipanovits-Keynote.pdf. Invited talk, FM 2011, Limerick, Ireland.
  22. van Breugel, F. and Worrell, J. (2001). Towards Quantitative Verification of Probabilistic Transition Systems. In Proc. ALP-01, pages 421-432. Springer LNCS.
  23. Willems, J. (2007). Open Dynamical Systems: Their Aims and their Origins. Ruberti Lecture, Rome. http:// homes.esat.kuleuven.be/~jwillems/Lectures/2007/ Rubertilecture.pdf.
  24. Woodcock, J. (2006). First Steps in the The Verified Software Grand Challenge. IEEE Computer, 39(10):57- 64.
  25. Woodcock, J. and Banach, R. (2007). The Verification Grand Challenge. JUCS, 13(5):661-668.
Download


Paper Citation


in Harvard Style

Banach R. (2015). Stochastic Analogues of Invariants - Martingales in Stochastic Event-B . In Proceedings of the 10th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-100-7, pages 238-243. DOI: 10.5220/0005431602380243


in Bibtex Style

@conference{enase15,
author={Richard Banach},
title={Stochastic Analogues of Invariants - Martingales in Stochastic Event-B},
booktitle={Proceedings of the 10th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2015},
pages={238-243},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005431602380243},
isbn={978-989-758-100-7},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 10th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - Stochastic Analogues of Invariants - Martingales in Stochastic Event-B
SN - 978-989-758-100-7
AU - Banach R.
PY - 2015
SP - 238
EP - 243
DO - 10.5220/0005431602380243