• Keine Ergebnisse gefunden

Problem 1: Petri Net Languages

N/A
N/A
Protected

Academic year: 2021

Aktie "Problem 1: Petri Net Languages"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Concurrency Theory(SS 2015) Out: Wed, 24 Jun Due: Tue, 30 Jun

Exercise Sheet 10

Zetzsche, Furbach, D’Osualdo Technische Universit¨at Kaiserslautern

Problem 1: Petri Net Languages

A labelled Petri net is a tupleN = (S, T, W, M0, X, λ, F)whereS, T, W andM0are the finite set of places, transitions, the weight function and the initial marking respectively, defined as in ordinary Petri nets. The setXis a finite alphabet and the labelling functionλ:T →X∪ {}

assigns a letter or the empty word to each transition. The setF is a finite set of final markings.

We define the language generated by a labelled Petri netN to be the set

L(N) ={w∈X | ∃t1, . . . , tn ∈T : M0|t1· · ·tniMn ∈F ∧w=λ(t1)λ(t2)· · ·λ(tn)}.

Prove that the class of languages generated by labelled Petri nets is a full trio.

[Hint:Show that it is closed under rational transductions.]

Problem 2: Principal Trios

a) LetC andDbe principal full trios. Show that the following holds:

C andDare comparable (C ⊆ DorD ⊆ C) if and only ifC ∪ Dis principal.

b) LetC1 ⊆ C2 ⊆ . . .be an infinite sequence of principal full trios. Show thatS

i∈NCi is principal if and only if there is ani∈Nsuch thatCj =Ci for allj ≥i.

Problem 3: Shuffle vs Intersection

Given two languagesLandK overX, we define their shuffle as

LK :={u0v0. . . unvn|n ∈N, u0, .., un, v0, .., vn∈X, u0. . . un∈L, v0. . . vn∈K}.

LetC be a full trio. Show thatC is closed underif and only ifC is closed under∩.

Problem 4: Complement vs Kleene

We define the complement of a languageLasL=X\L, whereX is the smallest alphabet such thatL⊆X. LetC be a full trio. Show that ifC is closed under complementation, thenC is closed under Kleene iteration (L).

[Hint:Try to construct(L#). What does this language look like?]

(2)

Problem 5: Regular Intersection

This is the extra problem, we will correct your submission and discuss it in the tutorial but you don’t get a plus.

LetCbe a language class that is closed under homomorphism (α), inverse homomorphism (α−1) and concatenation with single letters from the left (Lis transformed intocL) and from the right (Lis transformed intoLc). Show thatC is a full trio.

[Hint:In order to simulate a finite automatonA= (Q,∆, q0,{qf})over the alphabetXwith edges∆⊆Q×X×Q, we can start by defining an homomorphismα: ∆ →X. Fromα−1(L) try to construct the language of accepting runs encoded as wordsq0x1q1· · ·xnqn.]

Referenzen

ÄHNLICHE DOKUMENTE

[r]

erreicht und der b-te Befehl des Programm

[r]

Firing t2 initializes all source links as well as state places, the inner activity, the event handlers, and for each scope embedded in the process its respective place !push

Definition 1 (Statements and Alice’s view) Alice’s view is a set of statements of the following type: Aut(X,P) says that Alice is convinced that the public key belongs to entity

hiral, but, as you show above,

Karlsruher Institut f¨ ur Technologie Institut f¨ ur Theoretische Festk¨ orperphysik.. Ubungen zu Moderne Theoretische Physik III ¨

Die gleichseitige Hyperbel gilt als die speziellste Hyperbel, analog zum Kreis als speziellster Ellipse.. Da der Umkreis und die Eulergerade zwei Schnittpunkte haben, gibt