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 freeUse the result of Problem 6.21 to give a function f that is computable with an oracle for ATM, where for each n,f(n) is an incompressible string of length n.
If is a set withelements, how many elements are in the power set of ? Explain your answer.
Myhill–Nerode theorem. Refer to Problem . Let L be a language and let X be a set of strings. Say that X is pairwise distinguishable by L if every two distinct strings in X are distinguishable by L. Define the index of L to be the maximum number of elements in any set that is pair wise distinguishable by L . The index of L may be finite or infinite.
a. Show that if L is recognized by a DFA with k states, L has index at most k.
b. Show that if the index of L is a finite number K , it is recognized by a DFA with k states.
c. Conclude that L is regular iff it has finite index. Moreover, its index is the size of the smallest DFA recognizing it.
LetAbe the setandbe the set.
A two-dimensional finite automaton (2DIM-DFA) is defined as follows. The input is an rectangle, for any m,n. The squares along the boundary of the rectangle contain the symbol # and the internal squares contain symbols over the input alphabet . The transition function indicates the next state and the new head position (Left, Right, Up, Down). The machine accepts when it enters one of the designated accept states. It rejects if it tries to move off the input rectangle or if it never halts. Two such machines are equivalent if they accept the same rectangles. Consider the problem of determining whether two of these machines are equivalent. Formulate this problem as a language and show that it is undecidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.