Chapter 0: Q20E (page 1)
For each of the following languages, give two strings that are members and two strings that are not members—a total of four strings for each part. Assume the alpha-alphabet in all parts.
Short Answer
The solution is,
Chapter 0: Q20E (page 1)
For each of the following languages, give two strings that are members and two strings that are not members—a total of four strings for each part. Assume the alpha-alphabet in all parts.
The solution is,
All the tools & learning materials you need for study success - in one app.
Get started for freea). Let C be a context-free language and R be a regular language. Prove that the languageis context free.
b). Let A= { contains equal numbers of }. Use part to show that A is not a CFL
Show that the set of incompressible strings contains no infinite subset that is Turing-recognizable.
LetAbe the setandbe the set.
For each let Ƶm = {0, 1, 2, . . . , m − 1}, and let = (Ƶm, +, ×) be the model whose universe is Ƶm and that has relations corresponding to the + and × relations computed modulo m. Show that for each m, the theory Th is decidable.
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.
What do you think about this solution?
We value your feedback to improve our textbook solutions.