Autoformalization: DeepMind Puts 27,940 Papers in Lean

Autoformalization is the job of taking math written for humans, with its prose, its hand-waving and its "clearly it follows that", and turning it into code that a proof checker can verify line by line. It used to be a research demo. This week Google DeepMind quietly dumped roughly 27,940 AI-formalized papers onto GitHub, and suddenly it looks like infrastructure.
What autoformalization actually means
Mathematicians write proofs for other mathematicians. They skip steps that feel obvious, lean on conventions everyone in the field "just knows", and trust the reader to fill gaps.
A proof assistant like Lean has no such patience. Every definition has to be exact, every step has to be justified, and if you cheat with a placeholder called sorry, Lean notices. Autoformalization means getting an AI to do that translation: read the paper, write the Lean version, and make it compile. A 2022 paper, Autoformalization with Large Language Models, framed it as automatically translating natural language math into a formal language, and the name stuck.
What DeepMind put on GitHub
The project is called Formal Papers. It is a shared Lean 4 library called PaperLib, built on Mathlib and a few other open libraries, plus 42 repositories split by publication period, from "pre-1500" to 2026. FourWeekMBA counted the files and got 27,940 formalized works, with 5,483 from 2026 alone. Over 90% are from 2021 onward, and the older period repos are mostly empty placeholders for now.
Two details I like. First, DeepMind only formalized permissively licensed papers, so it is mostly arXiv work. Second, the README opens its warnings with a header that says, plainly, "Expect Mistakes". More labs should ship with that sentence.
Checked is not the same as correct
Here is the part the hype posts skipped. Lean checks that a proof proves the statement as written. It does not check that the statement says what the original author meant. If the AI translates a theorem slightly wrong, Lean will happily verify the wrong theorem.
There is also a new bit of jargon: the megatheorem. When a paper cites a famous result that would take mountains of missing theory to prove, PaperLib states it as an axiom and tags it. Nice and honest, since you can trace which papers depend on it. But a misstated megatheorem slips past the checker entirely.
So when a viral X post said the AI was finding mistakes in published papers, DeepMind's own README disagreed. It says the per-paper notes "should not be read as claims of errors in the source papers."
A quick example
OfficeChai walked through one formalized 2022 paper on Bayesian learning. The paper keeps taking a minimum over a set of possible estimates, without ever saying a minimum exists. Picture a function like e^(-x): it slides toward zero forever and never lands there, so there is no minimum to take. The AI built a counterexample of that flavour in Lean, swapped minimums for infimums (the "greatest lower bound", which always exists here), and proved the fixed version.
Nobody's main result collapsed. It is the sort of gap a referee waves through as convention. Which is exactly why I think this is useful: humans are great at ideas and lousy at bookkeeping.
Why I care about autoformalization
My take: the interesting bit is not "AI does math". It is that a giant, reusable, machine-checkable library of recent research now exists, warts and all. If even a fraction of it holds up, the next AI proof claim can be checked against real Lean code instead of a press release.
The catch is the same one we have with AI code: a green checkmark only tells you the thing compiled, not that it is the thing you wanted.
So, a question for you: if an AI hands you a proof that a computer verified, how much would you still want a human to read the statement before you believed it?
Sources: google-deepmind/formal-papers README, FourWeekMBA, OfficeChai, Wu et al. 2022, arXiv 2205.12615.