Skip to content
stksk310Public

About

Lean 4 formalization of the non-convexity of the Mixed Lonely Runner parameter space

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MLRLean

日本語

DOI

MLRLean is a Lean 4 formalization of the primary proof architecture of Theorem 1.1 in Keisuke Sato, Non-convexity of the Mixed Lonely Runner Parameter Space. It proves non-convexity of the three-dimensional mixed lonely runner parameter space by two admissible threshold vectors whose midpoint is inadmissible. The associated manuscript has been submitted for publication.

Zenodo DOI

The v1.0.0 DOI identifies the exact audited v1.0.0 source snapshot. The all-versions (concept) DOI represents the software across versions and resolves to the latest archived version. Use the version DOI when citing this specific snapshot. These DOI additions are post-publication metadata updates; the v1.0.0 tag and archived source remain unchanged.

Main result

The exact threshold vectors are

A = (7/20, 1/5, 13/90)
B = (1/20, 1/3, 3/10)
M = (1/5, 4/15, 2/9) = (A+B)/2.

The formalization proves A ∈ MLPS3, B ∈ MLPS3, and M ∉ MLPS3, hence non-convexity. Here MLR.MLPS3 is a predicate on MLR.Threshold3 (real-valued functions on Fin 3); set notation refers to the set satisfying that predicate.

MLR.MLPS3_not_convex concerns the unrestricted predicate-defined set:

¬ Convex ℝ {d : MLR.Threshold3 | MLR.MLPS3 d}

The manuscript-domain theorem is MLR.MLPS3PaperSet_not_convex:

¬ Convex ℝ MLR.MLPS3PaperSet

Here MLPS3PaperSet = MLPS3 ∩ (0,1/2]^3, coordinatewise: its defining condition is MLPS3 d ∧ ∀ i, 0 < d i ∧ d i ≤ 1/2. Both endpoints and the midpoint satisfy these coordinate bounds.

Public API

import MLRLean

#check MLR.A_mem_MLPS3
#check MLR.B_mem_MLPS3
#check MLR.midpoint_not_mem_MLPS3
#check MLR.MLPS3_not_convex
#check MLR.MLPS3PaperSet_not_convex

example : MLR.MLPS3 MLR.A := MLR.A_mem_MLPS3
example : MLR.MLPS3 MLR.B := MLR.B_mem_MLPS3
example : ¬ MLR.MLPS3 MLR.M := MLR.midpoint_not_mem_MLPS3
example : ¬ Convex ℝ MLR.MLPS3PaperSet :=
  MLR.MLPS3PaperSet_not_convex

Proof architecture

Jensen exact pair-correlation formula
  → actual Haar-measure Bonferroni
  → finite resonance reduction
  → A: 12 primitive residual triples and exact witnesses
    B: resonance families and fiber/Bézout grid lifting
  → midpoint obstruction at ordered speeds (2,1,3)
  → non-convexity.

The primary proof architecture of Theorem 1.1 is formalized. This does not assert formalization of every sentence or every independent verification section of the manuscript.

Reproducibility

The audited environment is Lean 4.34.0-rc1, with Mathlib revision de5ce8a9a66a4aa68a9bdbb35b63a06d34d9ca11. lean-toolchain pins Lean; lake-manifest.json pins Mathlib and the transitive dependencies. With elan installed, run from the repository root:

lake exe cache get
lake build

The first command obtains the official Mathlib binary cache for the pinned dependencies. It does not rebuild all Mathlib sources. lake build compiles MLRLean. Network access and sufficient disk space for Lean/Mathlib are needed on a fresh machine.

The public repository is hosted at stksk310/MLRLean. The release candidate's frozen mathematical payload was successfully verified on a fresh GitHub-hosted Ubuntu runner in the pinned Lean/Mathlib environment: CI run 34497006154. The CI workflow builds and runs the public-import examples above. GitHub caching of .lake is disabled; the official Mathlib binary cache is used. Mathlib was not rebuilt completely from source. See verification for hashes and audit provenance.

The public software release version is 1.0.0. The frozen lakefile.toml retains its audited internal package version 0.1.0; changing that file would change the audited bytes. The 21 Lean sources and three environment/configuration files remain byte-for-byte identical to the audited snapshot.

Trust boundary

The project source contains no sorry or admit, no manually declared axiom, no unsafe declaration, and no set_option. It contains 23 uses of native_decide.

The analytic backbone and midpoint obstruction have no native-generated axiom dependencies: the audits' #print axioms results report only the standard Lean axioms propext, Classical.choice, and Quot.sound for those results. The endpoint membership results inherit five native-generated axioms for A and two for B; the final non-convexity results inherit their union of seven native-generated axioms, concerning finite exact rational tables/classifications.

The final result is therefore not kernel-only: native_decide also trusts the Lean compiler and generated native code. Independent exact-arithmetic audits reproduced all seven finite facts. Those checks provide additional evidence; they do not remove this trust dependency. The archived reports identify the facts and their dependencies.

The known MainTheorem.lean warning, Copyright too short!, and the native_decide linter warnings are retained. Frozen proof sources have not been edited to silence warnings.

Audit status

The frozen mathematical snapshot was independently reviewed through separate Codex, ChatGPT, and Claude Code audit passes. These are model-assisted technical audits, not human peer review. The campaign records report no fatal or material mathematical findings. The verification archive contains the available unmodified Codex and Claude Code reports; it does not include a separate ChatGPT report.

The Claude Code audit reports that a fresh extracted copy of all 21 project Lean sources compiled successfully in the pinned environment. Its Mathlib dependencies used compiled cache artifacts; this was not a build of all Mathlib sources from source. Audit findings about the older package describe that historical package, not the new release metadata.

AI assistance

OpenAI Codex / ChatGPT were used substantially for Lean proof engineering, code generation, debugging, formalization planning, and regression/audit support. Claude Code was used for an independent executable audit.

The submitted SC1 manuscript acknowledgment additionally records OpenAI ChatGPT, Anthropic Claude, and Google Gemini, accessed through hosted services during August–September 2026, for exploratory proof development, adversarial checking, exact-arithmetic verification code, literature-search assistance, manuscript drafting/editing, and formalization support. These broader manuscript activities are distinct from the software roles described above. This disclosure follows that acknowledgment and the recorded software/audit campaign.

AI systems are not authors. Keisuke Sato remains responsible for the mathematical claims, computations, references, released code, interpretation, final text, and publication.

License and citation

This repository as released is licensed under the Apache License 2.0; see LICENSE. Existing source copyright notices are preserved unchanged. Dependencies retain their respective licenses.

To cite this software, use CITATION.cff: Keisuke Sato, MLRLean, version 1.0.0, doi:10.5281/zenodo.22699382. See release notes and the historical Zenodo preparation sheet. The submitted manuscript TeX and PDF are not included in this software repository.

About

Lean 4 formalization of the non-convexity of the Mixed Lonely Runner parameter space

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages