Chapter 0: Q20P (page 1)
Prove that an oracle C exists for which .
Short Answer
The above problem can be solved using Oracle A which exists if and only if and , where for some
Chapter 0: Q20P (page 1)
Prove that an oracle C exists for which .
The above problem can be solved using Oracle A which exists if and only if and , where for some
All the tools & learning materials you need for study success - in one app.
Get started for freeShow how to compute the descriptive complexity of strings K(x) with an oracle for ATM.
Let Give a CFG generating the language of strings with twice as many . Prove that your grammar is correct.
Read the informal definition of the finite state transducer given in Exercise 1.24. Give the state diagram of an FST with the following behaviour. Its input and output alphabets are . Its output string is identical to the input string on the even positions but inverted on the odd positions. For example, on input 0000111 it should output 1010010 .
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.
Use the recursion theorem to give an alternative proof of Rice’s theorem in Problem 5.28.
What do you think about this solution?
We value your feedback to improve our textbook solutions.