LESSWRONG
LW

1327
Wikitags
Main
1
Proof
6
GII and Löb
1
Computers
LW Wiki

Löb's theorem and computer programs

Edited by Jaime Sevilla Molina, et al. last updated 24th Jul 2016

The close relationship between logic and computability allows us to frame Löb's theorem in terms of a computer program which is systematically looking for proofs of mathematical statements, ProofSeeker(X).

ProofSeeker can be something like this:

ProofSeeker(X):
    n=1
    while(True):
        if Prv(X,n): return True
        else n = n+1

Where Prv(X,n) is true if n encodes a proof of X[1].

Now we form a special sentence called a reflection principle, of the form L(X)= "If ProofSeeker(X) halts, then X is true". (This requires a quine to construct.)

Reflection principles are intuitively true, since ProofSeeker clearly halts iff it finds a proof of X, and if there is a proof of X, then X must be true if we have chosen an appropriate logical system to search for proofs. For example, let's say that ProofSeeker is looking for proofs within Peano Arithmetic.

The question now becomes, what happens when we call ProofSeeker on L(X)? Is PA capable of proving that the reflection principle for any given X is true, and therefore ProofSeeker will eventually halt? Or will it run forever?

Several possibilities appear:

  1. If PA⊢X, then certainly PA⊢L(X), since if the consequent of L(X) is provable, then the whole sentence is provable.
  2. If PA⊢¬X, then we cannot assert that PA⊢L(X), for that would imply asserting that PA⊢"There is no proof of X". This is tantamount to PA asserting the consistency of PA, which is forbidden by Gödel's second incompleteness theorem.
  3. If X is undecidable in PA, then if it were the case that PA⊢L(X) it would be inconsistent that PA⊢¬X for the same reason as when X is disprovable, and thus PA⊢X, contradicting that it was undecidable.

Löb's theorem is the assertion that PA proves the reflection principle for X only if PA proves X.

Or conversely, Löb's theorem states that if PA⊬X then PA⊬□PAX→X.

It can be proved in PA and stronger systems. It has a very strong link with Gödel's second incompleteness theorem, and in fact they both are equivalent.

  1. ^︎

    See standard provability predicate for more info on how to talk about provablity

Parents:
Löb's theorem
Subscribe
Discussion
Subscribe
Discussion
Posts tagged Löb's theorem
45The Cartoon Guide to Löb's Theorem
Eliezer Yudkowsky
17y
105
58Open technical problem: A Quinean proof of Löb's theorem, for an easier cartoon guide
Ω
Andrew_Critch
3y
Ω
35
134Modal Fixpoint Cooperation without Löb's Theorem
Ω
Andrew_Critch
3y
Ω
34
124Robust Cooperation in the Prisoner's Dilemma
orthonormal
12y
147
112Reflection in Probabilistic Logic
Eliezer Yudkowsky
12y
168
79A Proof of Löb's Theorem using Computability Theory
Ω
jessicata
2y
Ω
0
71No License To Be Human
Eliezer Yudkowsky
17y
54
69Probabilistic Payor Lemma?
Ω
abramdemski
2y
Ω
7
66Working through a small tiling result
Ω
James Payor
4mo
Ω
9
54A proof of Löb's theorem in Haskell
cousin_it
11y
8
54An angle of attack on Open Problem #1
Benya
13y
85
52Bounded versions of Gödel's and Löb's theorems
cousin_it
13y
22
51Probabilistic Löb theorem
Stuart_Armstrong
12y
40
49You Provably Can't Trust Yourself
Eliezer Yudkowsky
17y
19
43Some constructions for proof-based cooperation without Löb
Ω
James Payor
2y
Ω
3
Load More (15/36)
Add Posts