Beruflich Dokumente
Kultur Dokumente
Matr.nr.:
Nachname:
Vorname:
Blatt 8: / 19
Blätter 7 – 8: / 39 (+4)
a) L1 [ L2 ist kontextfrei.
b) L1 \ L2 ist kontextfrei.
Falls Sie konkrete kontextfreie Sprachen für die Lösung verwenden, sollen Sie auch
zeigen, dass sie kontextfrei sind. Sie können sich bei der Lösung auf in der Vorlesung
erwähnte Sprachen beziehen, die dort als nicht kontextfrei vorgestellt wurden.
P = {S ! SS | XX,
X ! X | X | Y,
Y! | | | }
C1 = Var [ {¬}Var D1 = C
Cn+1 = Cn { }C1 Dn + 1 = Dn { } C
[ [
C= Ci D= Di
i2 + i2 +
L( G2 ) = ({ , , , }{ }{ , }⇤ ) [ ({ , }⇤ { })
Aufgabe 8.4 (2 + 1 + 1 + 1 = 5 Punkte)
Betrachten Sie die folgende Gleichung für eine Sprache L ✓ A⇤ über dem Alphabet
A = { , }:
L = L [ { }L [ { } (1)
a) Geben Sie die kleinste Lösung L1 der Gleichung (1) an. Eine Sprache L1 heißt die
kleinste Lösung, wenn für jede Lösung L0 von (1) die Beziehung L1 ✓ L0 gilt.
b) Geben Sie die größte Lösung L2 an, welche die Gleichung erfüllt. Eine Lösung heißt
die größte Lösung, wenn für jede Lösung L0 von (1) die Beziehung L0 ✓ L2 gilt.
c) Geben Sie eine weitere Lösung L3 von (1) an, die von L1 und L2 verschieden ist.
d) Geben Sie die einzige Lösung der Gleichung { } L4 = { } L4 an.
19 2.2 LVLaistkontextfrei
SeiGi live.T.sn.PH L1611
LlNz.Ta.Sz.R
SeiGz 11621 12
DaGulaististSi Sz
Daransfolgtidass G Naunzuls Teuta S PruPauls Salsa
NachAbleitungvonweltrutz erhaltenwir
SIS w
S Sz w
Dh 1161 4012istkontextfrei
b Z.Z LintzistKontextfrei
Sei ab
I folgtidasshundlakontextfrei
WegenPumpingLemma Lintz faibicilian E
Sei Li faibilizo cilizo aibicklizo.la
o Lz
faili2olofbicilizo faibkcklizo.k20
Lintz aibicilizo nichtKontextfreik
29 s
s s
X X X X
a x a y b b y
x a x a
y b b
bb x
b b
x
x Worteru.V.VE s.x.yaibl mits u V x
y abbaabbbabbbap
a
b s Ss six sxy sxa sbxbatsbbbxbbba ssbbbybbba sbbbabb.ba xxbbbabbba
xybbbabbba xabbbabbba axaabbbabbba ayaabbbabbba abbaabbbabbba
D
wertu six
wertv syx
wertx ayaabbbabbba
c 116 a b ab
a G N TSP mit N SX B
T varu 7 n v3
p s varu s x
x Ella SB
B El vis
b G SXY a b SP mitP S aaxlabxIbax1bby
x by
y aylbyIE
G S A B a b S P mitP S aAlbA
A Si abB
B ba
62 6V6
a Li le u b u a
b Lz a b u b a b u a
c ab u b E u a b
d a ly b ly
a Lyu b Lyu a b Lyu b Lyu a ED