Unsolvability of The Halting Problem
Assume that P is a Turing
machine that takes as input the encoding T* of a Turing
machine T and an input t for that Turing
machine and that solves the halting Problem. In particular, P
always halts and its outputs are:
|
0
|
if T does not halt on
input t
|
|
1
|
if T halts on input t.
|
|
halts
|
if T does not halt on
input t
|
|
fails to halt
|
if T halts on input t.
|
|
halts
|
if T does not halt
on input T*
|
|
fails to halts
|
if T halts on input
T*
|
What happens when S is given S* as input?
halts if S does not halt on input S* fails to halts if S halts on input S*
This table embodies a contradiction.
The whole proof is a variant on the old Liar's Paradox:
I am (always) a liar.
Is this statement true or false?
CS1104 Main Page
Last Updated 01/05/2000
© L.Heath, 2000