Google DeepMind's AI turns about 28,000 research papers into Lean, with proofs, and the README says to expect mistakes
Google DeepMind has posted Lean files for about 28,000 papers, mostly recent arXiv preprints, in which AI systems restated each paper's results in Lean and proved them; the README itself says to expect mistakes. The README says the proofs pass Lean's checker with no gaps, but no person has checked that each Lean statement says what its paper says, and the papers' authors were not contacted. If the statements hold up, it would be a large, searchable library of recent results that mathematicians could check and reuse.
Status: Released by Google DeepMind; AI-generated formalizations, not independently verified.
Read the full summary
Google DeepMind has put a large set of Lean 4 files on GitHub under the name "Formal Papers". Lean is a programming language in which a computer checks every step of a proof. Each folder takes one paper, mostly recent arXiv preprints in math and computer science, and rewrites its definitions and theorems in Lean, with proofs. The work was done by AI, and the README says so plainly: the files "were generated autonomously by AI systems, and we expect there to be mistakes". If the Lean statements match what the papers say, this would be a large, searchable collection of recent results that a computer has checked, which mathematicians could search, check against the originals and reuse in their own Lean proofs.
The papers sit in 42 repositories named by period, from formal-papers-pre1500 to formal-papers-2026, all created on December 2, 2026, plus an index repository, formal-papers, created on December 4. The index holds PaperLib, a shared library of background math that the papers build on, which in turn builds on Mathlib, the main community Lean library. When I counted on the morning of December 5, the period repositories held 27,939 paper folders; later imports that day removed some, so the count has changed (see the update below). Almost all are from 2020 on (5,483 in the 2026 repository alone); the 19 repositories for the years before 2004 held none yet. I found no blog post from DeepMind about the release.
What a formalization contains. I read three folders. Each has a README matching the paper's numbered results to Lean names, a metadata file, and the Lean code. In the one I opened in full, on a 2024 Erdős-Ko-Rado paper by Hao Huang and Yi Zhang, the main theorem is stated and fully proved in Lean, in a 980-line file with no "sorry" (Lean's placeholder for a missing proof). The metadata files I read list a "sorry_count" of 0, no assumptions beyond the three basic ones every Lean proof uses, the method as "autonomous" with the model Gemini 4, a review status of "agent-reviewed", and the papers' authors as "not-contacted", meaning they were not asked to check the work. The README says proofs are checked "without sorry", but it also says some well-known results the papers cite are taken as unproved assumptions it calls megatheorems, tracked per paper. Where a paper uses one, that part rests on the assumption rather than a check; the folders I read used none. I read the files but did not build them myself.
Why it matters, if it holds up. A searchable library of Lean statements from the research literature could make results easier to check, find and reuse in new proofs. But a proof checker only shows that the Lean proof proves the Lean statement. The README warns that the statements and definitions "can still misstate, oversimplify, specialize, or otherwise diverge" from the papers, and the metadata I read lists the review as done by an AI agent, not by a person.
It is not an audit that finds errors in published papers. Some per-paper notes do list places where the AI changed a statement so that it could be stated or proved in Lean, and the README says those notes "should not be read as claims of errors in the source papers". A widely shared X post on Saturday morning described the release as DeepMind "auditing published human maths papers with AI" and "catching mistakes". That is an understandable first reading of a big release, but the README itself says the opposite.
What is in the repositories
- The repositories. 42 repositories, formal-papers-pre1500, -1500s, -1600s, -1700s, -1800s, the decades 1900s to 1990s, and each year from 2000 to 2026, all created on December 2, 2026, in the google-deepmind organization on GitHub. The index repository, google-deepmind/formal-papers, was created on December 4 and describes itself as an "Open collection of machine-checked mathematical and computer science formalizations in Lean 4". Its README ends with the standard line for Google's open-source releases: "This is not an officially supported Google product."
- The counts. On December 5 at about 9:50 a.m. Pacific time, the period repositories held 27,939 paper folders: 27,784 for arXiv papers, 22 for journal papers and 133 others. By repository: 2,984 in 2021, 3,454 in 2022, 4,127 in 2023, 4,617 in 2024, 4,837 in 2025 and 5,483 in 2026; 788 in 2020 and 1,546 across 2004 to 2019. The 19 repositories from pre1500 through 2003 held no papers. The repositories may still be growing.
- An example. formal-papers-2024, folder arxiv/2407.14091: Hao Huang and Yi Zhang, "On a d-degree Erdős-Ko-Rado Theorem". Its README says "All declarations are proved without sorry and depend only on standard Lean axioms". The main theorem, minDegreeAt_le_choose_of_sized_intersecting (the paper's Theorem 1.1), is stated and proved in MainTheorem.lean, which contains no sorry. The folder also states the paper's open conjecture as a Lean definition, with two cases proved.
- A second example. formal-papers-2026, folder arxiv/2603.16297, a quantum computing paper by Massimo Equi, Md Rabiul Islam Khan and Veli Mäkinen. Its README says every result is "formalized and proved unconditionally under standard Lean axioms", and its notes describe four "minor statement and initialization discrepancies" in one lemma and one section, each with a small Lean example showing that the wording as printed does not hold, and a corrected statement that the AI then proved. The notes call them minor and say all four can be repaired without changing the paper's algorithm or its complexity bounds. This is the kind of note the main README says not to read as a claim of an error in the paper.
- Megatheorems. When a paper cites a well-known result that would need too much missing background to prove, PaperLib states it as a "megatheorem", backed by an axiom that Lean tracks, and each paper's metadata records which ones it depends on. The README calls these "unproved formal statements of results from the literature". The examples I read used none.
- The build check. The README says each paper's build treats a sorry as an error ("warn.sorry = true" and "warningAsError = true"), and gives the commands to list a paper's axioms. I read the files but did not run the build.
- Update, December 5, 2026, 2:45 p.m. Pacific time. The repositories changed after the morning count. Later imports on December 5 removed some folders, including both examples above (formal-papers-2024 arxiv/2407.14091 and formal-papers-2026 arxiv/2603.16297), so their links no longer work; the counts above are as of 9:50 a.m. Two folders that are still there show the same layout: formal-papers-2024 arxiv/2407.14652, on Aritra Bhattacharya's paper on Hall-Littlewood polynomials, whose README says it is "proved under standard Lean axioms", and formal-papers-2026 arxiv/2607.07126, on Yeonseok Lee's paper on memory conflict detection in chip design, the third folder I read in the morning. I did not build either.
- Update, December 5, 2026, 7:45 p.m. Pacific time. DeepMind put a searchable website for the collection online on the afternoon of December 5, Formal Papers, which it calls a "Lean 4 Formalization Atlas". Its data file, built at 1:33 p.m. Pacific time, lists 24,504 released papers, fewer than the 27,939 folders I counted in the morning, with about 183.5 million lines of Lean in the papers and 79.9 million in PaperLib, spread over 84,032 PaperLib modules. The site puts every paper in one of four groups: 5,076 "Standard Lean Axioms Only", 20 "Uses Cited Megatheorems", 1,256 "Has Formalization remarks", and 18,152, about three in four, "Formalization remarks (Statement Differences)". I read the notes of one paper the site features in that last group, arXiv:2312.17095, Iosif Petrakis's "Topologies of open complemented subsets". They list statements that fail when read literally, mostly because an assumption such as symmetry was left unstated, plus a few typographical slips; "Each such item is paired with a compiling counterexample and an amended formalization", which the AI then proved. The main README still says such notes "should not be read as claims of errors in the source papers". So 18,152 counts papers where the AI recorded a gap between the printed wording and what it could prove, not papers shown to be wrong, and no person has checked those notes yet.
From the README
“The Lean formalizations, documentation, and per-paper notes in this project were generated autonomously by AI systems, and we expect there to be mistakes”
README of google-deepmind/formal-papers, section "Expect Mistakes", December 2026
“Although proofs are checked by the Lean 4 kernel (without `sorry`), definitions and theorem statements can still misstate, oversimplify, specialize, or otherwise diverge from the intended informal mathematics.”
“Formalization notes in each paper's README.md record discrepancies encountered when translating a paper's informal statements into Lean 4. These frequently stem from omitted standing conventions, implicit domain assumptions, or informal-to-formal translation mistakes by the AI, and should not be read as claims of errors in the source papers.”
The full record: the dated log, with sources
The rest of the record
- How I read these. Repository dates, file trees and files were read through GitHub's API on December 5, 2026. I found no DeepMind blog post or announcement. I could not load the X post mentioned above on its own page, so it is described here from the part of its text I saw, not quoted at length.
- Edit history: reported 9:55 a.m. Pacific time, December 5, 2026; updated 2:45 p.m. Pacific time, December 5, 2026, replacing two example links that stopped working; rewritten for clarity 5:40 p.m. Pacific time, December 5, 2026, with a title that says why the result matters; updated 7:45 p.m. Pacific time, December 5, 2026, with the new atlas website from DeepMind and its counts.
Sources
- https://github.com/google-deepmind/formal-papers
- https://github.com/google-deepmind/formal-papers/blob/main/README.md
- https://github.com/google-deepmind/formal-papers-2024/tree/main/arxiv/2407.14652
- https://github.com/google-deepmind/formal-papers-2026/tree/main/arxiv/2607.07126
- https://github.com/google-deepmind/formal-papers-2026
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.