Skip to main content
Log in

A systematic approach to generate B preconditions: application to the database domain

  • Regular Paper
  • Published:
Software & Systems Modeling Aims and scope Submit manuscript

Abstract

Maintaining integrity constraints in information systems is a real issue. In our previous work, we have defined a formal approach that derives B formal specifications from a UML description of the system. Basically, the generated B specification is composed of a set of variables modeling data and a set of operations representing transactions. The integrity constraints are directly specified as B invariant properties. So far, the operations we generate establish only a reduced class of constraints. In this paper, we describe a systematic approach to identify preconditions that take a larger class of invariants into account. The key idea is the definition of rewriting and simplification rules that we apply to the B invariants.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

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

    MATH  Google Scholar 

  2. Chailloux E., Manoury P., Pagano B.: Développement d’Applications avec Objectif Caml. O’REILLY, France (2000)

    Google Scholar 

  3. ClearSy (2004) http://www.b4free.com/

  4. ClearSy. Atelier, B.: Manuel de Référence (2004). Available at http://www.atelierb.societe.com

  5. Dupuy, S., Ledru, Y., Chabre-Peccoud, M.: An Overview of RoZ: A Tool for Integrating UML and Z Specifications. In: Wangler, B., Bergman, L. (eds.) 12th International Conference Advanced Information Systems Engineering (CAiSE’00). LNCS, vol. 1789, pp. 417–430. Springer, Heidelberg (2000)

  6. Laleau, R., Mammar, A.: An Overview of a Method and its Support Tool for Generating B Specifications from UML Notations. In: The Fifteenth IEEE International Conference on Automated Software Engineering (ASE’00), pp. 269–272. IEEE Computer Society, New York (2000)

  7. Lano, K., Clark, D., Androutsopoulos, K.: UML to B: Formal Verification of Object-Oriented Models. In: Boiten, E.A., Derrick, J., Smith, G. (eds.) IFM’04: 4th International Conference on Integrated Formal Methods, pp. 187–206 (2004)

  8. Ledang, H., Souquières, J.: Modeling Class Operations in B: Application to UML Behavioral Diagrams. In: The Sixteenth IEEE International Conference on Automated Software Engineering (ASE’01), pp. 289–296. IEEE Computer Society, New York (2001)

  9. Ledru, Y.: Identifying Pre-conditions with the Z/EVES Theorem Prover. In: Proc. 13th International Conf. on Automated Software Engineering. IEEE Computer Society Press, New York (1998)

  10. Leuschel, M., Butler, M-J.: ProB: A model checker for B. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) the 12th International FME Symposium (FME’03). LNCS, vol. 2805, pp. 855–874. Springer, Heidelberg (2003)

  11. Mammar, A.: Un Environnement Formel pour le Développement d’Applications Bases de Données. PhD Thesis, CEDRIC Laboratory, Paris, France, November 2002. Available at http://cedric.cnam.fr/

  12. Mammar, A., Laleau, R.: UB2SQL: A Tool For Building Database Applications using UML and the B Formal Method. Technical report, University of Luxembourg, 2005. Available at http://se2c.uni.lu/users/AM

  13. Mammar, A., Laleau, R.: A Formal Approach Based on UML and B for the Specification and Development of Database Applications. Technical report, University of Luxembourg, 2006. ASE J. (to appear)

  14. Mammar A., Laleau R: From a B formal specification to an executable code: application to the relational database domain. Inf. Softw. Technol. 48(4), 253–279 (2006)

    Article  Google Scholar 

  15. Marcano, R., Levy, N.: Transformation rules of OCL constraints into B formal expressions. In: Jürjens, J., Cengarle, M.V., Fernandez E.B., Rumpe, B., Sandner, R. (eds.) Critical Systems Development with UML—Proceedings of the UML’02 workshop, pp. 155–162. Technische Universität München, Institut für Informatik (2002)

  16. RODIN (2007) http://rodin-b-sharp.sourceforge.net/.

  17. Saaltink, M.: The Z/EVES System. In: ZUM ’97: The Z Formal Specification Notation, 10th International Conference of Z Users, Lecture Notes in Computer Science, vol. 1212. Springer, Heidelberg pp. 72–85 (1997)

  18. Spivey J.M.: The Z Notation: A Reference Manual. Prentice-Hall, International, New Jersey (1992)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amel Mammar.

Additional information

Communicated by Dr. Kevin Lano.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Mammar, A. A systematic approach to generate B preconditions: application to the database domain. Softw Syst Model 8, 385–401 (2009). https://doi.org/10.1007/s10270-008-0098-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10270-008-0098-8

Keywords

Navigation