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.
Similar content being viewed by others
References
Abrial J.R.: The B-Book: Assigning Programs to Meanings. Cambridge University Press, Cambridge (1996)
Chailloux E., Manoury P., Pagano B.: Développement d’Applications avec Objectif Caml. O’REILLY, France (2000)
ClearSy (2004) http://www.b4free.com/
ClearSy. Atelier, B.: Manuel de Référence (2004). Available at http://www.atelierb.societe.com
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)
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)
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)
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)
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)
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)
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/
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
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)
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)
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)
RODIN (2007) http://rodin-b-sharp.sourceforge.net/.
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)
Spivey J.M.: The Z Notation: A Reference Manual. Prentice-Hall, International, New Jersey (1992)
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Dr. Kevin Lano.
Rights 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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10270-008-0098-8