• Keine Ergebnisse gefunden

Roland Meyer, Viktor Vafeiadis Delivery until 10.06.2014 at 12h Exercise 7.1 (Bounded round TSO-reachability)

N/A
N/A
Protected

Academic year: 2021

Aktie "Roland Meyer, Viktor Vafeiadis Delivery until 10.06.2014 at 12h Exercise 7.1 (Bounded round TSO-reachability)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2014 04.06.2014 Exercises to the lecture

Concurrency Theory Sheet 7

Roland Meyer, Viktor Vafeiadis Delivery until 10.06.2014 at 12h Exercise 7.1 (Bounded round TSO-reachability)

Describe the general case for the bounded round TSO-reachability problem that was described in the lecture: Given a concurrent program P with n ∈ N threads and a bound k ∈ N on the number of rounds that each thread can make, explain how to construct a program P 0 so that the following holds:

A program counter pc is TSO-reachable in P iff pc is SC-reachable in P 0 . Note: you do not have to give a formal construction. It is sufficient to list the additional global variables needed, explain their meaning and how they are used by P 0 .

Exercise 7.2 (Donward-closure of regular languages)

a) Compute L(A)↓ for the following automaton A:

q 0 b q 1 q 2 q 3

b

a b

a b

a

b) Give a general procedure that computes L(A)↓ for a finite state automaton A.

Exercise 7.3 (Conditionals in lossy channel systems)

We extend lossy channels with a transition that, given a channel c and a word w ∈ Σ , checks if c contains w as a subword:

q 1 check w in c q 2

We extend the transition relation to by adding the following rule:

(q 1 , W ) (q 2 , W ) if q 1 −−−−−−−→ check w in c q 2 and w ≤ W (c)

Given an extended lossy channel system L = (Q, q 0 , C, M, → L ), construct a lossy channel system L 0 = (Q 0 , q 0 , C, M, → L

0

) with Q ⊆ Q 0 where the following holds for all q 1 , q 2 ∈ Q:

(q 1 , W ) (q 2 , W 0 ) in L if and only if (q 1 , W ) → (q 2 , W 0 ) in L 0 .

Delivery until 10.06.2014 at 12h into the box next to 34-401.4

Referenzen

ÄHNLICHE DOKUMENTE

[r]

[r]

b) Modify the game arena such that it becomes deadlock free such that the correctness of the tree acceptance game (Lemma 8.13 in the lecture notes) is preserved.. c) How can one

Proof the following theorem from the lecture. (1) (M, ⊆) is a

Karlsruher Institut f¨ ur Technologie Institut f¨ ur Theoretische Festk¨ orperphysik Ubungen zur Modernen Theoretischen Physik I ¨ SS

In order to obtain, for the appropriate rational primes p, the precise value of the p-period of the groups G and G 1 we exhibit certain finite subgroups; they are obtained

[r]

As long as rich countries refuse to stop subsidising exports, developing countries must have the right under WTO rules to use measures to protect their farmers, safeguard