Let us rewrite the statement as:
We need to prove that LTM is undecidable.
Let us assume that LTM is decidable. If that so, then there must be a Turing Machine R that will decide LTM . We will use ATM and reduced it to R. Now, using R to construct Turing Machine M' that can decide ATM .
M' = on input (M, w)
- On input x
Run on w.
If accepts w, then accept if
- If accepts, means
Else
Means
In order to decide ATM, we will construct Turing Machine M' such that:
M' = on input (M,w)
- Run on input (M)
If accepts (M') then accepts.
Else
Reject
Now, we know that ATM is undecidable, so R cannot decide it. This means R cannot exist.
Hence, LTM is undecidable.