Chapter 1: Q64P (page 92)
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 鈥檚 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 鈥檚 shortest member strings are of length exponential in . Come as close to the bound in (c) as you can.
Short Answer
- is nonempty and contains some string of length at most is proved.
- By replacing 鈥檚 by is not necessarily true.
- If is nonempty, contains some string of length at most .
- The given statement is proved below.
