• Keine Ergebnisse gefunden

Problem 1: Strong Bisimulation is a Process Congruence

N/A
N/A
Protected

Academic year: 2021

Aktie "Problem 1: Strong Bisimulation is a Process Congruence"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency Theory(WS 2016) Out: Thu, 12 Jan Due: Wed, 18 Jan

Exercise Sheet 10

D’Osualdo, Lederer, Schneider Technische Universit¨at Kaiserslautern

Problem 1: Strong Bisimulation is a Process Congruence

In the lecture, we definedprocess congruenceas any equivalence relation∼=such that for every elementarycontextC[ ]we have that ifP ∼=QthenC[P]∼=C[Q]. An easy consequence is that then the same is true foranycontext.

We now want to show that strong bisimulation is a process congruence. To prove this claim, we have to show that ifP ∼Qthen

1 α.P +M ∼α.Q+M 2 νa.P ∼νa.Q

3 P kR∼QkR 4 RkP ∼RkQ

Prove 3 by showing that the relationS :=

AkC, B kC A∼B is a bisimulation.

Then pick 1 or 2 and prove it using a similar argument. Note that 4 follows from 3 and the fact that structural congruence is a strong bisimulation.

The fact that bisimulation is a congruence is important: it gives formal meaning to the claim that no environment can tell the difference between two bisimilar processes, by modelling the environment as a context.

Problem 2: Algebraic Properties of Bisimulation

a) Show thatνa.(a.P)∼0for anyP.

b) Show thatνc.(a.c.P kb.c.Q)∼νc.(a.c.Qkb.c.P)for anyP, Q.

c) Assume that the three CCS processesP,QandRhave a free namedoneand perform an actiondone just before terminating.

We define thesequential compositionof processesAandBas A;B :=νstart.(A[start/done]kstart.B).

Show that sequential composition is associative, i.e.(P;Q);R ∼P; (Q;R).

(2)

Problem 3: Weak Simulation

Consider the following LTS:

q0

q1 q2

a b

p0

p01

p1

p02

p2 τ

a

τ

b

Show that

a) q0weakly simulatesp0, b) p0weakly simulatesq0, but c) q0is not weakly bisimilar top0.

Problem 4: Counter II — THE REVENGE

In class we have seen the sequential specification of a counter:

Count0 :=inc.Count1+zero.Count0 Countn+1 :=inc.Countn+2+dec.Countn

Now we give a new implementation. Let~xi =inci,deci,zeroi: Z[~x1] := inc1.ν~x2.(S[~x1, ~x2]kZ[~x2]) +zero1.Z[~x1] S[~x1, ~x2] := inc1.ν~x3. S[~x1, ~x3]kS[~x3, ~x2]

+dec1. dec2.S[~x1, ~x2] +zero2.Z[~x1] Your task is to prove that it is a correct implementation, that isCount0 ≈Z[inc,dec,zero].

Referenzen

ÄHNLICHE DOKUMENTE

Given a protocol for equality that uses public randomness and has error probability ε, we can construct a protocol for randomized equality with error probability 2ε that uses O (log N

[r]

Prove correctness of

April 2013 Exercises to the lecture Logics..

Prove that every M¨ uller-recognizable tree language is recognized by a M¨ uller automaton which is complete and contains a single initial state1. Exercise 5

der Universit at M unchen Set

[r]