All News
leanformal-verificationgoogle-deepmindmathematicsopen-source

DeepMind's Formal Papers repo is real, and the viral read of it is not

Twenty-eight thousand papers in Lean 4, no blog post and a README that expects mistakes: what DeepMind's Formal Papers repository does and does not claim.

Vlad MakarovVlad Makarovreviewed and published
7 min read

There was no press release and no research paper. On 4 December a repository called formal-papers appeared under the google-deepmind GitHub organization, and by the weekend a screenshot of it had travelled far enough that r/singularity was arguing over whether an AI had audited twenty-eight thousand mathematical papers. The repository describes something narrower and more useful than the thread does, and it says so in writing near the top of its own README.

What is actually in the repository

The index repository was created at 17:14 UTC on 4 December and carries an Apache-2.0 licence, roughly 830 stars and 85 forks at the time of writing. It is not a corpus. It holds PaperLib, the shared Lean 4 library of supporting theory, and points outward to 42 period-sharded repositories running from formal-papers-pre1500 to formal-papers-2026, each of which carries the formalized works themselves.

DailyAI's Sam Jeans, who counted the collection on 6 December, put it at about 28,000 papers, with more than 90% dating from 2021 or later and nearly 5,500 from 2026. He also noted the thing that makes the release odd: no blog post, no paper, no accompanying announcement. The formalizations "were generated autonomously by AI systems," the README states, and "we expect there to be mistakes."

That sentence is the most important line in the project, and almost everything else worth saying about the release follows from taking it seriously rather than treating it as boilerplate.

The definitions are the load-bearing part

Formalizing a paper usually means building the background theory the paper assumes before you can state its main theorem. PaperLib exists to absorb that cost. It is deliberately broader and less curated than Mathlib, and it sits on top of Mathlib, TauCeti, cslib and cslib-frontier, with the stated plan of shedding material as those upstream libraries grow to cover it.

Each downstream work is its own standalone Lake package pinning a revision of PaperLib, which is why the index repository has no root lakefile.toml and why you can sparse-checkout a single paper instead of cloning the corpus. DailyAI's count of PaperLib is more than 85,000 Lean files of supporting theory. If the proofs age badly, that library is the part most likely to keep being used, because it encodes definitions that a later formalizer would otherwise have to write from scratch.

Megatheorems: declared holes, tracked by the kernel

The mechanism for handling missing theory is the most interesting engineering decision in the release. When a paper invokes a well-known theorem whose proof would require substantial theory that does not yet exist, PaperLib states it as a megatheorem: a tagged declaration backed by a private Lean axiom, marked @[megatheorem], with transitive dependents marked @[megatheorem_corollary].

Because the assumption is a real axiom rather than a placeholder, Lean's kernel can see it. lake exe axioms and #print axioms report the dependency list per paper, recorded automatically in formalization.yaml, and when someone eventually proves the megatheorem the axiom is discharged and downstream results lose the dependency without being rewritten.

This is a cleaner arrangement than sorry, and it is not the same as verification. The README is explicit that megatheorems are "unproved formal statements of results from the literature," so a misformulated megatheorem is invisible to proof checking and can propagate into every result that depends on it. A reader who wants to know how much of a given paper is actually proved has to look at its axiom list, not at the green checkmark.

Where the viral version diverges

The r/singularity post on 5 December, which drew about 1,309 upvotes and 97 comments, is titled "Google just dropped 28K math research papers on GitHub, all audited and translated into Lean by AI." Its body goes further: "when a published paper has a broken proof, the AI writes an explicit counterexample proving it fails and patches the theorem."

That is a claim about discovery, and the README walks it back in plain language. The per-paper notes record discrepancies "encountered when translating a paper's informal statements into Lean 4," and those discrepancies "frequently stem from omitted standing conventions, implicit domain assumptions, or informal-to-formal translation mistakes by the AI." The notes, the README continues, "should not be read as claims of errors in the source papers."

The distinction is not pedantic. Checking that a proof follows from its stated assumptions is a different operation from checking that the assumptions match what the author meant, and Lean only does the first. The project's own framing acknowledges the second gap and pins the blame for it partly on the translator. DailyAI made the same point, noting that a widely shared post on X had described the notes as an AI audit catching errors in published mathematics while the README says otherwise.

The thread's most-repeated correction, as the Reddit trend summaries record it, was that the release formalizes existing results rather than discovering anything new. That reading sits closer to the artifact than the headline does.

Counting the 2026 shard

Numbers this large deserve a second measurement. On 7 December we cloned the 2026 shard without blobs and counted the top level of its tree: 4,913 paper directories, of which 4,900 sit under arxiv/, one under journals/ and twelve under other/, across 72,152 tracked files.

DailyAI's nearly 5,500 for 2026 and our 4,913 are not the same measurement, and the gap is a reminder that nobody has published an audited inventory. The index repository lists the shards; it does not contain a manifest with a total that a reader can check against. Treat any round number about this collection, including the 28,000, as an estimate from a count taken on a specific day.

The same week produced a rival kind of claim

DeepMind's release landed in the same week as OpenAI's own maths drop, a preprint repository arguing that exotic four-spheres had been detected by Khovanov homology and, in its lead paper, that the smooth four-dimensional Poincaré conjecture fails. We covered that claim and its verification status separately. The contrast is the interesting part of the week: OpenAI's artifact asserts a new theorem, while DeepMind's asserts coverage of old ones.

Those are different bets. A single new result stands or falls on review of one argument. A corpus of 28,000 stands or falls on whether the statements are right, which is much harder to establish and much more useful if it holds. The Lean community's certification work earlier in the season showed how slow that second kind of assurance is when it is done by hand.

How to use it without being misled

The README's closing instruction is the right one: treat the contents "as experimental research artifacts" and verify definitions, statements and axiom dependencies before relying on them. In practice that means reading formalization.yaml for a paper before citing its theorem, checking whether the key step is a proved lemma or a megatheorem, and remembering that a compiling project proves only that the Lean code is consistent with itself.

The project invites corrections through per-paper issue templates, and the shard-level structure means a fix lands in one small repository rather than the whole collection. That is a sensible design for something expected to be wrong in places. It is also the clearest signal that the authors know what they shipped: not a verdict on the mathematical literature, but a very large, very useful first draft of it.

Related Articles

Scroll down

to load the next article