{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $A \\subseteq \\N$ be a [[subset|0BJR9QR08E]] of the natural numbers.\nThe set $A$ is *computably enumerable*, or *recursively enumerable*, if $A$ is the domain of a partial [[computable function|KZSB5E471K]] $f \\colon \\N \\rightharpoonup \\N$.\nThat is, $A = \\set{n \\in \\N : f(n) \\text{ is defined}}$.\n\n## Remarks\n\nThe following conditions on $A \\subseteq \\N$ are equivalent.\n\n1. $A$ is computably enumerable.\n2. $A$ is empty or the range of a total computable function $\\N \\to \\N$.\n3. There is a computable set $R \\subseteq \\N^2$ such that $A = \\set{n : \\exists m \\, (n, m) \\in R}$.\n\nExample: the halting set $K = \\set{e : \\text{program } e \\text{ halts on input } e}$ is computably enumerable.\nIt is the domain of the partial computable function that, on input $e$, runs program $e$ on input $e$ and then outputs $0$.\n\nNon-example: the complement $\\N \\setminus K$ is not computably enumerable.\nOtherwise $K$ and its complement would both be computably enumerable, and then $K$ would be [[computable|PPGD5KW8JC]], which is false.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "TN9G24VABN",
    "kind": "definition",
    "msc": [
      "03D25"
    ],
    "name": "Computably enumerable set",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Computably_enumerable_set"
      }
    ],
    "tag": "MWSD85BB4X",
    "uses": [
      "KZSB5E471K",
      "0BJR9QR08E"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/MWSD85BB4X/",
  "links": [
    {
      "field": "defines",
      "target": "TN9G24VABN"
    },
    {
      "field": "uses",
      "target": "KZSB5E471K"
    },
    {
      "field": "uses",
      "target": "0BJR9QR08E"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/MWSD85BB4X.md",
  "msc": [
    "03D25"
  ],
  "name": "Computably enumerable set",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MWS/MWSD85BB4X.md",
  "status": null,
  "tag": "MWSD85BB4X",
  "uri": "m2://MWSD85BB4X",
  "url": "https://math2.tamnd.com/wiki/computably-enumerable-set-definition/",
  "writing": {
    "tag": "MWSD85BB4X",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
