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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
108 CHAPTER 5. HENNESSY-MILNER LOGIC<br />
Show also that, for each n ≥ 0, the process Clock satisfies the formula<br />
〈tick〉 · · · 〈tick〉 tt .<br />
<br />
n-times<br />
Exercise 5.5 (M<strong>and</strong>atory) Find a formula in M that is satisfied by a.b.0 + a.c.0,<br />
but not by a.(b.0 + c.0).<br />
Find a formula in M that is satisfied by a.(b.c.0 + b.d.0), but not by a.b.c.0 +<br />
a.b.d.0. <br />
It is sometimes useful to have an alternative characterization of the satisfaction<br />
relation |= presented in Definition 5.2. This can be obtained by defining the binary<br />
relation |= relating processes to formulae by structural induction on formulae thus:<br />
• P |= tt, for each P ,<br />
• P |= ff, for no P ,<br />
• P |= F ∧ G iff P |= F <strong>and</strong> P |= G,<br />
• P |= F ∨ G iff P |= F or P |= G,<br />
• P |= 〈a〉F iff P a → P ′ for some P ′ such that P ′ |= F , <strong>and</strong><br />
• P |= [a]F iff P ′ |= F , for each P ′ such that P a → P ′ .<br />
Exercise 5.6 Show that the above definition of the satisfaction relation is equivalent<br />
to that given in Definition 5.2. Hint: Use induction on the structure of formulae.<br />
<br />
Exercise 5.7 Find one labelled transition system with initial state s that satisfies<br />
all of the following properties:<br />
• 〈a〉(〈b〉〈c〉tt ∧ 〈c〉tt),<br />
• 〈a〉〈b〉([a]ff ∧ [b]ff ∧ [c]ff), <strong>and</strong><br />
• [a]〈b〉([c]ff ∧ 〈a〉tt).