Skip to content

Modernize Lean and clarify the scope of the formal results - #162

Merged
gift-framework merged 4 commits into
mainfrom
codex/lean-modernization
Sep 7, 2026
Merged

Modernize Lean and clarify the scope of the formal results#162
gift-framework merged 4 commits into
mainfrom
codex/lean-modernization

Conversation

@gift-framework

@gift-framework gift-framework commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

The presentation conflated numerical index conditions with analytic embedding theorems and a constant form model with compact G₂ existence. This change gives those results precise names, retains compatibility aliases and documents the actual assumptions.

  • Lean, Mathlib and doc-gen4 upgraded to 4.33.1 with a regenerated lockfile.
  • 45 elementary native_decide occurrences replaced by kernel reduction (1526 → 1481); 15 explicit project axioms retained; zero explicit proof holes.
  • Two attributed, Mathlib-only FLT analysis proofs added: the cube Sobolev estimate and uniform derivative bounds for smooth families.
  • Source scanning and transitive axiom checks added, including a standard-axiom-only policy for the new analysis results and selected arithmetic lemmas.
  • README, analysis and algebraic commentary shortened; misleading geometric interpretations clarified.

Validation: source scanner regression tests, version consistency and blueprint synchronization pass locally. The first migration Actions run compiled both imported analysis proofs and identified import-order and Mathlib compatibility failures. Commit 8bfd846 addresses them; the next build is running. Local Lean cannot initialize in the Work runtime, so Actions is the compilation gate. Keep this PR in draft until the full build and audit pass.

See docs/modernization.md for evidence and remaining obligations. No project axiom is claimed discharged and no completed compact G₂ construction is claimed.

gift-framework and others added 4 commits September 7, 2026 11:24
…nearity

- HodgeTheory: `def b` -> `abbrev b` so `Fin (b k)` unfolds at instance
  transparency; restores `Decidable (i = j)` in K7_analysis_data and lets
  the original lambdas stand (the type annotations are no longer needed).
- HodgeStarR7: star3_linear / star4_linear proved by `show` on the explicit
  coefficient form + `ring`, avoiding `simp` on a goal that 4.33 rejects at
  implicit transparency (Fin (Nat.choose 7 4) vs Fin 35).

lake build: 8855 jobs, no errors, no sorry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WSJVBCnUZ6DQoYqp1CFt8Q
`let mut count := 0` was inferred as MessageData from its later use inside
`m!"…{count}…"` on Lean 4.33, breaking `count + 1`. Explicit `: Nat`.

lake build && lake build Verification: 8859 jobs, audit OK
(3765 library theorems, no unapproved axiom).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WSJVBCnUZ6DQoYqp1CFt8Q
@gift-framework
gift-framework marked this pull request as ready for review September 7, 2026 18:18
@gift-framework
gift-framework merged commit 528e4aa into main Sep 7, 2026
5 checks passed
@gift-framework
gift-framework deleted the codex/lean-modernization branch September 10, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant