Levent Alpöge announced a Lean proof of the Riemann Hypothesis on November 20, 2026. This repository records an independent attempt to check his published archive. Credit for the claimed proof belongs to Alpöge and his collaborators. Original announcement
Agents: start at auto-research.md: current status, how to claim a bug, and links to PR120-BUGS.md and the fix playbook PR120-PLAYBOOK.md.
Build status (Nov 23, 16:15 UTC): the branch does not build cleanly yet. About 80% of modules compile (38,047 of 47,718); the other ~20% are blocked behind 28 open root errors listed in PR120-BUGS.md. So far 449 root errors have been fixed by 23 contributors (with AI agents assisting). Until it is green,
lake buildof the whole tree will fail. Verify your fix by building the module you changed (and its importers), not the whole tree.
Priority: get the consolidated Lean 4.36 proof (PR #120) to a clean build.
- 47,881 modules, −67.9% files compared with
main. The remaining work is a list of small compile failures introduced by bundling: name collisions and declarations lost when wrappers were collapsed. - Open failures: PR120-BUGS.md. How to help: AGENTS.md. Claim a bug by opening a draft PR
Fix <Module>againstrohanarun/riemann-hypothesis:opt/collapse-and-consolidate-4.36. - Packet claims remain closed: don't open
Claim P####/Claim M######issues or 4.33 → 4.36 porting PRs. - Historical replay archive: volunteer credits, packet logs and pinned 4.33.1 replay records remain below and on the live progress dashboard.
Thank you to all volunteers and agent contributors who helped replay and port the initial 175,187-module release! If you are running an agent or looking to contribute now, use the Lean 4.36 optimization prompt below instead of claiming legacy packets.
Replay volunteers (104)
@123454321bobbob-tech, @1337isnot1337, @21Z121Z1, @aapolipponen, @agi-for-my-llama, @Amahane-Hikari, @amrehan, @ANdATIon, @angusbarry, @arxhr007, @aulafy, @BenCaunt, @BouquetAntoine, @Brendon-Hablutzel, @burbon, @certified-retart, @ChristosMaglaras, @chriswilson413, @CubeJerry, @DanieleCorso, @dga471, @dgahelper, @dh5at, @dhudakk, @drew2apps, @EF-Code, @egergerfg, @emsi, @Ethan-prog-netizen, @f10etclawdbot, @florianmodel, @gabeldev, @galakurpi, @Genius-Cai-wen-zheng, @gilad12-coder, @gniax, @HaqtanEfe, @hipotures, @HITEYY, @iAndyHD3, @IlluminPhoenix, @JamCh01, @JanSimeonMetzger, @jaykobdetar, @jdenwood, @jjjhenriksen, @jsnider3, @juanfers1, @jwr404, @krisyotam, @LakshyAAAgrawal, @ljagiello, @loremcdmx, @Lv-00-ANI, @m4tthewdavis, @mabdelazim, @maddoxjack, @matan1905, @matiasm15, @maugomez77, @maxime-fleury, @mdpmcc, @Mfweb, @misuadn-laplace, @MLEARNER701, @MLTQ, @mu-mei, @Mzzj114, @nicu-chiciuc, @Paulee314, @pCwOrM, @rahulsundar477-star, @rayy3535, @RhizoNymph, @rishabh-16, @RobertBarnettProjects, @sat3n, @Scratch-net, @SeriousRising, @Sethumathavanpk, @shardmods, @Sigomi, @sp20262026, @surfyhou, @t-choudhury, @ThatOneShortGuy, @TimShakespeare, @TomMoeras, @TOTOGT, @Trefoiler, @TVSuchty, @twaldin, @unhingedpanda, @UnityChaos, @user42245, @varo6, @vivekshivarajkumar, @walkingsophie, @whitegrave1917-web, @WilmervH, @WorldianAI, @Wronskode, @yingluom, @zediir
Code contributors · Volunteer activity chart
Browse open granted claims on GitHub.
Show active claims awaiting evidence
35 entries. View the full table.
| Contributor | Task | Status |
|---|---|---|
| @galakurpi | M137346 | Claimed |
| @galakurpi | M108927 | Claimed |
| @galakurpi | M173750 | Claimed |
| @mabdelazim | M062140 | Claimed |
| @mabdelazim | M062151 | Claimed |
| @mabdelazim | M062155 | Claimed |
| @gilad12-coder | M063130 | Claimed |
| @gilad12-coder | M131258 | Claimed |
| @loremcdmx | M051277 | Claimed |
| @loremcdmx | M079827 | Claimed |
| @loremcdmx | M080139 | Claimed |
| @loremcdmx | M134025 | Claimed |
| @loremcdmx | M141042 | Claimed |
| @loremcdmx | M147088 | Claimed |
| @loremcdmx | M004289 | Claimed |
| @loremcdmx | M034703 | Claimed |
| @loremcdmx | M036491 | Claimed |
| @loremcdmx | M079838 | Claimed |
| @loremcdmx | M140261 | Claimed |
| @emsi | M034433 | Claimed |
Submitted for review
8,009 entries. View the full table.
| Contributor | Task | Review |
|---|---|---|
| @JamCh01 | M089843 | Pending review |
| @JamCh01 | M091131 | Pending review |
| @JamCh01 | M091197 | Pending review |
| @JamCh01 | M091487 | Pending review |
| @JamCh01 | M093359 | Pending review |
| @JamCh01 | M094422 | Pending review |
| @JamCh01 | M094426 | Pending review |
| @JamCh01 | M094973 | Pending review |
| @gilad12-coder | M171570 | Pending review |
| @hipotures | M062142 | Pending review |
| @JamCh01 | M095459 | Pending review |
| @JamCh01 | M095607 | Pending review |
| @gilad12-coder | M104709 | Pending review |
| @hipotures | M062889 | Pending review |
| @JamCh01 | M098156 | Pending review |
| @hipotures | M063511 | Pending review |
| @hipotures | M063512 | Pending review |
| @gilad12-coder | M107341 | Pending review |
| @gilad12-coder | M166291 | Pending review |
| @hipotures | M066593 | Pending review |
Reviewed builds
15,270 entries. View the full table.
| Evidence for distinct module IDs | Count |
|---|---|
| Successful source build observed | 26,591 |
| Pilot proof object reused | 150 |
| Pilot downstream module kernel-checked | 1 |
| Distributed proof object reused | 16,970 |
| Volunteer build evidence reviewed | 65,935 |
| Worker target kernel replay reviewed | 72 |
| Total with recorded module evidence | 109,719 / 175,187 |
See each completed part and its evidence · Machine-readable ledger
Default: fix a PR #120 build failure.
Help get the consolidated Lean 4.36 Riemann Hypothesis proof to build: leanprover-community/riemann-hypothesis#120 (branch
opt/collapse-and-consolidate-4.36in https://github.com/rohanarun/riemann-hypothesis). Read https://github.com/rohanarun/alpoge-rh-replay/blob/main/AGENTS.md, pick one open row from https://github.com/rohanarun/alpoge-rh-replay/blob/main/PR120-BUGS.md, and check the open PRs on rohanarun/riemann-hypothesis so you don't duplicate work. Open a draft PRFix <Module>against that branch to claim it.Most failures come from bundling: merged files see each other's
opens. Find the original module onmain(c779160312) and qualify the name it meant, only inside that original's namespace block. For missing or duplicate declarations, check aliromman'scodex/pr120-integration-4.36branch first.Strict rules: never modify
src/Challenge.lean,src/Statements.leanorcomparator.json; never addsorry,admit, axioms or unsafe features; don't change any theorem statement. Paste the original error and where the fix came from in the PR.
Agent instructions · Open failures · PR #120 · Historical replay archive
On Linux, install the elan launcher and ensure its lean and lake commands are on your PATH. The script also requires Python 3.9 or later, Bash, Git, curl, GNU tar, sha256sum, a C toolchain, network access, and a large writable build volume. Run from this repository with a fresh output directory.
./verify.sh /path/to/empty/replay-directoryThe script compares every archive part with its SHA-256 digest, checks the toolchain and mathlib revision, builds the final module from source, and writes the transcript to replay.log in the output directory. The pinned Lean compiler is 4.33.1 and the mathlib commit is 0df444a360eaa60ab8c11dca51a86af692955474.
The script checks for changes to its tools, records, and prepared dependency artifacts at stage boundaries. These checks are not an execution sandbox: they do not prevent concurrent or transient modifications by code running as the same user. In execution order:
- Archive verification. Every downloaded archive part is checked against
parts.sha256withsha256sum -c. The SHA-256 digests ofAudit.lean,parts.sha256, andaudit/dependency-artifacts.pyare recorded before any archive code runs. - Manifest pin. Immediately after extraction — before elan installs the toolchain or Lake runs — the SHA-256 digest of the extracted
lake-manifest.jsonis recorded. - Toolchain integrity. After
elan toolchain install, immediately before a--prepare-onlyrun returns, after the source build (immediately before the audit), and immediately before the fresh-kernel check:bin/lean,bin/leancheckerandbin/lake, and the shared libraries they load (libleanshared.so,libLake_shared.so,libleanshared_1.so,libleanshared_2.so,libInit_shared.so), still match the digests pinned inverify.shfrom the official Lean 4.33.1 Linux release for the machine's architecture (x86_64 or AArch64), andAudit.leanandparts.sha256still match the digests recorded at step 1. PrintsREPLAY_INTEGRITY_CHECK_PASSED. - Dependency check. After the Mathlib cache download (the mathlib checkout is separately pinned to the recorded commit above), immediately before a
--prepare-onlyrun returns, and again after the source build:lake-manifest.jsonstill matches the digest recorded at step 2; every package the manifest records is a git checkout at the revision the manifest records, with no tracked file modified — agit statusthat itself fails is treated as a failure, not as a clean tree; the project tree's tracked files, if it is a git checkout, are likewise unmodified; and the packages directory contains no package the manifest does not record. PrintsREPLAY_DEPENDENCIES_PRISTINE_PASSED. - Prepared artifact baseline. Before the project source build,
dependency-artifacts.jsonrecords the prepared search path and hashes of dependency and standard-library.olean,.olean.server,.olean.private,.ir,.ir.sig, and.sofiles. The parent verifier retains the snapshot digest. Checks reject changes, removals, additions, redirected paths, and earlier search-path entries shadowing prepared modules. Generated setup inputs and traces are excluded. Final checks use the recorded search path without evaluating the project lakefile again;Audit.leanexplicitly imports Mathlib before Main. Successful checks printREPLAY_DEPENDENCY_ARTIFACTS_PASSEDbefore the final stages and again after each stage.
The artifact baseline establishes continuity from the prepared cache. It does not independently establish that the downloaded cache matches its source, and it does not cover project artifacts as dependencies. A clean Git checkout alone cannot establish cache identity: a valid alternate cached definition can pass both a statement check and fresh-kernel replay while the original dependency source remains untouched. The native regression in tests/dependency-artifacts-native.py demonstrates this distinction using a temporary toy dependency; it makes no claim about the RH archive.
REPLAY_SOURCE_BUILD_PASSEDmeans Lake built the module containing the final theorem.REPLAY_AXIOM_AUDIT_PASSEDmeans the five public theorems inMaintype-checked against their statements, whichAudit.leanwrites out with Mathlib definitions only. The audit rejects any reported axiom beyond propositional extensionality, classical choice, and quotient soundness.REPLAY_FRESH_KERNEL_PASSEDmeans Lean’s checker replayed the declarations imported byMainin a fresh environment. It uses the same Lean kernel implementation.
The integrity markers have separate scopes. REPLAY_DEPENDENCIES_PRISTINE_PASSED covers dependency Git revisions and tracked files. REPLAY_INTEGRITY_CHECK_PASSED covers the pinned toolchain binaries/shared libraries and the recorded audit/checker inputs. REPLAY_DEPENDENCY_ARTIFACTS_PASSED covers the prepared compiled dependency baseline and its import providers. None of these markers alone establishes the full proof result.
An optional statement check runs after these three when REPLAY_STATEMENT_CHECK=1 is set. It compares the five theorems in Main with propositions elaborated in a module that imports only Mathlib, and prints REPLAY_STATEMENT_CHECK_PASSED. It can also be run against a completed checkout; see audit/README.md.
A completed report should include the exit status, all three outputs, the printed theorem and axioms, and a checksum for the archived transcript. A machine or storage failure leaves the mathematical claim unresolved.
The M115707 example compares a shorter local Gram determinant argument with the published module. This check runs separately from the volunteer replay.
How the chart is counted · Event data
The original replay tooling and documentation in this repository are available under the MIT License. Upstream Lean source, Mathlib, and third-party artifacts retain their respective licenses.