---
title: "Does a Trivially True Predicate Invalidate a Kernel-Checked Proof? An Independent Build and Dependency Audit of the Alpöge Lean Archive for the Riemann Hypothesis"
authors:
  - "Eryk Schiller"
year: 2026
venue: "arXiv preprint (cs.LO)"
arxiv: "2611.37492"
doi: null
source: "https://arxiv.org/abs/2611.37492"
version_reviewed: "v1 (27 Nov 2026), arXiv HTML: sections I–VI read, appendices (commands and output) skimmed"
topics:
  - "lean4"
  - "riemann-hypothesis"
  - "formal-verification"
  - "proof-auditing"
  - "ai-assisted-math"
  - "reproducibility"
seed_rank: 2760
seed_batch: "frontier-2026-11-30"
reviewed: "2026-11-30"
pool: "maths-foundations"
relevance_score: 8
lineage: ai-mathematical-reasoning
cites:
  - title: "Does a Trivially True Predicate Invalidate a Kernel-Checked Proof? An Independent Build and Dependency Audit of the Alpöge Lean Archive for the Riemann Hypothesis"
    url: "https://arxiv.org/abs/2611.37492"
    year: 2026
    arxiv: "2611.37492"
    doi: null
  - title: "Lean 4 archive lean.tar.gz (14 parts) — L. Alpöge"
    url: "https://alpo.ge/"
    year: 2026
    arxiv: null
    doi: null
  - title: "Lean verification of the Riemann Hypothesis (Lean FRO and Mathlib Initiative joint statement)"
    url: "https://leanprover-community.github.io/blog/posts/riemann-hypothesis/"
    year: 2026
    arxiv: null
    doi: null
  - title: "Alpöge/Claude proof of the Generalized Riemann Hypothesis (M. Rubinstein, web page)"
    url: "https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/"
    year: 2026
    arxiv: null
    doi: null
  - title: "Lean4Lean: Verifying a typechecker for Lean, in Lean"
    url: "https://arxiv.org/abs/2403.14064"
    year: 2024
    arxiv: "2403.14064"
    doi: null
  - title: "The invalidity of Alpöge's proof of the Riemann Hypothesis: Vacuously true geometric and lattice witnesses in the Lean formalization (J. L. Nielsen, manuscript dated 20 Nov 2026)"
    url: null
    year: 2026
    arxiv: null
    doi: null
see:
  - "2685-alpoge-s-lean-proof-of-the-riemann-hypothesis-and-grh-for-dirichlet-l-fu"
---

# Does a Trivially True Predicate Invalidate a Kernel-Checked Proof? An Independent Build and Dependency Audit of the Alpöge Lean Archive for the Riemann Hypothesis

## One-sentence takeaway

An independent source build of Alpöge's 175,187-file Lean 4 archive (pinned Lean 4.33.1, cached Mathlib at 0df444a3) completed with no errors in 52 h 12 min. The headline theorem is Mathlib's own `RiemannHypothesis`, using only `propext`, `Classical.choice` and `Quot.sound`. A dependency audit of the compiled proof (1,478,219 constants) confirms that Nielsen's "geometry predicate is `True`" is on the route but is never eliminated, so the trivial predicate alone does not invalidate a kernel-checked closed term. This is not a certification of the proof.

## Why it matters here

This is the first independent, reproducible arXiv-level audit to follow card 2685 (Alpöge's Lean RH/GRH release). It is a model of how to argue about a machine-written proof without understanding its mathematics. It separates three questions that critiques tend to merge: derivability in the formal theory, faithfulness of the statement, and the meaning of intermediate constructions. It also lists exactly which further checks (lean4checker replay, an independent kernel, Comparator export) it did *not* run. For Broadside's provenance-first stance on AI-math claims, it is a template for "what was checked, on which artifact digest, by which binary". It pairs with 2743 (djb's list of soundness bugs in proof checkers) on the residual-trust side. The bridges are this card's reading.

## Key ideas

- **Build.** 14 archive parts were joined and hashed, and the archive was checked for absolute or `../` paths. It ships no `.olean` files, so every project module was compiled locally. The build took 20 cores, 31 GB later raised to 62 GB of RAM, 183,903 Lake jobs, exit code 0, 0 error lines, 175,187 compiled modules and 98 GB of output. Mathlib's compiled files and the elan-installed Lean binaries are trusted as delivered.
- **Statement and axioms.** `RiemannHypothesis` and `riemannZeta` are declared in Mathlib's `NumberTheory.LSeries.RiemannZeta` and are not redefined. All five theorems in `Main.lean` depend on exactly the three standard axioms. A fully written-out restatement (`rh_restated`) is accepted with the same axioms.
- **Source scan.** All files were searched for `axiom`, `sorry`, `native_decide`, `unsafe`, `implemented_by`, `extern`, `addDeclWithoutChecking`, `ofReduceBool`, `elab`, `import Lean` and similar, and every match was read. The author notes this does not exclude every possible bypass.
- **Dependency audit.** The audit walks types and values (including proof terms) inside Lean, with two independent traversals that agree exactly. `anyGeometry := fun _ _ _ => True` is reached and the non-trivial `geoOf` is not. The certificate is constructed and transported, but the recursors of the types that hold it are not reached. The audit detects primitive projections and was validated on a synthetic development.
- **Logical point.** A closed term of type `RiemannHypothesis` accepted by a sound kernel is a derivation of RH from the axioms it uses. Vacuous intermediate fields do not weaken it, and such a term is not a proof of `RH = RH`.

## Caveats

The scope is narrow and the author says so. There was no kernel replay of their own, no independent kernel, and no Comparator run (others report these, but they are not shown to be on the same artifact). The reported nanoda run's 1,484,729 declarations versus this closure's 1,478,219 constants is unexplained. Only one of the critique's three constructions is traced (not the degenerate witness or the `rfl` lattice/height equalities), and there is no account of the mathematical mechanism. It is one machine and one build against cached Mathlib. A removability experiment (weakening the certificate field and rebuilding) is proposed but was not run. The Nielsen critique is cited as a manuscript with no URL.

## Links

- arXiv abstract: https://arxiv.org/abs/2611.37492
- PDF: https://arxiv.org/pdf/2611.37492
- Alpöge archive (as cited): https://alpo.ge/
- Lean FRO / Mathlib joint statement (as cited): https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
- Rubinstein verification page (as cited): https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/
