Skip to main content

This interactive needs WebGL2, which this browser does not provide.

AI Mathematics · Algebraic complexity · Proved in Lean, not yet checked by people

One Sign Apart

The heart of the proof: a network in which every node is wired to every other. Cut it into two balanced parts, any way you like, and a large share of the wires must cross the cut. A computation small enough to be fast cannot carry that much across.

Drag to turn · scroll to zoom · right-drag to pan

What this is

Take a square grid of numbers, a matrix. Pick one entry from each row so that no two share a column, multiply them, and add up the products for every such choice. That sum is the permanent. Subtract half of the products instead of adding them, according to a fixed rule of signs, and you get the determinant, which every science student meets.

The two look almost identical, and they behave completely differently. A computer finds the determinant of a 100×100 matrix in about a million steps, by Gaussian elimination, a method that only works because of the signs. Nobody knows anything comparable for the permanent: the best method, Herbert Ryser’s (1923–1985) from 1963, still takes more than 2100 steps, enough to keep a machine doing a billion billion steps a second busy for over 40,000 years. In 1979 Leslie Valiant (born 1949) conjectured that this gap is real: no circuit of additions and multiplications of polynomial size computes the permanent. The classes of problems on either side of that line are called VP and VNP, and the conjecture is VP ≠ VNP. It is the algebraic counterpart of the P versus NP problem.

The paper behind this page claims to prove it, over every field. Every circuit for the m×m permanent, it says, needs more than mc(log m)1/3 gates for some fixed c > 0, a number that eventually outgrows every polynomial. The same holds for the Hamiltonian cycle polynomial, which sums only the threads that form a single tour (the third mode of the first view), and for circuits that only approximate.

The three views follow the proof. Threads shows the objects. Crossing shows the network the paper uses in its “flat case” (its equation 2.1 and Figure 3): k nodes, every pair joined by a wire that carries a string of ℓ bits. Whatever set S of a third to two thirds of the nodes you pick, at least 2k²/9 wires cross from S to the rest. The paper turns this into lengths: a small circuit could only route a few wires’ worth of information across any such cut, so a circuit for this network, and hence for the permanent, which can express it, must be large. A chain of nodes, the shape of the determinant’s computations, has a cut that one wire crosses. The proof itself is the third view: its 324 Lean files, joined by their 534 imports, grow up from a common part that turns ranks into distances and shows those distances have “nonpositive curvature”. There the proof splits. Either the geometry can be flat (the flat case, short: 10 files) or it is forced to contract (the contracting case, long: 192 files, ending in a diagonal argument about fast programs). The authors prove the bound in both cases and, in their words, do not know which one holds, even over the real numbers.

permanent perm(x) = Σ over σ of x₁σ(1) · x₂σ(2) ··· xₘσ(m) all m! terms added determinant det(x) = Σ over σ of sign(σ) · x₁σ(1) ··· xₘσ(m) half of them subtracted the claim every circuit for perm(x) has more than m^(c · (log m)^(1/3)) gates the cut any balanced S in the complete network is crossed by |S|·(k − |S|) ≥ 2k²/9 wires

Where AI came in

All of it, according to its authors. The paper is signed “Claude (Anthropic)”, and its README says the result was found by an internal research Claude model and that the paper and the Lean proof were both written by AI models. Anthropic published them on 23 November 2026 in its formal-math repository, next to three other machine-written formalizations, among them a refutation of the Exponential Time Hypothesis.

The proof is a program of 72,932 lines in Lean, a language in which a computer checks every step. Two independent checkers accept it: Lean’s own kernel and a second one, nanoda, through the comparator tool the Palomar registry uses. The README is also plain about what that does not cover: “no human mathematician has checked the proof”, and no machine checks that the file stating the theorems says what the paper claims. The paper lists, statement by statement, where its Lean versions differ, and one consequence it draws, about determinants approximating the permanent, is not formalized.

Three days earlier, on 20 November, Levent Alpöge had announced, with Claude, a proof of the Riemann Hypothesis. This one is different in kind: a mathematician did not direct it.

What it does not show

It does not settle P versus NP. Arithmetic circuits must produce the permanent as a formula, valid for every number and not just for 0 and 1, so the bound says nothing about whether ordinary computers can solve hard problems quickly; the paper says so three times. The bound is far from the best known algorithms: about 2(log m)4/3 against about 2m, so there is, in the paper’s words, plenty of room. On the drawing: the threads’ curves, the spiral of the rows, the bowing of the wires and the braid of the bits are a drawing rule; only which entries a thread passes through, the colour of its sign and which wires cross the cut carry meaning. In the proof view, height is each module’s longest chain of imports up to the final theorem, the branch is read from the paper’s labels in the Lean code (paper, Appendix Q), and position within a branch is arbitrary. The size of the circuit is not drawn anywhere: the numbers involved, such as 2273 terms for 14 nodes with three bits, are too large to draw.