Distributed: Published on the web on Nov 13.

Due: Nov 27 (in class).

Total maximum score: 100 points.

The purpose of this assignment is to provide experience with CCS, and with the notion of bisimulation.

Please write your solutions as clearly and concisely as possible.

**(50 pts)**For each of the following pairs of processes P and Q, draw the transition graph of the process (the nodes of the graph are the processes and the arcs are the labeled transitions) and say whether they are strongly bisimilar, weakly bisimilar, or not bisimilar. Justify your answer.1. P =def= a.b.P + a.c.P , Q =def= a.(b.Q + c.Q) 2. P =def= a.P + tau.P , Q =def= a.Q 3. P =def= a.P , Q =def= a.(Q | a.Q) 4. P =def= a.0 + a.P , Q =def= a.(tau.0 + tau.Q) 5. P =def= (a.b.0 | ^b.c.0)\{b} , Q =def= a.c.0

Remember that ^a represents the action complementary to a. (according to our convension, a is input and ^a is output).

**Note:**You should give a finite representation of the transition graph whenever possible. For instance, if the process is P =def= a.Q and Q =def= b.P, then the graph should be:**(30 pts)**Prove that strong bisimulation is closed wrt the parallel operator. Namely, prove that, if P is strongly bisimilar to Q, then for any R P | R is strongly bisimilar to Q | R.**(10 pts)**Consider the following system consisting of n processes and a semaphore:( P

The semaphore should allow at most k processes to be in the critical section. The parameter h in Sem(h) represents the fact that h processes can still enter the critical section (i.e. when there are no processes in the critical section then h is k, when one process enters the critical section then h becomes k-1, etc. The processes interact with the semaphore by performing the actions ^p (when trying to enter the critical section) and ^v (when exiting the critical section)._{1}| P_{2}| ... | P_{n}| Sem(k) )\{p,v}The exercise consists in defining the semaphore so that it has the expected behavior.

**(10 pts)**Give a definition of blind choice without using the + operator. Namely, given two processes P and Q, define a process R, which does not contain the symbol +, and which is strongly bisimilar to the process`tau.P + tau.Q`.