Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

build #693
Log
Raw
$ lake build ⚠ [16310/17036] Replayed Lib.Adelic.QuotientMeasure.IwasawaUnfolding warning: src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean:397:0: automatically included section variable(s) unused in theorem `New.ofReal_mul_lintegral_iwasawa_translate`: [PolishSpace G] consider restructuring your `variable` declarations so that the variables are not in scope or explicitly omit them: omit [PolishSpace G] in theorem ... Note: This linter can be disabled with `set_option linter.unusedSectionVars false` ✔ [26162/26375] Built New.Derivatives.Field.ChosenPlaces (2.6s) Build completed successfully (26375 jobs). -- 9 s $ lake build Lib New Main Challenge ⚠ [16310/16488] Replayed Lib.Adelic.QuotientMeasure.IwasawaUnfolding warning: src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean:397:0: automatically included section variable(s) unused in theorem `New.ofReal_mul_lintegral_iwasawa_translate`: [PolishSpace G] consider restructuring your `variable` declarations so that the variables are not in scope or explicitly omit them: omit [PolishSpace G] in theorem ... Note: This linter can be disabled with `set_option linter.unusedSectionVars false` ⚠ [26375/26379] Replayed Challenge warning: src/../Challenge.lean:7:8: declaration uses `sorry` warning: src/../Challenge.lean:10:8: declaration uses `sorry` warning: src/../Challenge.lean:13:8: declaration uses `sorry` warning: src/../Challenge.lean:16:8: declaration uses `sorry` warning: src/../Challenge.lean:19:8: declaration uses `sorry` Build completed successfully (26379 jobs). -- 9 s $ lake env lean /tmp/build-jof3k8lq/solve/ShoalAxioms.lean 'riemannHypothesis' depends on axioms: [propext, Classical.choice, Quot.sound] 'riemannZeta_eq_zero_re' depends on axioms: [propext, Classical.choice, Quot.sound] 'LFunction_ne_zero_of_half_lt_re' depends on axioms: [propext, Classical.choice, Quot.sound] 'LFunction_eq_zero_re' depends on axioms: [propext, Classical.choice, Quot.sound] 'LFunction_eq_zero_re_of_isPrimitive' depends on axioms: [propext, Classical.choice, Quot.sound] -- 7 s ok: lake build passes with no sorry; 5 theorem(s) report propext, Classical.choice, Quot.sound only; not replayed: Comparator judges this project once per maintainer round
Resources--partition=lean --time=01:00:00 --cpus-per-task=4 --mem=16384M
Submit directory(the project root)
Approved version6a14891
Resultok: lake build passes with no sorry; 5 theorem(s) report propext, Classical.choice, Quot.sound only; not replayed: Comparator judges this project once per maintainer round
Batch script
#!/bin/bash
#SBATCH --job-name=lake-build
#SBATCH --partition=lean
#SBATCH --time=01:00:00
#SBATCH --cpus-per-task=4
#SBATCH --mem=16G
# lake build (upstream's build.yml), the sorry and axiom gates, and Comparator, on the pushed commit ($SS_INPUT), in the
# project's Lean image (docker/) with no network. A push gets the build and the gates (main: 17 s, 1 GB at 4 CPUs,
# 12-02). Comparator's replay runs once per maintainer round with BUILD_REPLAY=1 ("replay": "round" in build.json): on
# the production host on 12-02 it exported 4.7 GB in 4 min, nanoda took ~10 min, and Lean's kernel had run 90 min and
# held 62 GB without a verdict when the run was stopped. These limits are the push's, not the replay's.
# The approved checks/build.py and checks/build.json say what is run; the image holds the toolchain, the dependencies
# and a build of the approved main, so only what the commit changed is rebuilt. Logs go beside the job's output.
set -euo pipefail
BUILD_LOGS="$PWD/logs" python3 -I checks/build.py "$SS_INPUT" checks/build.json