Skip to content

About

Independent replay of Alpöge’s claimed RH proof. Claim Lean modules and submit reproducible evidence.

Resources

Contributing

Stars

104 stars

Watchers

1 watching

Forks

Latest commit

 

History

2,268 Commits

Folders and files

Repository files navigation

Independent replay of Alpöge’s RH release

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

Current status

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 build of 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> against rohanarun/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.

Contributors

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

Active claims awaiting evidence

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.

Contributor Task Modules Review
@gilad12-coder M123501 1 Build evidence verified
@JamCh01 M034792 1 Build evidence verified
@JamCh01 M032791 1 Build evidence verified
@BenCaunt M142750 1 Build evidence verified
@gilad12-coder M066573 1 Build evidence verified
@gilad12-coder M133709 1 Build evidence verified
@hipotures M164961 1 Build evidence verified
@JamCh01 M113390 1 Build evidence verified
@JamCh01 M104114 1 Build evidence verified
@JamCh01 M099981 1 Build evidence verified
@JamCh01 M099961 1 Build evidence verified
@hipotures M164960 1 Build evidence verified
@JamCh01 M099070 1 Build evidence verified
@hipotures P2105 64 Build evidence verified
@hipotures P2077 64 Build evidence verified
@JamCh01 P2814 11 Build evidence verified
@RhizoNymph P2748 64 Build evidence verified
@UnityChaos P2771 64 Build evidence verified
@hipotures M164958 1 Build evidence verified
@JamCh01 M094425 1 Build evidence verified

Completed parts

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

Give this prompt to an agent

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.36 in 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 PR Fix <Module> against that branch to claim it.

Most failures come from bundling: merged files see each other's opens. Find the original module on main (c779160312) and qualify the name it meant, only inside that original's namespace block. For missing or duplicate declarations, check aliromman's codex/pr120-integration-4.36 branch first.

Strict rules: never modify src/Challenge.lean, src/Statements.lean or comparator.json; never add sorry, 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

Reproduce the check

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-directory

The 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.

Integrity checkpoints

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:

  1. Archive verification. Every downloaded archive part is checked against parts.sha256 with sha256sum -c. The SHA-256 digests of Audit.lean, parts.sha256, and audit/dependency-artifacts.py are recorded before any archive code runs.
  2. Manifest pin. Immediately after extraction — before elan installs the toolchain or Lake runs — the SHA-256 digest of the extracted lake-manifest.json is recorded.
  3. Toolchain integrity. After elan toolchain install, immediately before a --prepare-only run returns, after the source build (immediately before the audit), and immediately before the fresh-kernel check: bin/lean, bin/leanchecker and bin/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 in verify.sh from the official Lean 4.33.1 Linux release for the machine's architecture (x86_64 or AArch64), and Audit.lean and parts.sha256 still match the digests recorded at step 1. Prints REPLAY_INTEGRITY_CHECK_PASSED.
  4. Dependency check. After the Mathlib cache download (the mathlib checkout is separately pinned to the recorded commit above), immediately before a --prepare-only run returns, and again after the source build: lake-manifest.json still 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 — a git status that 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. Prints REPLAY_DEPENDENCIES_PRISTINE_PASSED.
  5. Prepared artifact baseline. Before the project source build, dependency-artifacts.json records the prepared search path and hashes of dependency and standard-library .olean, .olean.server, .olean.private, .ir, .ir.sig, and .so files. 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.lean explicitly imports Mathlib before Main. Successful checks print REPLAY_DEPENDENCY_ARTIFACTS_PASSED before 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.

Read the evidence

  1. REPLAY_SOURCE_BUILD_PASSED means Lake built the module containing the final theorem.
  2. REPLAY_AXIOM_AUDIT_PASSED means the five public theorems in Main type-checked against their statements, which Audit.lean writes out with Mathlib definitions only. The audit rejects any reported axiom beyond propositional extensionality, classical choice, and quotient soundness.
  3. REPLAY_FRESH_KERNEL_PASSED means Lean’s checker replayed the declarations imported by Main in 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.

Optional determinant check

The M115707 example compares a shorter local Gram determinant argument with the published module. This check runs separately from the volunteer replay.

Volunteer activity

Cumulative chart of volunteers, granted claims, and replay submissions

How the chart is counted · Event data

License

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.

About

Independent replay of Alpöge’s claimed RH proof. Claim Lean modules and submit reproducible evidence.

Resources

Contributing

Stars

104 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages