« first day    last day (20 days later) » 

6:18 AM
Good morning.Why does pumping lemma specifically says that "every xy^iz will be in L" .Why couldn't it tell that "every x^iyz will be in L".
 
6:30 AM
Hello
 
 
2 hours later…
8:17 AM
Could you help me with the previous comment.
 
8:32 AM
I have only 10 minutes. Are you there?
 
Yes of course.
 
If you read the prove of pumping lemma it only says that xy^iz will be in L. x^iyz may or may not be in L. Either thing is possible.
And also it says there exists a partition xyz such that xy^z will always be in L.
 
Could you show an example to prove that x^iyz would not be in L.
Could you name a string that will not be accepted by this split.
 
Sorry we need to take 4 length string for pumping lemma.
 
Okay
 
8:43 AM
w = abaa
there is a loop at ba so y =ba
x = a
y=ba
z = a
Now a(ba)^ia will be always in L
But not so a^i(ba)a
strings are baa abaa aabaa aaabaa aaaabaa
 
Could you name a string that will not be accepted by this split.
 
aabaa does not belong to L
See you reach back to q0 by this string
which in non-acceptable state
DO you understand that aabaa is not accepted?
Say yes or no
 
Oh sorry I think that it goes to q1 which is a final state.
 
Can you check again?
Yes you are correct
abaa is wrong choice
Let me give another string
 
Yeah proceed.
 
8:51 AM
aaaa
x = a
y=aaa
z = e
y is a loop
So xy^iz will always be in L
But not x^iyz
Strings are
aaaa, aaaaa, aaaaaa, aaaaaaa, aaaaaaaa
 
I'm looking for a string that will not be accepted by this split.
 
aaaaaa
Idea is to finish either at q0 or q3
Another example w = ababb
 
Yeah that's right.Okay take this split
x=aa
y=a
z=a
 
z = a you mean
 
yes of course
take the string aaaaaa for xy^iz
 
9:00 AM
But y is not a loop
y should be a loop
There is only one loop in aaaa, y=aaa
You cannot split arbitrarily in pumping lemma, y has to be a loop of some sort.
 
Can't we make y=a a loop by repeating a(or y).
 
No you have to get loops from DFA that you have drawn.
You have to take help of DFA to find out loops
 
Okay but whether y=aaa a loop as you have mentioned.
 
Yes it is
x = a q0->q2
y = aaa q2->q1->q0->q2
So it is a loop
 
Isn't there four a's there?
 
9:07 AM
One a for x, three a for y
 
Oh sorry that's right.
 
Since y is a loop
You can go through loop as many times you want but still end at q2
That is the simple meaning of pumping lemma
so a(aaa) a(aaa)(aaa) a(aaa)(aaa)(aaa) a(aaa)(aaa)(aaa)(aaa) are all accepted according to pumping lemma.
 
Yeah that's perfect.
 
If you think about pumping lemma in this way then it is very easy to understand.
xy^iz
x to reach to the loop
y go through loop as many times
z reach accepting state from the loop
 
Yeah I always forgot about reaching the loop.I always tried in reaching the final state.
 
9:12 AM
Okay if confusion is cleared, I am happy, I have to go now.
 
Yeah for sure.Thanks for your cooperation.
 
Bye
 
Take care.
Oh sorry.
Could you tell about this string aaaab
 

« first day    last day (20 days later) »