Anthropic's Claude model claims proof that VP ≠ VNP over every field

Anthropic's Claude model claims proof that VP ≠ VNP over every field

Anthropic has published a GitHub repository (anthropics/formal-math, folder vp-vnp) that claims a proof that VP is a proper subset of VNP over every field. The paper is titled "VP ≠ VNP over every field" and is credited to "Claude (Anthropic)". The README says the result was discovered by an internal research Claude model, and that the folder holds the paper and its Lean 4 formalization.

The stated result is a lower bound. For every field, circuits for the Hamiltonian cycle polynomial, and for the permanent outside characteristic 2, need more than m^(c (log m)^(1/3)) gates for all large m. The same holds for approximating circuits. From this the README concludes that VP is a proper subset of VNP, and that VNP is not contained in the closure of VP. It adds that this does not settle P vs NP.

The README is blunt about the status of the work. Both the paper and the formalization were written by AI models, and no human mathematician has checked the proof. The folder is labelled a research artifact, not maintained and not accepting contributions. The full proof is in the appendix of paper.pdf.

The README gives readers a two-step way to check the claim. First, read the statement: Statement.lean states all of the results and imports only Mathlib. Lean checks the proofs, but no machine checks that this file says what is claimed. Appendix Q of the paper lists the Lean counterparts of the numbered statements (Table 3) and says where they differ.

Second, check the proofs. With elan installed, run lake exe cache get, lake build, and lake env lean scripts/PrintAxioms.lean in the folder. The build prints sorry warnings from Challenge.lean only, which states the theorems without proofs for the fuller check. The last command should name no axiom other than propext, Classical.choice and Quot.sound.

The fuller check is the one the repository's CI runs, bash ../.github/scripts/comparator-check.sh (Linux). Comparator compares the statements with Challenge.lean and re-checks the proofs with a second, independently written kernel, nanoda.

Key facts

  • The anthropics/formal-math repository (folder vp-vnp) claims VP is a proper subset of VNP over every field, and that VNP is not contained in the closure of VP.
  • The stated bound: circuits for the Hamiltonian cycle polynomial (every field) and the permanent (outside characteristic 2) need more than m^(c (log m)^(1/3)) gates for all large m; the same holds for approximating circuits.
  • The README says an internal research Claude model discovered the result, both the paper and the Lean 4 formalization were written by AI models, and no human mathematician has checked the proof.
  • Readers can rebuild the Lean proofs with lake and run PrintAxioms, which should name only propext, Classical.choice and Quot.sound; the repository's CI also re-checks with a second kernel, nanoda.
  • The README says the result does not settle P vs NP, and that the repository is a research artifact, not maintained and not accepting contributions.

Why it matters

If the proof holds, it separates VP from VNP over every field, with a lower bound of the form m^(c (log m)^(1/3)) on circuit size for the Hamiltonian cycle polynomial and, outside characteristic 2, the permanent. The README is explicit that this does not settle P vs NP. What makes the release notable is its provenance: the README says an internal research Claude model found the result and AI models wrote both the paper and the Lean 4 formalization.

Who it affects

Mainly researchers who work on circuit lower bounds and on formal verification in Lean and Mathlib, who are the people able to read the paper and the formal statements. The repository is also a data point for anyone following AI systems doing research mathematics, since the work is credited to "Claude (Anthropic)" rather than to a named human author.

How to use it

The README lays out the route. Read Statement.lean, which states all the results and imports only Mathlib, and compare it with Appendix Q of paper.pdf, which maps the numbered statements to Lean counterparts in Table 3 and says where they differ. Then, with elan installed, run lake exe cache get, lake build and lake env lean scripts/PrintAxioms.lean in the folder. Expect sorry warnings from Challenge.lean only, and expect no axiom beyond propext, Classical.choice and Quot.sound. The fuller check is bash ../.github/scripts/comparator-check.sh on Linux, which the repository's CI runs.

How solid is it

The claim is first-party: it comes from Anthropic's own repository and is credited to a Claude model. The README states that no human mathematician has checked the proof. The Lean build is meant to verify the proofs mechanically, and the CI check uses Comparator and a second, independently written kernel, nanoda, but the README does not report the outcome of that check. The README itself says no machine checks that Statement.lean says what is claimed, so the match between the formal statements and the intended theorem rests on human reading. No external expert reaction is reported.

Risks and caveats

The main caveat is the README's own: no human mathematician has checked the proof, and no machine checks that the formal statement means what is claimed. The permanent result excludes characteristic 2. The value of the constant c is not given. The result does not settle P vs NP. The repository is a research artifact, not maintained and not accepting contributions, so questions raised by readers have no stated channel for answers.

“Both were written by AI models, and no human mathematician has checked the proof.”

— README, anthropics/formal-math (vp-vnp)