Question: Let = {0,1}and dene a language L over as L = {0n10n10n : n 1} Show that L is not context-free. Remark: Compare this with
Let = {0,1}and dene a language L over as L = {0n10n10n : n 1} Show that L is not context-free. Remark: Compare this with language S1 onpage106,which is context free. Hint: Let p be the pumping constant and consider the string s = 0p10p10p. Write s as in the Pumping Lemma. Either vy has no zeros,or it has at leas tone zero;consider theses cases separately.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
