Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let Sigma be a finite alphabet and let L 0 , L 1 Sigma be languages such that L 0 cap L

Let \Sigma be a finite alphabet and let L0, L1\Sigma
be languages such that L0\cap L1=. Think of L0
and L1 as the sets of bad and good strings respectively. We wish to design an automaton which
is guaranteed to reject every string in L0 and accept every string in L1. Our automaton is allowed to
behave arbitrarily on strings that are neither in L0 nor in L1. In other words, our automaton is required
to recognize some language L \Sigma
such that L \cap L0= and L L1.
For concreteness, let us say that we are looking for a DFA over the alphabet \Sigma ={0,1}. Also, let
L0={x in {0,1}
| the number of 0s and 1s in x are unequal} and L1={0
n1
n | n in N \cup {0}}.
Observe that L0\cap L1=. Does there exist such a DFA which accepts every string in L1 and rejects
every string in L0? Prove your answer.

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 With Application To GIS

Authors: Philippe Rigaux, Michel Scholl, Agnès Voisard

1st Edition

1558605886, 978-1558605886

More Books

Students also viewed these Databases questions

Question

5.6 Describe alternatives to recruitment?

Answered: 1 week ago