Löb's theorem explained

In mathematical logic, Löb's theorem states that in Peano arithmetic (PA) (or any formal system including PA), for any formula P, if it is provable in PA that "if P is provable in PA then P is true", then P is provable in PA. If Prov(P) means that the formula P is provable, we may express this more formally as

If

PA\vdash{Prov(P)P}

then

PA\vdashP

.

An immediate corollary (the contrapositive) of Löb's theorem is that, if P is not provable in PA, then "if P is provable in PA, then P is true" is not provable in PA. For example, "If

1+1=3

is provable in PA, then

1+1=3

" is not provable in PA.[1]

Löb's theorem is named for Martin Hugo Löb, who formulated it in 1955. It is related to Curry's paradox.[2]

Löb's theorem in provability logic

Provability logic abstracts away from the details of encodings used in Gödel's incompleteness theorems by expressing the provability of

\phi

in the given system in the language of modal logic, by means of the modality . That is, when

\phi

is a logical formula, another formula can be formed by placing a box in front of

\phi

, and is intended to mean that

\phi

is provable.

Then we can formalize Löb's theorem by the axiom

\Box(\BoxPP)\BoxP,

known as axiom GL, for Gödel–Löb. This is sometimes formalized by means of the inference rule:

If

\vdash\BoxPP

then

\vdashP

.

The provability logic GL that results from taking the modal logic K4 (or K, since the axiom schema 4,

\BoxA\Box\BoxA

, then becomes redundant) and adding the above axiom GL is the most intensely investigated system in provability logic.

Modal proof of Löb's theorem

Löb's theorem can be proved within modal logic using only some basic rules about the provability operator (the K4 system) plus the existence of modal fixed points.

Modal formulas

We will assume the following grammar for formulas:

  1. If

X

is a propositional variable, then

X

is a formula.
  1. If

K

is a propositional constant, then

K

is a formula.
  1. If

A

is a formula, then

\BoxA

is a formula.
  1. If

A

and

B

are formulas, then so are

\negA

,

AB

,

A\wedgeB

,

A\veeB

, and

A\leftrightarrowB

A modal sentence is a formula in this syntax that contains no propositional variables. The notation

\vdashA

is used to mean that

A

is a theorem.

Modal fixed points

If

F(X)

is a modal formula with only one propositional variable

X

, then a modal fixed point of

F(X)

is a sentence

\Psi

such that

\vdash\Psi\leftrightarrowF(\Box\Psi)

We will assume the existence of such fixed points for every modal formula with one free variable. This is of course not an obvious thing to assume, but if we interpret

\Box

as provability in Peano Arithmetic, then the existence of modal fixed points follows from the diagonal lemma.

Modal rules of inference

In addition to the existence of modal fixed points, we assume the following rules of inference for the provability operator

\Box

, known as Hilbert–Bernays provability conditions:
  1. (necessitation) From

\vdashA

conclude

\vdash\BoxA

: Informally, this says that if A is a theorem, then it is provable.
  1. (internal necessitation)

\vdash\BoxA\Box\BoxA

: If A is provable, then it is provable that it is provable.
  1. (box distributivity)

\vdash\Box(AB)(\BoxA\BoxB)

: This rule allows you to do modus ponens inside the provability operator. If it is provable that A implies B, and A is provable, then B is provable.

Proof of Löb's theorem

Much of the proof does not make use of the assumption

\BoxP\toP

, so for ease of understanding, the proof below is subdivided to leave the parts depending on

\BoxP\toP

until the end.

Let

P

be any modal sentence.
  1. Apply the existence of modal fixed points to the formula

F(X)=XP

. It then follows that there exists a sentence

\Psi

such that

\vdash\Psi\leftrightarrow(\Box\PsiP)

.

\vdash\Psi(\Box\PsiP)

, from 1.

\vdash\Box(\Psi(\Box\PsiP))

, from 2 by the necessitation rule.

\vdash\Box\Psi\Box(\Box\PsiP)

, from 3 and the box distributivity rule.

\vdash\Box(\Box\PsiP)(\Box\Box\Psi\BoxP)

, by applying the box distributivity rule with

A=\Box\Psi

and

B=P

.

\vdash\Box\Psi(\Box\Box\Psi\BoxP)

, from 4 and 5.

\vdash\Box\Psi\Box\Box\Psi

, from 6 by the internal necessitation rule.

\vdash\Box\Psi\BoxP

, from 6 and 7.

Now comes the part of the proof where the hypothesis is used.

  1. Assume that

\vdash\BoxPP

. Roughly speaking, it is a theorem that if

P

is provable, then it is, in fact true. This is a claim of soundness.

\vdash\Box\PsiP

, from 8 and 9.

\vdash(\Box\PsiP)\Psi

, from 1.

\vdash\Psi

, from 10 and 11.

\vdash\Box\Psi

, from 12 by the necessitation rule.

\vdashP

, from 13 and 10.More informally, we can sketch out the proof as follows.
  1. Since

PA\vdash{ProvPA(P)P}

by assumption, we also have

PA\vdash{\negP\negProvPA(P)}

, which implies

\{PA,\negP\}\vdash{\negProvPA(P)}

.
  1. Now, the hybrid theory

\{PA,\negP\}

can reason as follows:
    1. Suppose

\{PA,\negP\}

is inconsistent, then PA proves

\negP\to\bot{}

, which is the same as

P

.
    1. However,

\{PA,\negP\}

already knows that

\negProvPA(P)

, a contradiction.
    1. Therefore,

\{PA,\negP\}

is consistent.
  1. By Godel's second incompleteness theorem, this implies

\{PA,\negP\}

is inconsistent.
  1. Thus, PA proves

\negP\to\bot{}

, which is the same as

P

.

Examples

An immediate corollary of Löb's theorem is that, if P is not provable in PA, then "if P is provable in PA, then P is true" is not provable in PA. Given we know PA is consistent (but PA does not know PA is consistent), here are some simple examples:

1+1=3

is provable in PA, then

1+1=3

" is not provable in PA, as

1+1=3

is not provable in PA (as it is false).

1+1=2

is provable in PA, then

1+1=2

" is provable in PA, as is any statement of the form "If X, then

1+1=2

".

In Doxastic logic, Löb's theorem shows that any system classified as a reflexive "type 4" reasoner must also be "modest": such a reasoner can never believe "my belief in P would imply that P is true", without also believing that P is true.

Gödel's second incompleteness theorem follows from Löb's theorem by substituting the false statement

\bot

for P.

Converse: Löb's theorem implies the existence of modal fixed points

Not only does the existence of modal fixed points imply Löb's theorem, but the converse is valid, too. When Löb's theorem is given as an axiom (schema), the existence of a fixed point (up to provable equivalence)

p\leftrightarrowA(p)

for any formula A(p) modalized in p can be derived. Thus in normal modal logic, Löb's axiom is equivalent to the conjunction of the axiom schema 4,

(\BoxA\Box\BoxA)

, and the existence of modal fixed points.

References

External links

Notes and References

  1. Unless PA is inconsistent (in which case every statement is provable, including

    1+1=3

    ).
  2. Web site: Neel . Krishnaswami . Löb's theorem is (almost) the Y combinator . Semantic Domain . 9 April 2024 . neel.