r/AskComputerScience • • Dec 10 '24

Pumping Lemma

L1 = { 0^n1^n | n ≥ 0 } is non-regular.

My teacher said that when we make x that we should make the y in 0and 1 form but i cant see any contradiction with this method what is the correct method

0 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/MaximumUnique8839 Dec 11 '24

hhmm thanks in ogdens lemma we should look at the scenarios am i right?