Gödel's second incompleteness theorem in English
Consider a formal system that can do Peano arithmetic. We'll call it .
has a predicate representing provability in .
It also has a statement representing its own consistency. Using the provability predicate, you can write the claim "there's no proof of 0=1".
Gödel's second incompleteness theorem says that if is in fact consistent, then it cannot prove itself consistent. This sentence in asserting the consistency of is not provable.
Gödel's second incompleteness theorem in
Let be the provability predicate, so that says is provable.
The second incompleteness theorem, expressed as a theorem:
does prove this theorem. (That is, it proves a material conditional, with the premise above the line as the antecedent, and the conclusion below the line as the consequent.)
Gödel's second incompleteness theorem in modal logic
I previously posted about translating sentences about provability to modal logic.
We start by translating notation: is , is .
The second incompleteness theorem, then, is
In my previous post I wrote about , a system of modal logic that includes the basic axioms we expect to hold of a provability predicate.
The second incompleteness theorem, in the form above, was not a theorem of .
What we could prove in was a conditional that includes the Gödel sentence in the premises:
That makes sense, because you do use the Gödel sentence to prove the incompleteness theorem.
But the way I sold was that it mechanizes metamathematics. What's cool about it is it has a decision procedure based on the semantics.
But doesn't give us a decision procedure for statements about provability in . We can tell because Gödel's second theorem is a theorem, but its translation into modal logic is not a theorem. So just translating from to modal logic and running the decision procedure doesn't work.
Deciding statements about provability
We can decide sentences about provability in by using modal logic. We do it by adding Löb's theorem as an axiom schema. For every sentence , this is an axiom:
Adding those axioms to , the resulting modal logic is called , for Gödel and Löb.
, like , is decidable. Unlike , proves every statement about provability that proves.
We'll have to get more precise about that. (Is "the twin prime conjecture is provable" a statement about provability?)
Interpreting as
We'll start by getting more precise about interpreting sentences as sentences. I think of interpreting as a little find-and-replace script: replace with , replace each with . But we also have to replace "sentence letters", elementary symbols of the modal logic, with sentences. For example, we replace the letter with the complex Gödel sentence we constructed in .
The usual way to think about an interpretation is not as a program but as a function: an interpretation of a modal logic sentence is a mapping from all the sentence letters to sentences of .
A sentence is a theorem of if and only if, under every interpretation, the resulting sentence is a theorem of .
It's no surprise that a theorem, when interpreted, is a theorem. I've been assuming this property, "arithmetic soundness", without stating it.
The profound theorem is "arithmetic completeness". If a sentence of modal logic is a theorem under every interpretation, then it's a theorem.
For example, Gödel's second incompleteness theorem is a simple case, with no sentence letters to interpret. When translated to , it's a theorem, so it's a theorem.
Modal logic: proving Löb's theorem, or assuming it?
We took Löb's theorem as an axiom of .
If you see anyone on LessWrong doing a modal logic proof of Löb's theorem, they're not using , they're using . As with the statement of Gödel's second theorem, the argument requires an extra self-referential sentence in the premises.
The arithmetic completeness of shows, in a way, that this is the last metamathematical proof you need to do in . Once you've proved Löb's theorem, you can take it as an axiom in and decide everything else you can state within the language.
But what do we actually want to prove, beyond Löb's theorem? When I read expositions of provability logic, once they've explained , they don't seem to have interesting example sentences to run through the decision procedure.
The decision procedure helps with applications of provability logic to other subjects. For me that's open-source game theory. To do an open-source prisoner's dilemma tournament, you use to resolve the matches.
But if you want a nice mechanical approach to Gödel's incompleteness theorems and Löb's theorem, you want .