Question

Prove that is L is regular and h is a homomorphism, then h(L) is regular.

Prove that is L is regular and h is a homomorphism, then h(L) is regular.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

If L is a regular language, and h is a

homomorphism on its alphabet, then

h(L) = {h(w) | w is in L} is also a regular language.

Proof : Let E be a regular expression for L.

Apply h to each symbol in E.

Language of resulting RE is h(L).

Let h(0) = ab; h(1) =ε

.Let L be the language of regular expression

01* +10*.

Then h(L) is the language of regular expression

abε* +ε(ab)*. which can be simplified

ε* = ε , so abε*=abε

ε is the identitiy under concetenation .

so εE=Eε=E for any RE E

Thus abε*+ε(ab)* =abε +ε(ab)*

=ab+(ab)*

Finall , L(ab) is contained in L(ab)*

so RE for h(L) is (ab)*

so h(L) is regular

Add a comment
Know the answer?
Add Answer to:
Prove that is L is regular and h is a homomorphism, then h(L) is 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
ADVERTISEMENT