# Löb's theorem

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
- [math]\displaystyle{ PA\,\vdash\,{{\rm Prov}(P) \rightarrow P} }[/math]
- then
- [math]\displaystyle{ PA\,\vdash\,P }[/math]

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 [math]\displaystyle{ 1+1=3 }[/math] is provable in PA, then [math]\displaystyle{ 1+1=3 }[/math]" is not provable in PA.^{[note 1]}

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

## 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 [math]\displaystyle{ \phi }[/math] in the given system in the language of modal logic, by means of the modality [math]\displaystyle{ \Box \phi }[/math].

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

- [math]\displaystyle{ \Box(\Box P\rightarrow P)\rightarrow \Box P, }[/math]

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

- [math]\displaystyle{ P }[/math]

from

- [math]\displaystyle{ \Box P\rightarrow P. }[/math]

The provability logic GL that results from taking the modal logic **K4** (or **K**, since the axiom schema **4**, [math]\displaystyle{ \Box A\rightarrow\Box\Box A }[/math], 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:

- If [math]\displaystyle{ X }[/math] is a propositional variable, then [math]\displaystyle{ X }[/math] is a formula.
- If [math]\displaystyle{ K }[/math] is a propositional constant, then [math]\displaystyle{ K }[/math] is a formula.
- If [math]\displaystyle{ A }[/math] is a formula, then [math]\displaystyle{ \Box A }[/math] is a formula.
- If [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are formulas, then so are [math]\displaystyle{ \neg A }[/math], [math]\displaystyle{ A \rightarrow B }[/math], [math]\displaystyle{ A \wedge B }[/math], [math]\displaystyle{ A \vee B }[/math], and [math]\displaystyle{ A \leftrightarrow B }[/math]

A modal sentence is a modal formula that contains no propositional variables. We use [math]\displaystyle{ \vdash A }[/math] to mean [math]\displaystyle{ A }[/math] is a theorem.

### Modal fixed points

If [math]\displaystyle{ F(X) }[/math] is a modal formula with only one propositional variable [math]\displaystyle{ X }[/math], then a modal fixed point of [math]\displaystyle{ F(X) }[/math] is a sentence [math]\displaystyle{ \Psi }[/math] such that

- [math]\displaystyle{ \vdash \Psi \leftrightarrow F(\Box \Psi) }[/math]

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 [math]\displaystyle{ \Box }[/math] 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 [math]\displaystyle{ \Box }[/math], known as Hilbert–Bernays provability conditions:

**(necessitation)**From [math]\displaystyle{ \vdash A }[/math] conclude [math]\displaystyle{ \vdash \Box A }[/math]: Informally, this says that if A is a theorem, then it is provable.**(internal necessitation)**[math]\displaystyle{ \vdash \Box A \rightarrow \Box \Box A }[/math]: If A is provable, then it is provable that it is provable.**(box distributivity)**[math]\displaystyle{ \vdash \Box (A \rightarrow B) \rightarrow (\Box A \rightarrow \Box B) }[/math]: 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

- Assume that there is a modal sentence [math]\displaystyle{ P }[/math] such that [math]\displaystyle{ \vdash \Box P \rightarrow P }[/math].

Roughly speaking, it is a theorem that if [math]\displaystyle{ P }[/math] is provable, then it is, in fact true.

This is a claim of*soundness*. - From the existence of modal fixed points for every formula (in particular, the formula [math]\displaystyle{ X \rightarrow P }[/math]) it follows there exists a sentence [math]\displaystyle{ \Psi }[/math] such that [math]\displaystyle{ \vdash \Psi \leftrightarrow (\Box \Psi \rightarrow P) }[/math].
- From 2, it follows that [math]\displaystyle{ \vdash \Psi \rightarrow (\Box \Psi \rightarrow P) }[/math].
- From the necessitation rule, it follows that [math]\displaystyle{ \vdash \Box(\Psi \rightarrow (\Box \Psi \rightarrow P)) }[/math].
- From 4 and the box distributivity rule, it follows that [math]\displaystyle{ \vdash \Box\Psi \rightarrow \Box(\Box \Psi \rightarrow P) }[/math].
- Applying the box distributivity rule with [math]\displaystyle{ A = \Box \Psi }[/math] and [math]\displaystyle{ B= P }[/math] gives us [math]\displaystyle{ \vdash \Box(\Box \Psi \rightarrow P) \rightarrow (\Box\Box\Psi \rightarrow \Box P) }[/math].
- From 5 and 6, it follows that [math]\displaystyle{ \vdash \Box \Psi \rightarrow (\Box\Box\Psi \rightarrow \Box P) }[/math].
- From the internal necessitation rule, it follows that [math]\displaystyle{ \vdash \Box \Psi \rightarrow \Box \Box \Psi }[/math].
- From 7 and 8, it follows that [math]\displaystyle{ \vdash \Box \Psi \rightarrow \Box P }[/math].
- From 1 and 9, it follows that [math]\displaystyle{ \vdash \Box \Psi \rightarrow P }[/math].
- From 2, it follows that [math]\displaystyle{ \vdash (\Box \Psi \rightarrow P) \rightarrow \Psi }[/math].
- From 10 and 11, it follows that [math]\displaystyle{ \vdash \Psi }[/math]
- From 12 and the necessitation rule, it follows that [math]\displaystyle{ \vdash \Box \Psi }[/math].
- From 13 and 10, it follows that [math]\displaystyle{ \vdash P }[/math].

## 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:

- "If [math]\displaystyle{ 1+1=3 }[/math] is provable in PA, then [math]\displaystyle{ 1+1=3 }[/math]" is not provable in PA, as [math]\displaystyle{ 1+1=3 }[/math] is not provable in PA (as it is false).
- "If [math]\displaystyle{ 1+1=2 }[/math] is provable in PA, then [math]\displaystyle{ 1+1=2 }[/math]" is provable in PA, as is any statement of the form "If X, then [math]\displaystyle{ 1+1=2 }[/math]".
- "If the strengthened finite Ramsey theorem is provable in PA, then the strengthened finite Ramsey theorem is true" is not provable in PA, as "The strengthened finite Ramsey theorem is true" is not provable in PA (despite being true).

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 first believing that P is true.^{[1]}

Gödel's second incompleteness theorem follows from Löb's theorem by substituting the false statement [math]\displaystyle{ \bot }[/math] 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) [math]\displaystyle{ p\leftrightarrow A(p) }[/math] for any formula *A*(*p*)* modalized in p* can be derived.^{[2]} Thus in normal modal logic, Löb's axiom is equivalent to the conjunction of the axiom schema **4**, [math]\displaystyle{ (\Box A\rightarrow \Box\Box A) }[/math], and the existence of modal fixed points.

## Notes

- ↑ Unless PA is inconsistent (in which case every statement is provable, including [math]\displaystyle{ 1+1=3 }[/math]).

## Citations

- ↑ Smullyan, Raymond M., (1986)
*Logicians who reason about themselves*, Proceedings of the 1986 conference on Theoretical aspects of reasoning about knowledge, Monterey (CA), Morgan Kaufmann Publishers Inc., San Francisco (CA), pp. 341-352 - ↑ Per Lindström (June 2006). "Note on Some Fixed Point Constructions in Provability Logic".
*Journal of Philosophical Logic***35**(3): 225–230. doi:10.1007/s10992-005-9013-8.

## References

- Boolos, George S. (1995).
*The Logic of Provability*. Cambridge University Press. ISBN 978-0-521-48325-4. https://archive.org/details/logicofprovabili0000bool. - Löb, Martin (1955), "Solution of a Problem of Leon Henkin",
*Journal of Symbolic Logic***20**(2): 115–118, doi:10.2307/2266895 - Hinman, P. (2005).
*Fundamentals of Mathematical Logic*. A K Peters. ISBN 978-1-56881-262-5. - Verbrugge, Rineke (L.C.) (1 January 2016). "Provability Logic". http://plato.stanford.edu/entries/logic-provability/. Retrieved 6 April 2016.

## External links

Original source: https://en.wikipedia.org/wiki/Löb's theorem.
Read more |