In lecture we have concluded our discussion on computability and with it have moved into the realm of problems that are always decidable. This assignment touches on a number of the bits we saw during the exploration of the computability theory with a focus on some of the main theorems that tied everything together. Many-one reductions were a big part of our discussion and enabled us to show that many of the problems we were studying that asked about the behavior of a TM algorithm were undecdiable problems [of varying degrees].
Problem 1. Complete the TopHat worksheet
2 Consider the following algorithm describing the TM M1:
Input: hDi, the encoding of a DFA D.
- Simulate D on input .
- if(D accepts input )
- Accept hDi.
- else
- Reject hDi.
Using M1, prove that L1 = {hDi | hDi is the encoding of a DFAis Turing decidable.
Problem 3.
Prove the following theorem:
If language L is undecidable and Turing recognizable, then L 6m L.
Problem 4.
Recall the following decision problem ALLTM:
ALLTM:
INSTANCE: hMi, the encoding of a Turing machine.
QUESTION: Is L(M) = ? (i.e., does M accept every input?)
Consider the function: f1(hM,wi) = hAoNM,wi
where AoNM,w is the All-or-Nothing machine as defined in lecture. Prove that ATM m ALLTM via this function f1. Conclude that ALLTM is undecidable.
Reviews
There are no reviews yet.