• Keine Ergebnisse gefunden

Concurrency theory

N/A
N/A
Protected

Academic year: 2021

Aktie "Concurrency theory"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency theory

Exercise sheet 3

TU Braunschweig

Roland Meyer, Elisabeth Neumann Winter term 2018/19

Out: November 8 Due: November 14

Submit your solutions until Wednesday, November-14, 12:00 am. You may submit in groups up to three persons.

Exercise 1: SRE Inclusion

Use the algorithm given in the lecture to check whether the following SRE inclusions hold:

(a) (a+n+s)(t+a+n) ⊆(s+a+n+t+a)

(b) (r+)(p+)(n+t) ⊆p(r+)(s+)(n+t)+ (p+)r(n+e+t) (b) (r+)(p+)(n+t) ⊆(p+r+e)(s+)(n+t)

Exercise 2: Coverability of lossy channels Consider the lcs depicted in the figure below.

q0 N!1 q1 q2 q3 q4

A!1

N!0

A?0

N?1 N!0

N?0

Determine if configurations (q4,

N entry

"

0 ε

#

Aentry

) and (q4,

"

ε 1

#

) are coverable using the known procedure.

Exercise 3: Generalised Lossy Channel Systems

Consider the following variation of a lcs: assume one of the symbols s∈M can not be lost during send/receive by any channel but that a channel can contain at most k ∈Nsymbols s.

A transition that wants to send the k+ 1st symbols is blocked. Such a generalized lcs can be represented by a standard lcs using as states the Cartesian productQ× {0, . . . , k} whereQ is the set of states of the original system.

The resulting lcs transitions are schematically represented below (for 06i < k).

(q1, i) (q2, i+ 1) c!s

You are asked to give an implementation of (q1, i)−→(qc!s 2, i+ 1) by several lossy transitions.

Your model should check that precisely i symbols s are present in the channel c before appending the extra s.

(2)

[ Hint: Take M∪# as the alphabet of the resulting lcs]

Exercise 4: Lossychannel with Natural numbers

Consider another type of lcsL= (Q, q0,{c}, M,→) with ca channel carrying natural numbers as content, i.e., M =N. Take the ordering 6⊆M ×M given in Higman’s lemma.

(a) Prove that (Q×M,C), withC defined by (q, w)C(q, w0) iff w6 w0, is a wqo.

(b) The transitions in Lare given by q→!n q0 and q →?n q0 with n∈N. The first appends n to the channel, the second receives a numbern0 >n with n0 ∈N from the head of the channel.

The channel is supposed to be lossy. Formalise the transition relation between configurations.

(c) Prove that ((Q×M,(q0, ),→),C) is a wsts.

Referenzen

ÄHNLICHE DOKUMENTE

[r]

Es geht um das Gleiche, aber nicht mehr um eine Staumauer, sondern um ein Kraftwerk, welches gebaut werden sollte.. Ich ver- zichte darauf, die ganze Auslegung von

Künftig darf es natürlich nicht mehr vorkommen, dass zwischen der ersten und der zweiten Lesung an den Ge- setzestexten Änderungen vollzogen werden, welche der Grosse Rat

Expérience faite à Moutier: soumettre un changement de canton d’une commune au vote quand on sait que la majorité sera mince est une erreur.. Cela ne fait qu’attiser

Es geht um eine Amortisationsvereinbarung zwischen der Kraftwerke Oberhasli AG (KWO) und dem Kanton Bern für den Ersatz der Spitallamm Staumauer.. Das Bundesamt für Energie

Allerdings ist auch hier bestätigt worden, dass sich nach wie vor genügend Mittel im Fonds befinden, um auch den kleine- ren Anteil des Kantons Bern bezahlen zu können?.

Diese sind bisher zum Rein igen der Fenster von aussen gebraucht worden und für den Unterhalt der Storen.. Aus diesem Gründen werden diese Unterhaltsarbeiten bereits

Jene, wel- che länger dabei sind, erinnern sich, dass man im Kanton Bern nicht jeden Bach nutzen will, son- dern effektiv schaut, wo dies sinnvoll ist, auch hinsichtlich des