numbering turing programs
since each turing program is a finite set of quintuples, we can list all turing programs in such a way that for any program we can effectively find its number on the list, and conversely. using godel numbering.
this is called the standard numbering or canonical numbering of turing program and partial computable functions. any other effective numbering will be computably isomorphic to this one.- let
be the turing program with code number
in this coding, also called the godel number or index
.
- let
be the partial function of
variables computed by
. let
denote
. we call
a partial computable function. we identify the turing program
and p.c. function
with index
.
the second method uses the standard pairing function and has the added advantage that the
[cite:;taken from @computability_soare_2016 chapter 1 defining computability]