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, 03.07.2019 14:10
When at a point two solid phase changes to one solid phase on cooling then it is known as a) eutectoid point b) eutectic point c) peritectic point d) peritectoid point
Answers: 3
question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
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, 18.01.2021 08:10
question
Arts, 18.01.2021 08:10
question
Business, 18.01.2021 08:10
question
Mathematics, 18.01.2021 08:10
question
History, 18.01.2021 08:10
question
Mathematics, 18.01.2021 08:10
question
Arts, 18.01.2021 08:10
question
Mathematics, 18.01.2021 08:10
Questions on the website: 13722360