Computable set

Revision as of 23:17, 22 May 2025 by imported>David Eppstein (more specific short description)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description

In computability theory, a set of natural numbers is computable (or decidable or recursive) if there is an algorithm that computes the membership of every natural number in a finite number of steps. A set is noncomputable (or undecidable) if it is not computable.

DefinitionEdit

A subset <math>S</math> of the natural numbers is computable if there exists a total computable function <math>f</math> such that:

<math>f(x)=1</math> if <math>x\in S</math>
<math>f(x)=0</math> if <math>x\notin S</math>.

In other words, the set <math>S</math> is computable if and only if the indicator function <math>\mathbb{1}_{S}</math> is computable.

ExamplesEdit

  • Every recursive language is a computable.
  • Every finite or cofinite subset of the natural numbers is computable.
    • The empty set is computable.
    • The entire set of natural numbers is computable.
    • Every natural number is computable.<ref group="note" name="set-natural-number"/>
  • The subset of prime numbers is computable.
  • The set of Gödel numbers is computable.<ref group="note" name="Gödel-numbers"/>

Non-examplesEdit

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}

PropertiesEdit

Both A, B are sets in this section.

  • If A is computable then the complement of A is computable.
  • If A and B are computable then:

In general, the image of a computable set under a computable function is computably enumerable, but possibly not computable.

A is computable if and only if it is at level <math>\Delta^0_1</math> of the arithmetical hierarchy.

A is computable if and only if it is either the image (or range) of a nondecreasing total computable function, or the empty set.

See alsoEdit

NotesEdit

Template:Reflist

ReferencesEdit

Template:Reflist

BibliographyEdit

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

External linksEdit

  • {{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web

|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:RecursiveSet%7CRecursiveSet.html}} |title = Recursive Set |author = Sakharov, Alex |website = MathWorld |access-date = |ref = Template:SfnRef }}

Template:Mathematical logic Template:Set theory