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.3 Some Properties <strong>of</strong> Transformation Equivalence 309<br />

By property (ii) <strong>of</strong> Proposition 3 we know that observation equivalence, which was<br />

defined in terms <strong>of</strong> weak bisimulations, is itself a weak bisimulation. This property is<br />

required in the pro<strong>of</strong> <strong>of</strong> Proposition 4 given later in this section.<br />

For transformation equivalence to be <strong>of</strong> practical use, it should be a (partial) congruence.<br />

If a component <strong>of</strong> a specification is replaced by a transformation equivalent one, a specification<br />

should be obtained that is transformation equivalent to the original specification.<br />

For example, consider specification ¢ B§ b© c¥ d© a (A ) £<br />

c¦ ¥ Sys b¥ p Sys ¥ 2represented as<br />

A<br />

a<br />

c<br />

and suppose we would like to replace instance B by a different instance C (composed <strong>of</strong><br />

D and E) which class is defined in Sysp . The transformed specification ¢ C§ b© c¥ d© a (A £<br />

)<br />

c¦ ¥ Sys b¥ p Sys has the following Instance Structure Diagram:<br />

¥<br />

c<br />

A C a<br />

D E<br />

a<br />

It is then natural to require that B,Sysp <br />

¥<br />

¢<br />

Sys ¢ B§ ¡<br />

b© c¥ <br />

d©<br />

a<br />

,Sys p C,Sys implies (A<br />

) £<br />

c¦ b¥ ,Sysp £<br />

¢ C§ b© c¥ d© a Sys<br />

b¥ c¦<br />

¢<br />

¡ ¥ (A ) ,Sysp ¥ Sys .<br />

Proposition 4 guarantees that this requirement indeed holds.<br />

b<br />

b<br />

<br />

Proposition 4<br />

Transformation equivalence and observation equivalence are partial congruences.<br />

substitutive under parallel composition, channel hiding, and channel renaming, i.e., if<br />

They are<br />

e BSpec1,envs1,Sysp ¡ ,Sys<br />

¢<br />

( ¢<br />

) BSpece 1 ¡ , envs¡1, Sysp ¡<br />

,Sys<br />

e BSpec2,envs2,Sys and<br />

p ¡ ,Sys<br />

¢<br />

( ¢<br />

) BSpece 2 ¡ ,envs¡2,Sysp ¡ ,Sys then<br />

(1) BSpec e 1 ¢ BSpece 2 ¥ envs1 envs2 ¥ Sys p ¥ Sys<br />

BSpec e 1 ¡ ¢ BSpec e 2 ¡ ¥ envs¡1 envs¡2 ¥ Sysp ¡ ¥ Sys<br />

2 For simplicity we let all transformation examples in this chapter apply to system specifications. It is<br />

however straightforward to change them to apply to configurations too.<br />

c<br />

¢<br />

B<br />

c<br />

¡ ( ¢<br />

)<br />

d<br />

a<br />

d

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

Saved successfully!

Ooh no, something went wrong!