• No results found

(b) Draw the process graph belonging to your µCRL specification

N/A
N/A
Protected

Academic year: 2021

Share "(b) Draw the process graph belonging to your µCRL specification"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

1. Dining Philosophers: Five philosophers sit around a plate of noodles. Between each philosopher there is a single chopstick (so there are five chopsticks in total). A philoso- pher can only eat if he holds the chopsticks at his left and at his right. When a philosopher is done eating he puts down the chopsticks.

(a) Give a µCRL specification of the dining philosophers in which no philosopher is ever permanently excluded from the meal. (You may assume the data type Bool and its standard operations as given.) Represent picking up and putting down a pair of chopsticks i and j by actions u(i, j) and d (i, j), respectively.

(b) Draw the process graph belonging to your µCRL specification.

2. Let even : Nat → Bool be defined such that even(n) = T if and only if n is an even number:

even(0) = T

even(S(n)) = ¬even(n) (a) Consider the following LPE:

X(n : Nat) = τ ·X(n) / even(n) . δ + a(n)·X(S(S(n))) / T . δ

Prove that the confluence formula for the τ -summand is true, meaning that the τ-transitions generated by this summand are confluent.

(b) Consider the following LPE:

X(n : Nat) = τ ·X(S(n)) / even(n) . δ + a(n)·X(S(S(n))) / T . δ

Prove that in this case the confluence formula regarding the τ -summand is false.

Also give an example consisting of transitions of X(0) to show that the τ -summand does not give rise to confluent τ -transitions.

(c) Consider the following LPE:

X(n : Nat) = τ ·X(S(n)) / T . δ

+ a·X(S(S(n))) / even(n) . δ

Prove that in this case the confluence formula regarding the τ -summand is false.

Also give an example consisting of transitions of X(0) to show that the τ -summand does not give rise to confluent τ -transitions.

3. (a) Apply the minimisation algorithm modulo branching bisimulation to the process graph below. Describe the subsequent splits that you perform, and the results of those splits.

s4 s5 a a

b a

τ s0 s1

s2 τ s3 τ

(2)

(b) What is the maximal collection of confluent τ -transitions in the process graph of (a)? Explain your answer.

(c) Describe in detail how the model-checking algorithm computes for which states in the process graph below the ACTL formule E (EXbT) U (EXaEXbT) is true.

s0 a

s1 b

a s2 s3

s5 s4

b

b a

a b

(d) For each state in the process graph in (c) there exists an ACTL formule that is only true in this state. Give such a characterizing ACTL formula for each of the states.

Referenties

GERELATEERDE DOCUMENTEN

Then its edge-connectivity equals its valency k, and the only disconnecting sets of k edges are the sets of edges incident with a single vertex.. E-mail addresses: aeb@cwi.nl

Lemma 7.3 implies that there is a polynomial time algorithm that decides whether a planar graph G is small-boat or large-boat: In case G has a vertex cover of size at most 4 we

Projectie van het kadaster uit 1889 op de topografische kaart maakt duidelijk dat de plattegrond van het klooster voor het grootste deel onder de gebouwen van

Door lijn m 3 omlaag te verschuiven gaat de beeldlijn door (0, 3) welke bij een vermenigvuldiging t.o.v... De lijnen

The Kingdom capacity (K-capacity) - denoted as ϑ (ρ) - is defined as the maximal number of nodes which can chose their label at will (’king’) such that remaining nodes

This notion follows the intuition of maximal margin classi- fiers, and follows the same line of thought as the classical notion of the shattering number and the VC dimension in

It is shown that by exploiting the space and frequency-selective nature of crosstalk channels this crosstalk cancellation scheme can achieve the majority of the performance gains

E.g. In order to find out how these experienced, or serial, acquiring companies design and execute the M&A process we have conducted an extensive literature research, aided