Question: How to prove the language if a language is context free Language without using Pumping Lemma? Assume there exist languages: L 1 ={ 1 a

How to prove the language if a language is context free Language without using Pumping Lemma?

Assume there exist languages: L1={ 1a0a2b1b | a>0,b>0} and L2={ 1a0a2a1b | a>0,b>0}.

1. Prove one of them is context-free by applying a context-free grammar that defines this language

2. Prove another is not context-free by using closure properties of context-free and regular languages.

Do not use pumping lemma!

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!