VP vs VNP · Anthropic

Auto select follows the paper as you scroll. Hover over a marked phrase to preview its Lean and see how the two compare. Click a phrase to keep it selected in Manual.

VP ≠ VNP OVER EVERY FIELD

CLAUDE

ANTHROPIC

Abstract. We prove that every arithmetic circuit that computes the permanent of an m×mm\times m matrix over the reals has more than mc(log⁡m)1/3m^{c(\log m)^{1/3}} gates, for some constant c>0c>0 and all sufficiently large mm. The same bound holds over every field of characteristic other than two and, for the Hamiltonian cycle polynomial in place of the permanent, the same bound holds over every field. Hence VP≠VNP\mathrm{VP}\ne\mathrm{VNP} over every field. This is the algebraic analogue of the conjecture P≠NP\mathrm{P}\ne\mathrm{NP}, but it does not settle that conjecture. Algebraic circuits must work for all inputs in the field and its extensions – not just 0 and 1 – thus our superpolynomial bound does not apply to Boolean circuits.

The result was discovered by an internal research Claude model and has been formalized in Lean.

1. Introduction

The theory of computing studies several models of computation such as Turing machines and Boolean circuits. One such model is arithmetic circuits, wherein the gates are addition and multiplication operations (instead of AND, OR, and NOT operations). An arithmetic circuit works over a particular field (such as the real numbers). The key distinction between arithmetic and Boolean circuits is that we require an arithmetic circuit to work for all elements of the field (and also for all elements of field extensions e.g. the complex numbers are an extension of the real numbers, so an arithmetic circuit over the reals also must handle complex numbers), whereas a Boolean circuit only needs to work for Boolean inputs.

The famous P vs NP problem is a statement about Turing machines. The analogous problem for arithmetic circuits is the VP vs VNP problem. In this paper, we resolve the latter problem, but not the former.

It has been shown that proving VP=VNP\mathrm{VP}=\mathrm{VNP} over an appropriate field would imply that P/poly=NP/poly\mathrm{P/poly}=\mathrm{NP/poly}, which is the version of P=NP\mathrm{P}=\mathrm{NP} for Boolean circuits [Bür00b], but no implication in the other direction is known. We show that VP≠VNP\mathrm{VP}\ne\mathrm{VNP} over all fields, but the P vs NP problem remains open.

The canonical VNP-complete problems are the permanent and the Hamiltonian cycle polynomial.1 For an m×mm\times m matrix of variables xi,jx_{i,j} (i,j∈{1,2,…,m}i,j\in\{1,2,\ldots,m\}) these are the multilinear polynomials

PERMm=∑σ∈Sm∏i=1mxi,σ(i)andHCm=∑σ∏i=1mxi,σ(i),\mathrm{PERM}_m=\sum_{\sigma\in S_m}\prod_{i=1}^m x_{i,\sigma(i)} \qquad\text{and}\qquad \mathrm{HC}_m=\sum_\sigma\prod_{i=1}^m x_{i,\sigma(i)},

where SmS_m is the symmetric group of size m!m! and the second sum runs over the (m−1)!(m-1)! cyclic permutations in SmS_m.

The VP vs VNP problem is equivalent to asking whether or not the permanent and the Hamiltonian cycle polynomial can be computed by polynomial-size arithmetic circuits; Valiant [Val79, Val82] conjectured that they cannot. We produce a lower bound of 2Ω((log⁡m)4/3)2^{\Omega((\log m)^{4/3})}, which is superpolynomial and thus separates VP from VNP. Our lower bound is quasipolynomial, whereas the best upper bounds are exponential – i.e. of the form 2O(m)2^{O(m)} [Rys63, Gly10, Cur26]. Thus there is still plenty of room to tighten the bounds.

1 The permanent is VNP-complete for fields of characteristic other than 2, while the Hamiltonian cycle polynomial is VNP-complete for all fields.

The full proofs are in the associated Lean release and in the appendix; a name in typewriter type, such as thm_alt, refers to the relevant statement in Lean.

1.1. Results

The precise statements follow; the model and the classes VP and VNP are made precise in Section 1.3.

Theorem 1.1 (main theorem; thm_allfields). There is an absolute constant c>0c>0 such that for every pp, zero or prime, there is m0m_0 with the following property. Over every field of characteristic pp and for every m≥m0m\ge m_0, every circuit for HCm\mathrm{HC}_m, and every circuit for PERMm\mathrm{PERM}_m if p≠2p\ne 2, has more than mc(log⁡m)1/3m^{c(\log m)^{1/3}} gates.

Here and throughout, log⁡=log⁡2\log=\log_2. We do not claim that the exponent 1/31/3 is optimal. In characteristic two the permanent coincides with the determinant; since the determinant has polynomial-size circuits, the theorem does not apply there.

As (PERMm)(\mathrm{PERM}_m) and (HCm)(\mathrm{HC}_m) are in VNP, Theorem 1.1 gives the following.

Corollary 1.2 (cor_allclasses). Over every field, VP is a proper subset of VNP.

These results extend to approximate computation in the sense of border complexity, so that VNP⊈VP‾\mathrm{VNP}\nsubseteq\overline{\mathrm{VP}} over every field, and Section 1.2 says what this implies for the determinantal complexity of the permanent.

Definition 1.3 (def_approx). Let k\mathbb{k} be a field, and let k((ε))\mathbb{k}((\varepsilon)) be the field of formal Laurent series over k\mathbb{k}. A circuit over k((ε))\mathbb{k}((\varepsilon)) approximates a polynomial ff over k\mathbb{k} if it computes a polynomial of the form f+εgf+\varepsilon g, where gg is a polynomial all of whose coefficients lie in k[[ε]]\mathbb{k}[[\varepsilon]]. The class VP‾\overline{\mathrm{VP}} is defined like VP, with approximating circuits in place of circuits.

Over the real numbers this captures limits. If the constants of the circuit are, say, polynomials in ε\varepsilon and 1/ε1/\varepsilon, then putting a small positive real number for ε\varepsilon gives a circuit over R\mathbb R with the same number of gates that computes f+εgf+\varepsilon g, and these polynomials tend to ff, coefficient by coefficient, as ε→0\varepsilon\to 0. So ff is a limit of polynomials that have small circuits, although it need not have a small circuit itself, because constants such as 1/ε1/\varepsilon blow up in the limit. The definition with formal series expresses this over arbitrary fields.

Theorem 1.4 (approximate computation; thm_approx). Theorem 1.1 holds for circuits that approximate HCm\mathrm{HC}_m, respectively PERMm\mathrm{PERM}_m. In particular VNP⊈VP‾\mathrm{VNP}\nsubseteq\overline{\mathrm{VP}} over every field.

Theorem 1.1 and Corollary 1.2 are proved in Appendix M (as Theorem M.3 and Corollary M.4), and Theorem 1.4 in Appendix N (Definition N.1, Theorem N.5). Section 3 prints the Lean file that states Theorems 1.1 and 1.4 and Corollary 1.2 from Mathlib alone.