Question: Problem : For a language L, Substring(L) = {w : xwy L}. In other words, Substring(L) consists of any word that can be created by

Problem:

For a language L, Substring(L) = {w : xwy Problem: For a language L, Substring(L) = {w : xwy L}. In L}. In other words, Substring(L) consists of any word that can be created by taking a word in L and removing letters from the beginning and end.

Prove: if L is context free then Substring(L) is also context free.

My intuition is to use the pumping lemma, but in this case we're going from the larger language to the smaller one. Is there a concept of "pumping down" that would work?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!