It compiles. The Lean kernel accepts it. It proves the Riemann Hypothesis — and it proves the Riemann Hypothesis is false. Same file. Same definitions. Same kernel.
We built this in the open to show exactly how a perfect certificate can sit on top of empty mathematics. Every trick in it mirrors a finding from our audit of the November 2026 GRH artifact. Nothing here is hidden. That is the difference.
'Neverland.riemann_hypothesis' depends on axioms: [propext, Classical.choice, Quot.sound] 'Neverland.riemann_hypothesis_is_false' depends on axioms: [propext, Classical.choice, Quot.sound] 'Neverland.height_eq_length' does not depend on any axioms
Every nontrivial zero lies on the critical line. Proved. Kernel-checked. Axioms: the standard three.
Every nontrivial zero has real part 1/3. Also proved. Also kernel-checked. Also the standard three.
One file. Core Lean only — no Mathlib, no dependencies, nothing to build for 122 hours. On our machine the whole check takes about twelve seconds.
elan toolchain install leanprover/lean4:v4.35.0lean Neverland.lean and read what the kernel tells you.Three moves. Each one is small, quiet, and sits at the level of definitions — where a kernel cannot see it. Each one mirrors the audit.
| The move | In this file | In the audited artifact |
|---|---|---|
| The conclusion is inside the definition | A "nontrivial zero" is defined as a zero that lies on the critical line. The theorem reads the definition back. | Finding 3 — the proved statement is weaker than the name it carries. |
| True slots on the proof path | The central lemma requires a geometry condition and a slot-72 condition as hypotheses. Both are True by construction; callers discharge them with trivial. | Findings 4 and 6 — anyGeometry := True, UnusedSlot72 := True, consumed on the path. |
| The hard identity is a copy | "Height" and "length" are presented as independent computations. They are the same term twice, so their identity closes by rfl. | Finding 5 — height and length defined by copy, equality closed by construction. |
And underneath all three: our "zeta function" is a constant function with a famous name. It never vanishes — which is why the same file can prove the zeros sit at 1/2 and at 1/3 with equal ease. The kernel does not know what ζ is. It only knows what the definitions say.
Lean is not broken. A kernel certificate proves that a statement follows from its definitions. It cannot prove that the definitions mean what their names claim. "It compiles" settles the certificate. It settles nothing about the mathematics.
The audit of the November 2026 GRH claim, in three papers — free to read:
1. The audit — doi.org/10.5281/zenodo.24489395
2. The Certificate and the Proof — doi.org/10.5281/zenodo.24540196
3. Compiled, Not Proved — doi.org/10.5281/zenodo.24564463