← Wed, Nov 25 digest

Much shorter version of GRH Lean verification from Anthropic

read article ↗ hn thread ↗

Anthropic and collaborators released a heavily compressed, machine-verified Lean 4 proof of the Generalized Riemann Hypothesis, shrinking a prior 17M-line effort down to 76k lines.

summary is enough The repository README is brief, but the massive compression of the formal proof highlights a striking leap in AI-assisted mathematics.

summary

A researcher collaborating with Anthropic published a Lean 4 formalization of the Riemann and Generalized Riemann Hypotheses, dramatically reducing a previous 17-million-line brute-force proof to a readable 300,000 lines and a compact 76,000 lines. The artifact has passed rigorous machine checks using standard Lean axioms, though no human has yet audited the full logic. This milestone underscores the capacity of advanced AI models to perform complex proof-golfing and formal verification at unprecedented scales.

key points

  1. The proof was compressed from roughly 17 million lines down to 76,000 lines in its compact form and 300,000 lines in its readable form.
  2. It covers the Riemann Hypothesis and Generalized Riemann Hypothesis in Lean 4 using only standard foundational axioms.
  3. Despite passing rigorous machine checks, the code has not yet been audited or fully read through by human mathematicians.

who should read it

Mathematicians, formal verification researchers, and engineers tracking AI capabilities in complex reasoning tasks.

discussion positive

consensus

Commenters are heavily impressed by the massive 99.5 percent reduction in proof size achieved by internal LLMs, seeing it as a major practical leap over community-driven manual shrinking efforts.

pushback

Some raise concerns about whether massive, machine-generated proofs without human insight are mathematically meaningful or just opaque code artifacts.

best comment by Paracompact ↗

There are only two theorem statements here. When vetting a (trusted) theory as a mathematician, scrutinizing proof bodies tends to be the very last thing on the checklist. Top-down learning beats bottom-up.

Plus, this big proof really isn't that bad. What a line like

simp_rw [invDFT_apply, ← nsmul_eq_mul', AddChar.map_nsmul_eq_pow, ← smul_sum, @sum_comm _ _ ℕ, ← sum_smul, hψ.fourierTransform_eq_inv_mul_gaussSum]

really means to say is simply, "simplify and rewrite the goal statement iteratively according to these equalities, in the specified directions." Understanding this in an …

Demystifies Lean proof syntax by explaining how human mathematicians can top-down verify interactive proofs by tracking before-and-after goal states.

Generated by an LLM from the article and thread. Check the sources before relying on it.