# Google DeepMind Formal Papers: AI Puts Math Papers in Lean

> Google DeepMind opened Formal Papers: AI-written Lean 4 versions of published math and CS papers in 43 repos. What it is, our counts, and what it is not.

- Author: Nitish Garg, Founder & CEO, CellCog
- Published: 2026-12-06
- Canonical (HTML): https://cellcog.ai/blog/google-deepmind-formal-papers/
- Section: Guides / Workflows & use cases
- Publisher: CellCog (https://cellcog.ai), the AI employee platform. Blog index for agents: https://cellcog.ai/blog/llms.txt

## Key points

- Google DeepMind opened Formal Papers on GitHub: one shared library repository (PaperLib) plus 42 repositories sorted by publication period, from before 1500 to 2026, all under Apache 2.0.
- Each formalized work is its own small Lean 4 project; proofs are checked by the Lean kernel with no sorry, and results that would need missing theory are stated as tagged megatheorems.
- The formalizations were generated autonomously by AI, and DeepMind says to expect mistakes: definitions and theorem statements can still diverge from the papers.
- The per-paper notes record translation discrepancies, and DeepMind says they should not be read as claims of errors in the source papers, the opposite of the viral framing.
- Only permissively licensed works (CC BY, CC0, MIT, Apache 2.0, public domain) are formalized, and the papers themselves are not redistributed.

## At a glance

- **What is Formal Papers?** An open collection of AI-generated Lean 4 formalizations of published math and computer science papers, from Google DeepMind.
- **How big is it?** 43 repositories; our count of the four largest year repositories alone is 16,599 work folders.
- **Does it show the papers are wrong?** No. DeepMind says its notes record translation discrepancies and are not claims of errors in the source papers.

**Google DeepMind has put AI-written, machine-checked versions of published math and computer science papers on GitHub.** The collection is called [Formal Papers](https://github.com/google-deepmind/formal-papers): 43 repositories under the Apache 2.0 license, a shared Lean 4 library called PaperLib and 42 repositories that hold the formalized works, sorted by when each was published. There was no launch post; the repositories appeared between December 2 and December 4, 2026, and the README is the only official description.

X found it on December 5. The most-read post, [from @dummerspast39](https://x.com/dummerspast39/status/2129237759357247758), said the AI was "finding MISTAKES" in published papers and had 147,777 views when we read it at 08:03 UTC on December 6. That is not what DeepMind says. Below is what the repositories hold, what we counted, and what the README actually claims.

## What DeepMind released

*Table: Formal Papers on GitHub, from the README and the repositories (read December 6, 2026)*

| Item | What it is |
|---|---|
| formal-papers | The shared library PaperLib, built on Mathlib, TauCeti, cslib and cslib-frontier |
| Period repositories | 42, from formal-papers-pre1500 to formal-papers-2026 |
| One work | A standalone Lean 4 project with its own lakefile.toml and formalization.yaml |
| Proof checking | Lean 4 kernel, without sorry |
| Missing theory | Stated as tagged megatheorems backed by a private axiom, tracked per paper |
| Sources | Only permissively licensed works; the papers themselves are not redistributed |
| License | Apache 2.0; "not an officially supported Google product" |

The library is the interesting engineering. Formalizing one research paper usually means building background theory that Mathlib does not have yet, so PaperLib collects that theory once for everyone. When a paper leans on a famous theorem whose proof would need far more missing theory, PaperLib states it as a megatheorem: a declaration backed by a private Lean axiom, so `#print axioms` shows exactly which results depend on it. When someone later proves it, the dependency disappears from every paper downstream. DeepMind describes PaperLib as "broader and less curated" than the upstream libraries and plans to remove material as they catch up.

## What we counted

The README gives no total. We counted the work folders in the four largest year repositories through the GitHub API on December 6, 2026.

*Table: Work folders per year repository (GitHub API, December 6, 2026)*

| Repository | arXiv | Journals and other | Total |
|---|---|---|---|
| formal-papers-2026 | 4,742 | 11 | 4,753 |
| formal-papers-2025 | 4,140 | 10 | 4,150 |
| formal-papers-2024 | 4,137 | 8 | 4,145 |
| formal-papers-2023 | 3,538 | 13 | 3,551 |
| Four years together | | | 16,599 |

Almost all of it is arXiv preprints, which makes sense: arXiv is where permissive licenses such as CC BY are common. Viral posts quoted other totals (24,504 papers, nearly 28,000, 263.4 million lines of Lean); none of those numbers appears in DeepMind's README, so we do not repeat them as facts. The other 38 period repositories, back to the 1700s and earlier, sit on top of our four-year count.

## One example, read in full

We read one work end to end: Hao Huang and Yi Zhang's 2024 preprint [On a d-degree Erdős–Ko–Rado Theorem](https://arxiv.org/abs/2407.14091v1), in formal-papers-2024. Its README says all declarations "are proved without sorry and depend only on standard Lean axioms", and its notes say the main theorem, the lemmas, the appendix and an open conjecture are formalized, with the paper's standing range assumptions written out as explicit hypotheses. Its formalization.yaml lists the authors' endorsement as "not-contacted". That is the honest shape of the whole project: a careful machine translation, published without the original authors in the loop.

## What it does not claim

![Animation on a dark ground: a published paper slides into a block labelled Lean 4 kernel; four code cards come out onto a platform, each with a check mark; an orange flag rises on the third card with the words statement may differ. Text: Proofs checked. Statements may still differ.](https://cellcog.ai/blog/media/google-deepmind-formal-papers/formal-proofs-checked.svg)
*The Lean kernel checks every proof; a statement can still differ from the paper*

DeepMind is blunt: "we expect there to be mistakes". A proof checked by the Lean kernel is correct about the statement it proves, but the statement itself can "misstate, oversimplify, specialize, or otherwise diverge from the intended informal mathematics". Megatheorems are unproved, so a badly stated one is not caught by checking and can spread to everything that uses it.

On the claim that went viral, the README answers directly. The formalization notes in each paper record discrepancies met during translation, often from omitted conventions, implicit assumptions or the AI's own mistakes, and they "should not be read as claims of errors in the source papers". Some X posts said the same within hours, among them a careful one [from @aitoolboxnews](https://x.com/aitoolboxnews/status/2129298963119694110).

## How this fits the record

AI and formal math have moved fast this year. Our records cover [the AlphaProof code signal](https://cellcog.ai/blog/alphaproof-code-signal/), [Axiom's Lean formalization of finite simple groups](https://cellcog.ai/blog/axiom-finite-simple-groups-lean/), [Claude and the invariant subspace problem](https://cellcog.ai/blog/claude-invariant-subspace-problem/) and [OpenAI's math results](https://cellcog.ai/blog/openai-math-results/). Those were single hard results. Formal Papers is the opposite bet: breadth, tens of thousands of ordinary papers, and a shared library that gets better each time one more paper needs a definition.

## Why it matters for AI employees

Formal Papers is a large public example of the pattern our AI employees work in: an AI does the volume, a strict checker proves what it can, and the output says plainly where a human must still look. The useful part is not "no mistakes", it is knowing exactly which steps were checked and which were assumed.

## What we are watching

Whether DeepMind publishes a total or a paper about the project, whether original authors start filing endorsements or corrections through the issue templates, how fast megatheorems get discharged, and whether Mathlib absorbs any of PaperLib.

## FAQ

**What did Google DeepMind release?**

Formal Papers, a GitHub collection of machine-checked Lean 4 formalizations of published mathematical and computer science works, built on a shared library called PaperLib. It sits in google-deepmind/formal-papers plus 42 repositories sorted by publication period.

**Were the formalizations written by people or by AI?**

By AI. The README says the Lean formalizations, documentation and per-paper notes were generated autonomously by AI systems, and that DeepMind expects there to be mistakes.

**Is DeepMind saying published math papers contain errors?**

No. The README says the formalization notes record discrepancies met when translating a paper into Lean 4, often from omitted conventions, implicit assumptions or the AI's own translation mistakes, and should not be read as claims of errors in the source papers.

**What is a megatheorem in PaperLib?**

A well-known result a paper relies on whose proof would need a lot of missing theory. PaperLib states it as a tagged declaration backed by a private Lean axiom, so every dependency on it is tracked and drops away once someone proves it.

**How many papers are in it?**

DeepMind's README gives no total. On December 6, 2026 we counted the work folders in four year repositories: 4,753 for 2026, 4,150 for 2025, 4,145 for 2024 and 3,551 for 2023, 16,599 together, before the other 38 period repositories.

## Related

- [AlphaProof Code: DeepMind's AI Proves Signal's Code](https://cellcog.ai/blog/alphaproof-code-signal/index.md)
- [Axiom Verifies the Finite Simple Groups Proof in Lean](https://cellcog.ai/blog/axiom-finite-simple-groups-lean/index.md)
- [Claude's Counterexample to the Invariant Subspace Problem](https://cellcog.ai/blog/claude-invariant-subspace-problem/index.md)
- [What Is an AI Employee? The 5-Part Test for a Standing AI Worker](https://cellcog.ai/blog/what-is-an-ai-employee/index.md)

## The AI employee for this read

[AI Research Assistant](https://cellcog.ai/ai-employees/ai-research-assistant): I built this page. For what it covers, hire a research assistant: it reads the primary sources and cites every line.

---

Markdown alternate of https://cellcog.ai/blog/google-deepmind-formal-papers/. Try CellCog free, no credit card needed: https://cellcog.ai/signup
