Abstract
We previously defined an extension to the B method to be able to dynamically aggregate components. The proposed extension allowed one to build specifications which can create and delete instances of machines at run time, a feature often associated with object oriented languages and not directly supported in the B method. In this paper, we study the refinement of specifications written using this extension.
We define a procedure that, given a valid implementation of an abstract machine M, systematically generates an implementation for a machine representing a dynamic aggregation of “instances” of M. Moreover, the generated implementation is guaranteed to be correct by construction.
Following the approach initiated in our previous work, the refinement process is defined in a way that is fully compatible with the standard B method.
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
Abrial, J.-R.: The B-Book, Assigning Programs to Meanings. Cambridge University Press, Cambridge (1996)
Aguirre, N., Bicarregui, J., Dimitrakos, T., Maibaum, T.: Towards Dynamic Population Management of Components in the B Method. In: Proceedings of the 3rd International Conference of B and Z Users ZB2003, Turku, Finland. Springer, Heidelberg (2003)
The B-Toolkit User’s Manual, version 3.2, B-Core (UK) Limited (1996)
Digilog, Atelier B - Générateur d’Obligation de Preuve, Spécifications, Technical Report, RATP SNCF INRETS (1994)
Dimitrakos, T., Bicarregui, J., Matthews, B., Maibaum, T.: Compositional Structuring in the B-Method: A Logical Viewpoint of the Static Context. In: P. Bowen, J., Dunne, S., Galloway, A., King, S. (eds.) B 2000, ZUM 2000, and ZB 2000. LNCS, vol. 1878, p. 107. Springer, Heidelberg (2000)
Dunne, S.: A Theory of Generalised Substitutions. In: Bert, D., P. Bowen, J., C. Henson, M., Robinson, K. (eds.) B 2002 and ZB 2002. LNCS, vol. 2272, p. 270. Springer, Heidelberg (2002)
Jones, C.: Systematic Software Development Using VDM, 2nd edn. Prentice-Hall International, Englewood Cliffs (1990)
Lano, K.: The B Language and Method, A Guide to Practical Formal Development. In: Fundamental Approaches to Computing and Information Technology. Springer, Heidelberg (1996)
Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice-Hall International, Englewood Cliffs (2000)
Smith, G.: The Object-Z Specification Language. In: Advances in Formal Methods. Kluwer Academic Publishers, Dordrecht (2000)
Spivey, M.: The Z Notation: A Reference Manual, 2nd edn. Prentice Hall International, Englewood Cliffs (1992)
Treharne, H.: Supplementing a UML Development Process with B. In: Eriksson, L.-H., Lindsay, P.A. (eds.) FME 2002. LNCS, vol. 2391, p. 568. Springer, Heidelberg (2002)
Holzapfel, R., Winterstein, G.: VDM++ – A Formal Specification Language for Object-oriented Designs. In: Proceedings of Ada-Europe Conference 1988, Ada in Industry. Cambridge University Press, Cambridge (1989)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Aguirre, N., Bicarregui, J., Guzmán, L., Maibaum, T. (2004). Implementing Dynamic Aggregations of Abstract Machines in the B Method. In: Davies, J., Schulte, W., Barnett, M. (eds) Formal Methods and Software Engineering. ICFEM 2004. Lecture Notes in Computer Science, vol 3308. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30482-1_34
Download citation
DOI: https://doi.org/10.1007/978-3-540-30482-1_34
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23841-6
Online ISBN: 978-3-540-30482-1
eBook Packages: Springer Book Archive