Math 2.0

Computer science Randomized, circuit, counting and interactive complexity Theorem

Valiant's theorem on the permanent

Builds on PermanentNondeterministic Turing machinePolynomial-time reduction

Statement

A function f ⁣:{0,1}∗→ℕf \colon \set{0,1}^* \to \N is in #P\#\mathrm{P} if there is a polynomial-time nondeterministic Turing machine MM of the following kind. For every xx, the number of accepting computation paths of MM on xx is f(x)f(x). A function gg is #P\#\mathrm{P}-hard if every f∈#Pf \in \#\mathrm{P} is computed in polynomial time by a deterministic machine with an oracle for gg.

For an n×nn \times n matrix A=(aij)A = (a_{ij}) with entries in {0,1}\set{0,1}, its permanent is perm⁡(A)=∑σ∈Sn∏i=1naiσ(i).\operatorname{perm}(A) = \sum_{\sigma \in S_n} \prod_{i=1}^n a_{i \sigma(i)}. The function A↦perm⁡(A)A \mapsto \operatorname{perm}(A) is #P\#\mathrm{P}-complete: it is in #P\#\mathrm{P} and it is #P\#\mathrm{P}-hard.

Remarks

The permanent of a 00-11 matrix AA is the number of perfect matchings of the bipartite graph with biadjacency matrix AA. So it lies in #P\#\mathrm{P}: a machine guesses a permutation σ\sigma and accepts when all aiσ(i)a_{i\sigma(i)} equal 11. For hardness, Leslie Valiant first reduced the number of satisfying assignments of a formula to the permanent of an integer matrix. His gadgets build a weighted graph whose cycle covers encode the assignments. He then reduced integer entries to 00-11 entries, using computations modulo a large number.

The determinant has the same formula with the signs sgn⁡σ\sgn \sigma, and it is computed in polynomial time by Gaussian elimination. So a change of signs separates an easy function from a #P\#\mathrm{P}-complete one. Deciding whether a bipartite graph has a perfect matching is in P, so the theorem gives a counting problem that is hard although its decision version is easy.

Going deeper

For a student

The theorem started the theory of counting complexity and the class #P\#\mathrm{P}. Together with Toda's theorem, it shows that an oracle for the permanent decides every problem in the polynomial hierarchy in polynomial time. In algebraic complexity, Valiant's classes VP and VNP have the determinant and the permanent as their model problems. The question whether they differ is an algebraic analogue of P versus NP. The permanent of a matrix with nonnegative entries can still be approximated by a randomised algorithm, a result of Jerrum, Sinclair and Vigoda.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Nondeterministic Turing machine concept
  2. Permanent concept
  3. Polynomial-time reduction concept
  4. Valiant's theorem on the permanent statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Permanent_(mathematics)
About this page
TagE21YAD8156
URIm2://E21YAD8156
Kindstatement, theorem
WritingW0 stub
MSC68Q17, 15A15, 68Q15
StatusThis copy of the site has no build data. Run m2 status E21YAD8156.
AboutPermanent
UsesPermanent, Nondeterministic Turing machine, Polynomial-time reduction
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.