Abstract
This paper addresses the graphical representation of static aspects of B specifications, using UML class diagrams. These diagrams can help understand the specification for stakeholders who are not familiar with the B method, such as customers or certification authorities. The paper first discusses some rules for a preliminary derivation of a class diagram. It then studies the consistency of the concepts preliminarily identified from an object oriented point of view. A formal concept analysis technique is used to distinguish between consistent classes, attributes, associations and operations. The proposed technique is to incrementally add operations to the formal specification which automatically result in evolutions of the class diagram.
Similar content being viewed by others
References
Behm P, Benoit P, Faivre A, Meynadier J-M (1999) METEOR: A successful application of B in a large project. In: Wing JM, Woodcock J, Davies J (eds) Proceedings of the FM′99: World Congress on formal methods, Lecture notes in computer science, vol 1709, Springer-Verlag, pp 369–387
Bert D, Cave F (2000) Construction of finite labelled transition systems from B abstract system. In: Integrated formal methods, lecture notes in computer science, vol 1945, Springer-Verlag, pp 235–254
Bert D, Potet M-L, Stouls N (2005) GeneSyst: a tool to reason about behavioral aspects of B event specifications. Application to security properties. In: Proceedings of the ZB2005, lecture notes in computer science, vol 3455, Springer-Verlag, pp 299–318
Casset L (2002) Development of an embedded verifier for java card byte code using formal methods. In: FME′02, formal methods Europe, lecture notes in computer science, vol 2391, Springer-Verlag, pp 290–309
Dick J, Loubersac J (1991) Integrating structured and formal methods: A visual approach to VDM. In: van Lamsweerde A, Fugetta A (eds) Proceedings of European Software Engineering Conference (ESEC ′91), vol 550. Lecture notes in computer science, Springer-Verlag, pp 37–59
Dupuy S, Ledru Y, Chabre-Peccoud M (2000) An Overview of RoZ: A Tool for Integrating UML and Z Specifications. In: CAiSE 2000, vol 1789. Lecture notes in computer science, Springer-Verlag, pp 417–430
Fekih H, Jemni L, Merz S (2004) Transformation des spécifications B en des diagrammes UML. In: Julliand J (ed) AFADL: Approches Formelles dans l'Assistance au Développement de Logiciels, pp 131–145
Hammad A, Tatibouet B, Voisinet JC, Weiping W (2002) From a B specification to UML Statecharts Diagrams. In: Proceedings of the 4th International Conference on Formal Engineering Methods (ICFEM′2002), vol 2495. Lecture Notes in Computer Science. pp 511–522, Springer-Verlag
Harel D (1987) Statecharts: A visual formalism for complex systems. Sci Comput Programm 8(3):231–274, Elsevier
Idani A, Ledru Y (2005) Dynamic graphical UML views from formal B specifications. Information and Software Technology Journal. Article in press. Accepted March 2005, Elsevier
Idani A, Ledru Y, Bert D (2005) Derivation of UML class diagrams as static views of formal B developments. In: Formal methods and software engineering, 7th international conference on formal engineering methods, ICFEM 2005, vol 3785. Lecture Notes in Computer Science. Manchester, UK, Springer-Verlag, pp 37–51
Laleau R, Mammar A (2000) An overview of a method and its support tool for generating B specifications from UML notations. In: International Conference on Automated Software Engineering (ASE2000), IEEE CS Press, pp 269–272
Laleau R, Polack F (2002) Coming and going from UML to B: A proposal to support traceability in rigorous IS development. In: ZB′2002—Formal specification and development in Z and B, vol 2272. Lecture Notes in Computer Science, Springer-Verlag, pp 517–534
Lano K (1995) Formal object-oriented development, Springer
Lano K, Goldsack S (1996) Intregrated formal and object-oriented methods: The VDM++ approach. In: Bryant A, Semmens L (eds) Method integration workshop. Electronic Workshops in Computing, Springer, Leeds
Lano K, Houghton H, Wheeler P (1996) Integrating formal and structured methods in object-oriented system development. In: Formal Methods and Object technology, chapter 7, Springer
Ledang H, Souquières J (2002) Contributions for modelling UML State-Charts in B. In: Integrated formal methods, 3rd international conference, IFM 2002, vol 2335. Lecture Notes in Computer Science, Springer-Verlag, pp 109–127
Leuschel M, Butler M (2003) ProB: A model checker for B. In: Araki K, Gnesi S, Mandrioli D (eds) FME 2003: Formal methods, vol 2805. Lecture Notes in Computer Science, Springer-Verlag, pp 855–874
Ossami D-D, Jacquot J-P, Souquières J (2005) Consistency in UML and B multi-view specifications. In: Integrated formal methods, 5th international conference, IFM 2005, vol 3771. Lecture notes in computer science, Springer-Verlag, pp 386–405
Satpathy M, Harrison R, Snook C, Butler M (2001) A comparative study of formal and informal specifications through an industrial case study. In: Proceedings of FSCBS′01: IEEE/IFIP Workshop on Formal Specification of Computer Based Systems. Washington, DC, pp 133–137
Sekerinski E (1998) Graphical design of reactive systems. In: B′98: The 2nd international B Conference, Recent advances in the development and use of the B method, vol 1393. Lecture Notes in Computer Science, Springer-Verlag, pp 182–197
Snook C, Butler M (2001) Using a graphical design tool for formal specification. In: Kadoba K (ed) Proceedings of the 13th annual workshop of the psychology of programming interest group, pp 311–321
Spivey JM (1992) The Z notation—A reference manual, 2nd edn, Prentice Hall
Tatibouet B, Hammad A, Voisinet JC (2002) From an abstract B specification to UML class diagrams. In: 2nd IEEE International Symposium on Signal Processing and Information Technology (ISSPIT′2002), Marrakech, Morocco
Tatibouet B, Voisinet JC (2003) Generating statecharts from B specifications. In: 16th International Conference on Software and Systems Engineering and Their Applications (ICSSEA′2003), CNAM—Paris, France
Warmer J, Kleppe A (1999) The object constraint langage: Precise modeling with UML. Addison Wesley, Reading, MA
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Idani, A., Ledru, Y. Object oriented concepts identification from formal B specifications. Form Method Syst Des 30, 217–232 (2007). https://doi.org/10.1007/s10703-006-0030-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10703-006-0030-1