Claude claims a proof that VP ≠ VNP, one of math's big open problems

Anthropic has published a proof that an internal Claude model reportedly found. It shows that VP ≠ VNP, the algebraic counterpart of the famous P vs. NP problem. The whole proof comes as machine-checked Lean code, but no human mathematician has reviewed it yet.

Research Nov 23, 2026 7 min read Source: Hacker News
Illustrative image, AI-generated

What this is about

Anthropic has posted a mathematical research result on GitHub, and experts are paying attention. The github.com/anthropics/formal-math repository has a folder called vp-vnp containing a paper titled "VP ≠ VNP over every field". The listed author is "Claude (Anthropic)". Anthropic says an internal Claude research model found the result. It tackles one of the central open questions in algebraic complexity theory: does VP ≠ VNP hold? Many researchers see this as the algebraic counterpart of the famous P vs. NP problem.

The paper comes with a complete formalization in Lean 4. Lean is a programming language for writing mathematical proofs so that a computer can check every single step. Anthropic adds an important caveat: AI models wrote both the paper and the formalization, and no human mathematician has checked the proof. The repository is labeled a research artifact. It isn't maintained and doesn't accept contributions. The code is released under the Apache 2.0 license.

What VP and VNP actually are

Computer scientist Leslie Valiant introduced the two classes in the late 1970s. They deal with polynomials, meaning formulas built from variables, additions and multiplications, and with how much work it takes to compute them. That work is measured with arithmetic circuits: computation plans made entirely of addition and multiplication building blocks called gates. The more gates a polynomial needs at minimum, the "harder" it is.

  • VP contains polynomials you can compute with relatively few gates. The gate count grows only polynomially with the size of the problem. One example is the determinant of a matrix, a standard tool in linear algebra.
  • VNP contains polynomials whose coefficients are easy to describe but which may be very hard to compute. The best-known example is the permanent. It looks almost exactly like the determinant, just without the alternating minus signs. People have suspected for decades that the permanent is much harder. Another example is the Hamiltonian cycle polynomial. It's tied to the question of whether you can visit every node in a network exactly once and return to the start.

Both polynomials are "complete" for VNP. If you show they aren't in VP, you've shown the two classes are different. This conjecture is also known as Valiant's hypothesis.

"Over every field" means the result holds in any number system where you can add, multiply and divide as usual. That includes the rational, real and complex numbers, but also finite number systems such as arithmetic "modulo 7". The exception "outside characteristic 2" for the permanent has a simple explanation. In number systems where 1 + 1 = 0, −1 is the same as +1. There the permanent and the determinant coincide, so the permanent is easy to compute. For that case the proof relies on the Hamiltonian cycle polynomial instead.

What exactly is being claimed

Here's the core statement from the repository:

For every field, circuits for the Hamiltonian cycle polynomial and, outside characteristic 2, for the permanent require more than m^(c (log m)^(1/3)) gates for all large m. The same holds for approximating circuits. Hence VP is a proper subset of VNP, and VNP is not contained in the closure of VP.

Some context on the numbers: m is the size of the problem, such as the number of rows in the matrix, and c is a fixed constant. The bound m^(c·(log m)^(1/3)) grows faster than any polynomial like m² or m¹⁰⁰, but much more slowly than an exponential function like 2^m. That's enough to separate VP from VNP, because all you need to show is that no polynomial-size circuit can do the job.

The extension to approximating circuits makes the claim even stronger. These are circuits that don't compute a polynomial exactly but approximate it to arbitrary precision. Experts call this the "closure of VP" or border complexity. The concept matters for Geometric Complexity Theory, among other areas. The claim is that even with approximation, the permanent stays out of reach for small circuits.

Anthropic is explicit on this point: this does not solve the P vs. NP problem. VP ≠ VNP is considered a related and probably somewhat easier problem. P ≠ NP does not follow from it.

How you can check the proof yourself

What makes this release unusual is the Lean formalization. The repository describes two steps:

  1. Read the statement. The file Statement.lean states all the claims above and imports only Mathlib, the large community-maintained math library for Lean. Anthropic itself points out a gap here. Lean checks the proofs, but no machine checks whether this file really says what it claims to say. Humans have to read it and judge that. In Appendix Q of the paper, Table 3 lists which Lean statements correspond to which numbered theorems in the paper, and where they differ.
  2. Check the proofs. With elan, the Lean version manager, installed, run lake exe cache get, lake build and lake env lean scripts/PrintAxioms.lean in the folder. The build should only print "sorry" warnings from the file Challenge.lean. In Lean, "sorry" is a placeholder for a missing proof. Challenge.lean deliberately contains the theorems without proofs, as a template for comparison. The last command should list only the three standard axioms propext, Classical.choice and Quot.sound. These are the usual foundational assumptions of classical mathematics in Lean. If any other axiom shows up, that's a red flag, because an extra axiom could let you "prove" basically anything.

According to the repository, a more thorough check also runs in the project's continuous integration (CI) via the comparator-check.sh script on Linux. The Comparator tool compares the statements against Challenge.lean. It also re-checks the proofs with nanoda, an independently written Lean kernel, which is a second checking program. That guards against a bug in the official Lean checker letting a false proof slip through.

Early reactions

The release was picked up on Hacker News and the Reddit forum r/singularity shortly after it went up on November 23, 2026. On Reddit, the general tone was that the algebraic counterpart of P ≠ NP had "apparently just been proven". Other posts were more careful, saying Anthropic "claims" a proof. The available sources didn't yet include informed assessments from complexity theorists.

Our take

If the result holds up, it's a milestone on two fronts. For theoretical computer science, it would settle a conjecture that has been open for more than 40 years. Until now, even much weaker lower bounds for general arithmetic circuits were considered out of reach. For AI research, it would be one of the first cases of a language model independently solving a well-known, central problem in mathematics, rather than just competition problems or side questions.

That's exactly why caution is warranted, and Anthropic says so itself. No human has checked the proof. The Lean formalization is a strong safeguard: if it builds cleanly and uses only the standard axioms, the formal proof steps are correct as far as anyone can currently tell. The open question is whether the formal definitions of circuits, VP, VNP and approximation in Statement.lean really capture the standard mathematical concepts. Even a small deviation in one definition could mean something different, possibly trivial, was proven instead. Anthropic itself flags differences between the paper and the Lean statements in Appendix Q. What matters now is how experts judge them.

In the end, the research community has to check the result: first the Lean statements, then the proof idea in the paper. Until then, it remains an extraordinary claim, but one that's unusually easy to verify.

Sources

#anthropic#claude#mathematics#complexity theory#lean#formal proofs
Read the original source

Ask the AI assistant

Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.