Computably enumerable set
In computability theory, a set S of natural numbers is called computably enumerable , recursively enumerable , semidecidable, partially decidable, listable, provable or Turing-recognizable if:
- There is an algorithm such that the set of input numbers for which the algorithm halts is exactly S.
- There is an algorithm that enumerates the members of S. That means that its output is a list of all the members of S: s1, s2, s3,.... If S is infinite, this algorithm will run forever, but each element of S will be returned after a finite amount of time. Note that these elements do not have to be listed in a particular way, say from smallest to largest.
In computational complexity theory, the complexity class containing all computably enumerable sets is RE. In recursion theory, the lattice of c.e. sets under inclusion is denoted.
Definition
A set S of natural numbers is called computably enumerable if there is a partial computable function whose domain is exactly S, meaning that the function is defined if and only if its input is a member of S.Equivalent formulations
The following are all equivalent properties of a set S of natural numbers:;Semidecidability
;Enumerability
;Diophantine
The equivalence of semidecidability and enumerability can be obtained by the technique of dovetailing.
The Diophantine characterizations of a computably enumerable set, while not as straightforward or intuitive as the first definitions, were found by Yuri Matiyasevich as part of the negative solution to Hilbert's Tenth Problem. Diophantine sets predate recursion theory and are therefore historically the first way to describe these sets.
Examples
- Every computable set is computably enumerable, but it is not true that every computably enumerable set is computable. For computable sets, the algorithm must also say if an input is not in the set – this is not required of computably enumerable sets.
- A recursively enumerable language is a computably enumerable subset of a formal language.
- The set of all provable sentences in an effectively presented axiomatic system is a computably enumerable set.
- Matiyasevich's theorem states that every computably enumerable set is a Diophantine set.
- The simple sets are computably enumerable but not computable.
- The creative sets are computably enumerable but not computable.
- Any productive set is not computably enumerable.
- Given a Gödel numbering of the computable functions, the set is computably enumerable. This set encodes the halting problem as it describes the input parameters for which each Turing machine halts.
- Given a Gödel numbering of the computable functions, the set is computably enumerable. This set encodes the problem of deciding a function value.
- Given a partial function f from the natural numbers into the natural numbers, f is a partial computable function if and only if the graph of f, that is, the set of all pairs such that f is defined, is computably enumerable.
Properties
A set is called co-computably-enumerable or co-c.e. if its complement is computably enumerable. Equivalently, a set is co-r.e. if and only if it is at level of the arithmetical hierarchy. The complexity class of co-computably-enumerable sets is denoted co-RE.
A set A is computable if and only if both A and the complement of A are computably enumerable.
Some pairs of computably enumerable sets are effectively separable and some are not.
Remarks
According to the Church–Turing thesis, any effectively calculable function is calculable by a Turing machine, and thus a set S is computably enumerable if and only if there is some algorithm which yields an enumeration of S. This cannot be taken as a formal definition, however, because the Church–Turing thesis is an informal conjecture rather than a formal axiom.The definition of a computably enumerable set as the domain of a partial function, rather than the range of a total computable function, is common in contemporary texts. This choice is motivated by the fact that in generalized recursion theories, such as α-recursion theory, the definition corresponding to domains has been found to be more natural. Other texts use the definition in terms of enumerations, which is equivalent for computably enumerable sets.