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.

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

definition <strong>of</strong> Conf p and from conf p<br />

1 ¡ Conf p <strong>of</strong> Reset. (iii) holds vacuously since<br />

. (ii) is an immediate result <strong>of</strong> the definition<br />

¡ ¡ ¡ . Further AASort(conf p<br />

2 ) = AASort(BSpece 2 ¥ Sysp )<br />

= AASort(Cp Sys ¥ p ) = AASort(BSpece 1 ¥ Sysp ) = AASort(conf p<br />

1 ), and thus (v) is also satisfied.<br />

Case axiom (2’)<br />

Then BSpec e 1 § ch!m(E1 ¥¡ ¡ ¡ ¥ En) C p E¢1 £ ¡ ¡ ¡£ E¢r¢ , BSpec e 2 § C p E¢1 £ ¡ ¡ ¡£ E¢r¢ , and a = ch!m§ data with<br />

£<br />

ch!m§ n ¡<br />

Abs(a) =<br />

rule (3) <strong>of</strong> the definition <strong>of</strong> Conf p , we ¡ derive Abs(a) AASort(Cp ¥ Sysp ), and ¡<br />

thus Abs(a)<br />

AASort(BSpece 1 ¥ Sysp ) = AASort(conf p<br />

1 ), so the result follows.<br />

ch!m§ n ¦ = AASort(ch!m(E1 ¥¡ ¡ ¡ ¥ En)). Then, using the condition <strong>of</strong><br />

¡ data ¡ = n. (i), (ii), and (v) are proved as in case axiom (1’). For (iii) we notice that<br />

Case axiom (3’)<br />

Analogous to the case <strong>of</strong> axiom (2’).<br />

Case axiom (4’)<br />

Then BSpec e 1 § m(E1 ¥¡ ¡ ¡ ¥ Em)(p1¥¡ ¡ ¡ ¥ pn) C p E ¢1 £ ¡ ¡ ¡£ E ¢r¢ , BSpec e 2 § m p1£ ¡ ¡ ¡ £ pn¢ S p C p E ¢1 £ ¡ ¡ ¡£ E ¢r¢ with S p<br />

being the body <strong>of</strong> method m, and a = ¡ . (ii), (iii), and (v) are proved as in case axiom (1’).<br />

For (i) we have to show that the condition <strong>of</strong> rule (3) <strong>of</strong> the definition <strong>of</strong> Conf p is satisfied.<br />

The first part <strong>of</strong> the definition directly follows from conf p<br />

1 ¡ Conf p . For the second part we<br />

use context condition (10’) together with the definition <strong>of</strong> AASort, and deduce AASort(S p )<br />

¥ AASort(C p ¥ Sys p ). From this the result follows since AASort( m p1£ ¡ ¡ ¡ £ pn¢ S p ) = AASort(S p )<br />

¥ AASort(C p ¥ Sys p ).<br />

Cases axioms (5’),(6’) and (7’)<br />

Are proved analogous to the case <strong>of</strong> axiom (4’).<br />

Case axiom (8’)<br />

Then BSpec e 1 C p (E1 ¥¡ ¡ ¡ ¥ Er), BSpec e 2 § m(E¡1 ¥¡ ¡ ¡ ¥ E¡q)() C p E1£ ¡ ¡ ¡£ Er¢ , and a = ¡ . (i), (ii), and (iii)<br />

are proved as in case axiom (1’). Item (v) holds since AASort(conf p<br />

2 ) = AASort(BSpece 2 ¥ Sysp )<br />

= AASort(C p ¥ Sys p ) = AASort(BSpec e 1 ¥ Sysp ) = AASort(conf p<br />

1 ).<br />

Case axiom (9’)<br />

Then BSpec e 1 C c (E1 ¥¡ ¡ ¡ ¥ Er), BSpec e 2 § BSpec p § § E1© P1 ¥¡ ¡ ¡ ¥ Er © Pr C c E1£ ¡ ¡ ¡£ Er¢ where BSpec p<br />

is the behaviour specification and where P1 ¥¡ ¡ ¡ ¥ Pr are the expression parameters <strong>of</strong> the<br />

cluster class with name C c , a = ¡ , and envs = envs¡ = <br />

<strong>of</strong> the definition <strong>of</strong> Reset. (iii) holds vacuously. (v) is satisfied since AASort(Conf p<br />

2 ) =<br />

AASort(BSpece 2 ¥ Sysp ) = AASort(Cc Sys ¥ p ) = AASort(BSpece 1 ¥ Sysp ) = AASort(conf p<br />

. (ii) is an immediate consequence<br />

1 ). For (i)<br />

we first have to show that BSpecp <br />

E1© § ¥¡ ¡ ¡ ¥ § © Pr ¥ ¥ P1 Er Sysp ¥ Sys¡ Conf p . Using context<br />

condition (13’) it easily follows that BSpecp E1© § ¥¡ ¡ ¡ ¥ Er© Pr ¡ § P1 B<strong>Specification</strong>s, and thus<br />

that BSpecp <br />

E1© § ¥¡ ¡ ¡ ¥ § © Pr ¥ ¥ P1 Er Sysp ¥ Sys¡<br />

¥<br />

S<strong>Specification</strong>s. From this the result follows<br />

because S<strong>Specification</strong> Conf p . The next thing we have to show for (i) is that the condition<br />

<strong>of</strong> rule (4) <strong>of</strong> the definition <strong>of</strong> Conf p holds. The first part <strong>of</strong> the condition follows from<br />

conf p<br />

¡ 1 Conf p . For the second part we have to show that Reset(BSpecp E1© § ¡ § ¡ Er© P1 , , Pr<br />

) BSpec p § E1© P1 ¥¡ ¡ ¡ ¥ Er© Pr . But this follows from the fact that BSpec § p § E1© P1 ¥¡ ¡ ¡ ¥ Er© Pr <br />

§<br />

B<strong>Specification</strong>s by applying Lemma 1.<br />

¡

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

Saved successfully!

Ooh no, something went wrong!