PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
[parent] recursive set (Definition)

A subset $S$ of the natural numbers $\mathbb{N}$ is said to be recursive if its characteristic function

$\displaystyle \chi_S(x)$ $\displaystyle :=$ \begin{displaymath}\left\{ \begin{array}{ll} 1 & \mbox{ if } x\in S \ 0 & \mbox{ if } x\in \mathbb{N}-S \end{array}right.\end{displaymath}  

is recursive (computable). In other words, there is an algorithm (via Turing machine for example) that determines whether an element is in $S$ or not in $S$ .

More generally, a subset $S\subseteq \mathbb{N}^n$ is recursive if its characteristic function $f_S$ is recursive.

A recursive set is also known as a decidable set or a computable set.

Examples of recursive sets are finite subset of $\mathbb{N}$ , the set $\mathbb{N}$ itself, the set of even integers, the set of Fibonacci numbers, the set of pairs $(a,b)$ where $a$ divides $b$ , and the set of prime numbers. In the last example, one may use the Sieve of Eratosthenes as an algorithm to determine the primality of an integer.

A set $S\subseteq \mathbb{N}$ is recursively enumerable if the partial function

$\displaystyle f(x)$ $\displaystyle :=$ \begin{displaymath}\left\{ \begin{array}{ll} 1 & \mbox{ if } x\in S \ \mbox{undefined} & \mbox{ if } x\in \mathbb{N}-S \end{array}right.\end{displaymath}  

is computable. In other words, there is an algorithm that halts (and returns $1$ ) only when an element in $S$ is used as an input.

Remarks

  • A special case of a recursive set is that of a primitive recursive set. A set is primitive recursive if its characteristic function is primitive recursive. All of the examples cited above are primitive recursive.
  • On the other hand, one can broaden the scope of recursiveness to sets which are not necessarily subsets of $\mathbb{N}^n$ . Below are two examples:
    • Since $\mathbb{Z}$ can be effectively embedded in $\mathbb{N}$ , so the notion of recursive sets be extended to subsets of $\mathbb{Z}$ .
    • Since every finite set $\Sigma$ can be encoded by the natural numbers, we can define a recursive language over $\Sigma$ to be a subset $L\subseteq \Sigma^*$ such that $L$ , when encoded by the natural numbers, is a recursive set. Equivalently, $L$ is recursive iff there is a Turing machine that decides $L$ (accepts $L$ and rejects $\Sigma^*-L$ ).
  • Similarly, recursive enumerability can be defined on languages: a language $L$ over $\Sigma$ is recursively enumerable if its encoding by the natural numbers is a recursively enumerable set. This is equivalent to saying that $L$ is accepted by a Turing machine.
  • Using the above definition, one can define a recursive predicate or a recursively enumerable predicate $\varphi(x)$ according to whether $\lbrace x\mid \varphi(x)\rbrace$ is a recursive or recursively enumerable set respectively.




"recursive set" is owned by .
(view preamble | get metadata)

View style:

Other names:  decidable set, computable set, decidable predicate, computable predicate
Also defines:  recursively enumerable set, recursive predicate, recursively enumerable predicate, recursive language
Keywords:  decidable

This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: languages, decides, iff, finite set, scope, primitive recursive, primitive recursive set, partial function, recursively enumerable, integer, primality, sieve of Eratosthenes, prime numbers, divides, Fibonacci numbers, even integers, finite, element, Turing machine, algorithm, computable, characteristic function, natural numbers, subset
There are 7 references to this entry.

This is version 13 of recursive set, born on 2007-10-12, modified 2009-11-06.
Object id is 9993, canonical name is RecursiveSet.
Accessed 4815 times total.

Classification:
AMS MSC03D20 (Mathematical logic and foundations :: Computability and recursion theory :: Recursive functions and relations, subrecursive hierarchies)
 03B25 (Mathematical logic and foundations :: General logic :: Decidability of theories and sets of sentences)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)