Google DeepMind has quietly put one of the largest bodies of formalized mathematics ever assembled onto GitHub, and almost all of it was written by AI.
The project, called Formal Papers, consists of a shared Lean 4 library named PaperLib and 42 companion repositories organised by publication period, running from “pre-1500” through to 2026. Across those repositories sit roughly 27,940 individual works, each translated from an informal research paper into Lean, the proof assistant that lets a computer check every logical step of an argument. The code was published on December 5, and DeepMind has not yet accompanied it with a blog post or paper.

What Is In The Release
Each formalized work gets its own self-contained Lean project, with every definition, lemma and theorem from the source paper rendered as Lean code that compiles without sorry, the placeholder Lean uses for unproven steps. Each project also comes with a README that maps every numbered result in the paper to the Lean declarations that formalize it, and a “Formalization Notes” section listing places where the AI ran into trouble translating the paper.
Underneath it all is PaperLib, a library of more than 85,000 Lean files built on top of Mathlib, the community-maintained library that most Lean work depends on, as well as other open libraries such as TauCeti and cslib. DeepMind says it built PaperLib because formalizing research papers usually means first developing background theory that existing libraries don’t yet cover, and that it plans to retire material from PaperLib as those upstream libraries catch up.
The collection skews heavily towards recent work. More than 90% of the formalized papers date from 2021 onwards, with the 2026 repository alone holding nearly 5,500 works. The earliest papers come from 2004, and the repositories for earlier periods, including the pre-1500, 1500s and 1800s ones, are currently empty placeholders. DeepMind also only formalizes permissively licensed works, such as those released under CC BY, CC0, MIT or Apache, so the collection is dominated by arXiv preprints rather than paywalled journal articles.
AI Flagging Gaps In Human Papers
The most eye-catching part of the release is the Formalization Notes. Because Lean refuses to accept a statement that isn’t fully precise, translating a human paper into it tends to surface every unstated assumption, ambiguous definition and loose step. In the 2023 repository alone, more than 3,800 of the 4,127 formalized works carry a Formalization Notes section.
Where the AI finds a statement that doesn’t hold as written, it often goes further: it constructs an explicit counterexample in Lean showing the literal statement fails, then proves a corrected version of the theorem.
Take a 2022 preprint on Bayesian learning for dynamic inference. The formalization flags two “repairable mathematical discrepancies.” In the first, the paper repeatedly takes a minimum over a space of possible estimates without assuming that a minimum actually exists, which isn’t guaranteed when that space is infinite and unbounded. The AI produces a simple loss function on the real numbers that keeps getting closer to zero without ever reaching it, then restates the affected results using infimums and proves them. In the second, the paper’s overview section introduces a different probability kernel for each round but then quietly assumes a single shared one. The AI writes a two-round counterexample showing why that switch needs an explicit assumption.
Neither issue undermines the paper’s main results, and both are the kind of gap that a careful referee might wave through as an obvious convention. That is typical of what the notes contain: missing hypotheses such as measurability or nonemptiness, mismatched notation, and statements that are true only under conditions the authors had in mind but didn’t write down.
DeepMind Is Careful Not To Call These Errors
Social media posts about the release have framed it as DeepMind “auditing” published mathematics and catching broken proofs. DeepMind’s own documentation explicitly pushes back on that reading.
The project README says the formalization notes “should not be read as claims of errors in the source papers,” and notes that they frequently stem from omitted conventions, implicit domain assumptions, or translation mistakes made by the AI itself. The README carries the heading “Expect Mistakes,” and the team writes that “we expect there to be mistakes” throughout the generated code and documentation.
There are good reasons for that caution. Lean guarantees that a proof follows from its stated definitions and hypotheses, but it cannot guarantee that those definitions and hypotheses faithfully capture what the original authors meant. An AI that misreads a definition can produce a perfectly valid Lean proof of the wrong theorem, or a counterexample to a claim the paper never made.
The project also leans on what it calls “megatheorems”: well-known results from the literature whose proofs would require large amounts of missing theory, so DeepMind states them as axioms rather than proving them. These are tagged so that Lean’s own tooling can track exactly which papers depend on them, but any misstatement in a megatheorem would not be caught by proof checking. Several of the formalized papers also target the first arXiv version of a work rather than the latest one.
DeepMind has set up issue templates in every repository for researchers, including the original authors, to report discrepancies or add author notes.
Why It Matters
Formalization has traditionally been painstaking manual work. Landmark projects have taken teams of mathematicians months or years to formalize a single major result. Translating tens of thousands of papers, even imperfectly, is a different order of scale, and it arrives as AI labs are pouring resources into formal mathematics.
DeepMind’s own recent work in this area includes AlphaProof Nexus, an agent that solved nine open ErdÅ‘s problems with proofs verified in Lean, and an AI co-mathematician designed to work alongside human researchers. Competitors are moving just as quickly: Anthropic’s Claude recently spent 11 days autonomously producing a computer-checked proof of Fermat’s Last Theorem, while OpenAI released more than 300 mathematical results from an internal model, only some of which came with Lean formalizations.
A large, machine-checkable corpus of existing research could help with that verification problem. It gives AI systems a formal foundation of established results to build on and gives human mathematicians a way to see exactly which assumptions a published theorem depends on. It could also make the literature easier to search and connect in ways that informal PDFs never allowed.
It also lands in a field that is increasingly uneasy about the volume of machine-generated output. Mathematical submissions to arXiv have risen sharply above trend in 2026, and Terence Tao has argued that results whose authors can’t clearly explain them shouldn’t be published. Tao and 24 other Fields Medal winners have also warned that AI labs’ race to solve famous problems is misaligned with the goals of mathematics. Tens of thousands of AI-written formalizations, each with AI-written notes about where human papers fall short, will need human scrutiny of their own before mathematicians treat them as authoritative.
For now, DeepMind is presenting Formal Papers as an experimental research artifact rather than a verdict on the literature. Its real test will be whether mathematicians start using it, and whether the authors of the flagged papers agree with what the AI found.