13 Provability Logic

The language of propositional modal logic has been used to shed further light on the logic of provability and Gödel’s incompleteness theorems.

Arithmetic

The subject matter of arithmetic is the structure of the natural numbers with the usual order and the operations of addition and multiplication. The language of arithmetic is a first-order language with a constant symbol 0 for zero, a function symbol S for the successor operation, and two binary functional symbols + and × for addition and multiplication, respectively. A numeral consists of either 0 or finite applications of S to 0, e.g., the numeral for zero is 0, the numeral for two is SS0, and the numeral for five is SSSSS0.

We may take for granted a recursive axiomatization of arithmetic such as Robinson’s Arithmetic. One group of axioms makes sure that zero is no successor and that successor is a one-one operation. Q1x¬Sx=0Q2xy(Sx=Syx=y) The second group of axioms governs the behavior of addition and multiplication: Q3x(x+0)=xQ4xy(x+Sy)=S(x+y)Q5x(x×0)=0Q6xy(x×Sy)=(x×y)+x There is a final group of axioms on the structure of the less than relation on the natural numbers: Q7x¬x<0Q8xy(x<Sy(x<yx=y))Q9xy(x<yx=yy<x) The axioms of Robinson’s Arithmetic are true in the natural number structure: (N,<,+,×,S,0) A proof of a formula φ of the language of arithmetic in Q is a finite sequence of formulas each of which is either an axiom of Q or derivable from earlier formulas in first-order logic. A formula φ is a theorem of Q, written Qφ, if there is a proof of φ in Q.

We say that Robinson’s Arithmetic is sound with respect to the natural number structure to mean that every theorem of Robinson’s Arithmetic is true in the natural number structure. In symbols: If Qφ, then (N,<,+,×,S,0)φ

Kurt Gödel famously established that we do not have the converse — or, more carefully, we do not have the converse if Q is a consistent theory. More generally, if T is a recursively axiomatizable theory, then if T is consistent, then there are sentences of the language of arithmetic which are true in (N,<,+,×,S,0) but are not theorems of T.

He explained how to use natural numbers to encode formulas of the language of arithmetic and arithmetical formulas to encode syntactic facts. More generally, he found a way to encode syntactic facts by means of arithmetical sentences. To each sentence φ of the language, he assigned a natural number φ as a code, and he managed to define an arithmetical formula ProvQ(φ) to encode the fact that φ is a theorem of the system Q.

The provability predicate for a system like Q is governed by three conditions known as the Hilbert-Bernays provability conditions:

  1. If Qφ, then QProvQ(φ)

  2. If QProvQ(φψ), then if QProvQ(φ), then QProvQ(ψ)

  3. If QProvQ(φ), then QProvQ(ProvQ(φ))

If these conditions look familiar, it is because they are; they are completely parallel the rule of necessitation and axioms K and 4.

What Gödel noticed is that a framework such as Robinson’s Arithmetic provides the resources to build a self-referential arithmetical formula G such that:

QG¬ProvQ(G). He used that formula to prove his celebrated first incompleteness theorem, since he argued that unless Q is inconsistent, QG, which is exactly what G says.7 Why? On the one hand, by condition I, if QG, then GProvQ(G). But on the other hand, if QG, then since QG¬ProvQ(G), given the provability conditions I and II, G¬ProvQ(G), which would make Q inconsistent.

Before we introduce the modal logic of provability, we should note that there is an important further condition on provability from a recursively axiomatizable system isolated by Martin Löb in response to a question by Leon Henkin. Henkin had been interested in the status of certain self-referential formula H for which: QHProvQ(H)

Löb proved, in particular, that Q proves the conditional ProvQ(H)H only if H is in fact a theorem of the system. More generally, if T is, as usual, a recursively axiomatizable arithmetical theory, then:

If TProvT(φ)φ, then Tφ.

This is Löb’s theorem for which there is a further formalization in the language of arithmetic:

T(ProvT(ProvT(φ)φ)ProvT(φ)). This is the formalized Löb’s theorem.

Provability

We will now consider an interpretation of as “it is a theorem of first-order theory T”. To flesh out the interpretation of the language of propositional modal logic, we define a realization function as an assignment α of formulas of arithmetic to propositional variables of propositional modal logic. That is, for each propositional variable p, α(p) is a formula of the language of arithmetic. This, in turn, determines a translation from the language of propositional modal logic into the language of arithmetic. The translation φ of a modal formula φ under a realization α is defined inductively:

p=α(p)(¬φ)=¬φ(φψ)=φψ(φ)=ProvT(φ) We are now in a position to verify the axioms of K4 for this interpretation of . The rule of necessitation corresponds to the first Hilbert-Bernays derivability condition whereas K corresponds to the second derivability condition. Finally, the third derivability condition is the translation of axiom 4.

K4 is still too weak to encode the logic of provability, since we want to be able to deliver the formalized Löb’s theorem: T(ProvT(ProvT(φ)φ)ProvT(φ)). This brings us to the characteristic axiom of the modal logic of provability: (L)(φφ)φ. The modal logic GL (for Gödel and Löb) is the normal modal logic, which extends K with all substitution instances of axiom L.

One important observation at this point is that on pain of inconsistency, GL cannot in general extend KT.

Proposition 13.1 GL does not extend KT

Proof. GL is closed under necessitation. So, GL only if GL() and GL. It follows that if GL, then it must be the case that GL. Since GL, we conclude that GL.

This is a modal counterpart of the fact that a recursively axiomatizable consistent theory T cannot even prove the arithmetical formula ProvT(0=1)0=1 on account of Löb’s theorem.

Proposition 13.2 GL extends K4

Proof. That is because GLpp.

The key to this proof is to substitute pp for p in L:

((pp)(pp))(pp) The antecedent of that conditional follows from p alone: Kp((pp)(pp)) Here is a justification for that fact: 1(pp)pPL2(pp)pRK 13p((pp)(pp))PL 24p((pp)(pp))RK 3 So, it follows that GLp(pp) and GLpp

Part of the interest of the modal logic of provability is that it casts some light upon Gödel’s incompleteness theorems.

Proposition 13.3 If GLp¬p, then GL¬¬p.

Given a realization α for which α(p) is the Gödel formula, GLp¬p would correspond to the fact that QG¬ProvQ(G). On the other hand, ¬ corresponds to ¬ProvQ(0=1). Now:

Proof. We argue as follows: 1p¬p2p¬pPL 13p¬pRK 24pp45p¬pPL 3,46p(¬pp)PL 57(¬pp)(¬pp)K8p(¬pp)PL 6,79pPL 810¬¬pPL 9

Proposition 13.4 GL¬¬¬.

This corresponds to the fact that if T is consistent, then T does not prove its own consistency.

Proof. We argue as follows: 1¬()PL2¬()RK 13()L4¬PL 2,35¬¬¬PL 4

Definition 13.1 (Converse Well-Founded) A binary relation R on a set W is converse well-founded if, and only if, for every non-empty subset X of W, there is a greatest R-member of X, that is, there is some wX such that for every xX, ¬Rwx. In other words, R is converse well-founded on W if there are no infinite ascending R-chains of the form x1Rx2Rx3.

Notice that a relation R is converse well-founded on W only if it is irreflexive and asymmetric on W.

Proposition 13.5 All theorems of GL are valid in all transitive and converse well-founded frames.

Proof. All axioms of GL are valid in all transtive and converse well-founded frames. That is because (pp)p modally defines the class of transtive converse well-founded frames — as observed in proposition 6.3 above.

Proposition 13.6 GL is complete with respect to the class of transitive and converse well-founded frames.

The argument for completeness is more elaborate than usual, since there is no reason to expect the canonical model for GL to be irreflexive, which means that we cannot prove that the canonical model for GL is converse well-founded.