Reuse of Specification Patterns with the B Method

This paper describes an approach for reusing specification patterns. Specification patterns are design patterns that are expressed in a formal specification language. Reusing a specification pattern means instantiating it or composing it with other specification patterns. Three levels of composition are defined: juxtaposition, composition with inter-patterns links and unification. This paper shows through examples how to define specification patterns in B, how to reuse them directly in B, and also how to reuse the proofs associated with specification patterns.

[1]  Martin Fowler,et al.  Analysis patterns - reusable object models , 1996, Addison-Wesley series in object-oriented software engineering.

[2]  S. J. Goldsack,et al.  Formalising design patterns , 1996, FME 1996.

[3]  Ralph Johnson,et al.  design patterns elements of reusable object oriented software , 2019 .

[4]  Andres Flores,et al.  A Formal Model of Object-Oriented Design and GoF Design Patterns , 2001, FME.

[5]  Kung-Kiu Lau,et al.  OOD Frameworks in Component-Based Software - Development in Computational Logic , 1998, LOPSTR.

[6]  Amel Mammar,et al.  An overview of a method and its support tool for generating B specifications from UML notations , 2000, Proceedings ASE 2000. Fifteenth IEEE International Conference on Automated Software Engineering.

[7]  Nicole Lévy,et al.  Utilisation de patterns dans la construction de specifications en UML et B , 2000 .

[8]  Francisca Losavio,et al.  Spécification et spécialisation de Patterns en UML et B , 2000, LMO.

[9]  Marc Frappier,et al.  Proving Event Ordering Properties for Information Systems , 2003, ZB.

[10]  Sandrine Blazy,et al.  Un exemple de réutilisation de patterns de spécification avec la méthode B , 2002 .

[11]  Tommi Mikkonen,et al.  Formalizing design patterns , 1998, Proceedings of the 20th International Conference on Software Engineering.

[12]  Said Ghoul,et al.  CLASSIFYING SOFTWARE FOR REUSABILITY , 2001 .

[13]  H. P. Nguyen Derivation de specifications formelles b a partir de specifications semi-formelles , 1998 .