Chapter 0: Q8E (page 1)
Use the construction in the proof of Theorem 1.45 to give the state diagrams of NFAs recognizing the union of the languages described in
a. Exercises 1.6a and 1.6b.
b. Exercises 1.6c and 1.6f
Short Answer
a.
b.
Chapter 0: Q8E (page 1)
Use the construction in the proof of Theorem 1.45 to give the state diagrams of NFAs recognizing the union of the languages described in
a. Exercises 1.6a and 1.6b.
b. Exercises 1.6c and 1.6f
a.
b.
All the tools & learning materials you need for study success - in one app.
Get started for freeShow that the stringthe girl touches the boy with the flowerhas two different leftmost derivations in grammar on page 103. Describe in English the two different meanings of this sentence.
Use the procedure described in Lemma 1.55 to convert the following regular expressions to nondeterministic finite automata.
Question:Let Show that is countable.
Question:Consider the algorithm MINIMIZE, which takes a DFA as input and outputs DFA .
MINIMIZE = “On input , where is a DFA:
1.Remove all states of G that are unreachable from the start state.
2. Construct the following undirected graph G whose nodes are the states of .
3. Place an edge in G connecting every accept state with every non accept state. Add additional edges as follows.
4. Repeat until no new edges are added to G :
5. For every pair of distinct states q and r of and every :
6. Add the edge (q,r) to G if is an edge of G .
7. For each state be the collection of edge joins q and r in G }.
8.Form a new DFA where
9. Output ( M')”
a. Show that M and M' are equivalent.
b. Show that M0 is minimal—that is, no DFA with fewer states recognizes the same language. You may use the result of Problem 1.52 without proof.
c. Show that MINIMIZE operates in polynomial time.
In the silly Post Correspondence Problem, SPCP, the top string in each pair has the same length as the bottom string. Show that the SPCP is decidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.