Question

[4 points) Prove that the following language over = {a,b,c} is not context free: Li = {w/w has equal numbers of a, b, cs}.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

Let "A" as a language over {a,b,c} with equal number of a,b,c's

Let "B" is {aibjck | i,j,k>=0} or a*b*c* that is regular

As we know the intersection of a context free language & regular language is context free(1st fact)

If "A" were context free then A∩B will be also context free

but A B equals {an bn cn | n>=0}

that is not context free(2nd fact) &

It follows that "A" is not context free

---

all the best

Add a comment
Know the answer?
Add Answer to:
[4 points) Prove that the following language over = {a,b,c} is not context free: Li =...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT