github.com web signal

DeepMind opens AI-generated Lean 4 paper formalizations repo

TL;DR

  • Google DeepMind has published an open collection of machine-checked Lean 4 formalizations of research papers, plus a shared library called PaperLib.
  • The formalizations were produced autonomously by AI, and the README states plainly that the project expects there to be mistakes.
  • A 'megatheorem' mechanism backed by private Lean axioms records per-paper dependencies and auto-discharges them when a theorem is later proved.

Google DeepMind has posted an open collection of machine-checked Lean 4 formalizations of research papers, together with a shared library called PaperLib. The twist, stated plainly on the repository page: the proofs were not written by humans.

"The Lean formalizations, documentation, and per-paper notes in this project were generated autonomously by AI systems, and we expect there to be mistakes," the README warns.

The project is not an officially supported Google product. It is Apache 2.0-licensed and restricts itself to formalizing permissively licensed works (CC BY, CC0, MIT, Apache-2.0, or public domain). Formalized papers live in period-based repositories (formal-papers-2024, formal-papers-2023, and so on), split by publication type: arxiv, journals, books, other. The quickstart walks through building an individual paper, using arXiv:2407.14091 as the example.

PaperLib sits on top of Mathlib, TauCeti, cslib and cslib-frontier, and the authors say "over time, we will remove material from PaperLib as the upstream libraries expand to cover it." The newer plumbing is a mechanism called megatheorems, tagged declarations backed by private Lean axioms. Each paper's formalization.yaml records the exact axioms it depends on, and when a megatheorem is later proved for real, dependent papers are automatically discharged.

The warning about fallibility is unusually direct for a DeepMind artifact: "Please treat all contents of these repositories as experimental research artifacts, and verify definitions, statements, and axiom dependencies carefully before relying on them." Two researchers we track flagged the drop.

Shared on Bluesky by 2 AI experts