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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

The pro<strong>of</strong> consists <strong>of</strong> exhibiting an appropriate weak bisimulation and by applying the<br />

definition <strong>of</strong> function Reset. The complexity <strong>of</strong> the pro<strong>of</strong> is similar to that <strong>of</strong> Transformation<br />

1. ¨<br />

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

It is a tedious, yet straightforward, exercise to show that = £<br />

envs2 ¥ Sys p ¥ Sys ,<br />

( (BSpec e 1 ¢ BSpece 2)§ f ¥ envs1<br />

BSpec e 2 ¥ envs1 ¥ envs2¥ Sys p ¥ Sys¥ f )¦ is a weak bisimulation. For the transformation equivalence<br />

part <strong>of</strong> the pro<strong>of</strong> we have to show that NoComChange(BSpec e 1 ¥ BSpece 2 , envs1 ¥ envs2 ¥<br />

Sys p , Sys¥ f ) implies Reset( (BSpec e 1 ¢ BSpece 2 )§ f , envs1 envs2 ¥ Sys p ¥ Sys ) ¢ Reset( BSpec e 1<br />

BSpec e 1 § f ¢ BSpec e 2 § f ¥ envs1 envs2 ¥ Sys p ¥ Sys ) ¡ NoComChange(BSpec e 1 ¥<br />

f ¢ BSpec § e 2 § f , envs1 envs2 Sys ¥ p ) and thus that NoComChange(BSpec ¥ Sys e 1 ¥ BSpece2 envs1 ¥<br />

, envs2 , Sysp f ) implies ( ¥ Sys¥ (Reset(BSpece 1) Reset(BSpec ¢ e <br />

¥ ¥ f 2))§ Sysp <br />

, Reset(<br />

¥ Sys<br />

BSpece 1) ¢ f Reset(BSpec § e <br />

¥ ¥ f 2)§ Sysp ) ¡ . Now, using the definition <strong>of</strong> NoCom-<br />

Sys ¥<br />

Change, is easy to verify that NoComChange(BSpece 1 ¥ BSpece2 ¥ envs1 envs2 ¥ Sys ¥ p Sys¥ f ) im-<br />

¥<br />

plies NoComChange(Reset(Bspece 1 )¥ Reset ( BSpece2 )¥ ¥ ¥ Sys p Sys , f ). From this the result<br />

¥<br />

follows ¨<br />

straightforwardly.<br />

Pro<strong>of</strong> <strong>of</strong> Proposition 5<br />

NoComChange¡ Suppose (BSpece 1 ¥ BSpece2 ¥ Sysp f ) and assume that ¥ BSpece 1 ¥ envs1 Sys ¥ p Sys ¥<br />

l<br />

l ¢<br />

<br />

£ £ ¥ ¥<br />

e , BSpec2 envs2 Sysp £ £ ¥ (l¡ Sys<br />

¡<br />

, and that f (l) f ). From (iii) and (v) <strong>of</strong><br />

Proposition 2 it follows that then Abs(l) AASort(BSpece 1 ¥ Sysp ¡ Abs(l¡ ) and ) AASort(<br />

BSpece 2 ¥ Sysp (Abs(l¡ (l¡<br />

Abs(l¡ NoComChange¡<br />

l¡ (l¡<br />

¨<br />

). Further because f (l) f ) we also have that f (Abs(l)) f )). Then by<br />

the definition <strong>of</strong> we have Abs(l) ). This, combined with the fact<br />

that f (l) f ) implies that l , so requirement (1) <strong>of</strong> the definition <strong>of</strong> NoComChange is<br />

satisfied. By applying Lemma 1 requirement (2) is proved in a similar way.<br />

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

The pro<strong>of</strong> is analogous to the pro<strong>of</strong> <strong>of</strong> Transformation 4. ¨<br />

Pro<strong>of</strong>s <strong>of</strong> Transformations 8 and 9<br />

The 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 complexity is similar to that <strong>of</strong> Transformation 1. ¨<br />

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

§<br />

e<br />

BSpec (L)¥ envs¥ f f Sysp ¥ £<br />

Sys<br />

application <strong>of</strong> 9 ¦<br />

¢<br />

¡<br />

e BSpec<br />

f 1 f (L)§ f ¥ envs¥ Sys p ¥ Sys<br />

£ ¢<br />

¡<br />

¦<br />

<br />

elementary calculus<br />

e BSpec £<br />

(L)¦¨§ ¡ ¡ ¥ envs¥ ¡ ch Chan f (ch) f f Sysp ¥ £<br />

Sys<br />

¢<br />

<br />

¦<br />

¡ elementary calculus<br />

e BSpec ( £<br />

L f ¡ (ch) (L)¦ ¦ L)§ f ¥ envs¥ f ¡ ¡ Sys ¡ ch p ¥ £<br />

Sys<br />

¢<br />

<br />

¦<br />

¡ application <strong>of</strong> 8<br />

e BSpec £<br />

L f ¡ (ch) (L)¦ ¡ f ¡ ¡ ch<br />

L§ f ¥ envs¥ Sys p ¥ Sys

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

Saved successfully!

Ooh no, something went wrong!