Chapter 1: Q61P (page 92)
Consider the languages defined in Problem 1.60. Prove that for each , no DFA can recognize with fewer than states.
Short Answer
No DFA can recognize with fewer than states is proved by Myhill-Nerode.
Chapter 1: Q61P (page 92)
Consider the languages defined in Problem 1.60. Prove that for each , no DFA can recognize with fewer than states.
No DFA can recognize with fewer than states is proved by Myhill-Nerode.
All the tools & learning materials you need for study success - in one app.
Get started for freeFor languages , let the shuffle of be the language
Show that the class of regular languages is closed under shuffle.
Let Here, contains all columns of localid="1663175934749" of height two. A string of symbols in gives two rows of . Consider each row to be a binary number and let . For example, but . Show that C is regular. (You may assume the result claimed in Problem 1.31.)
Let N be an NFA with states that recognizes some language .
a. Show that if is nonempty, contains some string of length at most k.
b. Show, by giving an example, that part (a) is not necessarily true if you replace both ’s by .
c. Show that If is nonempty, contains some string of length at most .
d. Show that the bound given in part (c) is nearly tight; that is, for each , demonstrate an NFA recognizing a languagerole="math" localid="1660752484682" where role="math" localid="1660752479553" is nonempty and where ’s shortest member strings are of length exponential in . Come as close to the bound in (c) as you can.
Let be the same as in Problem 1.33. Consider each row to be a binary number and let the top row of w is a larger number than is the bottom row}. For example, , but . How that D is regular.
Give regular expressions generating the languages of Exercise 1.6.
a. {begins with a 1 and ends with a 0}
b. { contains at least three 1s}
c. { contains the substring 0101 (i.e., w = x0101y for some x and y)}
d. { has length at least 3 and its third symbol is a 0}
e. { starts with 0 and has odd length, or starts with 1 and has even length}
f. { doesn’t contain the substring 110}
g. { the length of is at most 5}
h. { is any string except 11 and 111}
i. { every odd position of w is a 1 }
j. { contains at least two 0s and at most one 1}
k.
l. { contains an even number of 0 s, or contains exactly two 1s}
m. The empty set
n. All strings except the empty string
What do you think about this solution?
We value your feedback to improve our textbook solutions.