Question

Pumping lemma :

There are 3 mistakes in this proof could you identify and show the corrections .please!

(b) Proof attempt: L = {w(w)R WEL*}l is not regular We choose the word x = abba. Then 2 = 2n+2 > n and I EL (mirror axis betw

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please comment if you have any doubt regarding this question.I will respond as soon as possible.Thank you.
  

In the first case of decomposition if a is not in the list

u = e is fine but v will not be of length n+1 as |uv|<=n and other thing is uv will not always have n length.

So v = ab^{k} . k>=0. w is also incorrecct as we have taken v incorrect.

w = b^{n+l}a . k+l = n,l>=1.

As we have taken the decomposition wrong for the first case in proof of pumping it down to i = 0

uw = b^{n+l}a where l>=1.

In the second case where we pumped up to i = 3.

we got ab^{n+2l}b^{n}a and in the proof it is mentioned that as l>=1 we have n+2l not equal to n

But there is a mistake in this as we can write ab^{n+2l}b^{n}a as ab^{n+l}b^{n+l}a

and this belongs to the language as there is a mirror line after the b block.

So it is better if we consider a different i value.

uv^{i}w = ab^{k}b^{il}b^{n-k-l}b^{n}a = ab^{k+il+n-k-l+n}a = ab^{2n+(i-1)l}a

we have to choose i such that 2n+(i-1)l will be odd as if it is even then we can divide into two parts.

This is a tough task instead we need to choose our initial string carefully to make our later proof easy.

For example if we take a string a^{n}bba^{n} .

then if we pump it up then we will pump a's and it is easy to prove.

Add a comment
Know the answer?
Add Answer to:
Pumping lemma : There are 3 mistakes in this proof could you identify and show the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Use the pumping lemma to show that the following language is non-regular: [a"b2n,n> 1) 1) usually...

    Use the pumping lemma to show that the following language is non-regular: [a"b2n,n> 1) 1) usually we need to find a word in the language as an example, what length of the word we should use as the example? what are the three possible ways to choose substring y in the pumping lemma? if a language satisfy the pumping lemma, is this language a regular language? Why?

  • Use the pumping lemma to show that the following languages are not regular a) L =...

    Use the pumping lemma to show that the following languages are not regular a) L = { 0n1n2n | n ≥ 0 } b) L = {www | w ∈ {a, b}*} c) L = = { aibj | j = i or j = 2*i }

  • In the class, we have shown that L {a"bn·n > 0} is not regular. Use the pumping lemma to show tha...

    In the class, we have shown that L {a"bn·n > 0} is not regular. Use the pumping lemma to show that Ls -[a"b*c: n 2 0, k 2 n] is not regular. Can you prove by a simpler way using homomorphism? nhn. In the class, we have shown that L {a"bn·n > 0} is not regular. Use the pumping lemma to show that Ls -[a"b*c: n 2 0, k 2 n] is not regular. Can you prove by a simpler...

  • Let Σ {0, 1, 2} Use the Pumping Lemma to show that the language L defined...

    Let Σ {0, 1, 2} Use the Pumping Lemma to show that the language L defined below is not regular L-(w: w Σ*, w is a palindrome} Note that a palindrome is a word, number, or other sequence of characters which reads the same backward as forward, such as mom or eye.

  • (d) Let L be any regular language. Use the Pumping Lemma to show that In >...

    (d) Let L be any regular language. Use the Pumping Lemma to show that In > 1 such that for all w E L such that|> n, there is another string ve L such that lvl <n. (4 marks) (e) Let L be a regular language over {0,1}. Show how we can use the previous result to show that in order to determine whether or not L is empty, we need only test at most 2" – 1 strings. (2...

  • Consider the application of the Pumping Lemma to prove that the language over Σ = {a,b,c}...

    Consider the application of the Pumping Lemma to prove that the language over Σ = {a,b,c} shown below is not regular: L = {aibjck: i ≥ j ≥ k ≥ 0} First, we choose an input string w = apbpcp=xyz, 1|xy| p, |y|=k≥1, where p is the critical length. Next, create another string w´ L  to produce a contradiction. Which of the following string will produce a contradiction? e) w´ = xz f) w´ = xyz g) w´ = xy2z h)...

  • 2. (10 points) Use the pumping lemma for context free grammars to show the following languages...

    2. (10 points) Use the pumping lemma for context free grammars to show the following languages are not context-free. (a) (5 points) . (b) (5 points) L = {w ◦ Reverse(w) ◦ w | w ∈ {0,1}∗}. I free grammar for this language L. lemma for context free grammars to show t 1. {OʻPOT<)} L = {w • Reverse(w) w we {0,1}*). DA+hattha follaurino lano

  • Lemma. If two vector spaces have the same dimension then they are isomorphic Proof. To show that ...

    Lemma. If two vector spaces have the same dimension then they are isomorphic Proof. To show that any two spaces of dimension n are isomorphic, we can simply show that any one is isomorphic to R. Then we will have shown that they are isomorphic to each other, by the transitivity of isomorphism (which was established in the first Theorem of this section) Theorem 1 Isomorphism is an equivalence relation among ctor spaces Let v be n--dimensional. Fix a basis...

  • Problem 3.3: For a string x € {0,1}*, let af denote the string obtained by changing...

    Problem 3.3: For a string x € {0,1}*, let af denote the string obtained by changing all 0's to l's and all l's to O's in x. Given a language L over the alphabet {0,1}, define FLIP-SUBSTR(L) = {uvFw: Uvw E L, U, V, w € {0, 1}*}. Prove that if L is regular, then FLIP-SUBSTR(L) is regular. (For example, (1011)F = 0100. If 1011011 e L, then 1000111 = 10(110) F11 € FLIP-SUBSTR(L). For another example, FLIP-SUBSTR(0*1*) = 0*1*0*1*.)...

  • 1)Convert the following context free grammar to Chomsky Normal Form S → a X | Yb...

    1)Convert the following context free grammar to Chomsky Normal Form S → a X | Yb X → S | λ Y → b Y | λ 2)Some languages distinguish between uppercase and lowercase in identifiers. What are the pros and cons of this design decision? 3)Use the pumping lemma to prove that the following languages are not regular.     (The alphabet is Σ = {a, b}.) a) L = {an b1 ak: k >= n+ l} b) L = {ww:...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT