HOME

TheInfoList



OR:

In
computability theory Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has since e ...
, a set of natural numbers is called computable, recursive, or decidable if there is an algorithm which takes a number as input, terminates after a finite amount of time (possibly depending on the given number) and correctly decides whether the number belongs to the set or not. A set which is not computable is called noncomputable or undecidable. A more general class of sets than the computable ones consists of the computably enumerable (c.e.) sets, also called semidecidable sets. For these sets, it is only required that there is an algorithm that correctly decides when a number ''is'' in the set; the algorithm may give no answer (but not the wrong answer) for numbers not in the set.


Formal definition

A subset S of the natural numbers is called computable if there exists a
total Total may refer to: Mathematics * Total, the summation of a set of numbers * Total order, a partial order without incomparable pairs * Total relation, which may also mean ** connected relation (a binary relation in which any two elements are comp ...
computable function f such that f(x)=1 if x\in S and f(x)=0 if x\notin S. In other words, the set S is computable if and only if the
indicator function In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , one has \mathbf_(x)=1 if x\i ...
\mathbb_ is computable.


Examples and non-examples

Examples: *Every finite or cofinite subset of the natural numbers is computable. This includes these special cases: **The
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in other ...
is computable. **The entire set of natural numbers is computable. **Each natural number ( as defined in standard set theory) is computable; that is, the set of natural numbers less than a given natural number is computable. *The subset of prime numbers is computable. *A recursive language is a computable subset of a formal language. *The set of Gödel numbers of arithmetic proofs described in Kurt Gödel's paper "On formally undecidable propositions of Principia Mathematica and related systems I" is computable; see
Gödel's incompleteness theorems Gödel's incompleteness theorems are two theorems of mathematical logic Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research i ...
. Non-examples: *The set of Turing machines that halt is not computable. *The isomorphism class of two finite simplicial complexes is not computable. *The set of busy beaver champions is not computable. * Hilbert's tenth problem is not computable.


Properties

If ''A'' is a computable set then the complement of ''A'' is a computable set. If ''A'' and ''B'' are computable sets then ''A'' ∩ ''B'', ''A'' ∪ ''B'' and the image of ''A'' × ''B'' under the Cantor pairing function are computable sets. ''A'' is a computable set if and only if ''A'' and the complement of ''A'' are both computably enumerable (c.e.). The
preimage In mathematics, the image of a function is the set of all output values it may produce. More generally, evaluating a given function f at each element of a given subset A of its domain produces a set, called the "image of A under (or through) ...
of a computable set under a
total Total may refer to: Mathematics * Total, the summation of a set of numbers * Total order, a partial order without incomparable pairs * Total relation, which may also mean ** connected relation (a binary relation in which any two elements are comp ...
computable function is a computable set. The image of a computable set under a total computable
bijection In mathematics, a bijection, also known as a bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other s ...
is computable. (In general, the image of a computable set under a computable function is c.e., but possibly not computable). A is a computable set if and only if it is at level \Delta^0_1 of the arithmetical hierarchy. A is a computable set if and only if it is either the range of a nondecreasing total computable function, or the empty set. The image of a computable set under a nondecreasing total computable function is computable.


See also

* Recursively enumerable language * Recursive language * Recursion


References

*Cutland, N. ''Computability.'' Cambridge University Press, Cambridge-New York, 1980. ; *Rogers, H. ''The Theory of Recursive Functions and Effective Computability'', MIT Press. ; *Soare, R. ''Recursively enumerable sets and degrees.'' Perspectives in Mathematical Logic. Springer-Verlag, Berlin, 1987.


External links

* {{Set theory Computability theory Theory of computation