Back

Anthropic says its Claude AI settled the algebra cousin of P vs NP; no mathematician has checked it

Illustration: a small square grid of tiles feeding a vast, ever-widening web of connected dots, beside a tiny grid feeding a small, tidy web
Illustration: FrameSignal (AI-generated)

Anthropic has posted a paper and code in which an internal Claude model claims to prove that a formula called the permanent has no quick recipe of additions and multiplications for ordinary numbers once its grid of numbers gets large. If it holds, that settles a question called VP versus VNP, though not P versus NP itself. Anthropic says no human mathematician has checked the proof, and that no machine checks whether the version written for a computer states what is claimed.

On Nov. 23, Anthropic posted a paper and computer code that claim to settle a question in computer science known as VP versus VNP. The paper calls it the algebra counterpart of the famous P versus NP problem, which asks whether every problem whose answer is easy to check is also easy to solve. Anthropic says the result "was discovered by an internal research Claude model." It says the paper and a version written for a computer to check "were written by AI models, and no human mathematician has checked the proof." The paper lists Claude as its author.

The question is about how many steps a calculation needs, using recipes built only from additions and multiplications. Take a square grid of numbers. Pick one number from each row and each column, multiply them, and add up the results over every possible pick: that is the permanent. The determinant, a well-known formula, uses the same products, and the paper says it differs from the permanent "only in the signs of its terms."

The determinant can be worked out in a number of steps that grows no faster than a fixed power of the number of rows. Valiant, who defined VP and VNP, conjectured that the permanent has no such shortcut. VP is the group of formulas with fast recipes like that, and the permanent is the standard example of the wider group, VNP.

The paper says Valiant was right. For a grid with m rows, it says any such recipe for the permanent needs more than m raised to a power that itself slowly grows with m, once m is large. So the steps eventually outrun any fixed power of the number of rows. In one unusual kind of arithmetic the permanent turns into the determinant, so there the paper proves the same bound for a related formula instead, and says VP and VNP differ in every case. As far as its author knows, the paper says, no one had proved that the permanent needs more than slightly over m squared steps. The fastest known ways to compute it take far more steps than the new minimum, so the paper says there is "plenty of room to tighten the bounds."

The result does not settle P versus NP, Anthropic and the paper say. The paper explains that its recipes must work for every number, not just 0 and 1, so the result does not carry over to the on-off logic that computers run on. It says its results "say nothing" about whether the hard problems at the center of P versus NP can be solved quickly. Had the answer gone the other way, with VP equal to VNP in the right number system, that would have shown a version of easy-to-check means easy-to-solve for computer circuits, the paper notes. No link is known in the direction the paper proves.

The proof also comes as code in Lean, a programming language in which a computer can check every step. Anthropic says Lean checks the proofs, and that the repository's automatic tests run them again through a second, separately written checker. But a computer check covers only the statements as they were typed in. Anthropic says no machine checks that its statement file says what is claimed, and the paper lists where its Lean versions differ from the results as the paper states them. One side result, not the main theorem, is not in the Lean code at all.

Anthropic has posted the work as a research artifact it says it will not maintain. It is not yet known whether experts in the field will accept the proof. On Nov. 20, Levent Alpöge released a proof of the Riemann hypothesis as Lean code. On Nov. 21, the Lean FRO and the Mathlib Initiative said they had "full confidence" that proof was correct. For the new proof, Anthropic says no human mathematician has checked it.

More on Anthropic