{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "4DQGSSWREK"
    },
    {
      "field": "uses",
      "target": "FWRJV1ZABC"
    }
  ],
  "body": "\n## Summary\n\nThe general recursive functions, also called $\\mu$-recursive functions, are the functions on the natural numbers obtained from the [[primitive recursive functions|5NVA2JRHPV]] by adding unbounded search.\nThe search operator $\\mu$ returns the least number at which a given function takes the value $0$, and may run forever.\nSo the class contains partial functions, and the total ones among them are exactly the total [[computable functions|KZSB5E471K]].\nThis class was one of the first precise definitions of computability, and it agrees with computability by [[Turing machines|758EYCN27B]].\n\n## Explanations\n\n### L1 human\n\nPrimitive recursion is like a for-loop: the number of steps is known before the loop starts.\nUnbounded search is like a while-loop: keep trying $y = 0, 1, 2, \\ldots$ until a condition holds.\nA while-loop may never stop, and then the function has no value at that input.\nFor example, searching for the least $y$ with $y^2 \\ge x$ always stops and gives the rounded-up square root of $x$.\nAdding this one tool to bounded loops gives every computable function.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "03D20"
    ],
    "name": "General recursive function",
    "same_as": {
      "wikidata": "Q284164",
      "wikipedia": "General recursive function"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/General_recursive_function"
      }
    ],
    "tag": "HBK5QHC1GC"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/HBK5QHC1GC/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/HBK5QHC1GC.md",
  "msc": [
    "03D20"
  ],
  "name": "General recursive function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/HBK/HBK5QHC1GC.md",
  "status": null,
  "tag": "HBK5QHC1GC",
  "uri": "m2://HBK5QHC1GC",
  "url": "https://math2.tamnd.com/wiki/general-recursive-function/",
  "writing": {
    "tag": "HBK5QHC1GC",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
