Kleene normal form theorem
ID: kleene-normal-form-theorem
For every partial computable function , there are total primitive recursive functions such thatHere is zero exactly on codes of valid halting computation histories for the chosen program and input, and extracts the final output. Coding finite configurations and finite histories makes checking every local step a bounded primitive recursive operation. If a computation halts, some history code passes and every passing code has the same output; if it does not halt, none passes. This is the usual normal-form version with the program index fixed; a universal predicate can also retain that index as an input.
New to topics? Read the docs here!