subject
Engineering, 08.11.2019 00:31 asiababbie33

Let even ={〈m, x〉 |m is a turing machine that runs on input x for an even number of steps}. of course, a turing machine running for infinitely many steps neither runs for an odd nor an even number of steps. we want to show that even is undecidable by a proof from scratch (i. e., by diagonalization not by a reduction). first we assume even is decidable, i. e., there is a tm h that accepts〈m, x〉if m is a turing machine that runs on input x for an even number of steps, and rejects otherwise. we want to do the diagonalization in two stages.

(a) first, describe a tm d(based on the supposedly existing tm h) accepting〈m〉if and only if m is a turing machine that runs on input〈m〉for an even number of steps. otherwise d rejects. note that you may assume the correctness of the church-turing thesis, i. e., instead of describing a turing machine in detail, you can just describe an algorithm in pseudo–code.

(b) now define a tm d from d that runs on〈m〉for an odd number of steps if d accepts 〈m〉. otherwise d runs for an even number of steps.

(c) how does the existence of this produce a contradiction?

(d) what does the contradiction prove?

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:10
Courses that are developed by subject matter experts, internal or extemal to the college or university. these programs are marketed by the school (clo2) marks a)-vocational schools b)-vendor training c)-colleges & universities d)-continuing education programs
Answers: 2
question
Engineering, 04.07.2019 19:10
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
question
Engineering, 04.07.2019 19:20
Acircular pipe of 30mm outside diameter is placed in an airstream at 30 c and latm pressure. the air moves in cross flow over the pipe at 20 m/s, while the outer surface of the pipe is maintained at 110 c. what is the drag force exerted on the pipe per unit length? what is the rate of heat transfer from the pipe per unit length?
Answers: 1
You know the right answer?
Let even ={〈m, x〉 |m is a turing machine that runs on input x for an even number of steps}. of cours...
Questions
question
Mathematics, 06.05.2020 21:05
question
Computers and Technology, 06.05.2020 21:05
Questions on the website: 13722360