Fall 2001, CSE 520: Solution of Assignment 5

Exercise 1

  1. P and Q are neither bisimilar nor weakly bisimilar, because the state Q' can make both a b-transition and a c-transition and therefore it is not bisimilar neither to P1 nor to P2.
  2. P and Q are weakly bisimilar (but not strongly bisimilar).
  3. P and Q are strongly bisimilar. The bisimulation relation is showed by the dashed lines.
  4. P and Q are neither bisimilar nor weakly bisimilar, because the state Q' can make both a tau-transition to Q and a tau-transition to 0, and therefore it is not bisimilar neither to P nor to 0.
  5. P and Q are weakly bisimilar (but not strongly bisimilar). The weak bisimulation relation is showed by the dashed lines.

Exercise 2

Let R be the bisimulation between P and Q. Then define R'= { (P'| R', Q'| R') | R' in Proc, (P',Q') in R }. Clearly (P | R , Q | R) in R'. We need to show now that R' is a bisimulation. Consider a transition from P'| R'. This can be either: Similarly for the transitions from Q'| R'.

Exercise 3

One possible definition is:
   Sem(k) =def= p.Sem(k-1)
   Sem(i) =def= p.Sem(i-1) + v.Sem(i+1)   for 0<i<k
   Sem(0) =def= v.Sem(1)

An alternative definition is:

   Sem(k) =def= S | S | ... | S   (k instances of S in parallel)

where

   S =def= p.v.S

Exercise 4

A possible definition is:
   (^a.0 | a.P | a.Q)\{a} 
where a is a name that does not occur either in P or in Q.