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.

Appendix B<br />

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

Transformations<br />

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

(a) For (a) <strong>of</strong> Proposition 1 we have to prove that ¡<br />

¡ ¥ ¡ ¥ ¤ ¡ ¡ ¡<br />

(¢ ¡ Dom(¡ ¡ ¡ Dom(¡ ¢ ¡<br />

¡ ¡ ¡ ¡ ¡ ¡ ¤ ¡ ¡<br />

(¢ Dom(¡ ¡ ¡ ¡<br />

¡¢ ¢ ¡ ¢ ¡¤£ ¡ (¤ ¡<br />

©¡¤£<br />

satisfies requirements (1)<br />

(4) <strong>of</strong> the definition <strong>of</strong> Sys-structures. Now requirements (1) and (2) easily follow<br />

from the definition <strong>of</strong> copy. For (3) let ), let x )) and assume<br />

that = )(x) NDObj. We have to show that ). Since<br />

n<br />

we have that . This means that there exists an n such that ).<br />

But then by the definition <strong>of</strong> , ¡¢¡ ¡ (¤ ¡ ¡ ¡¤£<br />

¤ ¡ ¡ ¤ ¡ ¡ (¤ ¤<br />

¡ Dom(¡ ¤ ¤ Dom(¡ ¡ ¡ ¤£¡ Dom(¡ ¡ ¤<br />

n 1 ) and thus . For (4) we observe<br />

1<br />

that that NDObj implies that ) and thus that . Further, since<br />

), we also have ) and thus ).<br />

(b) For (b) we have to prove that copy( <br />

( <br />

) = ¡ <br />

¤ ¡ ¡ where ¡ ¡ = ¨<br />

¡<br />

¡ ¡ that ¡ = we are ready. For then <br />

¤ ¥ ¡ ¡ ¥<br />

¡<br />

¤ ¥ ¡ ¡ ¤ ¡ ¡ ¥<br />

¡<br />

¡¤£<br />

¤ ¥ ¡ ¡ ¥<br />

¡<br />

= ¡ <br />

¡ ¡<br />

¡ ¥ £ ¤ ¥<br />

n<br />

. We know that copy<br />

¡<br />

¢ £¥ (¤ ) ¡ 0 § n¦ . If we can show<br />

¡<br />

¤ ¡ ¡ = ¡ <br />

¤ ¡ = ¡<br />

¥ ¡ ¡ ¥<br />

¥ ¡ ¡ ¤ ¡ ¥<br />

<br />

¤ ¡ ¤ ¡ ¤<br />

¡<br />

¥ ¤ ¡ ¤ ¥ ¡ ¤ ¡ = ¡ ¤ ¥ ¡<br />

¢<br />

¡ ¥<br />

¡ (¤ £¥ ¡¤£¥ (¤ ¡¢ n<br />

suffices to show that n ) = ) for each n . This can be proved by an<br />

easy mathematical induction on n.<br />

¤ ¥ ¡ ¤ ¡ ¤ ¡ ¥<br />

¡ ¤ ¡ ¤ ¡ = <br />

¡<br />

¡ . To prove that ¡ = ¡ ¡ it<br />

¡ ¡ ¡ ¡¤£¥ (¤<br />

¡ ¡ ¡ , and thus proc ¡ ¡ Dom(¡ ¡ Dom(¡ ¤ ¡<br />

(c) By mathematical induction it is easy to show that for all n , proc n ).<br />

Therefore proc ) = ).<br />

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

1.<br />

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

Items (iv) and (vi) directly follow from (iii) and (v) respectively. We will prove (i),<br />

(ii), (iii), and (v) simultaneously by rule induction on the shape <strong>of</strong> the derivation tree<br />

<strong>of</strong> conf p a<br />

£ 1 conf p<br />

2 . We argue by cases on the applied axioms and rules. Let conf p<br />

1 =<br />

<br />

e BSpec ¥ envs¥ 1 Sysp Sys and conf ¥ p<br />

2 = BSpece 2 ¥ envs¡ Sys ¥ p Sys and assume that conf ¥ p a<br />

£ 1<br />

conf p<br />

2 .<br />

Case axiom (1’)<br />

Then BSpec e 1 § S C p E1£ ¡ ¡ ¡£ Er¢ , BSpec e 2 § C p E1£ ¡ ¡ ¡ £ Er¢ and a ¡ . (i) directly follows from the<br />

423<br />

¡

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

Saved successfully!

Ooh no, something went wrong!