The Referee Was Right, and So Was Lean: Proof, Peer Review, and the Machine, 1665–2026
Hiroki Fukui
cs.CY
Nov 28, 2026 · v1
cs.LO math.HO
TL;DR
Historical essay on proof acceptance, centred on Lean-checked proofs and the author's AI-assisted Lean formalization of a magic-squares argument, which exposed a gap.
Abstract
Mathematics has repeatedly rebuilt the way it decides that a proof is correct: by correspondence and public challenge, by academies and journals, by refereeing, and by the slow consensus of a community. On 20 November 2026 a proof of the Riemann Hypothesis was released as seventeen million lines of Lean, written by Levent Alpöge with Claude and accompanied by a four-page note rather than a paper. Within a day it had been certified correct by a public process, without journal refereeing. This paper reviews the history of how proofs have been accepted, from the seventeenth century to the first machine-checked theorems, and argues that November 2026 marks a turning point. Once a statement and its assumptions have been fixed, a kernel can check whether a submitted proof establishes that statement; for problems that can be stated in this way, that check no longer needs peer review. The judgements it used to make do not disappear; they move to two other places: before the proof, in the choice of the formal statement, and after it, in the work of understanding why the theorem is true. I set beside the Riemann Hypothesis two cases: a proof that was refereed and published but not accepted, and my own proof of a famous problem about magic squares, which a referee declined on grounds of plausibility and in which formalisation in Lean later exposed a gap. The referee was right, and so was Lean, in different senses. The referee could not say where the error was, but named the one method by which I could find out; following it, I identified for myself what my manuscript had not proved. I write as an outsider to the profession, a forensic psychiatrist working with AI and Lean. In my own case the change removed any excuse that I went unread because of who I am; whether it has removed the effect of affiliation from mathematics as a whole, my case cannot show.
Problem
Mathematics has repeatedly changed how it decides that a proof is correct. The paper asks what role peer review still plays once a machine kernel can check a fixed formal statement.
Approach
It reviews the history of proof acceptance: Renaissance challenges, Mersenne's correspondence network, academies and journals, compulsory refereeing, and machine-checked proofs from the four colour theorem to Mathlib-era projects. It sets beside this a reported 2026 Lean proof of the Riemann Hypothesis, certified without journal refereeing. It also describes the author's own case: a proof that no 3x3 magic square of distinct squares exists was declined by a referee. Formalizing it in Lean with AI coding agents then exposed an unproved claim.
Results
For problems with a fixed formal statement, the author argues, a kernel check replaces the referee's correctness judgement. The remaining human judgement moves to choosing the formal statement and to understanding why the theorem is true. In the author's case, Lean formalization isolated the missing condition on which the nonexistence argument depended.