katenok: (Default)
[personal profile] katenok
Есть язык L = {a^*} U {b^ja^k | j>=0, k=2^n n>=0} (j,n - целые числа). Он выполняет все условия pumping lemma (доказано), надо доказать, что он не context free Я думаю, что для этого надо доказать, что для него нельзя построить pushdown automaton Но как это доказать (мне не нужно доказательство, мне нужна идея)?
(извините за такую кашу из языков, я не знаю этих определений по-русски)

Date: 2003-04-05 09:22 am (UTC)
From: [identity profile] drklaymen.livejournal.com
Heh, have never seen this exercise. It's a nice example, but a bit stupid: one can prove stronger versions of the pumping lemma that this language will not satisfy. Anyway, they probably didn't show you these versions and I don't suppose you're interested in proving them yourself. ;) So here's an idea: first, it's obvious that if L is CF then so is L_1 = {ba^(2^k): k>=0} (just intersect L with ba* which is regular). Now L_1 obviously does NOT satisfy the pumping lemma.

Date: 2003-04-06 08:33 am (UTC)

Profile

katenok: (Default)
katenok

April 2011

S M T W T F S
     1 2
3456789
10111213141516
17181920212223
24252627282930

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 19th, 2025 12:07 am
Powered by Dreamwidth Studios