Abstract
This paper describes extensions of the B language concerning control flow breaks in implementations and specification of operations with exceptional behaviors. It does not claim to define those extensions in a pure formal and complete way. It is rather a presentation of what could be done and how it could be done. A syntax is proposed and proof obligations are defined using a weakest precondition calculus extended to deal with abrupt termination. Examples emphasizing the advantages of these extensions are also given.
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
Jean-Raymond Abrial. The B Book, Assigning Programs to Meanings. Cambridge University Press, 1996.
Lilian Burdy and Antoine Requet. Jack: Java Applet Correctness Kit. In GDC 2002, Singapore, November 2002.
Ludovic Casset. Development of an Embedded Verifier for Java Card Byte Code using Formal Methods. In Lars-Henrik Eriksson and Peter Alexander Lindsay, editors, Formal Methods — Getting IT Right, volume 2391 of Lecture Notes in Computer Science, pages 290–309. Springer-Verlag, July 22–24 2002.
Ludovic Casset, Lilian Burdy, and Antoine Requet. Formal Development of an Embedded Verifier for Java Card Byte Code. In DSN 2002, International Conference on Dependable Systems & Networks, pages 51–56, Washington, D.C., USA, June 2002.
Marieke Huisman. Java Program Verification in Higher-Order Logic with PVS and Isabelle. PhD thesis, University of Nijmegen, The Netherlands, 2001.
Marieke Huisman and Bart Jacobs. Java Program Verification via a Hoare Logic with Abrupt Termination. In T. Maibaum, editor, Fundamental Approaches to Software Engineering (FASE), volume 1783, pages 284–303. Springer-Verlag, 2000.
Pierre Lartigue and Denis Sabatier. The use of the B formal method for the design and the validation of the transaction mechanism for smart card applications. In Formal Methods in System Design, Special Issue on FM’99, November 1999.
Joachim van den Berg and Bart Jacobs. The LOOP Compiler for Java and JML. Lecture Notes in Computer Science, 2031:299–312, 2001.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Burdy, L., Requet, A. (2003). Extending B with Control Flow Breaks. In: Bert, D., Bowen, J.P., King, S., Waldén, M. (eds) ZB 2003: Formal Specification and Development in Z and B. ZB 2003. Lecture Notes in Computer Science, vol 2651. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44880-2_30
Download citation
DOI: https://doi.org/10.1007/3-540-44880-2_30
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40253-4
Online ISBN: 978-3-540-44880-8
eBook Packages: Springer Book Archive