内容导读I think you can divide the proof of Gödel's incompleteness theorems into the interesting part and the boring part. The interesting part is the construction of the Gödel sentence in Peano arithmetic. I mean conceptually interesting, because as tedious as the construction gets, it expresses Gödel's great insights: that number theory can express its own rules, and that sentences can implicitly refer to themselves. From there, the incompleteness theorems themselves are a logical exercise. I think logical exercises are fun, but I call this the boring part anyway because there's nothing new conceptually. With modal logic, you can make the conceptually boring part completely mechanical. There's a decision procedure for whether a sentence is a theorem, and doing it on paper feels as mindless as long division. Don't imagine step-by-step proof, which has an element of creativity. It's in the same spirit as making a truth table: algorithmic, and based on the semantics of the logic. For a more concrete image, you can see my previous post on tableaux . I can't teach you how to do modal logic in a post, but I want to show you what modal logic can do. I'll show you which metamathematical arguments can be formalized in modal logic, and thus mechanized. The modal logic for a provability predicate We'll write the provability predicate of mjx-container[jax="CHTML"] { line-height: 0; } mjx-container [space="1"] { margin-left: .111em; } mjx-container [space="2"] { margin-left: .167em; } mjx-container [space="3"] { margin-left: .222em; } mjx-container [space="4"] { margin-left: .278em; } mjx-container [space="5"] { margin-left: .333em; } mjx-container [rspace="1"] { margin-right: .111em; } mjx-container [rspace="2"] { margin-right: .167em; } mjx-container [rspace="3"] { margin-right: .222em; } mjx-container [rspace="4"] { margin-right: .278em; } mjx-container [rspace="5"] { margin-right: .333em; } mjx-container [size="s"] { font-size: 70.7%; } mjx-container [size="ss"] { font-size: 50%; } mjx-container [size="Tn"] { font-size: 60%; } mjx-container [size="sm"] { font-size: 85%; } mjx-container [size="lg"] { font-size: 120%; } mjx-container [size="Lg"] { font-size: 144%; } mjx-container [size="LG"] { font-size: 173%; } mjx-container [size="hg"] { font-size: 207%; } mjx-container [size="HG"] { font-size: 249%; } mjx-container [width="full"] { width: 100%; } mjx-box { display: inline-block; } mjx-block { display: block; } mjx-itable { display: inline-table; } mjx-row { display: table-row; } mjx-row > * { display: table-cell; } mjx-mtext { display: inline-block; } mjx-mstyle { display: inline-block; } mjx-merror { display: inline-block; color: red; background-color: yellow; } mjx-mphantom { visibility: hidden; } _::-webkit-full-page-media, _:future, :root mjx-container { will-change: opacity; } mjx-math { display: inline-block; text-align: left; line-height: 0; text-indent: 0; font-style: normal; font-weight: normal; font-size: 100%; font-size-adjust: none; letter-spacing: normal; border-collapse: collapse; word-wrap: normal; word-spacing: normal; white-space: nowrap; direction: ltr; padding: 1px 0; } mjx-container[jax="CHTML"][display="true"] { display: block; text-align: center; margin: 1em 0; } mjx-container[jax="CHTML"][display="true"][width="full"] { display: flex; } mjx-container[jax="CHTML"][display="true"] mjx-math { padding: 0; } mjx-container[jax="CHTML"][justify="left"] { text-align: left; } mjx-container[jax="CHTML"][justify="right"] { text-align: right; } mjx-TeXAtom { display: inline-block; text-align: left; } mjx-mi { display: inline-block; text-align: left; } mjx-c { display: inline-block; } mjx-utext { display: inline-block; padding: .75em 0 .2em 0; } mjx-mo { display: inline-block; text-align: left; } mjx-stretchy-h { display: inline-table; width: 100%; } mjx-stretchy-h > * { display: table-cell; width: 0; } mjx-stretchy-h > * > mjx-c { display: inline-block; transform: scalex(1.0000001); } mjx-stretchy-h > * > mjx-c::before { display: inline-block; width: initial; } mjx-stretchy-h > mjx-ext { /* IE */ overflow: hidden; /* others */ overflow: clip visible; width: 100%; } mjx-stretchy-h > mjx-ext > mjx-c::before { transform: scalex(500); } mjx-stretchy-h > mjx-ext > mjx-c { width: 0; } mjx-stretchy-h > mjx-beg > mjx-c { margin-right: -.1em; } mjx-stretchy-h > mjx-end > mjx-c { margin-left: -.1em; } mjx-stretchy-v { display: inline-block; } mjx-stretchy-v > * { display: block; } mjx-stretchy-v > mjx-beg { height: 0; } mjx-stretchy-v > mjx-end > mjx-c { display: block; } mjx-stretchy-v > * > mjx-c { transform: scaley(1.0000001); transform-origin: left center; overflow: hidden; } mjx-stretchy-v > mjx-ext { display: block; height: 100%; box-sizing: border-box; border: 0px solid transparent; /* IE */ overflow: hidden; /* others */ overflow: visible clip; } mjx-stretchy-v > mjx-ext > mjx-c::before { width: initial; box-sizing: border-box; } mjx-stretchy-v > mjx-ext > mjx-c { transform: scaleY(500) translateY(.075em); overflow: visible; } mjx-mark { display: inline-block; height: 0px; } mjx-mn { display: inline-block; text-align: left; } mjx-mfrac { display: inline-block; text-align: left; } mjx-frac { display: inline-block; vertical-align: 0.17em; padding: 0 .22em; } mjx-frac[type="d"] { vertical-align: .04em; } mjx-frac[delims] { padding: 0 .1em; } mjx-frac[atop] { padding: 0 .12em; } mjx-frac[atop][delims] { padding: 0; } mjx-dtable { display: inline-table; width: 100%; } mjx-dtable > * { font-size: 2000%; } mjx-dbox { display: block; font-size: 5%; } mjx-num { display: block; text-align: center; } mjx-den { display: block; text-align: center; } mjx-mfrac[bevelled] > mjx-num { display: inline-block; } mjx-mfrac[bevelled] > mjx-den { display: inline-block; } mjx-den[align="right"], mjx-num[align="right"] { text-align: right; } mjx-den[align="left"], mjx-num[align="left"] { text-align: left; } mjx-nstrut { display: inline-block; height: .054em; width: 0; vertical-align: -.054em; } mjx-nstrut[type="d"] { height: .217em; vertical-align: -.217em; } mjx-dstrut { display: inline-block; height: .505em; width: 0; } mjx-dstrut[type="d"] { height: .726em; } mjx-line { display: block; box-sizing: border-box; min-height: 1px; height: .06em; border-top: .06em solid; margin: .06em -.1em; overflow: hidden; } mjx-line[type="d"] { margin: .18em -.1em; } mjx-mtable { display: inline-block; text-align: center; vertical-align: .25em; position: relative; box-sizing: border-box; border-spacing: 0; border-collapse: collapse; } mjx-mstyle[size="s"] mjx-mtable { vertical-align: .354em; } mjx-labels { position: absolute; left: 0; top: 0; } mjx-table { display: inline-block; vertical-align: -.5ex; box-sizing: border-box; } mjx-table > mjx-itable { vertical-align: middle; text-align: left; box-sizing: border-box; } mjx-labels > mjx-itable { position: absolute; top: 0; } mjx-mtable[justify="left"] { text-align: left; } mjx-mtable[justify="right"] { text-align: right; } mjx-mtable[justify="left"][side="left"] { padding-right: 0 ! important; } mjx-mtable[justify="left"][side="right"] { padding-left: 0 ! important; } mjx-mtable[justify="right"][side="left"] { padding-right: 0 ! important; } mjx-mtable[justify="right"][side="right"] { padding-left: 0 ! important; } mjx-mtable[align] { vertical-align: baseline; } mjx-mtable[align="top"] > mjx-table { vertical-align: top; } mjx-mtable[align="bottom"] > mjx-table { vertical-align: bottom; } mjx-mtable[side="right"] mjx-labels { min-width: 100%; } mjx-mtr { display: table-row; text-align: left; } mjx-mtr[rowalign="top"] > mjx-mtd { vertical-align: top; } mjx-mtr[rowalign="center"] > mjx-mtd { vertical-align: middle; } mjx-mtr[rowalign="bottom"] > mjx-mtd { vertical-align: bottom; } mjx-mtr[rowalign="baseline"] > mjx-mtd { vertical-align: baseline; } mjx-mtr[rowalign="axis"] > mjx-mtd { vertical-align: .25em; } mjx-mtd { display: table-cell; text-align: center; padding: .215em .4em; } mjx-mtd:first-child { padding-left: 0; } mjx-mtd:last-child { padding-right: 0; } mjx-mtable > * > mjx-itable > *:first-child > mjx-mtd { padding-top: 0; } mjx-mtable > * > mjx-itable > *:last-child > mjx-mtd { padding-bottom: 0; } mjx-tstrut { display: inline-block; height: 1em; vertical-align: -.25em; } mjx-labels[align="left"] > mjx-mtr > mjx-mtd { text-align: left; } mjx-labels[align="right"] > mjx-mtr > mjx-mtd { text-align: right; } mjx-mtd[extra] { padding: 0; } mjx-mtd[rowalign="top"] { vertical-align: top; } mjx-mtd[rowalign="center"] { vertical-align: middle; } mjx-mtd[rowalign="bottom"] { vertical-align: bottom; } mjx-mtd[rowalign="baseline"] { vertical-align: baseline; } mjx-mtd[rowalign="axis"] { vertical-align: .25em; } mjx-msub { display: inline-block; text-align: left; } mjx-mrow { display: inline-block; text-align: left; } mjx-c::before { display: block; width: 0; } .MJX-TEX { font-family: MJXZERO, MJXTEX; } .TEX-B { font-family: MJXZERO, MJXTEX-B; } .TEX-I { font-family: MJXZERO, MJXTEX-I; } .TEX-MI { font-family: MJXZERO, MJXTEX-MI; } .TEX-BI { font-family: MJXZERO, MJXTEX-BI; } .TEX-S1 { font-family: MJXZERO, MJXTEX-S1; } .TEX-S2 { font-family: MJXZERO, MJXTEX-S2; } .TEX-S3 { font-family: MJXZERO, MJXTEX-S3; } .TEX-S4 { font-family: MJXZERO, MJXTEX-S4; } .TEX-A { font-family: MJXZERO, MJXTEX-A; } .TEX-C { font-family: MJXZERO, MJXTEX-C; } .TEX-CB { font-family: MJXZERO, MJXTEX-CB; } .TEX-FR { font-family: MJXZERO, MJXTEX-FR; } .TEX-FRB { font-family: MJXZERO, MJXTEX-FRB; } .TEX-SS { font-family: MJXZERO, MJXTEX-SS; } .TEX-SSB { font-family: MJXZERO, MJXTEX-SSB; } .TEX-SSI { font-family: MJXZERO, MJXTEX-SSI; } .TEX-SC { font-family: MJXZERO, MJXTEX-SC; } .TEX-T { font-family: MJXZERO, MJXTEX-T; } .TEX-V { font-family: MJXZERO, MJXTEX-V; } .TEX-VB { font-family: MJXZERO, MJXTEX-VB; } mjx-stretchy-v mjx-c, mjx-stretchy-h mjx-c { font-family: MJXZERO, MJXTEX-S1, MJXTEX-S4, MJXTEX, MJXTEX-A ! important; } @font-face /* 0 */ { font-family: MJXZERO; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff") format("woff"); } @font-face /* 1 */ { font-family: MJXTEX; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff") format("woff"); } @font-face /* 2 */ { font-family: MJXTEX-B; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff") format("woff"); } @font-face /* 3 */ { font-family: MJXTEX-I; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff") format("woff"); } @font-face /* 4 */ { font-family: MJXTEX-MI; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff") format("woff"); } @font-face /* 5 */ { font-family: MJXTEX-BI; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff") format("woff"); } @font-face /* 6 */ { font-family: MJXTEX-S1; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff") format("woff"); } @font-face /* 7 */ { font-family: MJXTEX-S2; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff") format("woff"); } @font-face /* 8 */ { font-family: MJXTEX-S3; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff") format("woff"); } @font-face /* 9 */ { font-family: MJXTEX-S4; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff") format("woff"); } @font-face /* 10 */ { font-family: MJXTEX-A; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff") format("woff"); } @font-face /* 11 */ { font-family: MJXTEX-C; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff") format("woff"); } @font-face /* 12 */ { font-family: MJXTEX-CB; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff") format("woff"); } @font-face /* 13 */ { font-family: MJXTEX-FR; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff") format("woff"); } @font-face /* 14 */ { font-family: MJXTEX-FRB; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff") format("woff"); } @font-face /* 15 */ { font-family: MJXTEX-SS; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff") format("woff"); } @font-face /* 16 */ { font-family: MJXTEX-SSB; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff") format("woff"); } @font-face /* 17 */ { font-family: MJXTEX-SSI; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff") format("woff"); } @font-face /* 18 */ { font-family: MJXTEX-SC; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff") format("woff"); } @font-face /* 19 */ { font-family: MJXTEX-T; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff") format("woff"); } @font-face /* 20 */ { font-family: MJXTEX-V; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff") format("woff"); } @font-face /* 21 */ { font-family: MJXTEX-VB; src: url("https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff") format("woff"); } mjx-c.mjx-c50::before { padding: 0.683em 0.681em 0 0; content: "P"; } mjx-c.mjx-c41::before { padding: 0.716em 0.75em 0 0; content: "A"; } mjx-c.mjx-c25FB.TEX-A::before { padding: 0.689em 0.778em 0 0; content: "\25A1"; } mjx-c.mjx-c1D443.TEX-I::before { padding: 0.683em 0.751em 0 0; content: "P"; } mjx-c.mjx-c72::before { padding: 0.442em 0.392em 0 0; content: "r"; } mjx-c.mjx-c6F::before { padding: 0.448em 0.5em 0.01em 0; content: "o"; } mjx-c.mjx-c76::before { padding: 0.431em 0.528em 0.011em 0; content: "v"; } mjx-c.mjx-c28::before { padding: 0.75em 0.389em 0.25em 0; content: "("; } mjx-c.mjx-c231C.TEX-A::before { padding: 0.694em 0.5em 0 0; content: "\250C"; } mjx-c.mjx-c231D.TEX-A::before { padding: 0.694em 0.5em 0 0; content: "\2510"; } mjx-c.mjx-c29::before { padding: 0.75em 0.389em 0.25em 0; content: ")"; } mjx-c.mjx-c4B::before { padding: 0.683em 0.778em 0 0; content: "K"; } mjx-c.mjx-c34::before { padding: 0.677em 0.5em 0 0; content: "4"; } mjx-c.mjx-c1D43A.TEX-I::before { padding: 0.705em 0.786em 0.022em 0; content: "G"; } mjx-c.mjx-cAC::before { padding: 0.356em 0.667em 0 0; content: "\AC"; } mjx-c.mjx-c2194::before { padding: 0.511em 1em 0.011em 0; content: "\2194"; } mjx-c.mjx-c22A5::before { padding: 0.668em 0.778em 0 0; content: "\22A5"; } mjx-c.mjx-c30::before { padding: 0.666em 0.5em 0.022em 0; content: "0"; } mjx-c.mjx-c3D::before { padding: 0.583em 0.778em 0.082em 0; content: "="; } mjx-c.mjx-c31::before { padding: 0.666em 0.5em 0 0; content: "1"; } mjx-c.mjx-c32::before { padding: 0.666em 0.5em 0 0; content: "2"; } mjx-c.mjx-c1D436.TEX-I::before { padding: 0.705em 0.76em 0.022em 0; content: "C"; } mjx-c.mjx-c2227::before { padding: 0.598em 0.667em 0.022em 0; content: "\2227"; } mjx-c.mjx-c2192::before { padding: 0.511em 1em 0.011em 0; content: "\2192"; } mjx-c.mjx-c47::before { padding: 0.705em 0.785em 0.022em 0; content: "G"; } mjx-c.mjx-c4C::before { padding: 0.683em 0.625em 0 0; content: "L"; } as a box: means . Modal logic provides the rules for the behavior of this box. Or rather, there are different modal logics with different axioms. We can start with the Löb conditions for a provability predicate . These conditions correspond exactly to the rules of a modal logic called . is not the system people usually mean by "provability logic", and by the end of the post you'll see why we want to add more axioms. But it's enough for the incompleteness theorems, so let's get right to the metamathematics. A modal logic analogue of the first incompleteness theorem For Gödel's first incompleteness theorem, we have to show that the Gödel sentence follows from consistency. Like I said, we're doing the boring part, so consider the interesting part already accomplished. We have constructed some complicated sentence . proves that is equivalent to . So we have the following theorem, which we'll be using as a premise in the modal logic argument: For the modal logic machinery to work, we also need a second premise: This is also a theorem, because any theorem can be wrapped in a provability predicate like that. If it's a theorem, then it has a proof, and we can Gödel code that proof, satisfying the existential in our provability predicate. We'll also need another premise: the consistency of arithmetic. The modal logic has a symbol , which we interpret as the sentence . Consistency is the claim that has no proof: . To indicate an argument in modal logic, I'll write premises above the line and the conclusion below, as so: This means that is a theorem of . A modal logic analogue of the first incompleteness theorem: We can also conclude , since it's equivalent. If is a sentence asserting its own unprovability, then, assuming consistency, it is both true and unprovable. We have two ways of reading this argument. One is as a conditional in , in which we view as an elementary symbol of the logical language. The other is as a conditional in , concerning a sentence , with some complicated internal structure. From one perspective, we have just written out an argument we can make in in modal logic notation. But another perspective is that you have prepared input for the decision procedure. You plug that conditional in, and turn the crank either by hand or with a computer program, and verify it's a theorem. The second incompleteness theorem We certainly don't need modal logic to understand why the Gödel sentence is (assuming consistency) true and unprovable. It says "I am unprovable", which would be a contradiction if it were provable. So it's not, which is precisely what it says. But Gödel's second incompleteness theorem, I have to confess I never understood how to prove it before learning modal logic. The second incompleteness theorem says that if the system is consistent, then it cannot prove its consistency. As for the proof, Wikipedia for example says you prove it by "formalizing the proof of the first incompleteness theorem within the system" itself. Well, to be honest, sometimes when I try tracking quotation levels like that in my head, I get lost. Proving the second incompleteness theorem in was my first real experience of the power of modal logic as a system for tracking quotation levels on paper. When I told Scott Aaronson that I'd only done the second incompleteness theorem as a modal logic argument, he said something like the Wikipedia article, except starting with "it's just the observation that..." An observation! Well, either because he provoked me to think about it harder, or because he explained it better, all was illuminated in a flash of insight. But what I love about modal logic is that it works even when I'm not thinking hard and talking to a great professor. I put in the conditional I want to prove, I follow the steps of the decision procedure, and the quotation levels come out clearly numbered on paper. Like dividing integers, this turns out to be one of those things that doesn't require a flash of insight. Again, I don't think I can get you doing the decision procedure yourself, but I'll show you the conditional we plug in. As a premise, consistency: . As a conclusion, the unprovability of consistency, which is consistency with a in front of it: . And also, the same premises we used about the Gödel sentence. What's missing from But this argument is weird, right? Why does the Gödel sentence have to appear in the premises if it's not part of the conclusion? Really, what we want is just: That conditional is a theorem, but not a theorem. So we cannot prove everything we want in using . To prove that, you need another modal logic system, called . In the next post, I'll explain what we have to add to to get , and explain how it is, in a sense, the final answer for the logic of the provability predicate. But even is not the final answer for mechanizing incompleteness theorems. We actually haven't shown real incompleteness. We've only shown that is unprovable, but have not shown that its negation is unprovable. We want to prove that there's a sentence that is neither provable nor refutable, and that will take us beyond . Discuss
I think you can divide the proof of Gödel's incompleteness theorems into the interesting part and the boring part.
The interesting part is the construction of the Gödel sentence in Peano arithmetic. I mean conceptually interesting, because as tedious as the construction gets, it expresses Gödel's great insights: that number theory can express its own rules, and that sentences can implicitly refer to themselves.
From there, the incompleteness theorems themselves are a logical exercise. I think logical exercises are fun, but I call this the boring part anyway because there's nothing new conceptually.
With modal logic, you can make the conceptually boring part completely mechanical. There's a decision procedure for whether a sentence is a theorem, and doing it on paper feels as mindless as long division. Don't imagine step-by-step proof, which has an element of creativity. It's in the same spirit as making a truth table: algorithmic, and based on the semantics of the logic. For a more concrete image, you can see my previous post on tableaux .
I can't teach you how to do modal logic in a post, but I want to show you what modal logic can do. I'll show you which metamathematical arguments can be formalized in modal logic, and thus mechanized.
We'll write the provability predicate of as a box: means .
Modal logic provides the rules for the behavior of this box.
Or rather, there are different modal logics with different axioms. We can start with the Löb conditions for a provability predicate . These conditions correspond exactly to the rules of a modal logic called .
is not the system people usually mean by "provability logic", and by the end of the post you'll see why we want to add more axioms. But it's enough for the incompleteness theorems, so let's get right to the metamathematics.
For Gödel's first incompleteness theorem, we have to show that the Gödel sentence follows from consistency.
Like I said, we're doing the boring part, so consider the interesting part already accomplished. We have constructed some complicated sentence . proves that is equivalent to .
So we have the following theorem, which we'll be using as a premise in the modal logic argument:
For the modal logic machinery to work, we also need a second premise:
This is also a theorem, because any theorem can be wrapped in a provability predicate like that. If it's a theorem, then it has a proof, and we can Gödel code that proof, satisfying the existential in our provability predicate.
We'll also need another premise: the consistency of arithmetic. The modal logic has a symbol , which we interpret as the sentence . Consistency is the claim that has no proof: .
To indicate an argument in modal logic, I'll write premises above the line and the conclusion below, as so:
A modal logic analogue of the first incompleteness theorem:
We can also conclude , since it's equivalent.
If is a sentence asserting its own unprovability, then, assuming consistency, it is both true and unprovable.
We have two ways of reading this argument. One is as a conditional in , in which we view as an elementary symbol of the logical language. The other is as a conditional in , concerning a sentence , with some complicated internal structure.
From one perspective, we have just written out an argument we can make in in modal logic notation. But another perspective is that you have prepared input for the decision procedure. You plug that conditional in, and turn the crank either by hand or with a computer program, and verify it's a theorem.
We certainly don't need modal logic to understand why the Gödel sentence is (assuming consistency) true and unprovable. It says "I am unprovable", which would be a contradiction if it were provable. So it's not, which is precisely what it says.
But Gödel's second incompleteness theorem, I have to confess I never understood how to prove it before learning modal logic.
The second incompleteness theorem says that if the system is consistent, then it cannot prove its consistency.
As for the proof, Wikipedia for example says you prove it by "formalizing the proof of the first incompleteness theorem within the system" itself.
Well, to be honest, sometimes when I try tracking quotation levels like that in my head, I get lost. Proving the second incompleteness theorem in was my first real experience of the power of modal logic as a system for tracking quotation levels on paper.
When I told Scott Aaronson that I'd only done the second incompleteness theorem as a modal logic argument, he said something like the Wikipedia article, except starting with "it's just the observation that..." An observation!
Well, either because he provoked me to think about it harder, or because he explained it better, all was illuminated in a flash of insight. But what I love about modal logic is that it works even when I'm not thinking hard and talking to a great professor.
I put in the conditional I want to prove, I follow the steps of the decision procedure, and the quotation levels come out clearly numbered on paper. Like dividing integers, this turns out to be one of those things that doesn't require a flash of insight.
Again, I don't think I can get you doing the decision procedure yourself, but I'll show you the conditional we plug in.
As a premise, consistency: . As a conclusion, the unprovability of consistency, which is consistency with a in front of it: .
And also, the same premises we used about the Gödel sentence.
But this argument is weird, right? Why does the Gödel sentence have to appear in the premises if it's not part of the conclusion?
That conditional is a theorem, but not a theorem. So we cannot prove everything we want in using .
To prove that, you need another modal logic system, called . In the next post, I'll explain what we have to add to to get , and explain how it is, in a sense, the final answer for the logic of the provability predicate.
But even is not the final answer for mechanizing incompleteness theorems. We actually haven't shown real incompleteness. We've only shown that is unprovable, but have not shown that its negation is unprovable. We want to prove that there's a sentence that is neither provable nor refutable, and that will take us beyond .
正在加载评论…