• Keine Ergebnisse gefunden

Problem 1: π-calculus and Structural Semantics

N/A
N/A
Protected

Academic year: 2021

Aktie "Problem 1: π-calculus and Structural Semantics"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency Theory(WS 2011/12) Out: Tue, Jan 24 Due: Mon, Jan 30

Exercise Sheet 13

Jun.-Prof. Roland Meyer, Georgel C˘alin Technische Universit¨at Kaiserslautern

Problem 1: π-calculus and Structural Semantics

Consider the following π-calculus process modelling a server together with two clients that send instructionsaandbto it:

s(i).i(y)|νip1.ship1i.ip1hai |νip2.ship2i.ip2hbi

(a) Compute its structural semantics.

(b) Extend the servers(i).i(y)so that it reacts to the instruction. Ify=a, the server should behave like processP. Ify=b, the server becomesQ. Explain your idea.

Problem 2: π-calculus and Communication-free Petri Nets

In a communication-free Petri net (cfPN), every transition has a single place in its preset. Mo- reover, as illustrated in the Petri net below (left), the arc from the place to the transition is weighted one.

1 p0 p1

p2

(a) Define a translation of cfPN N intoπ-Calculus processP[[N]]as follows. Every place s ∈ S yields a process identifier Ks. The transitions leaving this place are encoded by non- deterministic choice. Give the processP[[N]]and the defining equation for each identifierKs.

(b) Apply the translation to the Petri net given in the picture above (right).

Problem 3: Structural Semantics of π-calculus Processes

Apply the method presented in class to determine the netNJPKfor the following process:

P =a(x).x(y) +a(x).xhai+ahbi

|a(x).x(y) +a(x).xhai+ahbi

|b(x).ahxi+νn.ahni.a(z).n(l)

Problem 4: Structural Semantics of Closed Processes

ComputeN[[P]]forνa.KbacwhereK(x) :=Kbxc |νa. ahai |a(x).νb.Kbbc

|νc. chci |c(y) . What is special about such processes and their corresponding nets?

Referenzen

ÄHNLICHE DOKUMENTE

The next Labour government will stand up for Britain and ensure that our country takes a strong and confident place on the world stage.. It is time to reject the

The Security Council decided that UNMIS would be strengthened by up to 17 300 military personnel and by up to 3 300 civilian police personnel, including up to 16 formed police

Turkey is one key partner to be considered: Turkey has a vital strategic partnership with Washington and has been part of the European Single Market through

The next time you turn on your computer after installing the driver, Windows 95 may display the New Hardware Found screen again.. In this case, click the Do not install a driver

To access online help from the Driver Settings window, follow the instructions on page 20 to access the driver; then click the Help button at the bottom of the Driver Settings

IMPLEMENTATION: This phase is characterised by the supporting actions concerning the contribution of the appropriate communication means in the whole PRP as well as

The main objective of the CultMark project is the development and implementation of innovative place (incorporating tourism) marketing strategies, based on the

Rather than interiorized spaces of imagination or the body, ISKCON venerates the physical place, Mayapur, as gupta-Vrindavan, and devotees perform services toward deities by