User:IssaRice/Computability and logic/Eliezer Yudkowsky's Löb's theorem puzzle: Difference between revisions

From Machinelearning
Line 73: Line 73:
* <math>\mathsf{PA}' \vdash X \to \Box X</math>
* <math>\mathsf{PA}' \vdash X \to \Box X</math>
* if <math>X</math>, then <math>\mathsf{PA} \vdash X</math> -- i think this is the one about which Larry says "ARGH WHAT ARE YOU DOING". Or maybe he means "if <math>\Delta \vdash X</math>, then <math>\Delta \vdash \Box X</math>" for arbitrary <math>\Delta</math>.
* if <math>X</math>, then <math>\mathsf{PA} \vdash X</math> -- i think this is the one about which Larry says "ARGH WHAT ARE YOU DOING". Or maybe he means "if <math>\Delta \vdash X</math>, then <math>\Delta \vdash \Box X</math>" for arbitrary <math>\Delta</math>.
** Now one might wonder, why is <math>\Delta=\mathsf{PA}</math> so special?


But can we ''prove'' that we can never get step 8 for <math>\mathsf{PA}'</math>? Well, this is exactly what the puzzle statement does -- it assumes the proof goes through, and derives an absurdity! (? actually, i'm not sure this is actually a contradiction. If we assume PA is consistent, then it seems to be a contradiction. I think this is the point nate soares and alex flint are trying to make in the comments. but we can re-word the puzzle to say one should find the ''first'' error.)
But can we ''prove'' that we can never get step 8 for <math>\mathsf{PA}'</math>? Well, this is exactly what the puzzle statement does -- it assumes the proof goes through, and derives an absurdity! (? actually, i'm not sure this is actually a contradiction. If we assume PA is consistent, then it seems to be a contradiction. I think this is the point nate soares and alex flint are trying to make in the comments. but we can re-word the puzzle to say one should find the ''first'' error.)

Revision as of 06:02, 10 February 2019

original link: https://web.archive.org/web/20160319050228/http://lesswrong.com/lw/t6/the_cartoon_guide_to_l%C3%B6bs_theorem/

current LW link: https://www.lesswrong.com/posts/ALCnqX6Xx8bpFMZq3/the-cartoon-guide-to-loeb-s-theorem

This page gives spoilers for the puzzle!

This pages states the puzzle and gives the solution.

Notation

Precedence:

  • has high precedence, so e.g. CC means (C)C, and LC means (L)(C).
  • is a metalogical notion and has low precedence, so PACC means PA(CC).

Translating the puzzle using logic notation

Löb's theorem shows that if PACC, then PAC.

The deduction theorem says that if PA{H}F, then PAHF.

Applying the deduction theorem to Löb's theorem gives us PA(CC)C.

When translating to logic notation, it becomes obvious that the application of the deduction theorem is illegitimate, because we don't actually have PA{CC}C. This is the initial answer that Larry D'Anna gives in comments.

But now, suppose we define PA':=PA{CC}, and walk through the proof of Löb's theorem for this new theory PA'. Then we would obtain the following implication: if PA'CC, then PA'C. But clearly, PA'CC since CC is one of the axioms of PA'. Therefore by modus ponens, we have PA'C, i.e. PA{CC}C. Now we can apply the deduction theorem to obtain PA(CC)C. This means that our "Löb's theorem" for PA' must be incorrect (note: the proof is correct for PA, which is why Löb's theorem is a theorem; it's just incorrect for PA'), and somewhere in the ten-step proof is an error.

Translating the Löb's theorem back to logic

http://yudkowsky.net/assets/44/LobsTheorem.pdf

Since the solution to the puzzle refers back to the proof of Löb's theorem, we first translate the proof from the cartoon version back to logic:

  1. PAL(LC) by construction of L
  2. PACC by hypothesis
  3. PA(LC)(LC)
  4. PAL(LC)
  5. PALL
  6. PALC
  7. PALC
  8. PA(LC)
  9. PAL
  10. PAC

Repeating the proof of Löb's theorem for modified theory

We now repeat the proof of Löb's theorem for PA':=PA{CC} to see where the error is.

  1. PA'L(LC) by construction of L
  2. PA'CC because CC is one of the axioms of PA'
  3. PA'(LC)(LC) instance of A3
  4. PA'L(LC)
  5. PA'LL
  6. PA'LC
  7. PA'LC

So far, everything is fine. But can we assert PA'(LC)? For PA, we had the following:

A1: For each sentence X, if PAX then PAX

We need the following:

A1′: For each sentence X, if PA'X then PA'X

Since PA' has more axioms than PA, we know that PA' can prove everything that PA can. Thus, compared to A1, both the antecedent and consequent of A1′ are weaker, so A1′ does not necessarily follow from A1.

Suppose we take X in A1′ to be CC. Then we obtain

If PA'CC then PA'(CC)

Other ways we might try to get step 8 to work:

  • PA'XX
  • if X, then PAX -- i think this is the one about which Larry says "ARGH WHAT ARE YOU DOING". Or maybe he means "if ΔX, then ΔX" for arbitrary Δ.
    • Now one might wonder, why is Δ=PA so special?

But can we prove that we can never get step 8 for PA'? Well, this is exactly what the puzzle statement does -- it assumes the proof goes through, and derives an absurdity! (? actually, i'm not sure this is actually a contradiction. If we assume PA is consistent, then it seems to be a contradiction. I think this is the point nate soares and alex flint are trying to make in the comments. but we can re-word the puzzle to say one should find the first error.)

Other questions to answer

  • does in PA' still mean provability about PA, or about itself?
  • are we removing a layer or adding one?
  • can't PA' prove everything PA can? yes, but this doesn't mean we can substitute implications automatically because the consequent also gets stronger