Chapter 2: Q33P (page 157)
Show that F = { for some positive integer } is not context free
Short Answer
F = { for some positive integer }
This language is not context free this can be proof by using pumping lemma.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 2: Q33P (page 157)
Show that F = { for some positive integer } is not context free
F = { for some positive integer }
This language is not context free this can be proof by using pumping lemma.
All the tools & learning materials you need for study success - in one app.
Get started for free
Give informal descriptions and state diagrams of pushdown automata for the languages in Exercise 2.4
Convert the following CFG into an equivalent CFG in Chomsky normal form, using the procedure given in Theorem 2.9.
We defined the CUT of language to be Show that the class of CFLs is not closed under CUT.
Give an example of a language that is not context free but that acts like a CFL in the pumping lemma. Prove that your example works. (See the analogous example for regular languages in Problem 1.54.)
What do you think about this solution?
We value your feedback to improve our textbook solutions.