Question: Let = {1, 2, 3, 4} and C = {w * | in w, the number of 1s equals the number of

Let Σ = {1, 2, 3, 4} and C = {w ∈ Σ*| in w, the number of 1s equals the number of 2s, and the number of 3s equals the number of 4s}. Show that C is not context free.

Step by Step Solution

3.33 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

proof by pumping lemma for context ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1556_605d88e24008a_840230.pdf

180 KBs PDF File

Word file Icon

1556_605d88e24008a_840230.docx

120 KBs Word File

Students Have Also Explored These Related Introduction theory computation Questions!