The relation means that there is a total computable function such thatfor every word . Such a is a many-one reduction.
A set is -complete under many-one reductions whenThe first condition is membership in the class; the second is -hardness. This is a many-one complete set.
A set is a Sigma-1 set when it is the domain of a partial computable function: there is a partial computable such thatEquivalently, iff for some computable predicate ; one may take to say that the truncated computation function observes a halt within steps.
For an effective enumeration of the computably enumerable languages, the diagonal halting problem isEquivalently, if is the unary partial function coded by , thenThus is the diagonal halting set.
For hardness, let . Choose a partial computable function withFor each fixed , define a unary program as follows: on any input , simulate ; if that simulation halts, halt and output , and otherwise run forever. The S-m-n theorem gives a total computable function that maps to a code for . Its accepted language isIn particular,Thus is a many-one reduction . Since was arbitrary, is -hard; together with membership this proves the many-one completeness of the halting problem.
Membership is immediate from the supplied characterization of . Define the partial computable functionThenso .
Now let . There is a partial computable such thatFor each , define a unary partial functionOperationally, its program simulates and returns if that computation halts. By the S-m-n theorem, a total computable map produces an index for . ThereforeThus every Pi-2 set many-one reduces to . Combined with membership, this proves that the totality problem is -complete.
Articles by others on the same topic
There are currently no matching articles.