Recursively enumerable set

From Exampleproblems

Jump to: navigation, search

In computability theory, often less suggestively called recursion theory, a countable set S is called recursively enumerable, computably enumerable, semi-decidable or provable if

  • There is an algorithm that, when given an input — typically an integer or a tuple of integers or a sequence of characters — eventually halts if it is a member of S. Otherwise, there is no guarantee that the algorithm will halt.

Or, equivalently,

  • There is an algorithm that "generates" the members of S. That means that its output is simply a list of the members of S: s1, s2, s3, ... If necessary it runs forever.

The complexity class containing all recursively enumerable sets is RE.

Common-programming-sense should suggest how to convert either of these algorithms to the other, thus showing the equivalence of the existence of either with the existence of the other. The first condition suggests why the term semi-decidable is sometimes used; the second suggests why computably enumerable is used.

Contents

Definition

A countable set S is called recursively enumerable if there exists a partial computable function f such that S is the image of f:

img(f) = S

f is called enumerative function, because it associates to every element of S (the output), its rank (the input, a natural number) in the enumeration.

Alternatively a countable set S is called recursively enumerable if there exists a partial function computable function f such that

f(x) = 
\left\{\begin{matrix} 
0 &\mbox{if}\ x \in S \\
\mbox{undef/does not halt}\ &\mbox{if}\ x \notin S
\end{matrix}\right.

In other words if S is the domain of f:

dom(f) = S

A set S is called co-recursively enumerable or co-r.e. if the complement of S is recursively enumerable.

Remarks

Since the Church-Turing thesis states that computable functions are defined equivalently by Turing machines and other models of computation, we can state the definition as

A countable set S is called recursively enumerable if there exists a Turing machine that always halts when given an element of S as input, and that never halts when given an input that does not belong to S.

This is also a very common definition of recursively enumerable set.

Examples

Properties

If A and B are recursively enumerable sets then AB, AB and A × B are recursively enumerable sets. A set A is a recursive set iff both A and the complement of A are recursively enumerable sets. The preimage of a recursively enumerable set under a computable function is a recursively enumerable set.

See also

fr:Récursivement énumérable it:Insieme ricorsivamente enumerabile he:קבוצה ניתנת למנייה רקורסיבית

Argan Oil
Natural Skin Care
Organic Skin Care
visitor stats