Stanford mathematician Levent Alpöge proves Riemann hypothesis with 17m lines of Lean code
levent alpöge, a stanford mathematician, published a proof of the riemann hypothesis in 17 million lines of lean code, verified by dozens of independent checks, showing ai-assisted math can solve longstanding problems.
levent alpöge, a stanford mathematician, published a proof of the riemann hypothesis on november 20, 2026, using 17 million lines of code written in lean, a tool that checks mathematical proofs for errors. dozens of people ran the code independently and got the same result, confirming the correctness of the proof. the riemann hypothesis, one of the most famous unsolved problems in math, makes a prediction about how prime numbers are distributed. the solution arrived much earlier than expected, with forecasters on metaculus predicting may 2035 and mathematician terence tao expecting it to fall to a combination of humans and ai around 2050.