Dynamic graphical UML views from formal B specifications

This paper addresses the graphical representation of the behaviour of B specifications, using state transition 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 the principles of the graphical representation on a deterministic example, featuring a small set of states. It then discusses the representation of specifications which feature a large or infinite set of states, or which are non-deterministic. Abstraction techniques are used to overcome these difficulties. They result in a variety of possible representations. Finally, three techniques, based on animation and proof, are presented to help construct the diagrams.

[1]  Ludovic Casset Development of an Embedded Verifier for Java Card Byte Code Using Formal Methods , 2002, FME.

[2]  Bruno Legeard,et al.  Automated Boundary Testing from Z and B , 2002, FME.

[3]  Guilhem Pouzancre How to Diagnose a Modern Car with a Formal B Model? , 2003, ZB.

[4]  Sophie Dupuy-Chessa,et al.  Translating the OMT Dynamic Model into Object-Z , 1998, ZUM.

[5]  Daniel Le Métayer,et al.  CASTING: a formally based software test generation method , 1997, First IEEE International Conference on Formal Engineering Methods.

[6]  Didier Essame La méthode B et l'ingénierie système , 2004, Tech. Sci. Informatiques.

[7]  S. J. Goldsack,et al.  Integrating Formal and Structured Methods in Object-Oriented System Development , 1996 .

[8]  Stefan Hallerstede Parallel Hardware Design in B , 2003, ZB.

[9]  Michael J. Butler,et al.  ProB: A Model Checker for B , 2003, FME.

[10]  Marian Petre,et al.  Why looking isn't always seeing: readership skills and graphical programming , 1995, CACM.

[11]  Jeanine Souquières,et al.  A Systematic Approach to Transform OMT Diagrams to a B Specification , 1999, World Congress on Formal Methods.

[12]  Leslie Lamport,et al.  TLA in Pictures , 1995, IEEE Trans. Software Eng..

[13]  Régine Laleau,et al.  Coming and Going from UML to B: A Proposal to Support Traceability in Rigorous IS Development , 2002, ZB.

[14]  Jeremy Dick,et al.  Integrating Structured and Formal Methods: A Visual Approach to VDM , 1991, ESEC.

[15]  Didier Bert,et al.  Construction of Finite Labelled Transistion Systems from B Abstract Systems , 2000, IFM.

[16]  Dominique Cansell,et al.  Predicate Diagrams for the Verification of Reactive Systems , 2000, IFM.

[17]  Guilhem Pouzancre,et al.  Modélisation en B événementiel des fonctions mécaniques, électriques et informatiques d'un véhicule , 2003, Tech. Sci. Informatiques.

[18]  Bruno Legeard,et al.  A Comparison of the BTT and TTF Test-Generation Methods , 2002, ZB.

[19]  Emil Sekerinski,et al.  Graphical Design of Reactive Systems , 1998, B.

[20]  Jean-Raymond Abrial,et al.  Introducing Dynamic Constraints in B , 1998, B.

[21]  Stefania Gnesi,et al.  FME 2003: Formal Methods: International Symposium of Formal Methods Europe, Pisa, Italy, September 8-14, 2003. Proceedings , 2003, Lecture Notes in Computer Science.

[22]  Nancy G. Leveson,et al.  Investigating the readability of state-based formal requirements specification languages , 2002, ICSE '02.

[23]  Jonathan P. Bowen,et al.  ZB 2003: Formal Specification and Development in Z and B , 2003, Lecture Notes in Computer Science.

[24]  Axel van Lamsweerde,et al.  Formal specification: a roadmap , 2000, ICSE '00.

[25]  Jonathan P. Bowen,et al.  ZB 2002:Formal Specification and Development in Z and B , 2002, Lecture Notes in Computer Science.

[26]  Jeanine Souquières,et al.  Contributions for Modelling UML State-Charts in B , 2002, IFM.

[27]  S. J. Goldsack,et al.  Formal Methods and Object Technology , 1996, Formal Approaches to Computing and Information Technology.

[28]  Ivar Jacobson,et al.  The Unified Modeling Language User Guide , 1998, J. Database Manag..

[29]  Jean-Raymond Abrial,et al.  The B-book - assigning programs to meanings , 1996 .

[30]  Jim Woodcock,et al.  FME '93: Industrial-Strength Formal Methods , 1993, Lecture Notes in Computer Science.

[31]  Rachel Harrison,et al.  A Comparative Study of Formal and Informal Specifications through an Industrial Case Study , 2001 .

[32]  David Harel,et al.  Statecharts: A Visual Formalism for Complex Systems , 1987, Sci. Comput. Program..

[33]  Jeremy Dick,et al.  Automating the Generation and Sequencing of Test Cases from Model-Based Specifications , 1993, FME.

[34]  Ahmed Hammad,et al.  From a B Specification to UML StateChart Diagrams , 2002, ICFEM.

[35]  Paul Benoit,et al.  Météor: A Successful Application of B in a Large Project , 1999, World Congress on Formal Methods.