Mathematician Solves Knuth’s Permanent Matrix Puzzle With Faster Algorithm
A new dynamic programming approach breaks through a decades-old computational barrier for matrix permanents.
Computing the permanent of a square matrix faster than the long-standing exponential barrier has long baffled computer scientists, but a new mathematical approach finally breaks through. Researchers report a method to calculate the permanent of an $n \times n$ matrix using significantly fewer than $2^n$ operations, solving a classic puzzle posed decades ago in Donald Knuth’s seminal computer science text.
The permanent is a fundamental matrix function that looks deceptively similar to a determinant. While determinants can be computed efficiently in polynomial time using standard linear algebra techniques, computing a permanent is notoriously difficult and belongs to the complexity class known as #P-complete. For decades, the standard algorithms designed by Herbert Ryser and David Glynn required roughly $2^n$ operations, scaling exponentially with the size of the matrix.
Cracking a Decades-Old Computational Puzzle
The new strategy, available on the arXiv preprint server, was developed by Radu Curticapean from the University of Regensburg and the IT University of Copenhagen. The author reports that $n \times n$ permanents can be computed with $O^*((2 - \varepsilon)^n)$ arithmetic operations over every commutative ring, where $\varepsilon = 10^{-40}$. This slight reduction below the base-two growth rate represents the first unconditional subexponential improvement of its kind for general matrices.
To achieve this speedup, the work implements the classical Binet-Minc identity, which expresses the permanent as a signed sum over set partitions. Because the number of these partitions grows superexponentially, evaluating the formula directly is impossible. The authors overcome this bottleneck by combining dynamic programming with careful bookkeeping, constructing computational pathways known as algebraic branching programs.
Balancing Small Stars and Stellar Nurseries
The core innovation relies on organizing matrix entries into structures called star forests. The algorithm processes partitions by setting up a strict hierarchy of cutoffs and dividing stars into manageable categories. Small stars are handled efficiently through dynamic programming by tracking covered rows and columns, while larger, unruly stars are temporarily deferred into what the study terms stellar nurseries.
By restricting the number of large stars allowed in any given computation and carefully managing their bookkeeping, the algorithm prevents the state space from exploding. The researchers established a finite parameter list of 280 cutoffs, ensuring that every possible partition of the matrix indices is successfully captured by at least one cutoff category.
Verifying Complexity Bounds via Formal Proofs
Because claiming an exponential improvement over a decades-old barrier naturally invites skepticism, the study includes formal machine-checked verification. The author provides an ancillary proof in the Lean theorem prover, certifying the existence of the algebraic branching programs and confirming that the computational model successfully bypasses previous lower bounds.
The authors note that their algorithm relies heavily on signed terms and algebraic cancellations, which allows it to evade known lower bounds that apply strictly to monotone arithmetic circuits. Furthermore, by clearing denominators and working over finite ring extensions, the technique extends to rational matrices, yielding a precise bit complexity version that opens new doors for exact combinatorial counting.
The study was posted to the arXiv preprint server on November 2, 2026.
This article has been fact checked for accuracy, with information verified against reputable sources. Learn more about us and our editorial process.
Last reviewed on .
Article history
- Latest version
Reference(s)
- Curticapean, Radu. “Get Permanent Results Faster by Counting Stars.” arXiv.org <http://arxiv.org/abs/2611.03636v1>.
Cite this page:
- Posted by Joseph Jackson