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.

3.4. WEAK BISIMILARITY 69<br />

Show that s ≈ t by finding a weak bisimulation containing the pair (s, t). <br />

Exercise 3.26 Show that, for all P, Q, the following equivalences, which are usually<br />

referred to as Milner’s τ-laws, hold:<br />

α.τ.P ≈ α.P (3.9)<br />

P + τ.P ≈ τ.P (3.10)<br />

α.(P + τ.Q) ≈ α.(P + τ.Q) + α.Q . (3.11)<br />

Hint: Build appropriate weak bisimulations. <br />

Exercise 3.27 Show that, for all P, Q, if P τ ⇒ Q <strong>and</strong> Q τ ⇒ P , then P ≈ Q. <br />

Exercise 3.28 We say that a CCS process is τ-fr<strong>ee</strong> iff none of the states that it can<br />

reach by performing sequences of transitions affords a τ-labelled transition. For<br />

example, a.0 is τ-fr<strong>ee</strong>, but a.(b.0 | ¯ b.0) is not.<br />

Prove that no τ-fr<strong>ee</strong> CCS process is observationally equivalent to a.0 + τ.0. <br />

Exercise 3.29 Prove that, for each CCS process P , the process P \ (Act − {τ})<br />

is observationally equivalent to 0. Does this remain true if we consider processes<br />

modulo strong bisimilarity? <br />

Exercise 3.30 (M<strong>and</strong>atory) Show that observational equivalence is the largest<br />

symmetric relation R satisfying that whenever s1 R s2 then for each action α<br />

(including τ), if s1 α ⇒ s ′ 1 , then there is a transition s2 α ⇒ s ′ 2 such that s′ 1 R s′ 2 .<br />

This means that observational equivalence may be defined like strong bisimilarity,<br />

but over a labelled transition system whose transitions are α ⇒, with α ranging<br />

over the set of actions including τ. <br />

Exercise 3.31 For each sequence σ of observable actions in L, <strong>and</strong> states s, t in<br />

an LTS, define the relation σ ⇒ thus:<br />

• s ε ⇒ t iff s τ ⇒ t, <strong>and</strong><br />

• s aσ′<br />

⇒ t iff s a ⇒ s ′ σ′<br />

⇒ t, for some s ′ .<br />

A binary relation R over the set of states of an LTS is a weak string bisimulation<br />

iff whenever s1 R s2 <strong>and</strong> σ is a (possibly empty) sequence of observable actions in<br />

L:<br />

- if s1 σ ⇒ s ′ 1 , then there is a transition s2 σ ⇒ s ′ 2 such that s′ 1 R s′ 2 ;<br />

- if s2 σ ⇒ s ′ 2 , then there is a transition s1 σ ⇒ s ′ 1 such that s′ 1 R s′ 2 .

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

Saved successfully!

Ooh no, something went wrong!