Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a generalization of a homomorphism, where we define a non- deterministic homomorphism h to be a function from an alphabet to sets of strings

image text in transcribed

Consider a generalization of a homomorphism, where we define a non- deterministic homomorphism h to be a function from an alphabet to sets of strings over an alphabet T. For example, consider = {0,1}, and T = {a,b}, where h(0) = {a,aa} andh(1) = {,b}. For any language L , we define h(L) T to be all strings over T that can be obtained by starting with a string w L and replacing each 0 in w with one of {a, aa} and replacing each 1 in w with one of {,b}. Note that our choices do not need to be consistent - we can replace some 0s with a and others with aa, etc. If L is regular, does it follow that h(L) is regular as well? If so, provide a proof. If not provide a counterexample (and prove that in your example L is regular and h(L) is not).

Problem 3* [20 pts] Consider a generalization of a homomorphism, where we define a "on- deterministic homomorphism" h to be a function from an alphabet to sets of strings over an alphabet T. For example, consider -(0,1), and T = {a,b}, where h(0)-(a, aa) and h(1) {c, b). For any language L C *, we define h(L) C T* to be all strings over T, that can be obtained by starting with a string w L and replacing each 0 in w with one of {a, aa) and replacing each 1 in w with one of e, b. Note that our choices do not need to be consistent - we can replace some 0's with a and others with aa, etc. If L is regular, does it follow that h(L) is regular as well? If so, provide a proof. If not provide a counterexample (and prove that in your example L is regular and h(L) is not)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

5. Identify three characteristics of the dialectical approach.

Answered: 1 week ago

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago