What is Anthropic formal-math?
formal-math is a public repository where Anthropic publishes machine-checked Lean 4 formalisations of mathematics and theoretical computer science. Each folder is its own Lake project with a pinned Lean toolchain, a short trusted statement file, the proofs, and a configuration for leanprover's Comparator tool, laid out for submission to the Palomar registry.
There are five projects. Two formalise papers by human authors: Alpöge and Furman on zeros of the Riemann zeta function, and Alman and Vassilevska Williams on faster 3SUM and all-pairs shortest paths. Three hold results that an internal Claude research model found: a 3-SAT algorithm that would refute the Exponential Time Hypothesis, a proof that VP is not equal to VNP over every field, and four papers on lattice problems. For those three, both the papers and the Lean code were written by AI models.
It is not software you run. It is a set of research artefacts, marked as not maintained and not accepting contributions, released under Apache-2.0.
Is Anthropic formal-math worth it?
This repository is where Anthropic's maths claims either hold up or fall apart, and it is unusually frank about which is which. The headline folders carry Claude's two big results of the autumn: eth, added on 27 October 2026, with a 49-page paper giving a deterministic 2^o(n) time algorithm for 3-SAT, and vp-vnp, added on 23 November, with a 70-page paper claiming VP is not equal to VNP over every field. A lattices folder with four more Claude papers followed on 30 November. The repository has 1,630 GitHub stars.
The important distinction is between the proof and the statement. Lean checks that the proofs follow from the formal statements, and the project's CI re-checks them with a second, independently written kernel, nanoda. What no machine checks is whether the short statement file really says what the paper claims. The READMEs say this themselves, keep those files short so a reader can audit them, and state that no human mathematician has checked the vp-vnp proof. If a definition is slightly off, Lean will certify a theorem about something else.
Outside review is under way but unfinished. Russell Impagliazzo, Ramamohan Paturi and Ryan Williams, two of whom proposed ETH, are organising an open examination of the ETH refutations, prompted by OpenAI's near-identical claim announced the same week, and have written that their involvement is not certification. Coverage up to 2 December reports independent rebuilds of the Lean proofs and hand readings that match Anthropic's ETH statement to the standard definition, but no verdict from the reviewers. Lance Fortnow has called the VP result likely correct based on AI checks of the formal statement.
The catch: the results are asymptotic and say nothing about solving real formulas or breaking ML-KEM or ML-DSA, which the READMEs point out. The paper-like folders are frozen artefacts, so errors will be answered with new folders or papers, not patches.
Our take: read the statement files, not the headlines. For anyone working in Lean, this is the best public example of how to lay out a large AI-written formalisation so that a sceptic can check the part that matters.
Where it earns its place
A complexity theory postdoc asked to referee the ETH claim
Check that the formal statement matches the standard Exponential Time Hypothesis
Read eth/MainResults.lean against Appendix E of the paper, then run lake build and the axioms script; the comparator script re-checks with nanoda. A free afternoon plus a large machine covers it.
A Lean 4 maintainer on a formalisation project
Copy a layout that keeps the trusted surface small
The Challenge, Solution and comparator.json pattern, and the per-project CI with pinned toolchains, can be reused as is under Apache-2.0.
A science journalist covering AI and mathematics
Report the claims without overstating them
The vp-vnp and eth READMEs state who wrote what, that the results are asymptotic and what Lean does not check, in quotable plain English.
Before you commit
- Setup
- Install elan, cd into a project folder, run lake exe cache get, lake build and the PrintAxioms script. The fuller check, bash ../.github/scripts/comparator-check.sh, runs on Linux.
- Integrations
- Lean 4 and Mathlib at pinned versions, leanprover/comparator with lean4export, the nanoda kernel and the landrun sandbox, and the Palomar registry template.
- Data and privacy
- Static files on GitHub. Nothing to host and no data collected.
- Cost at scale
- No licence fee. The cost is compute: Anthropic reports one build at about 8 minutes on 24 virtual CPUs; the lattices project is checked only in manual runs.
- Limits
- Lean confirms proofs, not that statements match the papers. The papers are AI-written, and the vp-vnp README says no human mathematician has checked the proof.
What’s good
- Each claim comes with a short, Mathlib-only statement file a reader can audit
- Proofs are re-checked by Comparator and the independent nanoda kernel in CI
- Frank READMEs that say what Lean does not prove and that no person has checked the proof
- Includes formalisations of human-written papers on zeta zeros and 3SUM
What’s not
- The headline Claude results had no completed human review on 2 December 2026
- Statement fidelity, the part that matters, rests on human reading
- Builds need tens of minutes and several gigabytes of memory per project
- Frozen research artefacts: not maintained and closed to contributions
Best for
Lean users, complexity theorists and journalists who want to check exactly what Anthropic's AI maths claims say before repeating them.
Anthropic formal-math alternatives
Anthropic formal-math: common questions
- Is Anthropic formal-math worth it?
- Lean has checked these proofs, but no person has yet confirmed that they prove the famous conjectures, and that gap is the whole story. We rate it 3.9 out of 5.
- How much does Anthropic formal-math cost?
- Free under Apache-2.0. Checking a proof needs only Lean and Mathlib, but builds want a large machine: Anthropic reports about 8 minutes on 24 virtual CPUs and about 7 GB of memory for one project.
- What are the downsides of Anthropic formal-math?
- The headline Claude results had no completed human review on 2 December 2026; statement fidelity, the part that matters, rests on human reading; builds need tens of minutes and several gigabytes of memory per project; frozen research artefacts: not maintained and closed to contributions.
- Who is Anthropic formal-math best for?
- Lean users, complexity theorists and journalists who want to check exactly what Anthropic's AI maths claims say before repeating them.
- How much does Anthropic formal-math cost for a team or in production?
- No licence fee. The cost is compute: Anthropic reports one build at about 8 minutes on 24 virtual CPUs; the lattices project is checked only in manual runs.
- Is Anthropic formal-math safe for company data?
- Static files on GitHub. Nothing to host and no data collected.
- What are the best Anthropic formal-math alternatives?
- The closest alternatives we have reviewed are TheoremOS and The AI Scientist (v1, v2 and v3).
Answers checked Dec 2, 2026.