Parallel Composition using Event-B

From Event-B
Revision as of 15:45, 11 November 2008 by imported>Renato (New page: Renato at Southampton is in charge of the Parallel Composition using Event-B. Composition is the process on which it is possible to combine different sub-systems in...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Renato at Southampton is in charge of the Parallel Composition using Event-B.

Composition is the process on which it is possible to combine different sub-systems into a larger system. Known and studied in several areas, this has the advantage of reusability and combination of systems especially when it comes to distributed systems. While applying composition, properties must be maintained and proofs obligations need to be discharged in order to the final result to be considered valid. Our goal is to add this feature to the Rodin Platform (using Event-B notation) and study the concerns, properties, conditions, proof obligations, advantages and disadvantages when create/analysing system specifications. Since the composition maintains the monotonicity property of the systems, the sub-systems can be refined independently on a further stage, preserving composition properties.

A document with information about parallel composition using Event-B is available here:[1].

A release of the composition plugin for Rodin 0.8.2 is available (email me:ras07r@ecs.soton.ac.uk).

A release for Rodin 0.9 should be available soon (possibly from the main Rodin updates link).

How to use it:

- To install the plug-in, just unpack the context of the zip file ( a folder called 'plugins') into the plugins folder of the Rodin platform. So after this operation, this two files should be seen on the Rodin's plugins folder:

  • ac.soton.composition.core_0.0.2.jar
  • ac.soton.composition.ui_0.0.2.jar

(Previous point just applies if not using the main Rodin update link)

- To create a new composition file (bcp file), go to Toolbar (on top), New>>Other... Event-B>>Composition Machine. Then select the project (if not selected already) and filename (by default is cm.bcp).

- Bcp files are not visible on Event-B perspective. So to edit, go to Resource or Java perspective and edit the file there.

- After editing the properties of the bcp file, you can generate a new bum file (machine), by using the green button on the toolbar (CM - symbol of machine) or by right clicling on the bcp file and choose the option :'Create Composed Machine'. You will have to introduce a name for the new machine (although a name is suggested by default, but may already exist) and after that is just press 'OK'.