Skip to main content

Implementing Dynamic Aggregations of Abstract Machines in the B Method

  • Conference paper
Formal Methods and Software Engineering (ICFEM 2004)

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

Included in the following conference series:

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abrial, J.-R.: The B-Book, Assigning Programs to Meanings. Cambridge University Press, Cambridge (1996)

    Book  MATH  Google Scholar 

  2. 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)

    Google Scholar 

  3. The B-Toolkit User’s Manual, version 3.2, B-Core (UK) Limited (1996)

    Google Scholar 

  4. Digilog, Atelier B - Générateur d’Obligation de Preuve, Spécifications, Technical Report, RATP SNCF INRETS (1994)

    Google Scholar 

  5. 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)

    Chapter  Google Scholar 

  6. 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)

    Chapter  Google Scholar 

  7. Jones, C.: Systematic Software Development Using VDM, 2nd edn. Prentice-Hall International, Englewood Cliffs (1990)

    MATH  Google Scholar 

  8. Lano, K.: The B Language and Method, A Guide to Practical Formal Development. In: Fundamental Approaches to Computing and Information Technology. Springer, Heidelberg (1996)

    Google Scholar 

  9. Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice-Hall International, Englewood Cliffs (2000)

    Google Scholar 

  10. Smith, G.: The Object-Z Specification Language. In: Advances in Formal Methods. Kluwer Academic Publishers, Dordrecht (2000)

    Google Scholar 

  11. Spivey, M.: The Z Notation: A Reference Manual, 2nd edn. Prentice Hall International, Englewood Cliffs (1992)

    Google Scholar 

  12. 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)

    Chapter  Google Scholar 

  13. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics