23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.4 A System <strong>of</strong> Basic Transformations 313<br />

¡ that is weak enough to tackle most <strong>of</strong> the practical cases. The search for<br />

NoComChange¡<br />

such a predicate is still going on.<br />

As an example <strong>of</strong> an application <strong>of</strong> 6, consider a specification (A ¢ B ¢ C ¢ D)§ e© a¥ e© b<br />

, e© c¥ e© d ¥ Sys p ¥ Sys . If the transformation condition is satisfied, this specification<br />

can be transformed into (A ¢ B)§ e© a¥ e© b¥ e© c¥ e© d ¢ (C ¢ D)§ e© a¥ e© b¥ e© c¥ e© d ¥ Sys p ¥<br />

. The application <strong>of</strong> two more transformation steps yields specification Sys e© a¥ e© (A§<br />

e© c¥ e© d ¢ B§ e© a¥ e© b¥ e© c¥ e© d ¢ C§ e© a¥ e© b¥ e© c¥ e© d ¢ D)§ e© a¥ e© b¥ e© c¥ e© d ¥ Sys b¥ p Sys . The<br />

¥<br />

modification <strong>of</strong> the specification is visualised by the following Instance Structure Diagrams:<br />

A B<br />

C D<br />

a<br />

e d<br />

¢<br />

b e<br />

Transformation<br />

<br />

7<br />

e BSpec<br />

L¥ envs¥ Sys p ¥ Sys<br />

c<br />

e<br />

e<br />

¡<br />

A B<br />

C D<br />

<br />

e BSpec ¥ envs¥ p Sys ¥ Sys<br />

¢<br />

¡<br />

if ChSort(BSpece ¥ Sysp ) L ¤ ¨<br />

§ =<br />

According to 7 one may drop or introduce a hiding <strong>of</strong> non-involved channels. For<br />

example, consider a specification BSpec¥ Sysp Sys B§ ¥ d© ¢ a¥ b© c , where BSpec A with<br />

channel sort £<br />

a¥ b¥ c¥ d¦ . This specification is transformation equivalent to £<br />

g¦ ¥ ¥ e¥<br />

(BSpec<br />

f Sysp ¥ Sys . The Instance Structure Diagrams are<br />

c<br />

A B<br />

a<br />

b<br />

c<br />

d<br />

a<br />

¢<br />

¡<br />

c<br />

A B<br />

<br />

K¥ envs¥<br />

Transformation 8<br />

e BSpec L Sysp <br />

¡ ¥ (L Sys<br />

¦ K)¥ envs¥ Sys<br />

¢<br />

e BSpec p ¥ Sys ¨<br />

According to 8 two successive channels hidings may be reduced to a single one. For<br />

instance, BSpec £ £<br />

¥ a¦ b¥ e¦ Sysp Sys ¥ (where BSpec is as defined in the example <strong>of</strong> 7)<br />

and (BSpec £<br />

¥ a¥ b¥ e¦ Sysp Sys ¥ are transformation equivalent.<br />

a<br />

a<br />

d<br />

d<br />

c<br />

b<br />

e<br />

a<br />

b<br />

b<br />

c<br />

c<br />

d<br />

a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!