Between December 4 and 5 (updated through 07:47 UTC on Dec 5), Google DeepMind published the formal-papers repository alongside 42 period-split repositories (formal-papers-2026 back to formal-papers-pre1500) on its official GitHub under Apache-2.0. Hosting AI-generated Lean 4 (v4.36.0) formalizations of mathematics and computer science papers, the stack introduces the shared PaperLib library and ships a /formalize agent skill for Google Antigravity, Claude Code, Codex, Gemini CLI, and Cursor. So far, formal-papers-2026 alone holds 5,373 arXiv papers, 1 journal work, and 19 other entries; DeepMind explicitly cautions that the AI-generated artifacts may contain mistakes.

Key Takeaways

  • ✓42 period-split repos + shared PaperLib: Spanning formal-papers-2026 to formal-papers-pre1500, formal-papers-2026 already houses 5,373 arXiv entries, 1 journal entry, and 19 other works on Lean v4.36.0, Mathlib, TauCeti, cslib, and cslib-frontier.
  • ✓Megatheorem axiom auditing across 30+ areas: PaperLib contains 32 top-level entries across math and CS domains and marks unproved prerequisite theorems as @[megatheorem] private axioms tracked via lake exe axioms and formalization.yaml.
  • ✓Built-in coding-agent workflows: Includes .agents/skills/formalize/SKILL.md for running /formalize <arxiv_url> inside Google Antigravity alongside documented contributor prompts for Claude Code, Codex, Gemini CLI, and Cursor.
  • ✓Explicit error caveats and strict build gates: The README warns that AI-generated formalizations may misstate definitions or theorems, while lakefile.toml enforces warn.sorry = true and warningAsError = true under an Apache-2.0 license.

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

In-Depth Technical Analysis

Core Background & Industry Pain Points

Formalizing research papers in Lean 4 frequently stalls when upstream libraries such as Mathlib lack background definitions and prerequisite lemmas. Between December 4 and 5 (updated through 07:47 UTC on Dec 5), Google DeepMind open-sourced formal-papers alongside 42 period-split repositories on GitHub, sharing a large corpus of AI-generated Lean 4 formalizations across mathematics and computer science.

Architecture Highlights & Internals

The root repository houses PaperLib (32 top-level entries across 30+ domains), built atop Lean v4.36.0, Mathlib, TauCeti, cslib, and cslib-frontier, while formal-papers-2026 alone already contains 5,373 arXiv papers, 1 journal entry, and 19 other works. When a proof depends on an established theorem whose full proof is still missing upstream, PaperLib declares it as a @[megatheorem] backed by a private Lean axiom (@[megatheorem_corollary] for transitive dependents) and audits exact dependencies via lake exe axioms and formalization.yaml.

Authoritative Benchmarks & Measured Scores

Google DeepMind did not publish model benchmarks, generation success rates, or details on which internal model produced the corpus (officially undisclosed). Repository builds enforce warn.sorry = true and warningAsError = true under the Apache-2.0 license, and the README explicitly warns ("Expect Mistakes") that AI-generated definitions and theorem statements may diverge from source papers despite kernel checking.

Developer Hands-on Guide

Following CONTRIBUTING.md, developers can --sparse checkout any single paper from formal-papers-<period> and verify it with lake exe cache get && lake build, or check AGENTS.md for workspace rules. Opening formal-papers in Google Antigravity automatically loads .agents/skills/formalize for /formalize <arxiv_url>, with ready-to-use workflows also provided for Claude Code, Codex, Gemini CLI, and Cursor.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextLean and Mathlib Communities Certify Levent Alpöge's Claude-Assisted Lean Proof of the Riemann Hypothesis: 17 Million Lines Verified by Multiple Independent Checkers
Read Now→