14.08.2013 Views

Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee

Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee

Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee

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.

1. Decide whether the following statements hold:<br />

• s ?<br />

|= 〈a〉tt,<br />

• s ?<br />

|= 〈b〉tt,<br />

• s ?<br />

|= [a]ff,<br />

• s ?<br />

|= [b]ff,<br />

• s ?<br />

|= [a]〈b〉tt,<br />

• s ?<br />

|= 〈a〉〈b〉tt,<br />

• s ?<br />

|= [a]〈a〉[a][b]ff,<br />

• s ?<br />

|= 〈a〉 〈a〉tt ∧ 〈b〉tt ,<br />

• s ?<br />

|= [a] 〈a〉tt ∨ 〈b〉tt ,<br />

• s ?<br />

|= 〈a〉 [b][a]ff ∧ 〈b〉tt , <strong>and</strong><br />

• s ?<br />

|= 〈a〉 [a](〈a〉tt ∧ [b]ff) ∧ 〈b〉ff .<br />

107<br />

2. Compute the following sets using the denotational semantics for Hennessy-<br />

Milner logic.<br />

• [[a][b]ff ] = ?<br />

• [〈a〉 〈a〉tt ∧ 〈b〉tt ] = ?<br />

• [[a][a][b]ff ] = ?<br />

• [[a] 〈a〉tt ∨ 〈b〉tt ] = ?<br />

Exercise 5.4 Consider an everlasting clock whose behaviour is defined thus:<br />

Clock def<br />

= tick.Clock .<br />

Prove that the process Clock satisfies the formula<br />

[tick](〈tick〉tt ∧ [tock]ff) .

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

Saved successfully!

Ooh no, something went wrong!