Tuesday, 24 January 2012

computer science - Constructing hard inputs for the complement of bounded halting

No, such langleN,xrangle is not constructible at all given only a description of M, even if you remove the requirement of polynomial time.



Suppose that CONSTRUCT is such a deterministic turing machine outputting langleN,xrangle. Note that by your requirement, N must never halt on input x, no matter how much time N is allowed to run.



Let M be your favorite deterministic turing machine accepting textcoBHP. Write a new machine M as follows:



InputlangleN,x,1trangle
let
langleN,xrangle=CONSTRUCT(M)
if
N=Nandx=xthen output 1; that is, letM(langleN,x,1trangle)=1
else, let
y=M(langleN,x,1trangle)
output
y; that is, letM(langleN,x,1trangle)=y



That is, M uses Kleene's recursion theorem to construct a hard input for itself and uses the fact that CONSTRUCT outputs never-halting machines to make that 'hard' input very easy (actually, now bounded by a constant), which is a contradiction. Therefore, CONSTRUCT cannot exist.

No comments:

Post a Comment