Claude Writes a VP≠VNP Proof, No Human Review Yet

AI research illustration: a microscope over a red sample beside node diagrams

On November 23, Anthropic added a directory called vp-vnp to its formal-math repository on GitHub, containing a paper titled "VP ≠ VNP over every field" and an accompanying Lean 4 formal proof. The paper has a single listed author: Claude (Anthropic). According to the repository notes, the result was discovered by an internal research Claude model, both the paper and the Lean code were written by AI models, and no human mathematician has checked the proof.

What the proof claims

VP and VNP are a pair of algebraic complexity classes introduced by Leslie Valiant in 1979, often described as the algebraic counterparts of P and NP. VP contains the families of polynomials that can be computed by arithmetic circuits of polynomial size; VNP is one level broader, and both the permanent and the Hamiltonian cycle polynomial are among its hardest members. Whether the two classes are equal has been open for more than four decades.

The paper presents a circuit lower bound: over any field, an arithmetic circuit computing the Hamiltonian cycle polynomial needs more than m^(c(log m)^(1/3)) gates once m is large enough, and the same lower bound holds for the permanent over fields of characteristic other than 2. This quantity grows faster than any polynomial of fixed degree, which by definition implies that VP is a proper subset of VNP. The notes also state a stronger conclusion: the lower bound holds for approximating circuits as well, so VNP is not contained in the closure of VP.

According to media accounts of the paper, including XenoSpectrum, the best previously known lower bound for the permanent was on the order of m² log m, far from superpolynomial. The characteristic-2 case is handled separately with the Hamiltonian cycle polynomial, because over such fields the permanent and the determinant are the same thing, and computing it is not hard.

The repository notes draw the boundary in their very first paragraph:

This does not settle P vs NP.

P versus NP concerns Boolean circuits and Turing machines, while VP versus VNP concerns arithmetic circuits. The latter is widely regarded as the easier problem to attack, and VP≠VNP does not imply P≠NP.

What the machines checked, and what they did not

Per the steps in the notes, after running lake build one runs the axiom-printing script, and the output should list only Lean's three standard axioms: propext, Classical.choice and Quot.sound. The repository's continuous integration adds one more step: it uses Comparator to match the theorem statement against Challenge.lean line by line, then hands the proof to nanoda, an independently written kernel, to be re-checked. The sorry warnings during the build come only from Challenge.lean, which by design contains statements and no proofs.

What these checks guarantee is that the formalized propositions in Statement.lean have indeed been proved. What they cannot guarantee is stated in the notes too: Lean checks the proof, but no machine checks that this file says what it is claimed to say. Appendix Q of the paper uses a table to list the Lean version of each numbered theorem in the main text and notes where they differ. According to Kingy AI's walkthrough of the paper, the appendix also concedes that the only judge of whether the formal statements capture the intended meaning has been an AI reader, and that the corollary on determinant complexity in remark N.6 was not formalized.

In other words, someone still has to read Statement.lean and confirm that it is equivalent to the textbook VP≠VNP. The file depends only on Mathlib and is much smaller than the full proof, which makes it the cheapest entry point for outside mathematicians who want to check the work.

The three earlier projects in the same repository

The formal-math repository was only created in August this year. According to the project table on its front page and the commit history, the first project, released on August 7, was a formalization of the result that more than two thirds of the zeros of the Riemann zeta function are simple and lie on the critical line. On October 6 came new algorithmic upper bounds for 3SUM and all-pairs shortest paths. On October 27 came another paper credited to Claude, claiming a subexponential-time algorithm for 3-SAT.

Connecting the four milestones, the problems have grown bigger each time: first formalizing existing papers by human mathematicians, then having the model propose and write up the conclusions itself. Each project ships only a paper and Lean code, and the vp-vnp directory is additionally marked as a research artifact that is not maintained and accepts no contributions.

The repository does not disclose which Claude model was used, how long it ran, or how much compute it consumed. On the day of release, no named complexity theorist had publicly commented on the work either.

For readers who want to check it themselves, the repository is licensed under Apache 2.0, and once elan is installed, three commands reproduce the build locally; verifying the axiom list requires no account of any kind. Whether the result belongs in a textbook will have to wait until someone has gone through the table in Appendix Q row by row.

Sources: Anthropic formal-math repository notes, XenoSpectrum, CocoLoop, Kingy AI; the repository README was checked for the lower-bound wording, the list of three axioms and the statement that no human mathematician has reviewed the proof.