Assigned: | Tuesday, October 4 |
Due: | Thursday, October 6 at the beginning of class |
Exercises are from Sipser, third edition, beginning on page 154 (for Chapter 2) and 187 (for Chapter 3). Exercise 4.20 is on page 212.
4.20.
Hints. A language is co-Turing-recognizable if its
complement is Turing-recognizable (partially computable).
Suppose that A and B are disjoint co-Turing recognizable
languages. So A and
B are Turing-recognizable.
You would do well to draw a Venn diagram of sets A, B and C.
If A and B are disjoint, what can you say about set A ∪ B?
If a problem is Turing-recognizable, you can assume that you have a recognizer for it. Remember that a recognizer for L stops and answers yes on all inputs that belong to L (but might not stop at all on inputs that do not belong to L).
Produce the set C by writing a program that decides it. (The program serves as C's definition.) The program can run the recognizers for A and B. How can your decider be sure that it says yes on every input that is in A and says no on every input that is in B?