Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

AI Claims Riemann Hypothesis Proof: 17M-Line Lean Code Hides Trivial `return True`

Anthropic mathematician Levent Alpöge claimed Claude proved the 167-year-old Riemann Hypothesis with a 17.37-million-line Lean formalization verified without `sorry` placeholders, but researchers discovered a core verification function simply returns `True` for any input, casting doubt on the proof's validity and highlighting challenges in auditing AI-generated mathematics.

Anthropic mathematician Levent Alpöge announced a collaboration with Claude that allegedly produced a complete formal proof of the Riemann Hypothesis — and the stronger Generalized Riemann Hypothesis — in the Lean theorem prover. The proof artifact comprises 17,587 Lean files totaling approximately 17.37 million lines of code, uses no sorry placeholders, and relies only on Lean's three standard axioms. The Lean and Mathlib communities issued a joint statement expressing full confidence in the proof's correctness, and independent verifiers confirmed the final theorem statement matches the Riemann Hypothesis as formalized in Mathlib using multiple proof checkers.

However, scrutiny of the codebase revealed a critical anomaly. A function named check defined as def check(*args): return True appears in the verification pipeline. This function accepts arbitrary arguments and unconditionally returns True, effectively bypassing any actual logical checking. The discovery shifted the narrative from a historic mathematical breakthrough to a debate about whether the massive codebase contains deliberate shortcuts or generation artifacts that undermine the proof's integrity.

The article explains the Riemann Hypothesis: proposed by Bernhard Riemann in 1859, it asserts that all non-trivial zeros of the Riemann zeta function have real part 1/2. This conjecture deeply governs the distribution of prime numbers (2, 3, 5, 7, 11, …). If true, it provides extremely tight error bounds for prime-counting estimates. The Clay Mathematics Institute offers a $1 million prize for a correct proof; despite 167 years of effort by leading number theorists, no universally accepted proof existed before this claim.

Lean is described as a formal proof language — essentially a type checker for mathematical reasoning. When a proof passes Lean's kernel, it is logically valid relative to the given definitions, axioms, and inference rules. The scale of this proof (17M+ lines) makes human review infeasible; the author notes that AI can read 17 million lines quickly, but humans would be overwhelmed. This raises a broader concern: as AI generates proofs in drug discovery, chip design, and system optimization that exceed human comprehension, verification may rely on yet more AI, reducing humans to a final confirmation click. The author concludes by questioning whether humans risk becoming superfluous in the loop of generation and validation.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

ClaudeAnthropicformal verificationRiemann HypothesisAI mathematicsMathlibLean theorem proverproof controversy

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion