{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $T$ be a [[theory|92SWXST1ZM]] in the language of arithmetic that contains the [[Peano axioms|0QFT7Z76N5]] and whose set of axioms is [[computably enumerable|TN9G24VABN]].\nLet $\\mathrm{Prov}_T(x)$ be the standard provability predicate of $T$ for a [[Gödel numbering|MFJXPAF0R0]].\nFor every [[sentence|DKFGQTRYZE]] $\\varphi$, if $T \\vdash \\mathrm{Prov}_T(\\ulcorner \\varphi \\urcorner) \\to \\varphi$, then $T \\vdash \\varphi$.\n\n## Remarks\n\nProof idea: by the [[diagonal lemma|3PRW76471J]] there is $\\psi$ with $T \\vdash \\psi \\leftrightarrow (\\mathrm{Prov}_T(\\ulcorner \\psi \\urcorner) \\to \\varphi)$.\nThe derivability conditions of $\\mathrm{Prov}_T$, which $T$ proves, give $T \\vdash \\mathrm{Prov}_T(\\ulcorner \\psi \\urcorner) \\to \\mathrm{Prov}_T(\\ulcorner \\varphi \\urcorner)$.\nWith the hypothesis this yields $T \\vdash \\mathrm{Prov}_T(\\ulcorner \\psi \\urcorner) \\to \\varphi$, hence $T \\vdash \\psi$, hence $T \\vdash \\mathrm{Prov}_T(\\ulcorner \\psi \\urcorner)$, and finally $T \\vdash \\varphi$.\n\nExample: take $\\varphi$ to be $0 = S0$.\nIf $T$ proved $\\mathrm{Con}(T)$, that is, $\\neg \\mathrm{Prov}_T(\\ulcorner 0 = S0 \\urcorner)$, then $T$ would prove $\\mathrm{Prov}_T(\\ulcorner 0 = S0 \\urcorner) \\to 0 = S0$, and so $T \\vdash 0 = S0$.\nSo a consistent $T$ does not prove its own consistency, which is the second of [[Gödel's incompleteness theorems|X9WYNYE29C]].\nAnother consequence: the sentence that says \"I am provable\" is provable, which answers a question of Henkin.\n\n## Explanations\n\n### L1 human\n\nA theory can never prove \"if I prove $\\varphi$, then $\\varphi$ is true\" unless it already proves $\\varphi$ itself.\nSo a theory cannot vouch for its own soundness, even one sentence at a time.\n\n### L2 human\n\nLöb's theorem generalizes the second incompleteness theorem, as the example shows.\nIts formalized version, $\\square(\\square p \\to p) \\to \\square p$, is the characteristic axiom of the modal [[provability logic|WJK0YA4GP2]] $\\mathsf{GL}$, read with $\\square$ as \"it is provable in $T$ that\".\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "about": [
      "MFJXPAF0R0"
    ],
    "kind": "statement",
    "msc": [
      "03F40",
      "03F45"
    ],
    "name": "Löb's theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q204884",
      "wikipedia": "Löb's theorem"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Löb's_theorem"
      }
    ],
    "tag": "3HD30YG3DG",
    "uses": [
      "0QFT7Z76N5",
      "MFJXPAF0R0",
      "DKFGQTRYZE",
      "92SWXST1ZM",
      "TN9G24VABN"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/3HD30YG3DG/",
  "links": [
    {
      "field": "about",
      "target": "MFJXPAF0R0"
    },
    {
      "field": "uses",
      "target": "0QFT7Z76N5"
    },
    {
      "field": "uses",
      "target": "MFJXPAF0R0"
    },
    {
      "field": "uses",
      "target": "DKFGQTRYZE"
    },
    {
      "field": "uses",
      "target": "92SWXST1ZM"
    },
    {
      "field": "uses",
      "target": "TN9G24VABN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/3HD30YG3DG.md",
  "msc": [
    "03F40",
    "03F45"
  ],
  "name": "Löb's theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/3HD/3HD30YG3DG.md",
  "status": null,
  "tag": "3HD30YG3DG",
  "uri": "m2://3HD30YG3DG",
  "url": "https://math2.tamnd.com/wiki/lobs-theorem/",
  "writing": {
    "tag": "3HD30YG3DG",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
