In
mathematics,
theoretical computer science and
mathematical logic, the 'computable numbers', also known as the 'recursive numbers' or the 'computable reals', are the
real numbers that can be computed to within any desired precision by a finite, terminating
algorithm. Equivalent definitions can be given using
μ-recursive functions,
Turing machines or
λ-calculus as the formal representation of algorithms. The computable numbers form a
real closed field and can be used in the place of real numbers for many, but not all, mathematical purposes.
Formal definition
A
real number ''a'' is said to be 'computable' if it can be approximated by some
computable function in the following manner: given any
integer , the function produces an integer ''k'' such that:
:
There are two similar definitions that are equivalent:
★ There exists a computable function which, given any positive rational error bound
, produces a
rational number ''r'' such that
★ There is a computable sequence of rational numbers
converging to
such that
for each ''i''.
There is another equivalent definition of computable numbers via computable
Dedekind cuts. A 'computable Dedekind cut' is a computable function
which when provided with a rational number
as input returns
or
, satisfying the following conditions:
:
:
: