Question: A bomomorphism is a function f : l o n g r i g h t a r r o w * from one alphabet

A bomomorphism is a function f:longrightarrow* from one alphabet to strings over
another alphabet. We can extend f to operate on strings by defining f(w)=
f(w1)f(w2)cdotsf(wn), where w=w1w2cdotswn and each wiin. We further
extend f to operate on languages by defining f(A)={f(w)|winA}, for any
language A.
a. Show, by giving a formal construction, that the class of regular languages
is closed under homomorphism. In other words, given a DFA M that rec-
ognizes B and a homomorphism f, construct a finite automaton M' that
recognizes f(B). Consider the machine M' that you constructed. Is it a
DFA in every case?
b. Show, by giving an example, that the class off non-regular languages is not
closed under homomorphism.
A bomomorphism is a function f : l o n g r i g h

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 Programming Questions!