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.

60 CHAPTER 3. BEHAVIOURAL EQUIVALENCES<br />

Exercise 3.17 (Simulation) Let us say that a binary relation R over the set of<br />

states of an LTS is a simulation iff whenever s1 R s2 <strong>and</strong> α is an action:<br />

- if s1 α → s ′ 1 , then there is a transition s2 α → s ′ 2 such that s′ 1 R s′ 2 .<br />

We say that s ′ simulates s, written s ❁ ∼ s ′ , iff there is a simulation R with s R s ′ .<br />

Two states s <strong>and</strong> s ′ are simulation equivalent, written s s ′ , iff s ❁ ∼ s ′ <strong>and</strong> s ′ ❁ ∼ s<br />

both hold.<br />

1. Prove that ❁ ∼ is a preorder <strong>and</strong> is an equivalence relation.<br />

2. Build simulations showing that<br />

Do the converse relations hold?<br />

a.0 ❁ ∼ a.a.0 <strong>and</strong><br />

a.b.0 + a.c.0 ❁ ∼ a.(b.0 + c.0) .<br />

3. Show that strong bisimilarity is included in simulation equivalence—that is,<br />

that for any two strongly bisimilar states s <strong>and</strong> s ′ it holds that s ′ simulates<br />

s. Does the converse inclusion also hold?<br />

Is there a CCS process that can simulate any other CCS process? <br />

Exercise 3.18 (Ready simulation) Let us say that a binary relation R over the set<br />

of states of an LTS is a ready simulation iff whenever s1 R s2 <strong>and</strong> α is an action:<br />

- if s1 α → s ′ 1 , then there is a transition s2 α → s ′ 2 such that s′ 1 R s′ 2 ; <strong>and</strong><br />

- if s2 α →, then s1 α →.<br />

We say that s ′ ready simulates s, written s ❁ ∼RS s ′ , iff there is a ready simulation R<br />

with s R s ′ . Two states s <strong>and</strong> s ′ are ready simulation equivalent, written s RS s ′ ,<br />

iff s ❁ ∼RS s ′ <strong>and</strong> s ′ ❁ ∼RS s both hold.<br />

1. Prove that ❁ ∼RS is a preorder <strong>and</strong> RS is an equivalence relation.<br />

2. Do the following relations hold?<br />

a.0 ❁ ∼RS a.a.0 <strong>and</strong><br />

a.b.0 + a.c.0 ❁ ∼RS a.(b.0 + c.0) .<br />

3. Show that strong bisimilarity is included in ready simulation equivalence—<br />

that is, that for any two strongly bisimilar states s <strong>and</strong> s ′ it holds that s ′<br />

ready simulates s. Does the converse inclusion also hold?

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

Saved successfully!

Ooh no, something went wrong!