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
then
.
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
is provable in PA, then
" 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
in the given system in the language of
modal logic, by means of the modality . That is, when
is a logical formula, another formula can be formed by placing a box in front of
, and is intended to mean that
is provable.
Then we can formalize Löb's theorem by the axiom
known as axiom GL, for Gödel–Löb. This is sometimes formalized by means of the inference rule:
If
then
.
The provability logic GL that results from taking the modal logic K4 (or K, since the axiom schema 4,
, 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
is a
propositional variable, then
is a formula.
- If
is a propositional constant, then
is a formula.
- If
is a formula, then
is a formula.
- If
and
are formulas, then so are
,
,
,
, and
A modal sentence is a formula in this syntax that contains no propositional variables. The notation
is used to mean that
is a theorem.
Modal fixed points
If
is a modal formula with only one propositional variable
, then a modal fixed point of
is a sentence
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
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
, known as
Hilbert–Bernays provability conditions:
- (necessitation) From
conclude
: Informally, this says that if A is a theorem, then it is provable.
- (internal necessitation)
: If A is provable, then it is provable that it is provable.
- (box distributivity)
\vdash\Box(A → B) → (\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
, so for ease of understanding, the proof below is subdivided to leave the parts depending on
until the end.
Let
be any modal sentence.
- Apply the existence of modal fixed points to the formula
. It then follows that there exists a sentence
such that
\vdash\Psi\leftrightarrow(\Box\Psi → P)
.
\vdash\Psi → (\Box\Psi → P)
, from 1.
\vdash\Box(\Psi → (\Box\Psi → P))
, from 2 by the necessitation rule.
\vdash\Box\Psi → \Box(\Box\Psi → P)
, from 3 and the box distributivity rule.
\vdash\Box(\Box\Psi → P) → (\Box\Box\Psi → \BoxP)
, by applying the box distributivity rule with
and
.
\vdash\Box\Psi → (\Box\Box\Psi → \BoxP)
, from 4 and 5.
\vdash\Box\Psi → \Box\Box\Psi
, from 6 by the internal necessitation rule.
, from 6 and 7.
Now comes the part of the proof where the hypothesis is used.
- Assume that
. Roughly speaking, it is a theorem that if
is provable, then it is, in fact true. This is a claim of
soundness.
, from 8 and 9.
\vdash(\Box\Psi → P) → \Psi
, from 1.
, from 10 and 11.
, from 12 by the necessitation rule.
, from 13 and 10.More informally, we can sketch out the proof as follows.
- Since
by assumption, we also have
PA\vdash{\negP → \negProvPA(P)}
, which implies
\{PA,\negP\}\vdash{\negProvPA(P)}
.
- Now, the hybrid theory
can reason as follows:
- Suppose
is inconsistent, then PA proves
, which is the same as
.
- However,
already knows that
, a contradiction.
- Therefore,
is consistent.
- By Godel's second incompleteness theorem, this implies
is inconsistent.
- Thus, PA proves
, which is the same as
.
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:
is provable in PA, then
" is not provable in PA, as
is not provable in PA (as it is false).
is provable in PA, then
" is provable in PA, as is any statement of the form "If X, then
".
- "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 also believing that P is true.
Gödel's second incompleteness theorem follows from Löb's theorem by substituting the false statement
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)
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,
, and the existence of modal fixed points.
References
- Book: Boolos, George S. . George Boolos . The Logic of Provability . . 1995 . 978-0-521-48325-4 . registration .
- Book: Hinman, P. . Fundamentals of Mathematical Logic . A K Peters . 2005 . 978-1-56881-262-5 .
- Book: Japaridze . Giorgi . De Jongh . Dick . 1998 . Chapter VII - The Logic of Provability . Handbook of Proof Theory . Studies in Logic and the Foundations of Mathematics . Buss . Samuel R. . Samuel Buss . . 137 . 475–546 . 10.1016/S0049-237X(98)80022-0 . free .
- Lindström . Per . Per Lindström . June 2006 . 35 . 3 . 225–230 . Note on Some Fixed Point Constructions in Provability Logic . 10.1007/s10992-005-9013-8 . . 11038803 .
- Löb . Martin . Martin Löb . Solution of a Problem of Leon Henkin . . 20 . 2 . 1955 . 115–118 . 10.2307/2266895 . 2266895 . 250348262 .
- Smullyan . Raymond M. . Raymond Smullyan . 1986 . Proceedings of the 1986 conference on Theoretical aspects of reasoning about knowledge, Monterey (CA) . Morgan Kaufmann Publishers Inc. . San Francisco (CA) . 341–352 . https://dl.acm.org/doi/pdf/10.5555/1029786.1029818 . Logicians who reason about themselves . 10.1016/B978-0-934613-04-0.50028-4 . 9780934613040 .
External links
Notes and References
- Unless PA is inconsistent (in which case every statement is provable, including
).
- Web site: Neel . Krishnaswami . Löb's theorem is (almost) the Y combinator . Semantic Domain . 9 April 2024 . neel.