{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "18DPY9J8YP"
    }
  ],
  "body": "\n## Description\n\nFix an encoding $\\langle M, w \\rangle$ of a [[Turing machine|758EYCN27B]] $M$ together with an input word $w$ as a single word.\nA *universal Turing machine* is a Turing machine $U$ with the following property for every machine $M$ and every input $w$.\nThe machine $U$ halts on $\\langle M, w \\rangle$ if and only if $M$ halts on $w$, and then $U$ produces the same output as $M$.\nAlan Turing described such a machine in his paper of 1936.\n\n## Remarks\n\nThe machine $U$ keeps the description of $M$ on its tape, and the current tape and state of $M$ beside it.\nAt each step it looks up the matching rule of $M$ in the description and updates the simulated configuration.\nIn terms of [[computable functions|KZSB5E471K]], it computes the universal function $(e, x) \\mapsto \\varphi_e(x)$, which is itself partial computable.\nUniversal machines are the theoretical model of the stored-program computer: one fixed machine runs any program given as data.\n\n## Explanations\n\n### L1 human\n\nA universal Turing machine is a single machine that can imitate every other Turing machine.\nYou give it, as input, the rule table of another machine and the input for that machine.\nIt then does whatever that machine would do, step by step.\nA modern computer running any program you load is the same idea.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "instance_of": [
      "758EYCN27B"
    ],
    "kind": "object",
    "msc": [
      "03D10",
      "68Q04"
    ],
    "name": "Universal Turing machine",
    "same_as": {
      "wikidata": "Q2703890",
      "wikipedia": "Universal Turing machine"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Universal_Turing_machine"
      }
    ],
    "tag": "TC69PEHAX7"
  },
  "kind": "object",
  "link": "https://math2.tamnd.com/node/TC69PEHAX7/",
  "links": [
    {
      "field": "instance_of",
      "target": "758EYCN27B"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/TC69PEHAX7.md",
  "msc": [
    "03D10",
    "68Q04"
  ],
  "name": "Universal Turing machine",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TC6/TC69PEHAX7.md",
  "status": null,
  "tag": "TC69PEHAX7",
  "uri": "m2://TC69PEHAX7",
  "url": "https://math2.tamnd.com/wiki/universal-turing-machine/",
  "writing": {
    "tag": "TC69PEHAX7",
    "kind": "object",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
