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

Create successful ePaper yourself

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

109<br />

Note that logical negation is not one of the constructs in the abstract syntax for<br />

M. However, the language M is closed under negation, in the sense that, for each<br />

formula F ∈ M, there is a formula F c ∈ M that is equivalent to the negation of<br />

F . This formula F c is defined inductively on the structure of F as follows:<br />

1. tt c = ff 4. (F ∨ G) c = F c ∧ G c<br />

2. ff c = tt 5. (〈a〉F ) c = [a]F c<br />

3. (F ∧ G) c = F c ∨ G c 6. ([a]F ) c = 〈a〉F c .<br />

Note, for instance, that<br />

(〈a〉tt) c = [a]ff <strong>and</strong><br />

([a]ff) c = 〈a〉tt.<br />

Proposition 5.1 Let (Proc, Act, { a → | a ∈ Act}) be a labelled transition system.<br />

Then, for every formula F ∈ M, it holds that [F c ] = Proc \ [F ].<br />

Proof: The proposition can be proven by structural induction on F . The details<br />

are left as an exercise to the reader. ✷<br />

Exercise 5.8<br />

1. Prove Proposition 5.1.<br />

2. Prove, furthermore, that (F c ) c = F for every formula F ∈ M. Hint: Use<br />

structural induction on F .<br />

As a consequence of Proposition 5.1, we have that, for each process P <strong>and</strong> formula<br />

F , exactly one of P |= F <strong>and</strong> P |= F c holds. In fact, each process is either<br />

contained in [F ] or in [F c ].<br />

In Exercise 5.5 you were asked to come up with formulae that distinguished<br />

processes that we know are not strongly bisimilar. As a further example, consider<br />

the processes<br />

A def<br />

= a.A + a.0 <strong>and</strong><br />

B def<br />

= a.a.B + a.0 .<br />

These two processes are not strongly bisimilar. In fact, A affords the transition<br />

A a → A .

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

Saved successfully!

Ooh no, something went wrong!