Exact Matching (Papadimitriou–Yannakakis, 1982) in Deterministic Time 2^(n^o(1)) from Permanent Lower Bounds
Version 1 / Nov 27, 2026 / CC BY-SA 4.0
Abstract
In 1982 Papadimitriou and Yannakakis posed the Exact Matching problem: given a graph whose edges are colored red and blue and an integer k, decide whether the graph contains a perfect matching with exactly k red edges. Mulmuley, Vazirani, and Vazirani placed Exact Matching in randomized polynomial time (RNC ⊆ RP) in 1987, yet on general n-vertex graphs no unconditional deterministic subexponential (2^{o(n)}) algorithm was known. Suppose arithmetic circuits over Q computing the μ × μ permanent require more than μ^{c (log_2 μ)^{1/3}} gates for some constant c > 0 and all sufficiently large μ. While any superpolynomial permanent lower bound already implies deterministic time 2^{s^ε} (for every fixed ε > 0) for low-degree polynomial identity testing (PIT)—deciding whether a polynomial given by an arithmetic circuit is identically zero—via Kabanets and Impagliazzo (2004), and 2^{n^ε} for Exact Matching via division-free Pfaffians, working out the quantitative tradeoff yields a strictly faster uniform bound beating 2^{s^ε} for every ε > 0. Writing exp_2(t) := 2^t, we prove under this hypothesis that PIT—given an integer s ≥ 2 and an integer arithmetic circuit of encoding length at most s computing a polynomial of total degree and coefficient bit-length at most s—runs in deterministic time exp_2(exp_2(K (log_2 s)^{3/4})) = 2^{s^{o(1)}}, for a constant K > 0 depending only on the lower-bound parameters. On general n-vertex graphs (n ≥ 2), Exact Matching—together with witness recovery, finding a perfect matching of prescribed total weight for integer edge weights bounded by n^C, and finding a perfect matching of prescribed label sum in any finite abelian group of order at most n^C—then runs in deterministic time exp_2(exp_2(K' (log_2 n)^{3/4})) = 2^{n^{o(1)}} (with K' depending also on C for the weighted and group-labeled variants). Instantiating this hypothesis with the recent permanent lower bound of Claude (Anthropic, November 2026; machine-checked in Lean 4, not yet human-refereed) conditionally places all of these problems in deterministic time 2^{n^{o(1)}}, and a stronger unrefereed bound of OpenAI conditionally sharpens the Exact Matching time bound to exp_2(exp_2(O((log_2 n)^{1/2} log_2 log_2(n+2)))). These conditional derandomization bounds combine Kabanets–Impagliazzo hardness–randomness tradeoffs with division-free Pfaffian circuits over integral group rings. Under the stated permanent lower bound, Lean verifies test correctness, the matching reductions and the evaluation count. The running-time bounds are outside this verification.
Provenance statement
References
- S. Artmann, R. Weismantel, and R. Zenklusen, A strongly polynomial algorithm for bimodular integer linear programming , Proc.\ 49th ACM Symposium on Theory of Computing (STOC), 2017, 1206--1219, https://doi.org/10.1145/3055399.3055473DOI
- P. M. Camerini, G. Galbiati, and F. Maffioli, Random pseudo-polynomial algorithms for exact matroid problems , J.\ Algorithms 13 (1992), 258--273, https://doi.org/10.1016/0196-6774(92)90018-8DOI
- Claude (Anthropic), over every field , preprint and Lean 4 formalization, November 23, 2026, https://github.com/anthropics/formal-math/tree/main/vp-vnplink
- N. El Maalouly, R. Steiner, and L. Wulf, Exact matching: correct parity and FPT parameterized by independence number , 34th International Symposium on Algorithms and Computation (ISAAC 2023), LIPIcs 283 , 28:1--28:18, https://doi.org/10.4230/LIPIcs.ISAAC.2023.28DOI
- S. Fenner, R. Gurjar, and T. Thierauf, Bipartite perfect matching is in quasi-NC , Proc.\ 48th ACM Symposium on Theory of Computing (STOC), 2016, 754--763; journal version in SIAM J.\ Comput.\ 50 (2021), STOC16-218--STOC16-235, https://doi.org/10.1137/16M1097870DOI
- F. Hörsch, A. Imolay, R. Mizutani, T. Oki, and T. Schwarcz, Problems on group-labeled matroid bases , 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024), LIPIcs 297 , 86:1--86:20, https://doi.org/10.4230/LIPIcs.ICALP.2024.86DOI
- V. Kabanets and R. Impagliazzo, Derandomizing polynomial identity tests means proving circuit lower bounds , Comput.\ Complexity 13 (2004), 1--46, https://doi.org/10.1007/s00037-004-0182-6DOI
- E. Kaltofen, Factorization of polynomials given by straight-line programs , in Randomness and Computation (S. Micali, ed.), Adv.\ Comput.\ Res.\ 5 , JAI Press, 1989, 375--412.
- M. Mahajan, P. R. Subramanya, and V. Vinay, The combinatorial approach yields an NC algorithm for computing Pfaffians , Discrete Appl.\ Math.\ 143 (2004), 1--16, https://doi.org/10.1016/j.dam.2003.12.001DOI
- K. Mulmuley, U. V. Vazirani, and V. V. Vazirani, Matching is as easy as matrix inversion , Combinatorica 7 (1987), 105--113, https://doi.org/10.1007/BF02579206DOI
Show all 19 referencesShow fewer references
- OpenAI, Circuit lower bounds for Hamiltonian cycle and the permanent , preprint and Lean 4 formalization, November 24, 2026, https://github.com/openai/math/tree/main/preprints/Circuit-lower-bounds-for-Hamiltonian-cycle-and-the-permanent-November-24-2026link
- C. H. Papadimitriou and M. Yannakakis, The complexity of restricted spanning tree problems , J.\ Assoc.\ Comput.\ Mach.\ 29 (1982), 285--309, https://doi.org/10.1145/322307.322309DOI
- H. J. Ryser, Combinatorial Mathematics , Carus Mathematical Monographs 14 , Mathematical Association of America, 1963.
- N. Saxena, Progress on polynomial identity testing---II , in Perspectives in Computational Complexity (M. Agrawal and V. Arvind, eds.), Progr.\ Comput.\ Sci.\ Appl.\ Logic 26 , Birkhäuser/Springer, 2014, 131--146, https://doi.org/10.1007/978-3-319-05446-9_7DOI
- A. Shpilka and A. Yehudayoff, Arithmetic circuits: a survey of recent results and open questions , Found.\ Trends Theor.\ Comput.\ Sci.\ 5 (2010), 207--388, https://doi.org/10.1561/0400000039DOI
- O. Silina, A polyhedral perspective on the perfect matching lattice , preprint, November 2025, https://arxiv.org/abs/2511.03863link
- V. Strassen, Vermeidung von Divisionen , J.\ Reine Angew.\ Math.\ 264 (1973), 184--202, https://doi.org/10.1515/crll.1973.264.184DOI
- O. Svensson and J. Tarnawski, The matching problem in general graphs is in quasi-NC , Proc.\ 58th IEEE Symposium on Foundations of Computer Science (FOCS), 2017, 696--707, https://doi.org/10.1109/FOCS.2017.70DOI
- A. Wigderson, Mathematics and Computation: A Theory Revolutionizing Technology and Science , Princeton University Press, 2019.
Version history
- v1 · 9 pagesSubmitted by Dave GoelFirst version: November 26, 2026. This version (2.00): November 26, 2026. Zenodo deposit: https://doi.org/10.5281/zenodo.24587196 . Lean 4 formalization: https://github.com/david44hello/paper_papadimitriou-yannakakis-1982-exact-matching/tree/v2.00/leanCurrentNov 27, 2026