Documentation

ReflectiveSubsystems.GodelComplete

Discharging the Gödel Incompleteness hypothesis via Foundation #

Provenance: closes the imported hypothesis of ReflectiveSubsystems/GodelCore.lean — and hence the capstone ReflectiveSubsystems/Reflective.lean — using upstream FormalizedFormalLogic/Foundation, first discharged at rev b47cf447 on Lean 4.31 + Mathlib v4.31 and re-verified at each pin bump since, via FFL.FirstOrder.Arithmetic.exists_true_but_unprovable_sentence_of_sigma1sound (Gödel's first incompleteness theorem for arithmetic theories T with [T.Δ₁] [𝗥₀ ⪯ T] [T.SoundOnHierarchy 𝚺 1]).

The shared Incompleteness symbol #

This file discharges the literal ReflectiveSubsystems.Incompleteness symbol — that is why the core was factored into the lightweight ReflectiveSubsystems/GodelCore.lean, which both this file and ReflectiveSubsystems/GodelThreshold.lean import, so the hypothesis assumed there is exactly the one proved here. The two halves stay distinct terms by design:

BAR / axioms — a ZERO-named-axiom core #

incompleteness_of_arith (generic adapter) uses standard axioms only (propext, Classical.choice, Quot.sound) — Δ₁/𝗥₀ ⪯/ℕ↓[ℒₒᵣ] ⊧* are HYPOTHESES, nothing concrete is synthesized. This is the faithful §5.3-class statement: it applies to ANY T with [T.Δ₁] [𝗥₀ ⪯ T] and ℕ-soundness (which covers §5.3's IΔ₀ abstractly). The two concrete 𝗜𝚺₁ witnesses below are axiom-clean too — Foundation's 𝗜𝚺₁.Δ₁ definability is a theorem (an instance synthesized from PeanoMinus.delta1, InductionScheme.delta1_prenexHierarchy and the union instance) — so this file, and with the 𝗣𝗔⁻/𝗜𝚺₁ capstones of ReflectiveSubsystems/GodelChecker.lean / ReflectiveSubsystems/GodelCheckerComplete.lean the whole Foundation side, carries no named axioms.

The concrete 𝗜𝚺₁ witnesses (also axiom-clean) #

This file also ships two concrete 𝗜𝚺₁ witnesses: isigma1_represents_underivable_truth, and a bounded-decision witness isigma1_decides_bounded_nonprovability over an abstract sound checker. Both instantiate exists_true_but_unprovable_sentence_of_sigma1sound 𝗜𝚺₁, whose 𝗜𝚺₁.Δ₁ requirement is met by Foundation's Δ₁-definability theorem (an instance synthesized from PeanoMinus.delta1, InductionScheme.delta1_prenexHierarchy and the union instance, discharged upstream), so both are fully axiom-clean (#print axioms = propext, Classical.choice, Quot.sound). They sit beside the 𝗣𝗔⁻ capstones (ReflectiveSubsystems.HilbertChecker.paMinus_decides_bounded_nonprovability, ReflectiveSubsystems.ArithmetizedChecker.paMinus_complete_decides): since 𝗣𝗔⁻ ⊊ 𝗜𝚺₁, unprovability in 𝗣𝗔⁻ is the weaker, more faithful (§5.3-class) consequence, obtained without even the Δ₁-definability result because 𝗣𝗔⁻ is finite (Theory.Δ₁.ofFinite PeanoMinus.finite); the 𝗜𝚺₁ forms are the parallel witnesses at Foundation's canonical Σ₁-induction theory.

Faithfulness to §5.3 #

incompleteness_of_arith is the general (§5.3-class) claim, instantiable at any Δ₁ arithmetic theory with 𝗥₀ ⪯ and ℕ-soundness. Incompleteness holds all the way down R₀ ⊊ Q ⊊ IΔ₀ ⊊ IΣ₁ ⊊ PA; the most faithful axiom-clean non-vacuity witness is 𝗣𝗔⁻ (finite, Δ₁ via ofFinite, on the GodelChecker side), with 𝗜𝚺₁ the parallel witness one step up.

What this does NOT establish (flagged) #

Adapter (axiom-clean): for any arithmetic theory T with Δ₁-definability, 𝗥₀ ⪯ T, and truth in ℕ (which gives SoundOnHierarchy 𝚺 1 for free), Foundation's first incompleteness theorem discharges the literal Incompleteness — a sentence true in ℕ but unprovable in T, with Gödel number its Encodable.encode.

The Gödel size can be taken to be at least two. From one true sentence δ that T does not prove, the sentences δ, δ ⋏ δ and (δ ⋏ δ) ⋏ δ are three distinct true sentences that T does not prove (a proof of a conjunction gives a proof of its conjunct), Encodable.encode is injective, and only two numbers lie below two, so one of the three has a code of at least two. Together with ReflectiveSubsystems.exists_budget_iff_two_le, this is what makes the proof-code budget gTS < Mchk ≤ gTS ^ 2 inhabited at the size delivered.

The concrete 𝗜𝚺₁ witnesses (axiom-clean via the upstream Δ₁-definability theorem) #

Concrete chain result for T = 𝗜𝚺₁: a Gödel sentence of 𝗜𝚺₁, true in ℕ but unprovable in 𝗜𝚺₁, is represented at depth gTS + 1 — discharging the Incompleteness hypothesis with NO remaining hypothesis. The depth gTS + 1 equals (cyclicParamNNO (gTS + 1)).depth; the NNO-object form is reflective_of_depth on the Mathlib side, kept a separate term here (see the shared-symbol note above). Foundation's 𝗜𝚺₁.Δ₁ instance is a theorem (synthesized from PeanoMinus.delta1, InductionScheme.delta1_prenexHierarchy and the union instance, discharged upstream), so this witness is fully axiom-clean.

§6.3 L2b for the concrete 𝗜𝚺₁ witness, over an ABSTRACT sound checker. For any sound bounded proof relation Prf on Sentence ℒₒᵣ (sound: accepts ⇒ 𝗜𝚺₁ ⊢), the actual 𝗜𝚺₁ Gödel sentence G (true in ℕ, unprovable in 𝗜𝚺₁) is decided as bounded-non-provable — nothing within budget is accepted (NO sorry, NO degenerate always-false checker). ReflectiveSubsystems/GodelChecker.lean supplies a concrete computable Prf discharging the hypothesis (isigma1_decides_bounded_nonprovability'). Foundation's 𝗜𝚺₁.Δ₁ instance is a theorem (synthesized from PeanoMinus.delta1, InductionScheme.delta1_prenexHierarchy and the union instance, discharged upstream), so this witness is fully axiom-clean.