A collection of paper formalizations on DeepMind's GitHub
A public collection called "Formal Papers," which formalizes mathematics and computer science papers in the proof assistant "Lean 4," has appeared in Google DeepMind's GitHub organization, "google-deepmind." Formalization means rewriting a paper's definitions, theorems and proofs into a form a computer can check line by line. According to the description, the formalizations, documentation and per-paper notes were generated autonomously by AI.
DeepMind has not announced it on its official blog or official X account, and ORIENS checked the contents through GitHub's public pages and API on the morning of Dec. 6 Japan time. The collection drew wide attention through a post by a third-party leaker, @LuminaBench, and this article treats it as a leak.
According to the description, the proofs are checked by the Lean 4 kernel, its core checker, without the "sorry" placeholder that marks an unfinished proof. Definitions and theorems that the formalizations need but that are not yet in "Mathlib," Lean's mathematics library, and other libraries are collected in a shared library called "PaperLib." DeepMind says it will remove material from PaperLib over time as the other libraries catch up.
42 repositories split by publication year
The formalized papers themselves are in 42 repositories split by publication period. There are 27 single-year repositories from 2000 to 2026, 10 decade repositories from the 1900s to the 1990s, 4 century repositories from the 1500s to the 1800s, and 1 for works before 1500. Together with the parent repository "formal-papers," which holds PaperLib, there are 43.
Each paper is an independent Lean package in a folder named after the paper's identifier. As an example, the description shows how to check out and verify a paper from 2024 (arXiv:2407.14091). In the 2024 repository, the arXiv paper folders reached 1,000, the most the GitHub API returns at once.
The description also gives Euclid's "Elements," from around 300 B.C., as an example of where works from before 1500 are stored. The leaker's post says the 42 repositories span "from the pre 1500s to 2026," which matches this division. The post was edited about three minutes after it went up, and the first version said "from 300 BCE to 2026." That "300 BCE" appears to refer to the Euclid example.
Nothing yet in the repositories before 2000
The contents of the 42 repositories, however, are concentrated in recent years. The sizes shown by the GitHub API were 63,141 KB for 2026 and 58,106 KB for 2024. The four repositories for 2004 to 2007 were 12 to 24 KB, and the four for 2000 to 2003 and the 15 for the 1990s and earlier were all 5 KB.
The repositories for works before 1500 and for the 1900s, whose contents ORIENS listed, held only a README, a license, contribution guidelines and similar files, with no paper folders. As of the morning of Dec. 6, the Euclid entry is likewise only an example of how folders are laid out.
According to GitHub API records, all 42 repositories were created on Dec. 2 (UTC; early Dec. 3 Japan time), and the parent formal-papers was created on Dec. 4 (early Dec. 5 Japan time). These are creation times, and when they became public is not known.
"We expect there to be mistakes"
The description has a section titled "Expect Mistakes." It says that even though Lean checks the proofs, the definitions and theorem statements themselves can diverge from the intended mathematics.
PaperLib includes "megatheorems," well-known theorems whose proofs would need a large amount of theory, stated without proof as axioms. The description says a misstatement in one of them would not be caught by proof checking and could affect results that depend on it. Which papers rely on which megatheorems is recorded per paper through Lean's mechanisms.
Each paper's documentation records, as "formalization notes," discrepancies found when moving the paper's statements into Lean. The description says these frequently stem from conventions the papers leave unstated or from translation mistakes by the AI, and asks that they not be read as claims of errors in the source papers. For papers with several versions, the most recent version may not have been formalized, it says.
Leaker says AI finds and fixes errors in papers
In a post first published at 12:56 a.m. Dec. 6 Japan time and edited at 12:59 a.m., @LuminaBench says DeepMind is auditing published math papers with AI and catching mistakes. The leaker wrote that when a published paper has a broken proof, the AI writes a counterexample and patches the theorem. ORIENS has not verified any such case in the repositories. As described in the previous section, DeepMind's description asks that the notes not be read as claims of errors in the source papers.
🚨 BREAKING: Google DeepMind is now auditing published human maths papers with AI, and it's catching mistakes They just dropped 42 repos to GitHub spanning all the way from the pre 1500s to 2026 Every paper gets rewritten into Lean 4 and when a published paper has a broken proof, the AI writes an explicit counterexample proving it fails and patches the theorem
The post was edited about three minutes after it went up at 12:56 a.m., and the text above is the current, edited version. ORIENS checked its full text through the official X API. The only difference from the first version is the time span, which first read "from 300 BCE to 2026."
Outside contributions accepted, with steps for AI agents
According to the contribution guidelines, outside contributors can add formalizations of papers. The guidelines describe steps for taking a paper from formalization to submission, using a dedicated command in Google's development environment "Antigravity," or by having other coding agents such as Claude Code, Codex, Gemini CLI and Cursor read the guidelines. AI tools may not be listed as commit authors or co-authors.
Only papers published under permissive terms such as CC BY, CC0, MIT and Apache-2.0, or public-domain works, are eligible. The papers themselves are not redistributed, and only the formalization code and documentation are published under the Apache 2.0 license. The description also says "This is not an officially supported Google product."
On Dec. 3, DeepMind also posted two number theory papers made with an internal version of "Gemini 4" in the same GitHub organization, saying the main theorems had been formalized in Lean 4. In November it announced the formal verification framework "AlphaProof Code." OpenAI also posted papers it says disprove the four-dimensional Poincaré conjecture, along with a Lean formalization, on its official GitHub on Dec. 4.






