20.11.2014 Views

Limbaje Formale, Automate şi Compilatoare

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lema Bar-Hillel<br />

Lema Bar-Hillel (lema de pompare)<br />

Lema 2.1<br />

Fie L un limbaj de tip 3. Există un număr m astfel încât oricare ar fi<br />

cuvântul w ∈ L cu |w| ≥ m, acesta are o descompunere de forma<br />

w = xyz, unde 0 < |y| ≤ m, <strong>şi</strong> xy i z ∈ L oricare ar fi i ≥ 0.<br />

Fie G = (N, T, S, P) astfel ca L(G) = L. Dacă |N| este numărul simbolurilor din N ,<br />

m = |N|+1, se arată că are loc proprietatea enunţată:<br />

Fie w = a 1 a 2 ...a n, n ≥ m ⇒ n ≥ |N|+1<br />

S ⇒ a 1 A 1 ⇒ a 1 a 2 A 2 ⇒ ... ⇒ a 1 a 2 ...a k A k ⇒ ... ⇒ a 1 a 2 ...a k a k+1 ...a sA s ⇒ ... ⇒<br />

a 1 a 2 ...a k a k+1 ...a sa s+1 ...a n−1 A n−1 ⇒ a 1 a 2 ...a k a k+1 ...a sa s+1 ...a n−1 a n<br />

A k = A s<br />

LFAC (2014-15) Curs 2 8 / 26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!