Skip to main content

A Rigorous Reasoning about Model Transformations Using the B Method

  • Conference paper
Enterprise, Business-Process and Information Systems Modeling (BPMDS 2013, EMMSAD 2013)

Abstract

A crucial idea of Model Driven Engineering is that model transformation can be described uniformly in terms of meta-model mappings. Based on the fact that meta-models define an abstract syntax from which one can describe elements of modeling languages, transformation rules that arise from MDA-based techniques are often described as explicit and clear. However, one of the remaining difficulties is to check the correctness of these transformations in order to prove that they preserve constraints which may be expressed over meta-models. Currently, the MDE gives methodological issues for the use of OCL to express these constraints but without providing automated formal reasonings. This paper discusses how a formal method, such as B, can be used in an MDE process in order to rigourously reason about meta-models and associated model transformations. We propose to adapt existing UML-to-B techniques in order to obtain a formal specification of meta-models and hence the various constraints can be introduced using B invariants. We also show how transformation rules can be encoded using B operations and what kinds of reasoning can be performed on the resulting B specifications. Such a technique allows to assist the MDE by proof and animation tools.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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 (1996)

    Google Scholar 

  2. Brottier, E., Fleurey, F., Steel, J., Baudry, B., Le Traon, Y.: Metamodel-based test generation for model transformations: an algorithm and a tool. In: ISSRE, pp. 85–94. IEEE Computer Society (2006)

    Google Scholar 

  3. Jouault, F., Kurtev, I.: Transforming models with atl. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844, pp. 128–138. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  4. Jouault, F., Allilaire, F., Bézivin, J., Kurtev, I.: Atl: A model transformation tool. Sci. Comput. Program. 72(1-2), 31–39 (2008)

    Article  Google Scholar 

  5. Kurtev, I.: State of the art of qvt: A model transformation language standard. In: Schürr, A., Nagl, M., Zündorf, A. (eds.) AGTIVE 2007. LNCS, vol. 5088, pp. 377–393. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  6. Laleau, R., Polack, F.: Coming and going from UML to B: A proposal to support traceability in rigorous is development. In: Bert, D., Bowen, J.P., Henson, M.C., Robinson, K. (eds.) ZB 2002. LNCS, vol. 2272, pp. 517–534. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  7. Lano, K.: Using B to verify UML Transformations. In: MoDeVa: Model Development, Validation and Verification (October 2006)

    Google Scholar 

  8. Ledang, H., Dubois, H.: Proving model transformations. In: 2010 4th IEEE International Symposium on Theoretical Aspects of Software Engineering (TASE), pp. 35–44. IEEE (2010)

    Google Scholar 

  9. Legeard, B., Peureux, F., Utting, M.: Automated boundary testing from Z and B. In: Eriksson, L.-H., Lindsay, P.A. (eds.) FME 2002. LNCS, vol. 2391, pp. 21–40. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  10. Leuschel, M., Butler, M.: ProB: A Model Checker for B. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FME 2003. LNCS, vol. 2805, pp. 855–874. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  11. Mammar, A., Laleau, R.: From a B formal specification to an executable code: application to the relational database domain. Journal of Information and Software Technology 48(4), 253–279 (2005)

    Article  Google Scholar 

  12. Ossami, D.D.O., Jacquot, J.-P., Souquières, J.: Consistency in UML and B Multi-view Specifications. In: Romijn, J.M.T., Smith, G.P., van de Pol, J. (eds.) IFM 2005. LNCS, vol. 3771, pp. 386–405. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  13. Snook, C., Butler, M.: UML-B: Formal modeling and design aided by UML. ACM Transactions on Software Engineering and Methodology (TOSEM) 15(1), 92–122 (2006)

    Article  Google Scholar 

  14. Weisemöller, I., Schürr, A.: Formal definition of MOF 2.0 metamodel components and composition. In: Czarnecki, K., Ober, I., Bruel, J.-M., Uhl, A., Völter, M. (eds.) MODELS 2008. LNCS, vol. 5301, pp. 386–400. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Idani, A., Ledru, Y., Anwar, A. (2013). A Rigorous Reasoning about Model Transformations Using the B Method. In: Nurcan, S., et al. Enterprise, Business-Process and Information Systems Modeling. BPMDS EMMSAD 2013 2013. Lecture Notes in Business Information Processing, vol 147. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38484-4_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-38484-4_30

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-38483-7

  • Online ISBN: 978-3-642-38484-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics