Acoordind to paragraph shown, how decider D uses H as a subroutine and how it is behaving the opposite ?
It would be very useful if someone clarify this ?
Acoordind to paragraph shown, how decider D uses H as a subroutine and how it is behaving the opposite ?
It would be very useful if someone clarify this ?
Turing machine is said to accept the input, if it ends in the accepting state(s) given that input. It rejects, if it ends in any other state.
So, if we have a machine H
that takes input <M, <M>>
, we then can enhance it, by adding new starting point, taking as input <M>
, constructing <M, <M>>
and then feeding this to the rest of the H
. This new machine H*
will be same as H
, but with different input. If we now switch accepting and rejecting states we will have machine, that takes as input <M>
and returns result opposite to H
, which coinsidentally is D
.