On this page

No teaser video, no corporate blog post, and no glossy technical report. Between December 4 and early December 6, Google DeepMind quietly pushed formal-papers straight to GitHub: one shared library repository plus 42 period-sharded companion repositories, all under Apache-2.0, packing roughly 27,940 AI-generated Lean 4 formalizations of mathematics and computer science works.

It landed the very same week developers were picking apart OpenAI's openai/math PR #7—six manuscripts claiming to refute the smooth four-dimensional Poincaré conjecture, merged with a blunt note admitting Lean hadn't been run beforehand. Put the two drops side by side and the strategic split is hard to miss. One swings for a single headline trophy; the other builds industrial scaffolding for existing literature. Still, before anyone hails DeepMind's release as infallible math, read the section sitting near the top of its own README: 'Expect Mistakes.'

Inside the 43-repo layout behind ~27,940 formalized papers

Dumping nearly 28,000 Lean projects into one monolithic Git repository would choke clones and local builds immediately. DeepMind structured the release like people who actually run lake build on laptops:

  • The root repo holds PaperLib—and zero papers: google-deepmind/formal-papers is a standalone Lake package containing PaperLib/ (shared definitions, structures, and theorems), annotations/PaperLib/ (one-to-one bibliographic links), and scripts/ (search utilities and cache tooling). PaperLib sits on top of Mathlib4, TauCeti, cslib, and cslib-frontier. DeepMind describes it candidly as broader and less curated than Mathlib, explicitly planning to prune modules out of PaperLib as upstream libraries absorb them.
  • 42 period-sharded repos store standalone packages: Single-year repos cover formal-papers-2000 through formal-papers-2026 (27 repos), while 15 multi-year repos span 1990s all the way back to pre1500 (even including Euclid's Elements bce300/books/euclid-elements-ix-20/). Community indexing shows over 90% of the ~27,940 formalized works date from 2021 onward, with roughly 5,500 inside formal-papers-2026 alone. Crucially, the period repos have no root lakefile.toml—every single paper lives as an independent Lake package pinning a specific PaperLib commit.
  • Four commands to verify one paper, with zero sorry allowed: Checking a work like arXiv:2407.14091 does not require downloading the archive. Run git clone --filter=blob:none --sparse, run git sparse-checkout set arxiv/2407.14091, pull prebuilt Mathlib/TauCeti/PaperLib artifacts via lake exe cache get, and run lake build. Every paper's lakefile.toml enforces warn.sorry = true and warningAsError = true, turning any unproven placeholder into a hard build failure.
Figure 1: Three-layer layout of Google DeepMind's formal-papers and PaperLib across 43 GitHub repositories
Figure 1: Three-layer layout of Google DeepMind's formal-papers and PaperLib across 43 GitHub repositories

Image source: DigIntoAI diagram compiled from github.com/google-deepmind/formal-papers README and sharded repo metadata (Dec 2026)

Solving the background-theory bottleneck with @[megatheorem]

Anyone who has formalized a modern paper knows where projects stall. A ten-page combinatorics or analysis paper casually cites a classic result on page three—and proving that cited theorem from scratch atop Mathlib might take twenty thousand lines of unrelated groundwork. Blocking on every prerequisite kills scale; slipping in sorry wrecks auditability.

DeepMind's workaround inside PaperLib is explicit axiom accounting via @[megatheorem]. When a paper relies on an established theorem whose proof requires major missing theory, PaperLib declares it as a tagged private Lean axiom, automatically marking transitive dependents with @[megatheorem_corollary]. Because the backing axiom remains visible to Lean's kernel, running lake exe axioms or #print axioms prints the exact dependency list for any theorem, and every paper logs those dependencies automatically in formalization.yaml. Once someone later proves a megatheorem upstream, its axiom discharges cleanly and downstream papers drop the assumption without manual rewrites.

Why 'zero sorry' still comes with an 'Expect Mistakes' warning

The most reassuring part of formal-papers isn't its scale—it's how bluntly DeepMind spells out what a green Lean 4 build does not guarantee:

  • The kernel checks logic, not translation fidelity: Every proof compiles without sorry, yet an autonomous AI translator can still misstate a definition, weaken a theorem by smuggling in extra hypotheses, or formalize a slightly different claim than the author intended. Lean will happily certify a pristine proof of the wrong statement.
  • Megatheorem statements are unproved axioms: Because @[megatheorem] declarations skip proofs, a subtle typo or missing condition in a megatheorem statement won't get caught by Lean's type checker—and could quietly invalidate downstream results depending on it.
  • Per-paper README discrepancies are not bug reports on source papers: Each paper's notes flag friction encountered during translation. DeepMind underlines in bold that these usually reflect omitted domain conventions or AI translation slips, and must not be read as claims that the original paper is wrong.
  • Version drift and clean licensing: Multi-version arXiv papers may not reflect the latest revision. On licensing, DeepMind keeps things strict: the project publishes formalizations only for permissively licensed works (CC BY, CC0, MIT, Apache-2.0, or public domain) and never redistributes the original PDFs.
Figure 2: What Lean 4's kernel guarantees vs. the four blind spots flagged under 'Expect Mistakes,' contrasted with OpenAI PR #7
Figure 2: What Lean 4's kernel guarantees vs. the four blind spots flagged under 'Expect Mistakes,' contrasted with OpenAI PR #7

Image source: DigIntoAI summary compiled from google-deepmind/formal-papers README and openai/math PR #7 documentation

Two very different bets in AI-for-math, visible in the same week

Seen together, this week's two GitHub drops show AI math splitting down two distinct engineering tracks. OpenAI's openai/math swings for moonshot open conjectures—eye-catching claims backed by hours of internal reasoning compute, even when PR #7 merged before Lean ran and formalized a different proof path than its attached drafts.

DeepMind's formal-papers makes zero claims about cracking famous open problems. Instead, it drops an Apache-2.0, sparse-checkable, axiom-audited library of nearly 28,000 formalized works onto the open web—warts, translation flaws, and all. Even if human mathematicians end up fixing hundreds of sloppy definitions inside PaperLib, researchers formalizing new 2026 papers no longer have to build every bridge from bare Mathlib. If you work anywhere near formal methods or proof-generation models, clone the root repo, query scripts/search_paper_lib.py in a subfield you actually know, and audit a couple of formalization.yaml files yourself—that hands-on check beats any headline debate.