mohammad mousavi 2. strong bahavioralequivalences and …project: procedure i carried out in groups...

41
System Validation Mohammad Mousavi 2. Strong bahavioral equivalences and weak behavioral equivalences part 1.

Upload: others

Post on 31-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

System Validation

Mohammad Mousavi

2. Strong bahavioral equivalences and weak behavioral equivalences part 1.

Page 2: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Mohammad Mousavi

TU/Eindhoven

System Validation, 2012-2013TU Delft

Mousavi: Behavioral Equivalences TU/e

Page 3: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Overview

I Organizational matters (recap)

I Motivation

I Labelled Transition Systems,I Strong equivalences:

1. trace equivalence,2. language equivalence3. strong bisimilarity,4. Exercises: 2.3.2, 2.3.9, 2.3.10

Mousavi: Behavioral Equivalences TU/e

Page 4: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Examination(s)

Theory:

E1 End of Quarter 1, 2-11-2012, 14:00-17:00

E2 Resit: End of Quarter 2, 30-01-2013, 14:00-17:00

Do register using Osiris.

Practical project P (compulsory, no pass without the project)

M =Max(E 1,E 2) + P

2

Mousavi: Behavioral Equivalences TU/e

Page 5: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 6: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 7: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 8: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 9: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 10: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 11: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Formulate informal requirements

I Define interactions with the outside world

I Rephrase the requirements in terms of interactions

I Define the system architecture and internal interactions

I Model the system behavior

I Verify the requirements on the model

Iterate the last two items until requirements are satisfied.

Mousavi: Behavioral Equivalences TU/e

Page 12: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Carried out in groups of 4; form your groups and email themto me, before September 14, 2012.

I Weekly progress meetings of 15 minutes with all groupmembers; prepare well beforehand.

I Deadlines and deliverables:

First deliverable October 5: Report including requirements, interactions andarchitecture

Second deliverable October 19: Report (complete structure)Final deliverable November 2: Report, source files for models, and reflections

Mousavi: Behavioral Equivalences TU/e

Page 13: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Carried out in groups of 4; form your groups and email themto me, before September 14, 2012.

I Weekly progress meetings of 15 minutes with all groupmembers; prepare well beforehand.

I Deadlines and deliverables:

First deliverable October 5: Report including requirements, interactions andarchitecture

Second deliverable October 19: Report (complete structure)Final deliverable November 2: Report, source files for models, and reflections

Mousavi: Behavioral Equivalences TU/e

Page 14: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Procedure

I Carried out in groups of 4; form your groups and email themto me, before September 14, 2012.

I Weekly progress meetings of 15 minutes with all groupmembers; prepare well beforehand.

I Deadlines and deliverables:

First deliverable October 5: Report including requirements, interactions andarchitecture

Second deliverable October 19: Report (complete structure)Final deliverable November 2: Report, source files for models, and reflections

Mousavi: Behavioral Equivalences TU/e

Page 15: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Project: Short Description

I Inspired by the packet storage system,by Vanderlande Industries

I 5 controllers forelevators, conveyor belts and racks

I Several requirements:deadlock freedom, avoiding clash, maximumefficiency

Mousavi: Behavioral Equivalences TU/e

Page 16: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

News

I The examination at the end of Q1 is moved to November 2,2012.

I The location for weekly meetings will be LH 1.430.

I The course reader is ready to order from the printshop (ordernr. 06917530021).

Mousavi: Behavioral Equivalences TU/e

Page 17: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Actions

I Atomic building blocks of models

I May denote: internal behavior or interaction withthe environment

I Can be composed to obtain behavior

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 18: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Motivation

I verification: check whether an implementation conforms tothe specification;

I implementation: transition system with more actions added;

I method: abstracting and comparing with spec.

Example

1-Place FIFO 1-Place FIFOin(d)? int(d)?

int(d)!

out(d)!

τ{int(d)}∂{int(d)?,int(d)!} ?

=

2-Place FIFOin(d)? out(d)!

behavioral equivalence needed to compare behavioral models

Mousavi: Behavioral Equivalences TU/e

Page 19: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Motivation

I verification: check whether an implementation conforms tothe specification;

I implementation: transition system with more actions added;

I method: abstracting and comparing with spec.

Example

1-Place FIFO 1-Place FIFOin(d)? int(d)?

int(d)!

out(d)!

τ{int(d)}∂{int(d)?,int(d)!} ?

=

2-Place FIFOin(d)? out(d)!

behavioral equivalence needed to compare behavioral models

Mousavi: Behavioral Equivalences TU/e

Page 20: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Motivation

I verification: check whether an implementation conforms tothe specification;

I implementation: transition system with more actions added;

I method: abstracting and comparing with spec.

Example

1-Place FIFO 1-Place FIFOin(d)? int(d)?

int(d)!

out(d)!

τ{int(d)}∂{int(d)?,int(d)!} ?

=

2-Place FIFOin(d)? out(d)!

behavioral equivalence needed to compare behavioral models

Mousavi: Behavioral Equivalences TU/e

Page 21: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Behavioral Equivalences

Requirements

Desired behavioral equivalence should:

I neglect immaterial differences (not too fine);

I note important differences (not too coarse);

I should be preserved under context (should be a congruence).

depends on the particular application domain.

Branching-Time Linear-Time Spectrum

There is a myriad of behavioral equivalences with differentpractical motivations.

Mousavi: Behavioral Equivalences TU/e

Page 22: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Labeled Transition Systems

An LTS is a 5-tuple 〈S ,Act, → , s,T 〉:I S is a set of states,

I Act is a set of (multi-)actions,

I → ⊆ S × Act × S is the transition relation.

I s ∈ S is the initial state,

I T ⊆ S is the set of terminating states,

Write ta→ t ′ for (t, a, t ′) ∈ → .

Write Act√ for Act ∪ {√}.

Mousavi: Behavioral Equivalences TU/e

Page 23: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Labeled Transition Systems

An LTS is a 5-tuple 〈S ,Act, → , s,T 〉:I S is a set of states,

I Act is a set of (multi-)actions,

I → ⊆ S × Act × S is the transition relation.

I s ∈ S is the initial state,

I T ⊆ S is the set of terminating states,

Write ta→ t ′ for (t, a, t ′) ∈ → .

Write Act√ for Act ∪ {√}.

Mousavi: Behavioral Equivalences TU/e

Page 24: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Trace equivalence

Traces of a StateFor state t ∈ S , Traces(t) is the minimal set satisfying:

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. ∀t′0∈S, a∈Act, σ∈Act√∗ aσ ∈ Traces(t) when ∃t′∈S ta→ t ′ and

σ ∈ Traces(t ′).

Trace Equivalence

For states t, t ′, t is trace equivalent to t ′ iff Traces(t) = Traces(t ′).

Mousavi: Behavioral Equivalences TU/e

Page 25: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Trace equivalence

Traces of a StateFor state t ∈ S , Traces(t) is the minimal set satisfying:

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. ∀t′0∈S, a∈Act, σ∈Act√∗ aσ ∈ Traces(t) when ∃t′∈S ta→ t ′ and

σ ∈ Traces(t ′).

Trace Equivalence

For states t, t ′, t is trace equivalent to t ′ iff Traces(t) = Traces(t ′).

Mousavi: Behavioral Equivalences TU/e

Page 26: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Trace equivalence

Traces of a StateFor state t ∈ S , Traces(t) is the minimal set satisfying:

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. ∀t′0∈S, a∈Act, σ∈Act√∗ aσ ∈ Traces(t) when ∃t′∈S ta→ t ′ and

σ ∈ Traces(t ′).

Trace Equivalence

For states t, t ′, t is trace equivalent to t ′ iff Traces(t) = Traces(t ′).

Mousavi: Behavioral Equivalences TU/e

Page 27: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Trace equivalence

Traces of a StateFor state t ∈ S , Traces(t) is the minimal set satisfying:

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. ∀t′0∈S, a∈Act, σ∈Act√∗ aσ ∈ Traces(t) when ∃t′∈S ta→ t ′ and

σ ∈ Traces(t ′).

Trace Equivalence

For states t, t ′, t is trace equivalent to t ′ iff Traces(t) = Traces(t ′).

Mousavi: Behavioral Equivalences TU/e

Page 28: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},I Traces(s1) = {ε, coffee, tea, coffee

√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 29: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},I Traces(s1) = {ε, coffee, tea, coffee

√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 30: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},

I Traces(s1) = {ε, coffee, tea, coffee√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 31: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},I Traces(s1) = {ε, coffee, tea, coffee

√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 32: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},I Traces(s1) = {ε, coffee, tea, coffee

√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 33: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

1. ε ∈ Traces(t),

2.√ ∈ Traces(t) when t ∈ T ,

3. aσ ∈ Traces(t) when ta→ t ′ and σ ∈ Traces(t ′).

Traces: An Example

I Traces(s2) = Traces(s3) = Traces(t3) =Traces(t4) = {ε,√},

I Traces(t5) = {ε},I Traces(s1) = {ε, coffee, tea, coffee

√, tea√},

I Traces(t1) = {ε, coffee, coffee√},

Traces(t2) = {ε, tea, tea√},

I Traces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 34: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Trace Equivalence: An Observation

ObservationTraces(s0) = Traces(t0) ={ε, coin, coin coffee, coin tea, coin coffee

√, coin tea

√}

Moral of the Story

Trace equivalence is usually too coarse (neglectsimportant differences).

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 35: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Language equivalence

Language

Lang(t):

I ε ∈ Lang(t) if t /∈ T and there are no t ′ ∈ Sand a ∈ Act such that t

a→ t ′;

I X ∈ Lang(t) if t ∈ T ; and

I if ta→ t ′ and σ ∈ Lang(t ′) then aσ ∈ Lang(t).

Two states t, u ∈ S are language equivalent iffTraces(t) = Traces(u) and Lang(t) = Lang(u).

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 36: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Bisimulation

R ⊆ S × S is an (auto-)bisimulation relation when for all∀(t0,t1)∈R,a∈Act

I ∀t′0∈S t0a→ t ′0 ⇒ ∃t′1∈S t1

a→ t ′1 ∧ (t ′0, t′1) ∈ R,

I ∀t′1∈S t1a→ t ′1 ⇒ ∃t′0∈S t0

a→ t ′0 ∧ (t ′0, t′1) ∈ R, and

I t0√ ⇔ t1

√.

Mousavi: Behavioral Equivalences TU/e

Page 37: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Bisimulation

∀(t0,t1)∈RI t0

a→ t ′0 ⇒ ∃t′1∈S t1a→ t ′1 ∧ t ′0 R t ′1, and vice versa,

I t0√ ⇔ t1

√.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 38: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Bisimulation

∀(t0,t1)∈RI t0

a→ t ′0 ⇒ ∃t′1∈S t1a→ t ′1 ∧ t ′0 R t ′1, and vice versa,

I t0√ ⇔ t1

√.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 39: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Bisimulation

∀(t0,t1)∈RI t0

a→ t ′0 ⇒ ∃t′1∈S t1a→ t ′1 ∧ t ′0 R t ′1, and vice versa,

I t0√ ⇔ t1

√.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 40: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Bisimulation

∀(t0,t1)∈RI t0

a→ t ′0 ⇒ ∃t′1∈S t1a→ t ′1 ∧ t ′0 R t ′1, and vice versa,

I t0√ ⇔ t1

√.

coin

coffee tea

√ √

s0

s1

s2 s3

coffee

t1

t3

coin

t0

tea

t2

t4

coincoin

t5

Mousavi: Behavioral Equivalences TU/e

Page 41: Mohammad Mousavi 2. Strong bahavioralequivalences and …Project: Procedure I Carried out in groups of 4; form your groups and email them to me, beforeSeptember 14, 2012. I Weekly

Exercises

2.3.2

2.3.9

2.3.10

Mousavi: Behavioral Equivalences TU/e