A fully polynomial randomized approximation scheme for counting perfect matchings in general graphs
Counting perfect matchings exactly is #P-complete even for bipartite graphs (Valiant 1979). Jerrum and Sinclair (1989) gave an FPRAS for all matchings and for perfect matchings only when the ratio of near-perfect to perfect matchings is polynomially bounded; Jerrum, Sinclair and Vigoda (2004) removed that restriction in the bipartite case (the permanent of a nonnegative matrix). Stefankovic, Vigoda and Wilmes showed that chains of the Jerrum-Sinclair-Vigoda type cannot work on some nonbipartite graphs. Is there a fully polynomial randomized approximation scheme for the number of perfect matchings of an arbitrary graph , that is, a randomized algorithm returning with with probability at least , in time polynomial in the input size, and ?
- Result
- Proved(see note)
- Status
- Candidate (review pending)
- AI contribution
- AI-discovered
- Method
- Construction
- Field
- Approximate counting; Markov chain Monte Carlo
- Posed by
- Mark Jerrum and Alistair Sinclair, Approximating the permanent, SIAM J. Comput. 18 (1989), Section 7(i)
- Year posed
- 1989
- Years open
- 37y
- Solved
- 2026-09-23
- Model
- Unreleased internal OpenAI model
- Vendor
- OpenAI
- Collaborators
- —
- Verification
- Lean-checked, statement unaudited
- Publication
- Announced
- Collection
- OpenAI math release (October 2026), version adc7f12
- Significance
- 55 / 100
- Disclosed cost
- —
- Wikipedia
- No dedicated article
What was actually shown
Theorem 1.1: a uniform classical randomized algorithm that, for any finite simple undirected graph and rationals , , returns with , returns 0 with certainty when , and runs in worst-case bit time polynomial in the input length, and . Corollaries give counting schemes for edge sets with prescribed degrees and for matchings of a given size. It is for unweighted simple graphs: it does not claim an FPRAS for hafnians with arbitrary nonnegative weights, and the polynomial's degree is not optimised.
What the AI did
The release README says the results were produced by an unreleased internal OpenAI model with a fixed procedure, on average about three hours of ChatGPT Pro thinking compute per result, and that some outputs build on earlier model results. This result is not among the README's exceptions (the Hodge conjecture for CM abelian varieties and the Re(s) > 11/12 zero-free region). The manuscript is authored 'OpenAI' and names no human author. The algorithm and its analysis are the model's; the paper says it uses a different state space from the Jerrum-Sinclair-Vigoda chain (products of perfect-matching spaces on an enlarged colored graph) to get around the Stefankovic-Vigoda-Wilmes obstruction. The README also cautions that unformalized results could have issues.
Verification
No independent mathematician has checked this yet. Checked here: Theorem 1.1 of the manuscript was read against the question as Jerrum and Sinclair raised it (Section 7(i) of their 1989 paper, as the manuscript cites it). The proof was not refereed. Lean: the release's Comparator challenge MatchingFPRAS (theorem OAI.MatchingFPRAS.thm_main, solution module OAI.Combinatorics.MatchingCount.Main, both present at the pinned commit) is not in the release's formalization catalogue (lean/formalization.yaml); it is reached through lean/docs/113.md. Its statement was read here: a single finite randomized Post-Turing machine, on an explicit binary encoding of any finite simple graph and rationals , , halts on every random tape within steps with a nonnegative rational, outputs 0 on every tape when there is no perfect matching, and is within relative error on at least a fraction of tapes. That is the headline claim. The development was not rebuilt here and the statement has not been independently audited.
Sources
- PaperSame family: Entropy and Face Dimension of the Perfect-Matching Polytope
- Lean proofLean Comparator challenge MatchingFPRAS (statement)Lean solution module OAI.Combinatorics.MatchingCount.Main
- CodeOpenAI math release: A Fully Polynomial Randomized Approximation Scheme for Perfect Matchings in General Graphs
- Problem recordJerrum and Sinclair 1989, Approximating the permanent