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.

Pro<strong>of</strong>s <strong>of</strong> Propositions and Transformations 427<br />

For transformation equivalence we additionally have to show that Reset( BSpece 1 , envs1<br />

, Sysp Sys , ) ¢ Reset( BSpece 1 ¡ ¥ envs1¡ Sys ¥ p Sys ) implies Reset( ¥ BSpece 1 L , envs1 , Sysp ,<br />

) Sys ¢ Reset( BSpece 1 ¡ L envs1¡ , , Sysp Sys , ). But this immediately follows from the<br />

definition <strong>of</strong> Reset and the substitutivity <strong>of</strong> ¢ under channel hiding.<br />

This concludes the ¨<br />

pro<strong>of</strong> <strong>of</strong> Proposition 4.<br />

£<br />

Pro<strong>of</strong> <strong>of</strong> Transformation 1<br />

We will first prove the observation equivalence part by showing that =<br />

( BSpece ¥ § Id envs , Sysp <br />

envs¥ ¥ ¥ Sys )¦ ¥ Sys , e p BSpec Sys is a weak bisimulation. It is<br />

clear that (i) <strong>of</strong> the definition <strong>of</strong> weak bisimulations is satisfied. For (ii) let ( BSpece Id §<br />

, envs , Sysp <br />

Sys ¥ ¡ ¥ Sys e p , BSpec , envs , Sys ) and assume that BSpece § Id , envs ,<br />

a ¢<br />

Sysp conf Sys £ ¥ p . Then BSpece , envs , Sysp <br />

¡ Sys<br />

envs¡ £ ¥<br />

e BSpec , , Sysp ¥ Sys , conf p<br />

= BSpece envs¡ , , ¡ § Id Sysp ¡ ¡<br />

a¡ , and ¥ a¡ ¡<br />

Sys<br />

¡<br />

if a¡ a and Id(a) if a . So a<br />

and clearly ( BSpece envs¡ ¥ ¡ § Id ¥ Sysp ¥ Sys , BSpece , envs , Sysp Sys ¥ ¡ ) . Item (iii) <strong>of</strong> the<br />

definition <strong>of</strong> weak bisimulations is proved in a similar way. For the transformation<br />

equivalence part observe that (Reset( BSpece § Id , envs , Sysp ¥ Sys ), Reset( BSpece , envs ,<br />

Sysp ¥ Sys )) = ( Reset(BSpece <br />

)§ Id ¥ , Sysp ¥ Sys , Reset(BSpece <br />

)¥ , Sysp Sys ¥ ¡ ) . And<br />

thus Reset( BSpece § Id , envs , Sysp ¥ Sys ) ¢ Reset( BSpece ¥ envs, Sysp ¥ Sys ).<br />

This concludes the pro<strong>of</strong> <strong>of</strong> Transformation ¨<br />

1.<br />

Pro<strong>of</strong>s <strong>of</strong> Transformations 2 and 3<br />

Both pro<strong>of</strong>s consist <strong>of</strong> exhibiting appropriate weak bisimulations and by applying the<br />

definition <strong>of</strong> function Reset. The pro<strong>of</strong>s are <strong>of</strong> a complexity similar to that <strong>of</strong> Transformation<br />

¨<br />

1.<br />

Pro<strong>of</strong> <strong>of</strong> Transformation 4<br />

The observation equivalence part <strong>of</strong> the pro<strong>of</strong> consists <strong>of</strong> showing that = £<br />

( BSpece §<br />

envs¥ , Sys<br />

f p ¥ Sys ,<br />

BSpec e ¥ Sys p )¦ is a weak bisimulation. To prove this we need properties (iv) and (vi)<br />

<strong>of</strong> Proposition 2 stating that the channel <strong>of</strong> any non-silent action performed by some<br />

configuration is part <strong>of</strong> the ChSort <strong>of</strong> that configuration, and that the channel sort <strong>of</strong> a<br />

configuration equals the channel sort <strong>of</strong> any <strong>of</strong> its derivatives. To prove the transformation<br />

equivalence part we need the fact that the channel sort <strong>of</strong> any extended behaviour<br />

specification equals the channel sort <strong>of</strong> the reset <strong>of</strong> that specification. This fact is subject<br />

<strong>of</strong> Lemma 4.<br />

a<br />

BSpec e § f ¡ ¥ envs¥ Sys p ¥ Sys ) ¡ f ¤ ChSort(BSpec e ¥ Sys p ) = f ¡ ¤ ChSort(<br />

This proves Transformation ¨<br />

4.<br />

Lemma 4<br />

Let BSpece B<strong>Specification</strong>s ¡ e . Then ChSort(BSpece ) = ChSort(Reset(BSpece ¨<br />

)).<br />

Pro<strong>of</strong> <strong>of</strong> Lemma 4<br />

The lemma follows directly from the definitions <strong>of</strong> functions Reset and ChSort and from<br />

Lemma 1. ¨

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

Saved successfully!

Ooh no, something went wrong!