Entreprise Proposition de Valeurs Identité, Activités et Réf

3 septembre
2007
BRAMA
Antoine Requet
EUROPARC de Pichaury
Bâtiment C2
1330, av. Guillibert de la Lauzière
13 856 Aix en Provence Cedex 3
Téléphone
Télécopie
: 04.42.37.12.70
: 04.42.37.12.71
www.clearsy.com
Rodin Industry Day
September 10 2007, Paris
Agenda




What is Brama
Animating an event B specification
Creating a flash animation
Conclusion
2
Brama Overview (1)

Brama is a tool for animating event-B
specifications




Allows executing events and inspecting
variable values
Will automatically find suitable values for nondeterministic specifications
Can also animate text-based event-B
specifications using b2rodin
Tool integrated within the RODIN platform



GUI for animating specifications
Can also work as a server
Works with RODIN-based products such as
CompoSys
3
Brama Overview (2)

Not an exhaustive tool



Tries to guess values, but may fail for
complicated expressions
Valid events may be considered closed
Benefits of animating specification


Allows detecting specification errors such as
erroneous invariants
Allows checking whether the specification
corresponds to the requirement
4
Animating an event B specification

Demo...
5
Creating a flash animation

Uses the Brama network server


Rely on a TCP/IP connection
Flash animation act as a client of the Brama
server



Can trigger events
Can listen to state changes
Similar to connecting to any Web-based server
6
Creating a flash animation

Demo...
7
Conclusion

Brama allows animating event-B specification



Can be used early in the specification phase
Allows to demonstrate B models to non-B experts
Can handle real-world specifications


May require some adaptation to Brama specificities
Example shown in later presentations
8