Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
Back to list
aiqbench takeAI Research

aiqbench analysis

This work explores modal logic systems as decision procedures for Peano arithmetic's provability predicate, specifically addressing the limitations of standard K4 logic in proving Gödel's second incompleteness theorem without explicit premises. The analysis clarifies how formal constraints on self-referential consistency statements differ when moving from material conditionals to strict logical derivations within arithmetic frameworks.
1
Source coveringLessWrong

Modal logic as a decision procedure for the PA provability predicate

LessWrong·December 5, 2026·3 min read

From LessWrong

Full text

Gödel's second incompleteness theorem in English

Consider a formal system that can do Peano arithmetic. We'll call it PA\mathrm{PA}.

PA\mathrm{PA} has a predicate representing provability in PA\mathrm{PA}.

It also has a statement representing its own consistency. Using the provability predicate, you can write the claim "there's no proof of 0=1".

Gödel's second incompleteness theorem says that if PA\mathrm{PA} is in fact consistent, then it cannot prove itself consistent. This sentence in PA\mathrm{PA} asserting the consistency of PA\mathrm{PA} is not provable.

Gödel's second incompleteness theorem in PA

Let Prov(x)\mathrm{Prov}(x) be the provability predicate, so that Prov(⌜P⌝)\mathrm{Prov}(\ulcorner P \urcorner) says P is provable.

The second incompleteness theorem, expressed as a PA\mathrm{PA} theorem:

¬Prov(⌜0=1⌝)¬Prov(⌜¬Prov(⌜0=1⌝)⌝)\frac{\begin{gathered}\lnot \mathrm{Prov}(\ulcorner 0=1 \urcorner)\end{gathered}}{\lnot \mathrm{Prov}(\ulcorner \lnot \mathrm{Prov}(\ulcorner 0=1 \urcorner) \urcorner)}

PA\mathrm{PA} does prove this. (That is, it proves a material conditional, with the premise above the line as the antecedent, and the conclusion below the line as the consequent.)

I previously posted about translating PA\mathrm{PA} sentences about provability.

We start by translating notation: □P\Box P is Prov(⌜P⌝)\mathrm{Prov}(\ulcorner P \urcorner), ⊥\bot is 0=1.

¬□⊥¬□¬□⊥\frac{\begin{gathered}\lnot\Box\bot\end{gathered}}{\lnot\Box\lnot\Box\bot}

In my previous post I wrote about K4\mathrm{K4}, a system of modal logic that includes the basic axioms we expect to hold of a provability predicate.

The second incompleteness theorem, in the form above, was not a theorem of K4\mathrm{K4}.

What we could prove in K4\mathrm{K4} was a conditional that includes the Gödel sentence in the premises:

G↔¬□G□(G↔¬□G)¬□⊥¬□¬□⊥\frac{\begin{gathered}G \leftrightarrow \lnot\Box G \\ \Box( G \leftrightarrow \lnot\Box G) \\ \lnot\Box\bot\end{gathered}}{\lnot\Box\lnot\Box\bot}

That makes sense, because you do use the Gödel sentence to prove the incompleteness theorem.

But the way I sold K4\mathrm{K4} was that it mechanizes metamathematics. What's cool about it is it has a decision procedure based on the semantics.

But K4\mathrm{K4} doesn't give us a decision procedure for statements about provability in PA\mathrm{PA}. We can tell because Gödel's second theorem is a PA\mathrm{PA} theorem, but its translation into modal logic is not a K4\mathrm{K4} theorem. So just translating from PA\mathrm{PA} to modal logic and running the K4\mathrm{K4} decision procedure doesn't work.

Deciding PA\mathrm{PA} statements about provability

We can decide statements about provability in PA\mathrm{PA} with modal logic. We do it by adding Löb's theorem as an axiom schema. For every sentence P, this is an axiom:

□(□P→P)□P\frac{\begin{gathered}\Box(\Box P \to P)\end{gathered}}{\Box P}

Adding those axioms to K4\mathrm{K4}, the resulting modal logic is called GL\mathrm{GL}, for Gödel and Löb.

GL\mathrm{GL}, like K4\mathrm{K4}, is decidable. Unlike K4\mathrm{K4}, GL\mathrm{GL} proves every statement about provability that PA\mathrm{PA} proves.

We'll have to get more precise about that. (Is "the twin prime conjecture is provable" a statement about provability?)

Interpreting GL\mathrm{GL} as PA\mathrm{PA}

We'll start by getting more precise about interpreting GL\mathrm{GL} sentences as PA\mathrm{PA} sentences. I think of interpreting as a little find-and-replace script: replace ⊥\bot with 0=1, replace each □A\Box A with Prov(⌜A⌝)\mathrm{Prov}(\ulcorner A \urcorner). But we also have to replace "sentence letters", elementary symbols of the modal logic, with PA\mathrm{PA} sentences. For example, the letter G with the complex Gödel statement we constructed in PA\mathrm{PA}.

The usual way to think about an interpretation is not as a program but as a function: an interpretation of a modal logic sentence is a mapping from all the sentence letters to sentences of PA\mathrm{PA}.

A sentence is a theorem of GL\mathrm{GL} if and only if, under every interpretation, the resulting PA\mathrm{PA} sentence is a theorem of PA\mathrm{PA}.

GL\mathrm{GL} is decidable, so any question about PA\mathrm{PA} provability that can be written in modal logic can be decided.

Full text under the publisher's open licence · 544 words

Read at LessWrong ↗Ask about this article

Article info

Source

LessWrong

Published

December 5, 2026

Read time

3 min

Category

AI Research
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account