I am working on this problem : Use the pumping lemma to show that the language $\{0^n 1^{n} \mid n ≥ 1\}$ is not regular. May someone give me some suggestion about how to solve this problem?
Asked
Active
Viewed 72 times
-1
-
1Suggestion: see how other proofs of similar statements using the pumping lemma work. They all work the same way, and this problem is almost a textbook example (hint: it's the same as 0^n 1^n 11, reducible to simply 0^n 1^n), so mimicking any textbook proof which uses the pumping lemma should work here. – jkff May 23 '15 at 04:30
-
What have you tried? Where did you get stuck? We do not want to just do your (home-)work for you; we want you to gain understanding. However, as it is we do not know what your underlying problem is, so we can not begin to help. See here for a relevant discussion. You may also want to check out our reference questions. As it stands it looks like your question is covered by http://cs.stackexchange.com/q/1031/755. – D.W. May 23 '15 at 06:00
-
2Why did you change the language after the question had been answered? – babou May 23 '15 at 15:21
1 Answers
0
Suppose that $L=\{0^n1^{n+2}| n\geq1\}$ is regular and choose the word $\sigma=0^N 1^{N+2}$(with $N$ the pumping lemma constant) to find a contradiction.

Renato Sanhueza
- 1,335
- 8
- 21