Question

Help me for this question by using the properties of regular language, please

stven L= {oll p is prime? is not regular. rove using the properties ofregu L aIpl are not Prineinet egular. Usin, weproperti

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

Proof by contradiction -

Let L' = {apbq | p,q are not prime} be a regular language.

Then, by concatenation L' = L1.L2 where L1 = {ap | p is not prime} and L2 = {bq | q is not prime}
L1 and L2 are regular languages. (concatenation property)
L1' = {ap | p is prime} therefore L1' is also regular but this contradicts the given statement that {ap | p is prime} is not regular. (complement property)

Hence, our assumption that {apbq | p,q are not prime} is a regular language is also wrong.
Hence, proved.
Comment for any issues and upvote(like) if satisfied.

Add a comment
Know the answer?
Add Answer to:
Help me for this question by using the properties of regular language, please stven L= {oll p is prime? is not regular....
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