FPRAS for counting perfect matchings in general graphs

The question is whether a randomized algorithm approximates the number of perfect matchings in every finite simple undirected graph to relative error ε\varepsilon with failure probability at most δ\delta in worst-case bit time polynomial in the input length, ε−1\varepsilon ^{-1}, and log⁡δ−1\log \delta ^{-1}; it returns zero with certainty when there is no perfect matching.

Why it matters and what counts as progress

Why it matters: General graphs require handling structures absent from the bipartite matching approximation setting.

What counts as progress: Give a relative-error randomized polynomial-time approximation for arbitrary graphs, preserving guaranteed zero detection, or establish a complexity obstruction.

How the problem developed

  1. 1979 · Complexity barrier [2][1]

    Leslie G. Valiant Proved that computing the permanent is #P-complete, establishing exact-counting hardness even for bipartite perfect matchings. This does not rule out randomized relative approximation.

  2. 1989 · Partial result and question [3][1]

    Mark Jerrum and Alistair Sinclair Gave an FPRAS for all matchings in arbitrary graphs and a perfect-matching algorithm under a polynomial near-perfect/perfect ratio bound. They explicitly raised the unrestricted general-graph perfect-matching approximation question.

  3. 2004 · Partial result [4][1]

    Mark Jerrum, Alistair Sinclair and Eric Vigoda Published an FPRAS for the permanent of a nonnegative matrix, resolving bipartite perfect-matching approximation without the ratio restriction. This theorem does not cover arbitrary nonbipartite graphs.

  4. 2017 · Method barrier [5][1]

    Daniel Štefankovič, Eric Vigoda and John Wilmes Exhibited general graphs obstructing JSV-type perfect-and-near-perfect matching chains, even with arbitrary hole-pattern weights, and gave an FPRAS for graphs sufficiently close to bipartite. The obstruction concerns that algorithmic framework.

  5. 23 Sept 2026 · Reported AI result [1][6]

    OpenAI In the manuscript bearing this date, OpenAI reports the following result: A randomized algorithm approximates the number of perfect matchings in every finite simple undirected graph to relative error ε\varepsilon with failure probability at most δ\delta in worst-case bit time polynomial in the input length, ε−1\varepsilon ^{-1}, and log⁡δ−1\log \delta ^{-1}; it returns zero with certainty when there is no perfect matching.

Follow new AI contributions to this problem.

Get email updates

Download problem history

AI contribution

OpenAI reports an FPRAS for counting perfect matchings in general graphs

A randomized algorithm approximates the number of perfect matchings in every finite simple undirected graph to relative error ε\varepsilon with failure probability at most δ\delta in worst-case bit time polynomial in the input length, ε−1\varepsilon ^{-1}, and log⁡δ−1\log \delta ^{-1}; it returns zero with certainty when there is no perfect matching.

AI involvementAI-led
ImportanceMajor
Technical verificationFormal (Lean 4)
Human understandingFew
Reported

Sources

  1. Original manuscript
  2. Journal article · The complexity of computing the permanent
  3. Journal article · Approximating the permanent
  4. Journal article · A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries
  5. Preprint · On Counting Perfect Matchings in General Graphs
  6. Research announcement · OpenAI mathematics release
  7. Repository document · Lean formalization scope
Publication history