Question: Recall that HALT = { M , w : M halts on w } . Without loss of generality, we assume that the alphabet of

Recall that HALT ={M, w : M halts on w}. Without loss of generality, we
assume that the alphabet of HALT is \Sigma :={1,2,..., q 1} for some positive integer q. For each nonnegative
integer n in N, we define nq to be the base-q expansion of n, so nq in {0,1,..., q 1}
. Define
HALT-LENGTH ={x in {0,1}
: |x|q in HALT}.
(a) Prove that HALT-LENGTH in / P.Problem 2(10 points). Recall that HALT halts on w. Without loss of generality, we
assume that the alphabet of HALT is :={1,2,dots,q-1} for some positive integer q. For each nonnegative
integer ninN, we define (:n:)q to be the base-q expansion of n, so (:n:)qin{0,1,dots,q-1}**. Define
HALT-LENGTH ={xin{0,1}**:(:|x|:)qin HALT }.
(a) Prove that HALT-LENGTH !inP.
(b) Prove that HALT-LENGTH in PSIZE.
 Recall that HALT ={M, w : M halts on w}. Without

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!