Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Complexity Theory

136 missions · 53 completed

Missions

Open83Completed53All136
🏆Completed
CombinatoricsDiscrete GeometryLinear Optimization+1·Captain: mikedeng1

Exponential Lower Bounds for Polytopes in Combinatorial Optimization: The TSP Polytope Has Extension Complexity 2^Ω(√n)Research Paper

Motivation

Combinatorial optimization problems are routinely solved by writing the convex hull of their feasible solutions as the feasible region of a linear program. When that convex hull has exponentially many facets, a classical trick is to add auxiliary variables: a polytope with many facets may be the linear projection of a higher-dimensional polyhedron with few. The spanning tree polytope, the permutahedron and the parity polytope all have compact descriptions of this kind. This raises the question of whether every polytope of an NP-hard problem might also have one, which would yield a polynomial-size linear program for that problem.

In the late 1980s several papers claimed polynomial-size linear programs for the traveling salesman problem (TSP). Yannakakis (STOC 1988; JCSS 1991) refuted all such claims at once by showing that every symmetric extended formulation of the TSP polytope has exponential size. He asked whether the symmetry assumption could be removed. Fiorini, Massar, Pokutta, Tiwary and de Wolf (STOC 2012; J. ACM 2015) answered the question: every extended formulation of the TSP polytope, symmetric or not, has 2Ω(n)2^{\Omega(\sqrt n)}2Ω(n​) inequalities.

Timeline.

  • 1990: De Simone shows that the correlation polytope is linearly isomorphic to the cut polytope.
  • 1991: Yannakakis proves the factorization theorem (extension complexity equals the nonnegative rank of a slack matrix) and the exponential lower bound for symmetric formulations of the TSP and perfect matching polytopes.
  • 1992: Razborov proves the distributional lower bound for set disjointness.
  • 2003: de Wolf shows that the support of M(n)ab=(1−a⊤b)2M(n)_{ab}=(1-a^\top b)^2M(n)ab​=(1−a⊤b)2 needs 2Ω(n)2^{\Omega(n)}2Ω(n) rectangles to cover.
  • 2012/2015: Fiorini et al. prove xc(CUT(n))=2Ω(n)\mathrm{xc}(\mathrm{CUT}(n))=2^{\Omega(n)}xc(CUT(n))=2Ω(n), xc(TSP(n))=2Ω(n)\mathrm{xc}(\mathrm{TSP}(n))=2^{\Omega(\sqrt n)}xc(TSP(n))=2Ω(n​), and a 2Ω(n)2^{\Omega(\sqrt n)}2Ω(n​) bound for stable set polytopes of some graphs on nnn vertices.
  • 2013: Kaibel and Weltge give a short combinatorial proof of the correlation-polytope bound, with constant C=log⁡2(3/2)C=\log_2(3/2)C=log2​(3/2).
  • 2014: Rothvoss proves 2Ω(n)2^{\Omega(n)}2Ω(n) for the perfect matching polytope.

Setting

Let ι\iotaι be a finite index set. An extended formulation (EF) of a set P⊆RιP\subseteq\mathbb R^{\iota}P⊆Rι is a linear system E=x+F=y=g=E^{=}x+F^{=}y=g^{=}E=x+F=y=g=, E≤x+F≤y≤g≤E^{\le}x+F^{\le}y\le g^{\le}E≤x+F≤y≤g≤ in variables (x,y)∈Rι×Rk(x,y)\in\mathbb R^{\iota}\times\mathbb R^{k}(x,y)∈Rι×Rk such that x∈Px\in Px∈P exactly when some yyy satisfies it. Its size is the number of inequalities. The extension complexity xc(P)\mathrm{xc}(P)xc(P) is the least size of an EF of PPP.

A polytope is the convex hull of finitely many points. A face of PPP is PPP itself or its intersection with a valid hyperplane, and a facet is a maximal proper face. A polytope QQQ is an extension of PPP if π(Q)=P\pi(Q)=Pπ(Q)=P for some linear map π\piπ. Given P={x:Ax≤b}=conv(V)P=\{x : Ax\le b\}=\mathrm{conv}(V)P={x:Ax≤b}=conv(V), the slack matrix has entries Sij=bi−AivjS_{ij}=b_i-A_iv_jSij​=bi​−Ai​vj​. The nonnegative rank rank+(M)\mathrm{rank}_+(M)rank+​(M) is the least rrr with M=TUM=TUM=TU, where T≥0T\ge 0T≥0 has rrr columns and U≥0U\ge 0U≥0 has rrr rows.

For nnn-bit strings a,ba,ba,b, a⊤ba^\top ba⊤b is the number of common ones, and M(n)M(n)M(n) is the 2n×2n2^n\times 2^n2n×2n matrix Mab=(1−a⊤b)2M_{ab}=(1-a^\top b)^2Mab​=(1−a⊤b)2. A 1-monochromatic rectangle cover of its support is a family of products R1×R2R_1\times R_2R1​×R2​, each containing only entries with Mab≠0M_{ab}\ne 0Mab​=0, that together contain all of them.

On the complete graph Kn=(Vn,En)K_n=(V_n,E_n)Kn​=(Vn​,En​), χF∈REn\chi^F\in\mathbb R^{E_n}χF∈REn​ is the characteristic vector of an edge set FFF and δ(X)\delta(X)δ(X) is the cut of X⊆VnX\subseteq V_nX⊆Vn​. The polytopes are

CUT(n)=conv{χδ(X)},COR(n)=conv{bb⊤:b∈{0,1}n}⊆Rn×n,\mathrm{CUT}(n)=\mathrm{conv}\{\chi^{\delta(X)}\},\qquad \mathrm{COR}(n)=\mathrm{conv}\{bb^\top : b\in\{0,1\}^n\}\subseteq\mathbb R^{n\times n},CUT(n)=conv{χδ(X)},COR(n)=conv{bb⊤:b∈{0,1}n}⊆Rn×n, TSP(n)=conv{χF:F⊆En is a tour (Hamiltonian cycle) of Kn}.\mathrm{TSP}(n)=\mathrm{conv}\{\chi^F : F\subseteq E_n \text{ is a tour (Hamiltonian cycle) of } K_n\}.TSP(n)=conv{χF:F⊆En​ is a tour (Hamiltonian cycle) of Kn​}.

Formalization targets

Goal: Theorem 12

∃ C>0 ∃ N ∀n≥N:xc(TSP(n)) ≥ 2Cn.\exists\,C>0\ \exists\,N\ \forall n\ge N:\qquad \mathrm{xc}(\mathrm{TSP}(n))\ \ge\ 2^{C\sqrt n}.∃C>0 ∃N ∀n≥N:xc(TSP(n)) ≥ 2Cn​.

The constant is left unfixed, so the goal survives any improvement of it.

Milestones, in attack order

  • Razborov's distributional bound (displayed in the proof of Theorem 1) and Theorem 1: every 1-rectangle cover of the support of M(n)M(n)M(n) has 2Ω(n)2^{\Omega(n)}2Ω(n) rectangles.
  • Lemma 2 and Theorem 3 (Yannakakis): rank+(S)≤r\mathrm{rank}_+(S)\le rrank+​(S)≤r   ⟺  \iff⟺ an extension with at most rrr facets   ⟺  \iff⟺ an EF with at most rrr inequalities.
  • Theorem 4: rank+(M)\mathrm{rank}_+(M)rank+​(M) is at least the rectangle covering bound of its support (already proved on the platform, referenced).
  • Theorem 5: COR(n)\mathrm{COR}(n)COR(n) is linearly isomorphic to CUT(n+1)\mathrm{CUT}(n+1)CUT(n+1). Lemma 6: ⟨2 diag(a)−aa⊤,x⟩≤1\langle 2\,\mathrm{diag}(a)-aa^\top,x\rangle\le 1⟨2diag(a)−aa⊤,x⟩≤1 is valid for COR(n)\mathrm{COR}(n)COR(n), with slack MabM_{ab}Mab​ at bb⊤bb^\topbb⊤.
  • Theorem 7: xc(CUT(n+1))=xc(COR(n))≥2Cn\mathrm{xc}(\mathrm{CUT}(n+1))=\mathrm{xc}(\mathrm{COR}(n))\ge 2^{Cn}xc(CUT(n+1))=xc(COR(n))≥2Cn.
  • Lemma 9: xc\mathrm{xc}xc does not increase under taking faces or linear images. Lemma 11: TSP(q)\mathrm{TSP}(q)TSP(q) with q=O(n2)q=O(n^2)q=O(n2) has a face that is an extension of COR(n)\mathrm{COR}(n)COR(n).
  • Stable sets: Lemma 8 and Theorem 10, xc(STAB(Gn))=2Ω(n)\mathrm{xc}(\mathrm{STAB}(G_n))=2^{\Omega(\sqrt n)}xc(STAB(Gn​))=2Ω(n​) for some graph GnG_nGn​ on nnn vertices.

Significance

The theorem rules out every polynomial-size linear programming formulation of the TSP polytope, in any number of auxiliary variables, which settles Yannakakis's question. The cut polytope bound does the same for max-cut, and the stable set bound for the stable set problem on general graphs. The results do not depend on P vs NP: they concern one specific model of computation, linear programs whose feasible region projects onto the polytope. They started a line of work on extension complexity, including perfect matching (Rothvoss), approximate EFs and semidefinite lifts.

Formalizing the result would produce a machine-checked chain from a communication-complexity bound to a polyhedral one. The paper's results are proved; the input of Theorem 1, Razborov's bound, is only cited, and is posed here as a separate target. To our knowledge none of these statements has a formal proof in Lean or another proof assistant. The polyhedral layer (Yannakakis's theorem, faces and extensions) and the matrix layer (nonnegative rank, rectangle covers) can be reused for later extension-complexity results.

Difficulty

The obvious approach, bounding the number of facets of the TSP polytope, does not work: extended formulations exist precisely because a projection can have far more facets than the lifted polyhedron. Any lower bound must cover every lifting at once, which means working with the nonnegative rank of a slack matrix rather than with any concrete formulation. Ordinary rank is no help, because M(n)M(n)M(n) has rank O(n2)O(n^2)O(n2). The step that carries the weight is Razborov's distributional bound for disjointness, a nontrivial piece of communication complexity. On the polyhedral side, Lemma 11 needs a reduction from 3SAT to a directed and then an undirected Hamiltonian cycle problem, realized as a face of TSP(q)\mathrm{TSP}(q)TSP(q) with q=O(n2)q=O(n^2)q=O(n2). Theorem 12 also needs a monotonicity of xc(TSP(n))\mathrm{xc}(\mathrm{TSP}(n))xc(TSP(n)) in nnn that the paper only indicates.

Formalization scope

  • Everything is over R\mathbb RR. Points of Rd\mathbb R^dRd are functions ι→R\iota\to\mathbb Rι→R on a finite type. REn\mathbb R^{E_n}REn​ has one coordinate per unordered edge of KnK_nKn​ (non-diagonal elements of Sym2 (Fin n)). Rn×n\mathbb R^{n\times n}Rn×n is indexed by ordered pairs, and the Frobenius product is the dot product over ordered pairs. Bit strings are Fin n → Bool.
  • xc\mathrm{xc}xc and rank+\mathrm{rank}_+rank+​ are natural numbers (sInf of the attainable sizes), never ∞\infty∞, so no lower bound can hold through an infinite value. The size of an EF counts inequalities only.
  • Every 2Ω(f(n))2^{\Omega(f(n))}2Ω(f(n)) is ∃C>0 ∃N ∀n≥N\exists C>0\,\exists N\,\forall n\ge N∃C>0∃N∀n≥N, 2Cf(n)≤⋅2^{Cf(n)}\le\cdot2Cf(n)≤⋅ (real power). Every O(n2)O(n^2)O(n2) is a constant ccc with ≤c n2\le c\,n^2≤cn2, uniform in nnn.
  • Theorem 7 and Lemma 11 carry an added n≥1n\ge 1n≥1: at n=0n=0n=0 the printed statements fail, since COR(0)\mathrm{COR}(0)COR(0) is a point with xc=0\mathrm{xc}=0xc=0 and no positive q≤c⋅0q\le c\cdot 0q≤c⋅0 exists.
  • "Linearly isomorphic" in Theorem 5 is an injective linear map carrying CUT(n+1)\mathrm{CUT}(n+1)CUT(n+1) onto COR(n)\mathrm{COR}(n)COR(n), because the two ambient spaces have different dimensions.
  • In Theorem 3, dim⁡P≥1\dim P\ge 1dimP≥1 is "PPP has two distinct points". Faces include ∅\emptyset∅ and PPP, facets are maximal proper faces, and facets are counted with an explicit finite family.
  • Ruled out: a TSP polytope over ordered pairs, all cycles or directed tours, a weakened isomorphism in Theorem 5, and an extension complexity valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞} that is infinite on a broken EF definition.
  • Welcome contributions: proofs of any milestone, in particular Lemma 2 and the factorization theorem (reusable for every later extension-complexity result), Theorem 5, and the face construction of Lemma 11; a proof of the monotonicity of xc(TSP(n))\mathrm{xc}(\mathrm{TSP}(n))xc(TSP(n)) in nnn as a supporting lemma.

Selected references

  • S. Fiorini, S. Massar, S. Pokutta, H. R. Tiwary, R. de Wolf, Exponential lower bounds for polytopes in combinatorial optimization, J. ACM 62(2), Art. 17, 2015. https://doi.org/10.1145/2716307
  • M. Yannakakis, Expressing combinatorial optimization problems by linear programs, J. Comput. Syst. Sci. 43(3), 441–466, 1991. https://doi.org/10.1016/0022-0000(91)90024-Y
  • A. A. Razborov, On the distributional complexity of disjointness, Theoret. Comput. Sci. 106(2), 385–390, 1992. https://doi.org/10.1016/0304-3975(92)90260-M
  • R. de Wolf, Nondeterministic quantum query and communication complexities, SIAM J. Comput. 32(3), 681–699, 2003. https://doi.org/10.1137/S0097539702407345
  • C. De Simone, The cut polytope and the Boolean quadric polytope, Discrete Math. 79(1), 71–75, 1990. https://doi.org/10.1016/0012-365X(90)90056-N
  • V. Kaibel, S. Weltge, A short proof that the extension complexity of the correlation polytope grows exponentially, Discrete Comput. Geom. 53, 397–401, 2015. https://doi.org/10.1007/s00454-014-9655-9
  • T. Rothvoss, The matching polytope has exponential extension complexity, J. ACM 64(6), Art. 41, 2017. https://doi.org/10.1145/3127497
21 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization+2·Captain: mikedeng1

Maximizing Non-Monotone Submodular Functions V: Beating 1/2 for Symmetric Functions Requires Exponentially Many Value QueriesResearch Paper

Motivation

Maximizing a nonnegative submodular set function without constraints contains Max Cut, Max Directed Cut and facility-location problems as special cases. In the value-oracle model an algorithm knows nothing about the function except the values f(S)f(S)f(S) of the sets SSS it queries, and it is judged by the number of queries it makes. Feige, Mirrokni and Vondrák (SIAM J. Comput. 40(4), 2011) gave constant-factor algorithms in this model and matching limits on what any algorithm can do. For symmetric functions, such as cut functions of undirected graphs, a uniformly random set already achieves 12\tfrac1221​ of the optimum in expectation (Theorem 2.1 of the paper). The question this mission formalizes is whether any algorithm can do better, and the answer given by Theorem 4.5 is: not without exponentially many value queries. The same factor 12\tfrac1221​ was later shown to be achievable for general (non-symmetric) nonnegative submodular functions by Buchbinder, Feldman, Naor and Schwartz (FOCS 2012 / SIAM J. Comput. 2015), so the bound of Theorem 4.5 is the tight limit of the whole problem in the value-oracle model.

Timeline:

  • 2007 (FOCS) / 2011 (SIAM J. Comput.): Feige, Mirrokni and Vondrák prove that no algorithm with subexponentially many value queries achieves (12+ϵ)(\tfrac12 + \epsilon)(21​+ϵ) of the optimum on symmetric nonnegative submodular functions, and give 25\tfrac2552​ for general functions.
  • 2011: Vondrák's symmetry-gap framework (SIAM J. Comput. 42(1), 2013) generalizes the construction to constrained problems.
  • 2012: Buchbinder, Feldman, Naor and Schwartz give a randomized 12\tfrac1221​-approximation for general nonnegative submodular functions, matching the bound.

Setting

Let [n]={0,…,n−1}[n] = \{0, \dots, n-1\}[n]={0,…,n−1} be the ground set, with nnn even. A set function f:2[n]→Rf : 2^{[n]} \to \mathbb{R}f:2[n]→R is submodular if f(S∪T)+f(S∩T)≤f(S)+f(T)f(S \cup T) + f(S \cap T) \le f(S) + f(T)f(S∪T)+f(S∩T)≤f(S)+f(T) for all S,TS, TS,T, symmetric if f([n]∖S)=f(S)f([n]\setminus S) = f(S)f([n]∖S)=f(S) for all SSS, and OPT(f)=max⁡Sf(S)\mathrm{OPT}(f) = \max_{S} f(S)OPT(f)=maxS​f(S).

Fix an integer mmm with 1≤m≤n/21 \le m \le n/21≤m≤n/2 and write ϵ=m/n\epsilon = m/nϵ=m/n, so that ϵn\epsilon nϵn is an integer. For integers k,ℓk, \ellk,ℓ put

f(k,ℓ)={(k+ℓ)(n−k−ℓ)∣k−ℓ∣≤m,k(n−2ℓ)+(n−2k)ℓ+m2−2m∣k−ℓ∣∣k−ℓ∣>m.f(k,\ell) = \begin{cases} (k+\ell)(n-k-\ell) & |k-\ell| \le m,\\ k(n-2\ell) + (n-2k)\ell + m^2 - 2m|k-\ell| & |k-\ell| > m. \end{cases}f(k,ℓ)={(k+ℓ)(n−k−ℓ)k(n−2ℓ)+(n−2k)ℓ+m2−2m∣k−ℓ∣​∣k−ℓ∣≤m,∣k−ℓ∣>m.​

For a set C⊆[n]C \subseteq [n]C⊆[n] with ∣C∣=n/2|C| = n/2∣C∣=n/2 and D=[n]∖CD = [n] \setminus CD=[n]∖C, the hard instance is fC(S)=f(∣S∩C∣,∣S∩D∣)f_C(S) = f(|S\cap C|, |S\cap D|)fC​(S)=f(∣S∩C∣,∣S∩D∣). The cut function of the complete graph is g(S)=∣S∣(n−∣S∣)g(S) = |S|(n-|S|)g(S)=∣S∣(n−∣S∣), with maximum 14n2\tfrac14 n^241​n2. A set QQQ is balanced for CCC if ∣∣Q∩C∣−∣Q∩D∣∣≤m\bigl||Q\cap C| - |Q\cap D|\bigr| \le m​∣Q∩C∣−∣Q∩D∣​≤m; on balanced sets fC=gf_C = gfC​=g.

A deterministic adaptive qqq-query algorithm AAA chooses each query from the answers received so far, and after qqq answers outputs a set A(h)A(h)A(h) when run against an oracle hhh. A randomized algorithm is a distribution μ\muμ over deterministic ones, with expected value EA∼μ[h(A(h))]\mathbb{E}_{A\sim\mu}[h(A(h))]EA∼μ​[h(A(h))].

Formalization targets

Goal: Theorem 4.5 with the constants of its proof

For every such n,mn, mn,m:

  1. every fCf_CfC​ with ∣C∣=n/2|C| = n/2∣C∣=n/2 is nonnegative, symmetric and submodular, with
OPT(fC)=12n2(1−2ϵ+2ϵ2);\mathrm{OPT}(f_C) = \tfrac12 n^2 (1 - 2\epsilon + 2\epsilon^2);OPT(fC​)=21​n2(1−2ϵ+2ϵ2);
  1. for every q<eϵ2n/8q < e^{\epsilon^2 n/8}q<eϵ2n/8 and every randomized qqq-query algorithm μ\muμ there is a CCC with ∣C∣=n/2|C| = n/2∣C∣=n/2 and
EA∼μ[fC(A(fC))]≤14n2+(2e−ϵ2n/8+2e−ϵ2n/4) OPT(fC).\mathbb{E}_{A\sim\mu}\bigl[f_C(A(f_C))\bigr] \le \tfrac14 n^2 + \bigl(2e^{-\epsilon^2 n/8} + 2e^{-\epsilon^2 n/4}\bigr)\,\mathrm{OPT}(f_C).EA∼μ​[fC​(A(fC​))]≤41​n2+(2e−ϵ2n/8+2e−ϵ2n/4)OPT(fC​).

Hence the ratio attained is at most 12(1−2ϵ+2ϵ2)+4e−ϵ2n/8=12+ϵ+O(ϵ2)+4e−ϵ2n/8\frac{1}{2(1-2\epsilon+2\epsilon^2)} + 4e^{-\epsilon^2 n/8} = \tfrac12 + \epsilon + O(\epsilon^2) + 4e^{-\epsilon^2 n/8}2(1−2ϵ+2ϵ2)1​+4e−ϵ2n/8=21​+ϵ+O(ϵ2)+4e−ϵ2n/8.

Milestones

  • Theorem 1.2, the Chernoff bound for independent variables in [−1,1][-1,1][−1,1].
  • Submodularity of fCf_CfC​.
  • The value OPT(fC)=12n2(1−2ϵ+2ϵ2)\mathrm{OPT}(f_C) = \tfrac12 n^2(1 - 2\epsilon + 2\epsilon^2)OPT(fC​)=21​n2(1−2ϵ+2ϵ2), attained at S=CS = CS=C.
  • A fixed query is unbalanced for at most a 2e−ϵ2n/42e^{-\epsilon^2 n/4}2e−ϵ2n/4 fraction of the half-size sets CCC.
  • If all queries are balanced, the algorithm cannot distinguish fCf_CfC​ from ggg.
  • The deterministic case of the bound, averaged over CCC.

Significance

The theorem shows that the factor 12\tfrac1221​ for symmetric submodular maximization, and hence for unconstrained submodular maximization in general, cannot be improved by any algorithm that uses a subexponential number of value queries, whatever its running time. It is an information-theoretic bound and needs no complexity assumption. Along with the later matching 12\tfrac1221​-approximation, it settles the value-oracle approximability of the problem. The construction, a function equal to a symmetric function on "balanced" sets and larger elsewhere, is the prototype of the symmetry-gap technique used for many later oracle lower bounds.

The result is proved in the paper. No machine-checked version is known to exist: the platform has no value-oracle or query-lower-bound statement. Formalizing it requires a precise model of adaptive randomized query algorithms, a concentration bound for the hypergeometric distribution, and a finite verification of submodularity of an explicit two-regime function, and it fixes the constants that the printed statement leaves as O(⋅)O(\cdot)O(⋅) terms.

Difficulty

Two steps of the printed argument do not go through as written. First, the proof bounds the probability that a fixed query is unbalanced by citing the Chernoff bound for independent variables, but for a uniformly random half-size set CCC the count ∣Q∩C∣|Q\cap C|∣Q∩C∣ is hypergeometric, and the summands are not independent. A bound for sampling without replacement is needed instead. Replacing the balanced partition by independent coin flips is not an option: then ∣C∣≠n/2|C| \ne n/2∣C∣=n/2 in general, and the function is no longer the paper's instance.

Second, the argument counts only the queries, but the value an algorithm receives is fCf_CfC​ of its output, which equals ggg of the output only if the output is balanced as well. That event has to be controlled too.

Finally, submodularity of fCf_CfC​ must be checked across the boundary ∣k−ℓ∣=ϵn|k-\ell| = \epsilon n∣k−ℓ∣=ϵn between the two regimes, where the formula changes.

Formalization scope

  • The ground set is Fin n with nnn even; ϵn\epsilon nϵn is an integer mmm with 1≤m1 \le m1≤m and 2m≤n2m \le n2m≤n, following the paper's "assume that ϵn\epsilon nϵn is an integer". Sets are Finset (Fin n), and all values are real.
  • OPT\mathrm{OPT}OPT is Finset.sup' over all subsets. There is no junk value.
  • The partition (C,D)(C, D)(C,D) is uniform over half-size sets; probabilities over it are counts of n/2-subsets divided by (nn/2)\binom{n}{n/2}(n/2n​), written multiplied out.
  • A deterministic algorithm is a pair of decision rules query, output : List ℝ → Finset (Fin n) making exactly qqq adaptive queries with arbitrary real answers. A randomized algorithm is a PMF over deterministic algorithms, which covers every randomization with countable support. The algorithm sees fff only through query answers; it never receives CCC.
  • Pinned-down constants. The printed theorem, "fewer than eϵ2n/8e^{\epsilon^2 n/8}eϵ2n/8 queries" and "expected value at least (12+ϵ)OPT(\tfrac12+\epsilon)\mathrm{OPT}(21​+ϵ)OPT", is not what the proof gives for one and the same ϵ\epsilonϵ. On the proof's instances OPT=12n2(1−2ϵ+2ϵ2)\mathrm{OPT} = \tfrac12 n^2(1-2\epsilon+2\epsilon^2)OPT=21​n2(1−2ϵ+2ϵ2), and the ratio held is 12(1−2ϵ+2ϵ2)>12+ϵ\frac{1}{2(1-2\epsilon+2\epsilon^2)} > \tfrac12 + \epsilon2(1−2ϵ+2ϵ2)1​>21​+ϵ. The formal goal states the explicit bound the proof establishes. The literal printed pair, stated for the proof's family with the same ϵ\epsilonϵ, is false: the zero-query algorithm that outputs a fixed half-size set gets at least 14n2>(12+ϵ)OPT\tfrac14 n^2 > (\tfrac12+\epsilon)\mathrm{OPT}41​n2>(21​+ϵ)OPT.
  • Added term. The error term 2e−ϵ2n/42e^{-\epsilon^2 n/4}2e−ϵ2n/4 for the output set is added to the paper's 2e−ϵ2n/82e^{-\epsilon^2 n/8}2e−ϵ2n/8.
  • Ruled-out trivializations. A restricted algorithm class (non-adaptive, deterministic, or one that must return a queried set) would give a different, weaker theorem. So would a bound that lets the algorithm read CCC, which would make the statement false. Both the instance's properties (nonnegativity, symmetry, submodularity, the value of OPT) and the bound are part of the goal, so an empty or degenerate family cannot satisfy it. The quantifier order is: for every algorithm there is an instance.
  • Needed infrastructure: a value-oracle algorithm model; tail bounds for the hypergeometric distribution (Hoeffding's inequality for sampling without replacement), which Mathlib lacks; averaging over a PMF of algorithms. The algorithm model and the hypergeometric bound are reusable for other oracle lower bounds. Proofs of any milestone, and alternative derivations of the balance bound, are welcome.

Selected references

  • U. Feige, V. S. Mirrokni, J. Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4):1133–1153, 2011. https://doi.org/10.1137/090779346
  • N. Alon, J. H. Spencer, The Probabilistic Method, Wiley (source of Theorem 1.2).
  • W. Hoeffding, Probability Inequalities for Sums of Bounded Random Variables, J. Amer. Statist. Assoc. 58(301):13–30, 1963. https://doi.org/10.1080/01621459.1963.10500830
  • J. Vondrák, Symmetry and Approximability of Submodular Maximization Problems, SIAM J. Comput. 42(1):265–304, 2013. https://doi.org/10.1137/110832318
  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, SIAM J. Comput. 44(5):1384–1402, 2015. https://doi.org/10.1137/130929205
12 thms3 active usersReviewed
🏆Completed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Fast Algorithms for Finding Nearest Common Ancestors I: A Lower Bound for Pointer MachinesResearch Paper

Motivation

The nearest common ancestor problem asks, for a rooted tree and two of its vertices xxx and yyy, for the deepest vertex that is an ancestor of both, written nca⁡(x,y)\operatorname{nca}(x,y)nca(x,y). It appears as a subroutine in string algorithms (suffix trees), in graph algorithms (path queries, dominators) and in the analysis of set-union structures. Aho, Hopcroft and Ullman (On finding lowest common ancestors in trees, SIAM J. Comput. 5, 1976) posed it in several versions, differing in how much the tree changes while the queries are answered.

Harel and Tarjan (Fast Algorithms for Finding Nearest Common Ancestors, SIAM J. Comput. 13, 1984) study how the answer depends on the machine model. On a random-access machine, where addresses can be computed arithmetically, they preprocess a static tree in linear time and then answer each query in constant time. On a pointer machine, where memory can only be traversed by following pointers, their §2 shows that no representation of the tree allows constant-time queries: Ω(log⁡log⁡n)\Omega(\log\log n)Ω(loglogn) steps are needed in the worst case. This mission formalizes that lower bound.

Timeline.

  • 1976: Aho, Hopcroft and Ullman give an O(log⁡log⁡n)O(\log\log n)O(loglogn)-per-query random-access algorithm for static trees.
  • 1976: van Leeuwen (Finding lowest common ancestors in less than logarithmic time, unpublished report, reference [14] of Harel–Tarjan) gives an O(n+mlog⁡log⁡n)O(n + m\log\log n)O(n+mloglogn) algorithm for static trees that runs on a pointer machine.
  • 1984: Harel and Tarjan prove Theorem 1, the matching Ω(log⁡log⁡n)\Omega(\log\log n)Ω(loglogn) lower bound for pointer machines, and the O(1)O(1)O(1)-per-query random-access algorithm.

Setting

A pointer machine stores its data as a collection of nodes. Each node has a fixed number of fields, and a pointer field holds either a node or nil. The machine can follow a pointer from a node it holds, but it cannot compute an address. Following Harel and Tarjan (p. 340), a static tree is represented by a list structure: each tree vertex vvv is represented by a single node rep(v)\mathrm{rep}(v)rep(v), distinct vertices by distinct nodes, and the structure may contain further nodes that represent no vertex. Each node has two pointer fields; the paper reduces any fixed number of pointers to two "without loss of generality". To answer a query on xxx and yyy, the machine is given pointers to rep(x)\mathrm{rep}(x)rep(x) and rep(y)\mathrm{rep}(y)rep(y) and must return a pointer to rep(nca⁡(x,y))\mathrm{rep}(\operatorname{nca}(x,y))rep(nca(x,y)).

The node bbb is accessible from aaa in jjj steps or less if it can be reached from aaa by following at most jjj pointers. Write accj(a)\mathrm{acc}_j(a)accj​(a) for the set of such nodes. A run of ttt steps from input nodes aaa and bbb is a sequence n1,…,ntn_1,\dots,n_tn1​,…,nt​ in which each nsn_sns​ is the content of a pointer field of a node among a,b,n1,…,ns−1a, b, n_1, \dots, n_{s-1}a,b,n1​,…,ns−1​. A query with answer ccc is answered in kkk steps if some run of at most kkk steps holds ccc.

The tree is the complete binary tree TTT of height hhh, with n=2hn = 2^hn=2h leaves. Its vertices are the words w∈{0,1}≤hw \in \{0,1\}^{\le h}w∈{0,1}≤h (the root-to-vertex path, 000 = left), the ancestors of vvv are its prefixes, the depth of www is ∣w∣|w|∣w∣ and its height is h−∣w∣h - |w|h−∣w∣. Then nca⁡(x,y)\operatorname{nca}(x,y)nca(x,y) is the longest common prefix of xxx and yyy. Logarithms are binary: lg⁡=log⁡2\lg = \log_2lg=log2​.

Formalization targets

Goal: Theorem 1 in the explicit form of its proof

For every hhh, every node type, every list structure with two pointers per node and every injective representation rep\mathrm{rep}rep of the complete binary tree with n=2hn = 2^hn=2h leaves: if every nca query on two leaves is answered in kkk steps, then

k>lg⁡lg⁡n−2.k > \lg\lg n - 2 .k>lglgn−2.

This is the last display of the proof (p. 341), which is what the paper's Ω(log⁡log⁡n)\Omega(\log\log n)Ω(loglogn) means. The representation is arbitrary and is quantified before the query bound, so the bound holds for every representation.

Milestones: the claims of the proof

  1. A query answered in kkk steps reaches only nodes in acck(rep(x))∪acck(rep(y))\mathrm{acc}_k(\mathrm{rep}(x)) \cup \mathrm{acc}_k(\mathrm{rep}(y))acck​(rep(x))∪acck​(rep(y)).
  2. ∣accj(a)∣≤2j+1−1|\mathrm{acc}_j(a)| \le 2^{j+1} - 1∣accj​(a)∣≤2j+1−1 for every node aaa.
  3. With AxA_xAx​ the set of vertices whose nodes are accessible from rep(x)\mathrm{rep}(x)rep(x) in kkk steps or less: for a nonleaf www with children u,vu, vu,v, either w∈Axw \in A_xw∈Ax​ for every leaf xxx below uuu, or w∈Ayw \in A_yw∈Ay​ for every leaf yyy below vvv.
  4. A vertex of height i≥1i \ge 1i≥1 lies in AxA_xAx​ for at least 2i−12^{i-1}2i−1 leaves xxx.
∑x∈L∣Ax∣≥n2lg⁡n,\sum_{x \in L} |A_x| \ge \frac{n}{2}\lg n,x∈L∑​∣Ax​∣≥2n​lgn,

where LLL is the set of leaves.

Significance

The result. Theorem 1 shows that van Leeuwen's pointer-machine algorithm for static trees is optimal up to a constant factor, and that the constant-time queries of the paper's §§3–5 depend on address arithmetic. It is an early nontrivial lower bound for pointer machines on a natural problem; the paper compares it with Tarjan's lower bound for disjoint-set union on a pointer machine (J. Comput. System Sci. 18, 1979).

Formalizing it. The theorem is proved in the paper; as far as could be determined no machine-checked version exists, and Mathlib has no pointer-machine model. The mission produces an explicit, reusable definition of pointer-machine runs and accessibility together with a complete proof of the explicit bound. A formal model of this kind is the precondition for stating any other pointer-machine lower bound.

Difficulty

The statement must hold for every representation, including structures with many auxiliary nodes and arbitrary pointers between tree nodes. Arguing about one natural representation, such as parent pointers, where a leaf is far from its ancestors, says nothing about other representations: a structure with shortcut pointers or auxiliary nodes may bring some ancestors close to some leaves, and the bound must survive every such choice. In the formal setting the counting also has to handle overlaps: nodes reachable from several leaves, nodes that represent no vertex, and pointer cycles.

Formalization scope

  • Model. Nodes form an arbitrary type N, not necessarily finite. ptr : N → Fin 2 → Option N gives the two pointer fields (none = nil), and rep : Vertex h → N is required to be injective. acc ptr j a is defined recursively. Run ptr a b t held is an inductive predicate for runs of ttt steps, AnsweredIn asks for some run of at most kkk steps holding the answer, and AnswersLeafQueriesIn ptr rep k requires this for every pair of leaves.
  • Conventions.
    • Two pointer fields per node, as the paper's "without loss of generality" reduction allows; the reduction itself is not formalized.
    • Only queries on two leaves are assumed answerable. This is weaker than all queries, so the theorem is at least as strong as the paper's.
    • Time is counted as pointer-following steps. Mutation of the structure during a query and non-pointer fields are not modelled: neither lets the machine hold a node it has not reached by following pointers. The clause "the algorithm remembers nothing between queries" is built into the static structure.
    • Vertex h is {s : List Bool // s.length ≤ h}, nca is the longest common prefix, and a separate theorem identifies it with the Appendix's deepest common ancestor. n=2hn = 2^hn=2h counts leaves, not vertices.
    • lg⁡\lglg is Real.logb 2. For h=0h = 0h=0 Lean's log⁡20=0\log_2 0 = 0log2​0=0 gives the true statement k>−2k > -2k>−2; for h≥1h \ge 1h≥1, lg⁡lg⁡n=log⁡2h\lg\lg n = \log_2 hlglgn=log2​h.
    • Cardinalities in the milestones are Set.encard in N∪{∞}\mathbb N \cup \{\infty\}N∪{∞}, so finiteness is part of each claim. Divisions are cleared: h 2h≤2∑x∣Ax∣h\,2^h \le 2\sum_x |A_x|h2h≤2∑x​∣Ax​∣.
  • Ruling out trivial formalizations. The hypothesis AnswersLeafQueriesIn is satisfiable: the parent-pointer representation answers every leaf query in hhh steps. If rep were not injective, a constant rep would answer every query in zero steps, so injectivity is kept in the goal. The milestones do not need it and do not assume it.
  • Infrastructure. The goal needs finite-set counting over the leaves of the complete binary tree and a double count over heights. The run and accessibility definitions are reusable for other pointer-machine arguments. Proofs of the milestones, and of the ℕ form h<2k+2h < 2^{k+2}h<2k+2 that the goal reduces to, are welcome.

Selected references

  • D. Harel, R. E. Tarjan, Fast Algorithms for Finding Nearest Common Ancestors, SIAM J. Comput. 13(2):338–355, 1984. https://doi.org/10.1137/0213024
  • A. V. Aho, J. E. Hopcroft, J. D. Ullman, On finding lowest common ancestors in trees, SIAM J. Comput. 5(1):115–132, 1976. https://doi.org/10.1137/0205011
  • A. Schönhage, Storage modification machines, SIAM J. Comput. 9(3):490–508, 1980. https://doi.org/10.1137/0209036
  • R. E. Tarjan, A class of algorithms which require nonlinear time to maintain disjoint sets, J. Comput. System Sci. 18(2):110–127, 1979. https://doi.org/10.1016/0022-0000(79)90042-4
8 thms3 active usersReviewed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

A Threshold of ln n for Approximating Set Cover II: The Inapproximability of Max k-CoverResearch Paper

Motivation

Max kkk-cover is the basic coverage problem of combinatorial optimization. The input is a collection of subsets of a finite ground set and a number kkk; the task is to choose kkk subsets that together cover as many points as possible. It models facility and sensor placement, the selection of a small committee or feature set representing a population, and budgeted versions of set cover. It is also the prototype of maximizing a monotone submodular function under a cardinality constraint.

The greedy algorithm covers at least a 1−1/e≈0.6321-1/e\approx 0.6321−1/e≈0.632 fraction of the optimum. This bound goes back to Hochbaum and Pathria and, for general submodular functions, to Nemhauser, Wolsey and Fisher (1978). For two decades it was not known whether a polynomial-time algorithm could do better. Uriel Feige answered the question in A Threshold of ln n for Approximating Set Cover (J. ACM 45(4), 1998, pp. 634–652, doi:10.1145/285055.285059), Section 5. His Theorem 5.3 (p. 648) states: "For any ϵ>0\epsilon > 0ϵ>0, max kkk-cover cannot be approximated in polynomial time within a ratio of (1−1/e+ϵ)(1 - 1/e + \epsilon)(1−1/e+ϵ), unless P=NPP = NPP=NP." Together with the greedy bound, it makes 1−1/e1-1/e1−1/e the exact approximation threshold of max kkk-cover.

Timeline:

  • 1978: Nemhauser, Wolsey and Fisher prove the greedy 1−1/e1-1/e1−1/e bound for monotone submodular maximization.
  • 1992: Arora, Lund, Motwani, Sudan and Szegedy prove the PCP theorem. With Papadimitriou–Yannakakis (1991) it gives Theorem 2.1.1 of the paper: MAX 3SAT-B has a constant gap unless P = NP.
  • 1994: Lund and Yannakakis introduce partition-system reductions from multi-prover proof systems to set cover.
  • 1995: Raz proves the parallel repetition theorem (Theorem 2.2.2 of the paper).
  • 1998: Feige proves the ln n threshold for set cover (the subject of mission I of this series) and the 1−1/e1-1/e1−1/e threshold for max kkk-cover.

Setting

An instance consists of nnn points {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}, a list of subsets S1,…,SsS_1,\dots,S_sS1​,…,Ss​ of the points, and a number kkk. Its value opt\mathrm{opt}opt is the largest number of points covered by at most kkk of the sets. Instances are written over a three-letter alphabet:

  • nnn in unary;
  • each set as its characteristic bit-vector;
  • kkk in unary.

Following p. 648, a polynomial-time algorithm approximates max kkk-cover within a ratio δ\deltaδ if on every input it outputs a number vvv with

δ⋅opt≤v≤opt.\delta\cdot\mathrm{opt}\le v\le\mathrm{opt}.δ⋅opt≤v≤opt.

The algorithm need not name the sets. This is the non-constructive notion of approximation.

The proof is a reduction from the MAX 3SAT-5 problem. A 3CNF-5 formula has exactly three literals per clause, over three distinct variables, and every variable occurs in exactly five clauses. The reduction goes through a kkk-prover proof system for such a formula φ\varphiφ with MMM clauses:

  • The verifier picks ℓ\ellℓ clauses at random, and a distinguished variable in each; there are R=(3M)ℓR=(3M)^\ellR=(3M)ℓ random strings rrr.
  • Each prover PiP_iPi​ is attached to a code word of length ℓ\ellℓ and weight ℓ/2\ell/2ℓ/2; distinct words are at Hamming distance at least ℓ/3\ell/3ℓ/3.
  • On coordinate jjj, prover PiP_iPi​ receives the clause if its bit is 1, and the distinguished variable if its bit is 0.
  • Answers are satisfying assignments of the received clauses and bits for the received variables.
  • Two provers are consistent if they assign the same values to the distinguished variables. The verifier weakly accepts if some pair of distinct provers is consistent, and strongly accepts if every pair is.

The max k′k'k′-cover instance of §5 attaches to every random string rrr a copy BrB_rBr​ of the explicit partition system. Its points are the vectors in {0,…,k−1}L\{0,\dots,k-1\}^L{0,…,k−1}L with L=2ℓL=2^\ellL=2ℓ, so m=kLm=k^Lm=kL. Its LLL partitions are labelled by the ℓ\ellℓ-bit strings, and each splits the points by the value of one coordinate. There are N=mRN=mRN=mR points in all. For each prover iii, question qqq and answer aaa, the set S(q,a,i)S_{(q,a,i)}S(q,a,i)​ collects, for every rrr on which PiP_iPi​ receives qqq, the iiith part of the partition of BrB_rBr​ labelled by the values that aaa gives to the distinguished variables of rrr. The budget is k′=kQk'=kQk′=kQ, where QQQ is the number of questions a single prover can receive.

Formalization targets

Goal: Theorem 5.3

∀ε>0:max k-cover is approximable within 1−1e+ε ⟹ P=NP,\forall\varepsilon>0:\quad \text{max } k\text{-cover is approximable within } 1-\tfrac1e+\varepsilon \ \Longrightarrow\ \mathrm{P}=\mathrm{NP},∀ε>0:max k-cover is approximable within 1−e1​+ε ⟹ P=NP,

conditional on the two cited results below. The ratio is left free (any ε>0\varepsilon>0ε>0), so the goal records the shape of the threshold and not a particular constant.

Milestones

  • Proposition 2.1.2 (p. 640): for some ε>0\varepsilon>0ε>0 it is NP-hard to distinguish satisfiable 3CNF-5 formulas from those in which at most a (1−ε)(1-\varepsilon)(1−ε)-fraction of the clauses can be satisfied simultaneously.
  • Lemma 2.3.1 (p. 643): a satisfiable φ\varphiφ admits a strategy that always strongly accepts; on a far-from-satisfiable φ\varphiφ the weak acceptance probability is at most k2 2−cℓk^2\,2^{-c\ell}k22−cℓ.
  • Coverage of the explicit partition system (p. 649): jjj subsets from pairwise different partitions cover exactly (1−(1−1/k)j)m(1-(1-1/k)^j)m(1−(1−1/k)j)m points.
  • Proposition 5.4 (p. 649): if at most kQkQkQ sets cover a (1−1/e+ε)(1-1/e+\varepsilon)(1−1/e+ε)-fraction of the points, then at least an ε/3\varepsilon/3ε/3-fraction of the random strings are good. Here rrr is good if wr≤3k/εw_r\le3k/\varepsilonwr​≤3k/ε sets meet BrB_rBr​ and two of them from different provers lie in the same partition.
  • Decoding (p. 649): such a covering yields a strategy that weakly accepts with probability at least (ε/3)(ε/3k)2(\varepsilon/3)(\varepsilon/3k)^2(ε/3)(ε/3k)2.
  • Gap (p. 649): a satisfiable formula gives a cover of all NNN points by kQkQkQ sets. If at most a (1−ε′)(1-\varepsilon')(1−ε′)-fraction of the clauses are satisfiable, kQkQkQ sets cover at most (1−1/e+g(k))N(1-1/e+g(k))N(1−1/e+g(k))N points, where g(k)→0g(k)\to0g(k)→0, for all large ℓ\ellℓ.
  • Proposition 5.1 (p. 647): every greedy run covers at least (1−1/e) opt(1-1/e)\,\mathrm{opt}(1−1/e)opt points.

Significance

The result closes the approximability of max kkk-cover: the greedy algorithm cannot be beaten by any constant unless P = NP. Consequences:

  • Submodular maximization. Coverage functions are monotone submodular, so the bound transfers to monotone submodular maximization under a cardinality constraint, whenever the function is given in a form that encodes a coverage instance.
  • Other problems. Hardness results for facility location, budgeted allocation, and welfare maximization with coverage valuations reduce from it.
  • The reduction itself. The ℓ\ellℓ-fold kkk-prover system combined with a partition system that is exactly countable is the template for later 1−1/e1-1/e1−1/e hardness proofs.

Status: the theorem has been proved since 1998. It has not been formalized; neither the reduction nor the underlying proof systems exist in Mathlib or on this platform. This mission produces:

  • a machine-checked reduction from MAX 3SAT-5 to max kkk-cover;
  • an exact counting lemma for product partition systems;
  • the averaging and concavity argument of Proposition 5.4;
  • a formal statement of the greedy bound for coverage.

The cited PCP-based gap (Theorem 2.1.1) and parallel repetition (Theorem 2.2.2) remain hypotheses. They are separate, much larger formalization projects.

Difficulty

The obvious argument uses the soundness of the proof system directly: a large cover should force consistent answers. It fails because a cover may spend many sets on a few random strings and cover them completely, while covering the rest partially without any two sets from the same partition. What saves the argument is exact counting. For sets from pairwise different partitions, coverage is exactly h(j)=(1−(1−1/k)j)mh(j)=(1-(1-1/k)^j)mh(j)=(1−(1−1/k)j)m, a concave function of the number jjj of sets used. Since the sets meet a random string kkk times on average, Jensen's inequality caps the total coverage of such "unstructured" strings at about (1−(1−1/k)k)(1-(1-1/k)^k)(1−(1−1/k)k), which tends to 1−1/e1-1/e1−1/e. A further obstacle is that the reduction must run in polynomial time. The paper therefore takes ℓ\ellℓ and kkk constant (unlike the set-cover reduction, where ℓ=Θ(log⁡log⁡n)\ell=\Theta(\log\log n)ℓ=Θ(loglogn)), and the soundness bound k22−cℓk^2 2^{-c\ell}k22−cℓ must beat (ε/3)(ε/3k)2(\varepsilon/3)(\varepsilon/3k)^2(ε/3)(ε/3k)2 at a constant ℓ\ellℓ. The quantifier order (kkk large first, then ℓ\ellℓ large) is part of the difficulty.

A second obstacle is the machine model. The goal is a statement about polynomial-time Turing machines, so the reduction and the decision procedure built from a hypothetical approximation algorithm must be compiled into Cook's one-tape machines.

Formalization scope

  • Machine model. CookPvsNP_defs (a published platform definition): one-tape Turing machines, P\mathrm{P}P, NP\mathrm{NP}NP, polynomial-time computable functions, CNF formulas and their encoding. "P = NP" is P Bool = NP Bool, the form in which CookPvsNP.P_ne_NP states the open problem.
  • Cited results as hypotheses. Theorem 2.1.1 enters as Thm211. Raz's theorem enters as RazRepetition, its consequence stated on p. 642: the ℓ\ellℓ-fold clause–variable game on a far-from-satisfiable 3CNF-5 formula has acceptance probability at most 2−cℓ2^{-c\ell}2−cℓ. This is weaker than Raz's general theorem, so the conditional statement is stronger. No hypothesis about max kkk-cover is assumed.
  • Approximation. The value form above, with no size threshold. For ε>1/e\varepsilon>1/eε>1/e the ratio exceeds one and the hypothesis is unsatisfiable on any instance with opt>0\mathrm{opt}>0opt>0; those values are vacuous, as in the paper.
  • opt\mathrm{opt}opt. Taken over at most kkk sets. This agrees with the paper's "exactly kkk" whenever k≤sk\le sk≤s.
  • Probability and counting. Probabilities are uniform counts over the (3M)ℓ(3M)^\ell(3M)ℓ random strings. Fractions in lower-bound statements are written as counts compared with multiples of RRR.
  • Canonical answers. The type of answers is restricted to satisfying assignments of the received clauses, following the paper's "without loss of generality" (p. 643). All indices are 0-based.
  • Partition system. The §4 construction is defined for any partition system with ℓ\ellℓ-bit partition labels and instantiated with the explicit product system. Its L=2ℓL=2^\ellL=2ℓ coordinates are the ℓ\ellℓ-bit strings themselves.
  • Not formalized. The running time of the greedy algorithm, and the constructive variant (Proposition 5.2), which belongs to the set-cover mission.

A trivializing formalization is ruled out: every cited input is a named, satisfiable proposition about 3CNF formulas or the two-prover game, never about max kkk-cover, and the approximation hypothesis is satisfiable for ratios up to 111.

Needed infrastructure, reusable beyond this mission:

  • composition and simulation lemmas for Cook's machines;
  • the uniformity of the verifier's questions on 3CNF-5 formulas;
  • concavity of j↦1−(1−1/k)jj\mapsto 1-(1-1/k)^jj↦1−(1−1/k)j;
  • (1−1/k)k→1/e(1-1/k)^k\to 1/e(1−1/k)k→1/e bounds.

Contributions to any of these, or to either cited theorem, are welcome.

Selected references

  • U. Feige, A threshold of ln n for approximating set cover, J. ACM 45(4) (1998) 634–652. https://doi.org/10.1145/285055.285059
  • R. Raz, A parallel repetition theorem, SIAM J. Comput. 27(3) (1998) 763–803 (STOC 1995). https://doi.org/10.1137/S0097539795280895
  • S. Arora, C. Lund, R. Motwani, M. Sudan, M. Szegedy, Proof verification and the hardness of approximation problems, J. ACM 45(3) (1998) 501–555. https://doi.org/10.1145/278298.278306
  • C. Papadimitriou, M. Yannakakis, Optimization, approximation, and complexity classes, J. Comput. System Sci. 43(3) (1991) 425–440. https://doi.org/10.1016/0022-0000(91)90023-X
  • C. Lund, M. Yannakakis, On the hardness of approximating minimization problems, J. ACM 41(5) (1994) 960–981. https://doi.org/10.1145/185675.306789
  • G. L. Nemhauser, L. A. Wolsey, M. L. Fisher, An analysis of approximations for maximizing submodular set functions—I, Math. Programming 14 (1978) 265–294. https://doi.org/10.1007/BF01588971
  • S. Cook, The P versus NP problem, Clay Mathematics Institute. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
13 thms3 active usersReviewed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

A Threshold of ln n for Approximating Set Cover I: The ln n Inapproximability of Set CoverResearch Paper

Motivation

Set cover is the problem of covering a finite ground set with as few members of a given family of subsets as possible. It models facility location, crew scheduling, test-suite minimization and many other selection problems in operations research, and it is one of the canonical NP-hard problems. The greedy algorithm, which repeatedly picks the subset covering the most uncovered points, finds a cover at most about ln⁡n\ln nlnn times larger than the optimum on an instance with nnn points (Johnson 1974; Lovász 1975; Chvátal 1979). Whether any efficient algorithm does substantially better was open for two decades.

Timeline of the lower bounds:

  • 1992. The PCP theorem (Arora, Lund, Motwani, Sudan, Szegedy) implies that set cover cannot be approximated within some constant 1+ε1+\varepsilon1+ε unless P = NP.
  • 1994. Lund and Yannakakis showed that set cover cannot be approximated within 14log⁡2n\tfrac14\log_2 n41​log2​n unless NP⊆TIME(nO(polylog n))\mathrm{NP}\subseteq\mathrm{TIME}(n^{O(\mathrm{polylog}\, n)})NP⊆TIME(nO(polylogn)), and within 12log⁡2n≈0.72ln⁡n\tfrac12\log_2 n\approx 0.72\ln n21​log2​n≈0.72lnn under a randomized assumption.
  • 1998. Feige showed that for every ε>0\varepsilon>0ε>0, set cover cannot be approximated within (1−ε)ln⁡n(1-\varepsilon)\ln n(1−ε)lnn unless NP⊆TIME(nO(log⁡log⁡n))\mathrm{NP}\subseteq\mathrm{TIME}(n^{O(\log\log n)})NP⊆TIME(nO(loglogn)) (J. ACM 45(4), 634–652). This matches the greedy bound up to lower-order terms.
  • 2014. Dinur and Steurer replaced the assumption by P ≠ NP (STOC 2014).

This mission formalizes Feige's theorem, the result that fixed ln⁡n\ln nlnn as the threshold.

Setting

An instance consists of nnn points {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1} and a list of subsets S1,…,SsS_1,\dots,S_sS1​,…,Ss​. A cover is a set of indices whose subsets together contain every point. The instance is coverable if every point lies in some SiS_iSi​. It is written as a string: nnn in unary, then each subset as its characteristic vector.

A deterministic polynomial-time algorithm approximates set cover within ρ(n)\rho(n)ρ(n) if, for some threshold n0n_0n0​ and every coverable instance with n≥n0n \ge n_0n≥n0​ points, the value vvv it outputs satisfies OPT≤v≤ρ(n)⋅OPT\mathrm{OPT}\le v\le\rho(n)\cdot\mathrm{OPT}OPT≤v≤ρ(n)⋅OPT, where OPT\mathrm{OPT}OPT is the size of a smallest cover.

TIME(nO(log⁡log⁡n))\mathrm{TIME}(n^{O(\log\log n)})TIME(nO(loglogn)) is the class of languages that a deterministic one-tape Turing machine decides within ∣w∣c(log⁡2log⁡2∣w∣+1)+c|w|^{c(\log_2\log_2|w|+1)}+c∣w∣c(log2​log2​∣w∣+1)+c steps, for some constant ccc. Machines, P\mathrm{P}P and NP\mathrm{NP}NP are those of the published definition CookPvsNP_defs.

The proof passes through three objects, each defined in the mission:

  1. 3CNF-5 formulas: CNF formulas in which every clause has three literals on distinct variables and every variable occurs in exactly five clauses.
  2. The kkk-prover proof system of §2.3. A verifier picks ℓ\ellℓ random clauses and a distinguished variable in each. Each prover, according to its code word, receives some of these clauses and the distinguished variables of the others. Under the weak acceptance predicate, some two provers give consistent answers on the distinguished variables. Under the strong acceptance predicate, all provers do.
  3. Partition systems B(m,L,k,d)B(m,L,k,d)B(m,L,k,d) (Definition 3.1). These are LLL partitions of mmm points, each into kkk parts, such that covering the points with parts taken from pairwise different partitions needs at least ddd parts.

Formalization targets

Goal: Theorem 4.4

∃ ε>0: set cover is approximable within (1−ε)ln⁡n ⟹ NP⊆TIME(nO(log⁡log⁡n)).\exists\,\varepsilon>0:\ \text{set cover is approximable within }(1-\varepsilon)\ln n\ \Longrightarrow\ \mathrm{NP}\subseteq\mathrm{TIME}\big(n^{O(\log\log n)}\big).∃ε>0: set cover is approximable within (1−ε)lnn ⟹ NP⊆TIME(nO(loglogn)).

The statement fixes no constant beyond ε\varepsilonε. The parameters kkk, ℓ\ellℓ and mmm of the reduction are choices made inside the proof. The goal carries three cited results as hypotheses: Theorem 2.1.1 (MAX 3SAT-B gap), the consequence of Raz's parallel repetition theorem for the clause–variable game, and the Naor–Schulman–Srinivasan construction of partition systems.

Milestones, in the order the proof uses them

  1. Proposition 2.1.2: MAX 3SAT-5 is gap NP-hard.
  2. Proposition 2.2.1: the one-round clause–variable game has value 1−ε/31-\varepsilon/31−ε/3.
  3. Lemma 2.3.1: the kkk-prover system is complete with strong acceptance and has soundness k22−cℓk^2 2^{-c\ell}k22−cℓ for weak acceptance.
  4. Lemma 3.2: partition systems with d=(1−2/k)kln⁡md=(1-2/k)k\ln md=(1−2/k)klnm exist.
  5. Propositions 4.2 and 4.3: a cover with (1−δ)kQln⁡m(1-\delta)kQ\ln m(1−δ)kQlnm subsets yields a prover strategy that is weakly accepted with probability at least 2δ/(kln⁡m)22\delta/(k\ln m)^22δ/(klnm)2.
  6. Lemma 4.1: the gap between kQkQkQ and (1−2f(k))kQln⁡m(1-2f(k))kQ\ln m(1−2f(k))kQlnm.

Significance

The result. Combined with the greedy algorithm, Theorem 4.4 shows that ln⁡n\ln nlnn is the approximation threshold of set cover under a mild complexity assumption. Set cover reduces approximation-preservingly to many covering problems, so the threshold transfers to them. Examples are dominating set, several facility-location and group Steiner problems, and hitting-set formulations used in scheduling and testing. The kkk-prover system with two acceptance predicates and the partition-system gadget became standard tools for later hardness-of-approximation proofs.

Formalizing it. The theorem is proved and has been strengthened (Dinur–Steurer 2014), but no machine-checked proof of any Ω(log⁡n)\Omega(\log n)Ω(logn) inapproximability of set cover is known. This mission contributes:

  • a Lean model of multi-prover proof systems with uniform-count probabilities;
  • partition systems and their probabilistic existence proof;
  • a gap-preserving reduction whose running time is analysed on Turing machines, not merely asserted.

Difficulty

  • The ratio comes from two gaps at once. One is a gap in acceptance probability. The other is a gap between strong and weak acceptance. A reduction from a two-prover system, as in Lund–Yannakakis, loses a constant factor because a cheating cover can use two parts of the same partition. Feige's analysis must turn every small cover into a strategy under which some pair of provers is consistent (Proposition 4.3), and this averaging argument has to lose only a factor (kln⁡m)2(k\ln m)^2(klnm)2.
  • Parameters interlock. ℓ=Θ(log⁡log⁡n)\ell=\Theta(\log\log n)ℓ=Θ(loglogn) must make k22−cℓk^2 2^{-c\ell}k22−cℓ smaller than 2δ/(kln⁡m)22\delta/(k\ln m)^22δ/(klnm)2 while keeping the instance of size nO(log⁡log⁡n)n^{O(\log\log n)}nO(loglogn). The time bound must hold for a one-tape machine, including the deterministic partition-system construction.
  • Encoding. The reduction must be computed by an explicit machine on string encodings. Showing that a "clearly polynomial" construction meets the time bound on such a machine is substantial work.

Formalization scope

  • Cited results as hypotheses. Theorem 2.1.1, Raz's theorem and the Naor et al. construction are not proved in the mission; each is a named proposition (Thm211, RazRepetition, NaorPartitionSystems) and a hypothesis of the goal.
    • RazRepetition is only the consequence of Raz's theorem that the paper uses (p. 642): a 2−cℓ2^{-c\ell}2−cℓ error bound for the repeated clause–variable game on 3CNF-5 formulas far from satisfiable.
    • NaorPartitionSystems relaxes "time linear in mmm" to polynomial time and renders "LLL polynomial in ddd" as L≤⌊log⁡2m⌋aL\le\lfloor\log_2 m\rfloor^aL≤⌊log2​m⌋a. Both relaxations weaken the hypothesis.
  • Approximation in value form. The algorithm outputs a number vvv with OPT≤v≤ρ(n)OPT\mathrm{OPT}\le v\le\rho(n)\mathrm{OPT}OPT≤v≤ρ(n)OPT, and only on coverable instances with n≥n0n\ge n_0n≥n0​. Any algorithm that outputs a cover yields such a value, so this hypothesis is weaker than the paper's. The guard n≥n0n\ge n_0n≥n0​ is needed because (1−ε)ln⁡n<1(1-\varepsilon)\ln n<1(1−ε)lnn<1 for small nnn.
  • Machine model. The machines are Cook's deterministic one-tape machines. Multi-tape simulation costs a quadratic factor, which the class absorbs.
  • Probabilities are uniform counts over the (5n)ℓ(5n)^\ell(5n)ℓ random strings. Strategies are deterministic. Answers are canonical (satisfying on clause coordinates), as the paper assumes without loss of generality.
  • Not formalized. Randomized classes (ZTIME) are not defined here, so the following are omitted: the last sentence of Lemma 3.2, Proposition 6.1, and the randomized variants.
  • Ruling out a trivial formalization. The gap notion requires far-from-satisfiable formulas to have at least one clause. Otherwise the empty formula would be both a yes-instance and a no-instance, and Theorem 2.1.1 would hold trivially.
  • Infrastructure and reuse. The shared layer can serve other PCP-based hardness proofs: 3CNF-5 formulas, the kkk-prover system, partition systems, and the gap-NP-hardness notion. Welcome contributions include:
    • time bounds for list and table manipulations on one-tape machines;
    • a Hadamard-code construction satisfying the weight and distance conditions;
    • the union-bound and averaging lemmas behind Lemma 2.3.1 and Proposition 4.2.

Selected references

  • U. Feige, A threshold of ln n for approximating set cover, J. ACM 45(4), 634–652, 1998. https://doi.org/10.1145/285055.285059
  • C. Lund, M. Yannakakis, On the hardness of approximating minimization problems, J. ACM 41(5), 960–981, 1994. https://doi.org/10.1145/185675.306789
  • R. Raz, A parallel repetition theorem, SIAM J. Comput. 27(3), 763–803, 1998 (STOC 1995). https://doi.org/10.1137/S0097539795280895
  • M. Naor, L. J. Schulman, A. Srinivasan, Splitters and near-optimal derandomization, FOCS 1995, 182–191. https://doi.org/10.1109/SFCS.1995.492475
  • S. Arora, C. Lund, R. Motwani, M. Sudan, M. Szegedy, Proof verification and the hardness of approximation problems, J. ACM 45(3), 501–555, 1998. https://doi.org/10.1145/278298.278306
  • C. Papadimitriou, M. Yannakakis, Optimization, approximation, and complexity classes, J. Comput. Syst. Sci. 43(3), 425–440, 1991. https://doi.org/10.1016/0022-0000(91)90023-X
  • V. Chvátal, A greedy heuristic for the set-covering problem, Math. Oper. Res. 4(3), 233–235, 1979. https://doi.org/10.1287/moor.4.3.233
  • I. Dinur, D. Steurer, Analytical approach to parallel repetition, STOC 2014, 624–633. https://doi.org/10.1145/2591796.2591884
15 thms3 active usersReviewed
CombinatoricsTheoretical Computer Science·Captain: Lucas

4-to-1 Games with Perfect CompletenessResearch Paper

Motivation

Many approximation problems resist the standard PCP toolkit: the best known NP-hardness factors for Max-Cut, Vertex-Cover and approximate graph colouring are far from the best known polynomial-time algorithms. To explain this gap, Khot (CCC 2002) proposed the Unique-Games Conjecture and the family of ddd-to-1 Games Conjectures. The ddd-to-1 conjectures assert perfect completeness: the hard instances are either fully satisfiable, or satisfiable only to a vanishing extent. Perfect completeness is what makes these conjectures usable for colouring problems, where a "yes" instance must be genuinely 333-colourable rather than almost so.

A line of work culminating in Khot–Minzer–Safra and Dinur–Khot–Kindler–Minzer–Safra established the almost-perfect completeness version for 222-to-1 games: for every ε>0\varepsilon>0ε>0 there is an alphabet bound rrr such that distinguishing value ≥1−ε\ge 1-\varepsilon≥1−ε from value ≤ε\le\varepsilon≤ε is NP-hard. Their route goes through Håstad's hardness for linear equations, which cannot have perfect completeness, so the loss is intrinsic to the technique. The source paper of this mission removes that loss for d=4d = 4d=4.

Setting

A label-cover instance Ψ\PsiΨ (Definition 1.1 of the source) consists of a bipartite graph G=(L⊔R,E)G = (L \sqcup R, E)G=(L⊔R,E), two finite alphabets ΣL,ΣR\Sigma_L, \Sigma_RΣL​,ΣR​, and for each edge e=(u,v)e = (u,v)e=(u,v) a constraint Φe⊆ΣL×ΣR\Phi_e \subseteq \Sigma_L \times \Sigma_RΦe​⊆ΣL​×ΣR​. The constraint is a projection constraint if there is φe:ΣL→ΣR\varphi_e : \Sigma_L \to \Sigma_Rφe​:ΣL​→ΣR​ with Φe={(σ,φe(σ))}\Phi_e = \{(\sigma, \varphi_e(\sigma))\}Φe​={(σ,φe​(σ))}, and a ddd-to-1 constraint if in addition ∣φe−1(σ)∣=d|\varphi_e^{-1}(\sigma)| = d∣φe−1​(σ)∣=d for every σ∈ΣR\sigma \in \Sigma_Rσ∈ΣR​. Given assignments AL:L→ΣLA_L : L \to \Sigma_LAL​:L→ΣL​ and AR:R→ΣRA_R : R \to \Sigma_RAR​:R→ΣR​, the fraction of satisfied edges is valΨ(AL,AR)\mathrm{val}_\Psi(A_L, A_R)valΨ​(AL​,AR​), and

val(Ψ)  =  max⁡AL,ARvalΨ(AL,AR).\mathrm{val}(\Psi) \;=\; \max_{A_L, A_R} \mathrm{val}_\Psi(A_L, A_R).val(Ψ)=AL​,AR​max​valΨ​(AL​,AR​).

An instance all of whose constraints are ddd-to-1 is a ddd-to-1 game.

For 0<s<c≤10 < s < c \le 10<s<c≤1, Gap-d-to-1r(c,s)\mathrm{Gap\text{-}}d\mathrm{\text{-}to\text{-}}1_r(c,s)Gap-d-to-1r​(c,s) is the promise problem: given a ddd-to-1 game with both alphabets of size at most rrr, distinguish val(Ψ)≥c\mathrm{val}(\Psi) \ge cval(Ψ)≥c from val(Ψ)≤s\mathrm{val}(\Psi) \le sval(Ψ)≤s. Writing GapPLCr(c,s)\mathrm{GapPLC}_r(c,s)GapPLCr​(c,s) for the same promise problem over all projection instances, the PCP theorem together with the parallel repetition theorem gives that GapPLCr(1,ε)\mathrm{GapPLC}_{r}(1,\varepsilon)GapPLCr​(1,ε) is NP-hard for a suitable r=r(ε)r = r(\varepsilon)r=r(ε) (Theorem 1.2 of the source); this mission takes that statement as an external input.

Formalization targets

Goal — Theorem 1.6 of the source

∀ε>0 ∃r∈N+:Gap-4-to-1r(1,ε) is NP-hard.\forall \varepsilon > 0 \ \exists r \in \mathbb{N}^{+} : \quad \mathrm{Gap\text{-}4\text{-}to\text{-}1}_r(1,\varepsilon) \text{ is NP-hard.}∀ε>0 ∃r∈N+:Gap-4-to-1r​(1,ε) is NP-hard.

In Lean this is stated as a polynomial-time gap-preserving reduction: for every ε>0\varepsilon > 0ε>0 there is a soundness threshold s∈(0,1)s \in (0,1)s∈(0,1) such that for every source alphabet bound r0r_0r0​ there is a target alphabet bound rrr and a polynomial-time computable map sending projection label-cover instances with alphabets of size at most r0r_0r0​ and value 111 to 444-to-1 games with alphabets of size at most rrr and value 111, and instances of value at most sss to 444-to-1 games of value at most ε\varepsilonε. Combined with the NP-hardness of GapPLCr0(1,s)\mathrm{GapPLC}_{r_0}(1,s)GapPLCr0​​(1,s), this is exactly Theorem 1.6.

Supporting targets

The milestone list follows the source's own numbering: the hardness of approximate colouring of 333-uniform hypergraphs that starts the construction (Theorem 3.1), the two Grassmann decoding theorems the inner PCP rests on (Theorems 3.2 and 3.3), the sunflower bound on zoom-outs (Lemma 3.8), and the linear-algebraic layer connecting NAE-satisfying bilinear forms with their tensor decompositions (Propositions 4.13, 4.14 and Corollary 4.15).

Significance

Theorem 1.6 confirms the 444-to-1 Games Conjecture, the first of Khot's ddd-to-1 conjectures to be settled with perfect completeness. Via known reductions it yields: for every kkk, it is NP-hard to kkk-colour a 333-colourable graph (previously known for k=5k = 5k=5); for every δ>0\delta>0δ>0, it is NP-hard to find an independent set of relative size δ\deltaδ in a 222-colourable 333-uniform hypergraph; and hardness results for low-rank matrix completion.

None of this material is formalized today. Mathlib has no label cover, no PCP machinery, no Grassmann graph and no complexity classes beyond the computability layer. A complete development therefore contributes reusable infrastructure — finite two-prover games and their value, gap-preserving reductions, the Grassmann graph over F2\mathbb{F}_2F2​ and its agreement tests — well beyond this single theorem.

Difficulty

The obvious attempt is to redo the 222-to-1 construction with a perfectly complete outer PCP, namely hardness of systems of quadratic equations over F2\mathbb{F}_2F2​ in place of linear ones. This fails at composition: the Grassmann agreement test, the only known device that produces ddd-to-1 constraints, is a test for linear functions and cannot certify quadratic constraints. Linearizing the quadratic equations by a low-rank test destroys the covering property of the outer PCP, which is what makes the composed soundness analysis work. The source paper's answer is a three-layer construction (outer, middle and inner PCP) with a lazy parallel repetition in the middle layer and an inner PCP based on a tensor of the standard Grassmann encoding with Golowich's low-rank variant.

Formalization scope

All objects are finite and explicit. A label-cover instance carries left vertices {0,…,nL−1}\{0,\dots,n_L-1\}{0,…,nL​−1}, right vertices {0,…,nR−1}\{0,\dots,n_R-1\}{0,…,nR​−1}, alphabets {0,…,∣ΣL∣−1}\{0,\dots,|\Sigma_L|-1\}{0,…,∣ΣL​∣−1} and {0,…,∣ΣR∣−1}\{0,\dots,|\Sigma_R|-1\}{0,…,∣ΣR​∣−1}, a finite edge set, and a projection map for every pair of vertices; only projection instances are representable, as in Definition 1.1. The value is the supremum over all pairs of assignments of the fraction of satisfied edges, taken in R\mathbb{R}R; when there are no edges, or no assignments at all, the convention gives value 000. A tripled set (Definition 4.1) is modelled as ι×{0,1,2}\iota \times \{0,1,2\}ι×{0,1,2}, with the triple indexed by iii being {(i,0),(i,1),(i,2)}\{(i,0),(i,1),(i,2)\}{(i,0),(i,1),(i,2)}. The Grassmann objects live in F2n\mathbb{F}_2^nF2n​ modelled as Fin n→Z/2\mathrm{Fin}\,n \to \mathbb{Z}/2Finn→Z/2, and all probabilities are ratios of cardinalities of finite sets of subspaces, with the convention that an empty denominator gives 000.

Hardness is not stated as "NP-hard" — no notion of NP is available — but as the existence of a reduction. This matters: a reduction required only to preserve the gap, with no computability condition, would be trivially satisfiable by a map that inspects the value of its input and returns one of two fixed instances. The formalization therefore requires the reduction map to be computed by a Turing machine within a polynomial time bound, using Mathlib's Turing.TM2ComputableInPolyTime together with an explicit binary encoding of instances. The NP-hardness of the source problem GapPLCr0(1,s)\mathrm{GapPLC}_{r_0}(1,s)GapPLCr0​​(1,s) (Theorem 1.2, i.e. the PCP theorem plus parallel repetition) is an external input and is not part of this mission.

Contributions of intermediate infrastructure are welcome: the games of Sections 4–6 (Game1a, Game1b, Game2a, Game2b, Game2c, Game3) and their completeness and soundness lemmas are the natural next layer of milestones, as are the covering properties of Appendix C and the list-decoding bounds of Appendix E.

Selected references

  • Yumou Fei, Dor Minzer, Shuo Wang, On the Hardness of 4-to-1 Games with Perfect Completeness, ECCC TR26-179 (2026), https://eccc.weizmann.ac.il/report/2026/179/
  • Subhash Khot, On the power of unique 2-prover 1-round games, STOC 2002, https://doi.org/10.1145/509907.509985
  • Irit Dinur, Subhash Khot, Guy Kindler, Dor Minzer, Muli Safra, Towards a proof of the 2-to-1 games conjecture?, STOC 2018, https://doi.org/10.1145/3188745.3188804
  • Subhash Khot, Dor Minzer, Muli Safra, Pseudorandom sets in Grassmann graph have near-perfect expansion, FOCS 2018, https://doi.org/10.1109/FOCS.2018.00062
  • Louis Golowich, New Explicit Constant-Degree Lossless Expanders, FOCS 2023, https://arxiv.org/abs/2306.07551
12 thms3 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: marwahaha

Integer multiplication: κ = 1/2^129Open Problem

Motivation

Multiplying two binary integers is a basic task in computational complexity. The relevant resource here is the number of individual steps made by a machine whose tapes can only be accessed through moving heads. Harvey and van der Hoeven established an O(nlog⁡n)O(n\log n)O(nlogn) bound in this model. The OpenAI manuscript proposes a positive saving in the exponent of the logarithm. Subsequent constructions explore larger savings. The formalization target is the complete computation and its time bound, including the analytic and implementation arguments needed to connect a finite construction to every input length.

Setting

A deterministic multitape Turing machine has a fixed finite alphabet, a fixed finite state set, and a fixed finite number of tapes. Each tape extends in one direction and has one head. A step reads the symbols under the heads, changes state, writes at those positions, and moves each head by at most one cell. The alphabet contains distinct blank, start-marker, zero, one, and separator symbols. Tape zero is the read-only input tape; tape one is the output tape; further tapes are available for work. The halting state freezes the configuration.

An input consists of two bit strings x,yx,yx,y of the same positive length nnn, separated by #\##. The strings are read most significant bit first, with leading zeros permitted. If val⁡(x)\operatorname{val}(x)val(x) denotes the represented natural number, the required output is exactly the 2n2n2n-bit binary representation of val⁡(x)val⁡(y)\operatorname{val}(x)\operatorname{val}(y)val(x)val(y), padded with leading zeros and followed by blanks. All tapes begin with a preserved start marker. Define L(n)=max⁡(⌈log⁡2n⌉,1)L(n)=\max(\lceil\log_2 n\rceil,1)L(n)=max(⌈log2​n⌉,1).

Target

The full target is

IntMul.KappaBound(value).\mathrm{IntMul.KappaBound}({{value}}).IntMul.KappaBound(value).

This asserts the existence of one machine that computes the exact product correctly for every positive input length, together with constants c>0c>0c>0 and n0n_0n0​ such that every pair of nnn-bit inputs, for n≥n0n\ge n_0n≥n0​ and n≥1n\ge1n≥1, halts within

c n L(n)1−valuec\,n\,L(n)^{1-{{value}}}cnL(n)1−value

steps. Constants, alphabet, states, and tape count are independent of the input length. The number is an exact real value. Larger κ\kappaκ gives a stronger asymptotic saving because L(n)≥1L(n)\ge1L(n)≥1.

Each entry supplies its own exact numerical value and identifies the construction that motivates it. Historical and new entries use the same machine definition. A proposed value may be recorded while its complete proof is still open; it becomes a proved record only when the goal has a verified proof. Numerical certificates are supporting results with their own scope, and do not establish a complete machine time bound.

Significance

A proof for any positive value would give a strict asymptotic improvement over nlog⁡nn\log nnlogn. Such an improvement would contradict the proposed Ω(nlog⁡n)\Omega(n\log n)Ω(nlogn) lower bound, while remaining consistent with the known upper bound. The tracked value concerns asymptotic growth; it does not measure the runtime of a practical implementation. No claim about a currently fastest implementation follows from a larger saving.

Formalizing the full target connects exact finite calculations to a uniform algorithm. The community repository explicitly treats the original framework and remaining all-size interfaces as assumptions of its current evidence. In this mission those steps must be proved before the goal can be marked Proved. They are not added as hypotheses that would weaken the full target. Earlier published theorem statements and finite certificates may be reused with their original attribution and proof status.

Difficulty

A finite network certificate can establish a concrete role count or a rational margin, but does not itself supply a machine for every input length. A complete proof must establish correctness of the recursive construction, admissibility of its parameters, precision and error guarantees, and the cost of moving data on tapes. Counts of algebraic operations alone do not account for this last resource. The difficult connection is between these separate contracts and the single uniform machine quantified by the goal.

Formalization scope

The goal imports the existing public Definitions.Def_IntMul_MultitapeModel bundle and uses IntMul.KappaBound directly. No alternative machine or cost model is introduced. Natural numbers describe input lengths, head positions, and step counts; real numbers describe the asymptotic constant and exponent. The real power has base at least one. Correctness is required even below the asymptotic threshold. Inputs of length zero and malformed inputs are outside the specified task.

The input and output conventions exclude a machine that merely decides a predicate about the product. The entire output tape must contain the required product and then blanks. Neither failure to halt nor correctness on a finite collection of test inputs meets the target. The work tapes and final head positions are unconstrained. Reusable contributions include machine composition with explicit costs, exact encodings, analytic estimates, and proofs that the finite certificates imply the contracts required by the recursive algorithm. Every such contribution should state its own assumptions and conclusion explicitly.

Selected references

  • D. Harvey and J. van der Hoeven, Integer multiplication in time O(n log n), Annals of Mathematics 193(2), 563–617 (2021). Paper.
  • OpenAI, Integer multiplication below n log n, preprint (23 September 2026), pinned manuscript revision adc7f1241b42e322a6451854ab7e4b4c146bf78a. Source.
  • D. Colkitt and community contributors, A sharper exponent for integer multiplication, research repository (2026), revision 56b66d58297deca1d7dd130247d720e960f77a37. Checkpoint and attribution.
2 thms2 active usersReviewed
🏆Completed
Theoretical Computer Science·Captain: xuanji

Integer multiplication: κ = 1/2^182 (OpenAI manuscript construction)Open Problem

Motivation

Multiplying two binary integers is a basic task in computational complexity. The relevant resource here is the number of individual steps made by a machine whose tapes can only be accessed through moving heads. Harvey and van der Hoeven established an O(nlog⁡n)O(n\log n)O(nlogn) bound in this model. The OpenAI manuscript proposes a positive saving in the exponent of the logarithm. Subsequent constructions explore larger savings. The formalization target is the complete computation and its time bound, including the analytic and implementation arguments needed to connect a finite construction to every input length.

Setting

A deterministic multitape Turing machine has a fixed finite alphabet, a fixed finite state set, and a fixed finite number of tapes. Each tape extends in one direction and has one head. A step reads the symbols under the heads, changes state, writes at those positions, and moves each head by at most one cell. The alphabet contains distinct blank, start-marker, zero, one, and separator symbols. Tape zero is the read-only input tape; tape one is the output tape; further tapes are available for work. The halting state freezes the configuration.

An input consists of two bit strings x,yx,yx,y of the same positive length nnn, separated by #\##. The strings are read most significant bit first, with leading zeros permitted. If val⁡(x)\operatorname{val}(x)val(x) denotes the represented natural number, the required output is exactly the 2n2n2n-bit binary representation of val⁡(x)val⁡(y)\operatorname{val}(x)\operatorname{val}(y)val(x)val(y), padded with leading zeros and followed by blanks. All tapes begin with a preserved start marker. Define L(n)=max⁡(⌈log⁡2n⌉,1)L(n)=\max(\lceil\log_2 n\rceil,1)L(n)=max(⌈log2​n⌉,1).

Target

The full target is

IntMul.KappaBound(1/2182).\mathrm{IntMul.KappaBound}(1/2^{182}).IntMul.KappaBound(1/2182).

This asserts the existence of one machine that computes the exact product correctly for every positive input length, together with constants c>0c>0c>0 and n0n_0n0​ such that every pair of nnn-bit inputs, for n≥n0n\ge n_0n≥n0​ and n≥1n\ge1n≥1, halts within

c n L(n)1−1/2182c\,n\,L(n)^{1-1/2^{182}}cnL(n)1−1/2182

steps. Constants, alphabet, states, and tape count are independent of the input length. The number is an exact real value. Larger κ\kappaκ gives a stronger asymptotic saving because L(n)≥1L(n)\ge1L(n)≥1.

Each entry supplies its own exact numerical value and identifies the construction that motivates it. Historical and new entries use the same machine definition. A proposed value may be recorded while its complete proof is still open; it becomes a proved record only when the goal has a verified proof. Numerical certificates are supporting results with their own scope, and do not establish a complete machine time bound.

Significance

A proof for any positive value would give a strict asymptotic improvement over nlog⁡nn\log nnlogn. Such an improvement would contradict the proposed Ω(nlog⁡n)\Omega(n\log n)Ω(nlogn) lower bound, while remaining consistent with the known upper bound. The tracked value concerns asymptotic growth; it does not measure the runtime of a practical implementation. No claim about a currently fastest implementation follows from a larger saving.

Formalizing the full target connects exact finite calculations to a uniform algorithm. The community repository explicitly treats the original framework and remaining all-size interfaces as assumptions of its current evidence. In this mission those steps must be proved before the goal can be marked Proved. They are not added as hypotheses that would weaken the full target. Earlier published theorem statements and finite certificates may be reused with their original attribution and proof status.

Difficulty

A finite network certificate can establish a concrete role count or a rational margin, but does not itself supply a machine for every input length. A complete proof must establish correctness of the recursive construction, admissibility of its parameters, precision and error guarantees, and the cost of moving data on tapes. Counts of algebraic operations alone do not account for this last resource. The difficult connection is between these separate contracts and the single uniform machine quantified by the goal.

Formalization scope

The goal imports the existing public Definitions.Def_IntMul_MultitapeModel bundle and uses IntMul.KappaBound directly. No alternative machine or cost model is introduced. Natural numbers describe input lengths, head positions, and step counts; real numbers describe the asymptotic constant and exponent. The real power has base at least one. Correctness is required even below the asymptotic threshold. Inputs of length zero and malformed inputs are outside the specified task.

The input and output conventions exclude a machine that merely decides a predicate about the product. The entire output tape must contain the required product and then blanks. Neither failure to halt nor correctness on a finite collection of test inputs meets the target. The work tapes and final head positions are unconstrained. Reusable contributions include machine composition with explicit costs, exact encodings, analytic estimates, and proofs that the finite certificates imply the contracts required by the recursive algorithm. Every such contribution should state its own assumptions and conclusion explicitly.

Selected references

  • D. Harvey and J. van der Hoeven, Integer multiplication in time O(n log n), Annals of Mathematics 193(2), 563–617 (2021). Paper.
  • OpenAI, Integer multiplication below n log n, preprint (23 September 2026), pinned manuscript revision adc7f1241b42e322a6451854ab7e4b4c146bf78a. Source.
  • D. Colkitt and community contributors, A sharper exponent for integer multiplication, research repository (2026), revision 56b66d58297deca1d7dd130247d720e960f77a37. Checkpoint and attribution.

Status

A full Lean proof of this bound is already on the platform: NLogN.KFTop.kappa_bound (theorem f904f4ef), which also proved IntMul.Kappa.openai_theorem_1. It formalizes the OpenAI manuscript's construction (Prop 7/8 networks, τ = 1−2^-50, crude assembly) on top of a verified multitape-machine compiler and the Harvey–van der Hoeven O(n log n) machine. It uses only the standard axioms.

2 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: marwahaha

Block Sensitivity vs. Sensitivity: Classical Quadratic BoundResearch Paper

Certify the classical quadratic separation between sensitivity and block sensitivity: α≥2\alpha\ge2α≥2.

For a total Boolean function f:{0,1}n→{0,1}f:\{0,1\}^n\to\{0,1\}f:{0,1}n→{0,1}, write xBx^BxB for the input obtained by flipping the coordinates in BBB. Its sensitivity is s(f)=max⁡x∣{i:f(x{i})≠f(x)}∣s(f)=\max_x|\{i:f(x^{\{i\}})\ne f(x)\}|s(f)=maxx​∣{i:f(x{i})=f(x)}∣. Its block sensitivity bs(f)bs(f)bs(f) is the largest number of pairwise disjoint nonempty sets BBB that satisfy f(xB)≠f(x)f(x^B)\ne f(x)f(xB)=f(x) at a common input xxx.

The goal is to prove that for every ε>0\varepsilon>0ε>0 and every integer S≥2S\ge2S≥2, there is a total Boolean function with

s(f)≥S,bs(f)≥s(f)2−ε.s(f)\ge S,\qquad bs(f)\ge s(f)^{2-\varepsilon}.s(f)≥S,bs(f)≥s(f)2−ε.

The construction milestone is Rubinstein’s quadratic separation: for each integer m≥1m\ge1m≥1, there is a function on (2m)2(2m)^2(2m)2 bits with

s(f)=2m,bs(f)=2m2.s(f)=2m,\qquad bs(f)=2m^2.s(f)=2m,bs(f)=2m2.

These exact bounds imply the goal because bs(f)=s(f)2/2bs(f)=s(f)^2/2bs(f)=s(f)2/2 and sensitivity grows without bound. This is a known theorem; the task is to formalize it using the campaign’s shared definitions.

The main combinatorial work is controlling sensitivity at every input and proving the matching block-sensitivity bounds. Lean represents functions as (Fin n → Bool) → Bool; both measures are maxima over all inputs. The goal reuses SensitivityCampaign.AchievesExponent, so it has exactly the same meaning as the campaign’s stronger targets. No composition theorem is required for this family argument.

References: David Rubinstein, Sensitivity vs. block sensitivity of Boolean functions, Combinatorica 15 (1995), 297–299, DOI. The statement and construction are also recalled in Theorem 1 of Madars Virza, Sensitivity versus block sensitivity of Boolean functions (2010), arXiv:1008.0521.

4 thms2 active usersReviewed
Mathematical Logic·Captain: Lucas

F_d versus F_{d+1}: fixed-depth separation of bounded-depth FregeOpen Problem

Motivation

Bounded-depth Frege systems are the proof systems of propositional logic in which every formula of a proof has depth bounded by a fixed constant ddd; the resulting system is written FdF_dFd​. They are the proof-theoretic counterpart of the circuit class AC0\mathrm{AC}^0AC0 and of the bounded arithmetic theories IΔ0I\Delta_0IΔ0​ and its relatives: short FdF_dFd​-proofs of a family of tautologies correspond to proofs of the corresponding first-order statement in bounded arithmetic. Lower bounds for FdF_dFd​ are among the strongest lower bounds known for any natural proof system.

A basic structural question is whether the depth hierarchy F1⊆F2⊆F3⊆…F_1 \subseteq F_2 \subseteq F_3 \subseteq \dotsF1​⊆F2​⊆F3​⊆… is strict in a strong sense. It is known that one extra level of depth can give an exponential speed-up, but in all known separations the tautologies themselves have depth growing with ddd. J. Krajíček asked whether there is a single fixed depth kkk at which tautologies witnessing the separation of Fd+1F_{d+1}Fd+1​ from FdF_dFd​ exist for every ddd (Open Problem Garden, F_d versus F_{d+1}; [Krajíček 1995, p. 243]). The question is closely related to conservativity relations among bounded arithmetic theories.

Timeline.

  • 1987 — Buss: the pigeonhole principle PHPnn+1\mathrm{PHP}^{n+1}_nPHPnn+1​ has polynomial-size Frege proofs (of unbounded depth).
  • 1988 — Ajtai: PHPnn+1\mathrm{PHP}^{n+1}_nPHPnn+1​ has no polynomial-size FdF_dFd​-proofs for any fixed ddd.
  • 1993/1995 — Pitassi–Beame–Impagliazzo and Krajíček–Pudlák–Woods: FdF_dFd​-proofs of PHPnn+1\mathrm{PHP}^{n+1}_nPHPnn+1​ require size 2nεd2^{n^{\varepsilon_d}}2nεd​.
  • 1994 — Krajíček: for each ddd there are tautologies of depth ddd with polynomial-size Fd+1F_{d+1}Fd+1​-proofs requiring exponential-size FdF_dFd​-proofs, i.e. the problem is solved when kkk may depend on ddd (k:=dk := dk:=d).
  • 2002 — Impagliazzo–Krajíček relate the question to conservativity among bounded arithmetic theories.

Setting

Formulas. A formula is in negation normal form over variables p0,p1,…p_0, p_1, \dotsp0​,p1​,…: a literal pip_ipi​ or ¬pi\neg p_i¬pi​, a conjunction ⋀(A1,…,Am)\bigwedge(A_1,\dots,A_m)⋀(A1​,…,Am​) or a disjunction ⋁(A1,…,Am)\bigvee(A_1,\dots,A_m)⋁(A1​,…,Am​) of any finite number m≥0m \ge 0m≥0 of formulas. The depth of a literal is 000, and the depth of ⋀(A1,…,Am)\bigwedge(A_1,\dots,A_m)⋀(A1​,…,Am​) or ⋁(A1,…,Am)\bigvee(A_1,\dots,A_m)⋁(A1​,…,Am​) is 1+max⁡jdepth⁡(Aj)1+\max_j \operatorname{depth}(A_j)1+maxj​depth(Aj​) (so clauses have depth 111 and CNFs depth 222). The size ∣A∣|A|∣A∣ is the number of symbols (literals and connectives). A tautology is a formula true under every assignment. The negation A‾\overline{A}A of a formula is obtained by De Morgan's laws.

The system FdF_dFd​. Lines of a proof are sequents: finite lists Γ\GammaΓ of formulas, read as their disjunction. The rules are: (axiom) any Γ\GammaΓ containing both pip_ipi​ and ¬pi\neg p_i¬pi​; (∧\wedge∧) from A,ΓA, \GammaA,Γ for every A∈{A1,…,Am}A \in \{A_1,\dots,A_m\}A∈{A1​,…,Am​} infer ⋀(A1,…,Am),Γ\bigwedge(A_1,\dots,A_m), \Gamma⋀(A1​,…,Am​),Γ; (∨\vee∨) from Aj,ΓA_j, \GammaAj​,Γ infer ⋁(A1,…,Am),Γ\bigvee(A_1,\dots,A_m), \Gamma⋁(A1​,…,Am​),Γ; (weakening) from Γ\GammaΓ infer any Δ\DeltaΔ containing every member of Γ\GammaΓ; (cut) from A,ΓA,\GammaA,Γ and A‾,Γ\overline{A},\GammaA,Γ infer Γ\GammaΓ. An FdF_dFd​-proof of AAA is a sequence of sequents, each following from earlier ones by a rule (lines may be reused), in which every formula has depth at most ddd, and which contains the sequent consisting of AAA alone. Its size is the total size of all formulas in it.

Formalization targets

Write τ=(τm)m∈N\tau = (\tau_m)_{m\in\mathbb N}τ=(τm​)m∈N​ for a family of tautologies of depth at most kkk with ∣τm∣≥m|\tau_m| \ge m∣τm​∣≥m. It requires exponential FdF_dFd​-size if for some ε>0\varepsilon>0ε>0 and all large mmm every FdF_dFd​-proof of τm\tau_mτm​ has size at least 2∣τm∣ε2^{|\tau_m|^{\varepsilon}}2∣τm​∣ε.

Goal

∃k ∀d≥k ∃τ:τm has Fd+1-proofs of size 2C(log⁡2∣τm∣)C and τ requires exponential Fd-size.\exists k\ \forall d \ge k\ \exists \tau:\quad \tau_m \text{ has } F_{d+1}\text{-proofs of size } 2^{C(\log_2|\tau_m|)^C} \text{ and } \tau \text{ requires exponential } F_d\text{-size.}∃k ∀d≥k ∃τ:τm​ has Fd+1​-proofs of size 2C(log2​∣τm​∣)C and τ requires exponential Fd​-size.

The goal takes the weaker of the two upper bounds allowed by the problem (quasi-polynomial); the polynomial version implies it.

Milestones

  1. Soundness of FdF_dFd​: every formula with an FdF_dFd​-proof is a tautology.
  2. Completeness of FdF_dFd​ for depth-ddd formulas: every tautology of depth ≤d\le d≤d has an FdF_dFd​-proof.
  3. Exponential FdF_dFd​ lower bound for PHPnn+1\mathrm{PHP}^{n+1}_nPHPnn+1​: size ≥2nεd\ge 2^{n^{\varepsilon_d}}≥2nεd​.
  4. The depth-dependent separation: for all large ddd, depth-ddd tautologies with polynomial-size Fd+1F_{d+1}Fd+1​-proofs requiring exponential FdF_dFd​-size.

Significance

A positive answer would show that the extra power of depth d+1d+1d+1 over depth ddd is visible already on formulas of a fixed, small depth, in particular that the hierarchy of bounded-depth Frege systems does not collapse on (for example) CNF tautologies. Through the correspondence with bounded arithmetic it bears on conservativity of theories of increasing quantifier complexity over a fixed class of low-complexity statements. A negative answer would say that for low-depth tautologies the bounded-depth Frege hierarchy collapses up to quasi-polynomial size.

Status: the goal is open. Milestones 1–2 are standard; milestones 3–4 are published theorems that, to the best of current knowledge, have no machine-checked proofs. Formalizing them requires switching-lemma machinery that would be reusable across proof complexity.

Difficulty

The known lower bounds for FdF_dFd​ go through switching lemmas that simplify depth-ddd formulas under random restrictions. In the known separations of Fd+1F_{d+1}Fd+1​ from FdF_dFd​ the hard tautologies have depth growing with ddd. Keeping the formulas at one fixed depth kkk while ddd ranges over all values requires a lower-bound argument whose strength depends on the depth of the proof lines alone, uniformly in ddd; the switching-lemma arguments used for depth-dependent separations do not directly provide this.

Formalization scope

Formulas are the Lean inductive type FdVersusFdSucc.Formula over variables ℕ, with conjunctions and disjunctions of lists (so and [] is true and or [] is false). Depth counts literals as 000. FdF_dFd​ is the dag-like one-sided sequent calculus described above; sequents are lists, weakening is by list inclusion. Proof size counts symbols of all formulas in all lines. Exponential lower bounds are asked only for all sufficiently large indices. The goal quantifies over d≥kd \ge kd≥k: for d+1<kd+1 < kd+1<k no Fd+1F_{d+1}Fd+1​-proof of a depth-kkk formula exists, so "every ddd" cannot be meant literally. A family whose formulas have depth >d> d>d would satisfy the lower bound vacuously; this is excluded because the formulas must have depth at most k≤dk \le dk≤d. The size condition ∣τm∣≥m|\tau_m| \ge m∣τm​∣≥m rules out finite families.

Contributions welcome: proofs of soundness and completeness, a formalized switching lemma, and the classical lower bounds.

Selected references

  • J. Krajíček, Lower bounds to the size of constant-depth propositional proofs, J. Symbolic Logic 59(1), 1994, 73–86.
  • J. Krajíček, Bounded arithmetic, propositional logic, and complexity theory, Encyclopedia of Mathematics and Its Applications 60, Cambridge University Press, 1995 (p. 243).
  • Open Problem Garden, F_d versus F_{d+1}, http://www.openproblemgarden.org/op/f_d_versus_f_d_1
  • M. Ajtai, The complexity of the pigeonhole principle, FOCS 1988.
  • J. Krajíček, P. Pudlák, A. Woods, An exponential lower bound to the size of bounded depth Frege proofs of the pigeonhole principle, Random Structures & Algorithms 7(1), 1995.
  • T. Pitassi, P. Beame, R. Impagliazzo, Exponential lower bounds for the pigeonhole principle, Computational Complexity 3, 1993.
  • S. Buss, Polynomial size proofs of the propositional pigeonhole principle, J. Symbolic Logic 52, 1987.
  • R. Impagliazzo, J. Krajíček, A note on conservativity relations among bounded arithmetic theories, Math. Logic Quarterly 48, 2002.
6 thms2 active usersReviewed
Linear algebraProbabilityTheoretical Computer Science·Captain: mikedeng1

Candidate Indistinguishability Obfuscation and Functional Encryption for All Circuits: Garblings of Equivalent Partial Assignments Are O(nT²/p)-Close in the Generic Colored Matrix ModelResearch Paper

Motivation

An indistinguishability obfuscator (iO) is a compiler that scrambles a program so that any two programs computing the same function become computationally indistinguishable after compilation. Garg, Gentry, Halevi, Raykova, Sahai and Waters gave the first candidate construction for all circuits (SIAM J. Comput. 45(3), 2016; conference version FOCS 2013). The candidate later became the starting point of a large body of work on iO, functional encryption and their applications (Sahai–Waters, STOC 2014).

The security of the candidate rests on a new assumption about garbled branching programs (the paper's Assumption 1, "Equivalent Program Indistinguishability"). Appendix C of the paper gives evidence for it: in an idealised generic colored matrix model, where an attacker can only add, scale and multiply the published matrices in an order that respects their colours, the assumption holds unconditionally. That unconditional statement is Theorem 6, and it is the target of this mission. It is an information-theoretic counting statement over finite fields; it involves no machines, no running times and no negligible functions.

Timeline. Barrington (1986) showed that width-5 permutation branching programs compute NC¹. Kilian (1988) randomised such programs by conjugating consecutive matrices with random invertible matrices. Garg, Gentry and Halevi (2013) proposed approximate multilinear maps. The present paper (2013) combined the three, adding a dummy program, bookend vectors and bundling scalars, and analysed the result in the generic colored matrix model. Later work (Barak et al. 2014; Brakerski–Rothblum 2014) proved security in a generic multilinear-map model for modified constructions.

Setting

A branching program BPBPBP of length nnn on ℓ\ellℓ input bits consists of a map inp:[n]→[ℓ]\mathsf{inp}:[n]\to[\ell]inp:[n]→[ℓ] and, for every step iii and bit bbb, a 5×55\times55×5 permutation matrix Ai,bA_{i,b}Ai,b​. On input χ∈{0,1}ℓ\chi\in\{0,1\}^\ellχ∈{0,1}ℓ it outputs 111 iff ∏i=1nAi,χinp(i)=I\prod_{i=1}^n A_{i,\chi_{\mathsf{inp}(i)}}=I∏i=1n​Ai,χinp(i)​​=I. A partial assignment (J,σ)(J,\sigma)(J,σ) fixes the input bits in J⊆[ℓ]J\subseteq[\ell]J⊆[ℓ]; two partial assignments (J,σ)(J,\sigma)(J,σ), (J,σ′)(J,\sigma')(J,σ′) are functionally equivalent if the program computes the same function of the remaining bits under both.

Fix a prime ppp, m=2n+5m=2n+5m=2n+5 and N=2m+5N=2m+5N=2m+5. The randomized program RNDp(BP)\mathcal{RND}_p(BP)RNDp​(BP) consists of the N×NN\times NN×N matrices D~i,b=Ri−1Di,bRi−1\tilde D_{i,b}=R_{i-1}D_{i,b}R_i^{-1}D~i,b​=Ri−1​Di,b​Ri−1​ and D~i,b′=Ri−1′Di,b′Ri′−1\tilde D'_{i,b}=R'_{i-1}D'_{i,b}R_i'^{-1}D~i,b′​=Ri−1′​Di,b′​Ri′−1​, together with bookend vectors s~=sR0−1\tilde{\mathbf s}=\mathbf sR_0^{-1}s~=sR0−1​, t~=Rnt\tilde{\mathbf t}=R_n\mathbf tt~=Rn​t and their primed versions. Here the Ri,Ri′R_i,R'_iRi​,Ri′​ are uniform invertible matrices over Zp\mathbb Z_pZp​; Di,bD_{i,b}Di,b​ is block diagonal with 2m2m2m random diagonal entries and the block αi,bAi,b\alpha_{i,b}A_{i,b}αi,b​Ai,b​; Di,b′D'_{i,b}Di,b′​ has the block αi,b′I\alpha'_{i,b}Iαi,b′​I (the "dummy program"). The vector s\mathbf ss is zero on its first mmm entries and t\mathbf tt on its next mmm, and their last five entries s∗,t∗\mathbf s^*,\mathbf t^*s∗,t∗ (and s∗′,t∗′\mathbf s^{*\prime},\mathbf t^{*\prime}s∗′,t∗′) are random subject to ⟨s∗,t∗⟩=⟨s∗′,t∗′⟩\langle\mathbf s^*,\mathbf t^*\rangle=\langle\mathbf s^{*\prime},\mathbf t^{*\prime}\rangle⟨s∗,t∗⟩=⟨s∗′,t∗′⟩. The bundling scalars αi,b,αi,b′\alpha_{i,b},\alpha'_{i,b}αi,b​,αi,b′​ are products of random γ\gammaγ's arranged so that their products over each block Ij=inp−1(j)I_j=\mathsf{inp}^{-1}(j)Ij​=inp−1(j) agree.

In the generic colored matrix model each matrix carries a left and a right colour (s~\tilde{\mathbf s}s~: 0→10\to10→1; D~i,b\tilde D_{i,b}D~i,b​: i→i+1i\to i+1i→i+1; D~i,b′\tilde D'_{i,b}D~i,b′​: i′→(i+1)′i'\to(i+1)'i′→(i+1)′; t~\tilde{\mathbf t}t~: n+1→n+2n+1\to n+2n+1→n+2). A representation oracle holds the database DB(p,BP,(J,σ))DB(p,BP,(J,\sigma))DB(p,BP,(J,σ)): the bookends, one matrix per step and program for the fixed steps (bit σ(inp(i))\sigma(\mathsf{inp}(i))σ(inp(i))), and both for the free steps. An adversary sees only handles. It may ask to add two matrices of the same colours, scale one, or multiply two whose colours match. The oracle answers with the handle of an existing record whenever the result equals a stored matrix mod ppp, so equality of matrices is all the adversary learns.

Formalization targets

Goal: Theorem 6

For every prime ppp, branching program BPBPBP, functionally equivalent (J,σ),(J,σ′)(J,\sigma),(J,\sigma')(J,σ),(J,σ′) and adversary A\mathcal AA receiving at most TTT handles,

∣Pr⁡[ADB(p,BP,(J,σ))=1]−Pr⁡[ADB(p,BP,(J,σ′))=1]∣≤C nT2p\Big|\Pr[\mathcal A^{DB(p,BP,(J,\sigma))}=1]-\Pr[\mathcal A^{DB(p,BP,(J,\sigma'))}=1]\Big|\le C\,\frac{nT^2}{p}​Pr[ADB(p,BP,(J,σ))=1]−Pr[ADB(p,BP,(J,σ′))=1]​≤CpnT2​

for an absolute constant CCC. No value of CCC is fixed, as the paper gives none.

Milestones

  1. §4.2 (a): if BP(χ)=1BP(\chi)=1BP(χ)=1, the form Fχ=s~∏D~ t~−s~′∏D~′ t~′F_\chi=\tilde{\mathbf s}\prod\tilde D\,\tilde{\mathbf t}-\tilde{\mathbf s}'\prod\tilde D'\,\tilde{\mathbf t}'Fχ​=s~∏D~t~−s~′∏D~′t~′ vanishes.
  2. The bookend identity: s~∏iD~i,bit~=(∏iαi,bi) s∗(∏iAi,bi)t∗\tilde{\mathbf s}\prod_i\tilde D_{i,b_i}\tilde{\mathbf t}=(\prod_i\alpha_{i,b_i})\,\mathbf s^*(\prod_iA_{i,b_i})\mathbf t^*s~∏i​D~i,bi​​t~=(∏i​αi,bi​​)s∗(∏i​Ai,bi​​)t∗, and its primed analogue.
  3. Partial evaluations: two distinct formal combinations of products of the Di,bD_{i,b}Di,b​ coincide with probability at most n/pn/pn/p.
  4. The Schwartz–Zippel lemma (already on the platform).
  5. Lemma 2 (Straddling Lemma).
  6. The display of p. 43: 1/p<Pr⁡[c′⟨s∗′,t∗′⟩+c s∗Πt∗=0]<2/p1/p<\Pr[c'\langle\mathbf s^{*\prime},\mathbf t^{*\prime}\rangle+c\,\mathbf s^*\Pi\mathbf t^*=0]<2/p1/p<Pr[c′⟨s∗′,t∗′⟩+cs∗Πt∗=0]<2/p for Π≠I\Pi\ne IΠ=I.

Significance

Theorem 6 says that the candidate cannot be broken by any attack that stays within linear algebra over the published matrices in the intended order: partial evaluations, mixing the primal and dummy programs, and mixing inputs that are inconsistent within a block are all detected or harmless. The proof explains the purpose of each design element: the bookend zero patterns kill the random diagonals, and the dummy program and bundling scalars defeat mixed-input attacks.

The theorem has a pen-and-paper proof in the paper and, as far as is known, no machine-checked proof. A formalization would pin down the model exactly: how ⊥ replies, handle reuse and adaptivity behave, and which distribution the bundling scalars follow. These are points the paper leaves informal, and the formal statement records them. The milestones are reusable on their own: the bookend identity and Lemma 2 are pure algebra, and the partial-evaluation bound is a Schwartz–Zippel application to block-diagonal matrix products.

Difficulty

The obvious argument says each new handle is a "new polynomial", and Schwartz–Zippel makes a collision unlikely. That argument fails for 1×11\times11×1 bookend products. There, a primal and a dummy evaluation on an accepting input are equal as field elements but different as formal expressions, so a simulator must identify them using only BP∣σBP|_\sigmaBP∣σ​. No other cancellation may survive, including those between products that mix the two values of an input bit within a block, and those on rejected inputs, where the 5-vectors are correlated through ⟨s∗,t∗⟩=⟨s∗′,t∗′⟩\langle\mathbf s^*,\mathbf t^*\rangle=\langle\mathbf s^{*\prime},\mathbf t^{*\prime}\rangle⟨s∗,t∗⟩=⟨s∗′,t∗′⟩. The bundling scalars are products of two uniform field elements, so they vanish with probability about 2/p2/p2/p, and the counting has to absorb such degenerate events. Finally, the adversary is adaptive: its later queries depend on earlier equality patterns, so the comparison of the two executions must go through a simulator that does not depend on σ\sigmaσ.

Formalization scope

Everything is over ZMod p with [Fact p.Prime]. Probabilities are counting fractions over finite product types; no measure theory is used. Steps, handles and γ\gammaγ-indices are 0-based. Branching programs output 111 iff the ordered product of permutation matrices is the identity; this is the convention of §3, §4.2 and App. C, not the (A0,A1)(A_0,A_1)(A0​,A1​) outputs of Definition 9. The bundling scalars follow the γ\gammaγ-procedure of p. 42. §4.1 instead says "random subject to the constraint", and over Zp\mathbb Z_pZp​ the two distributions differ; the proof analyses the γ\gammaγ-procedure. A malformed query (unknown handle, mismatched dimensions or colours) is answered ⊥ and leaves the database unchanged. Adversaries have coins uniform on Fin K, make qqq adaptive queries and output a bit. The statistical distance between the views is expressed as the largest acceptance gap over all adversaries; this is equivalent, since every distinguisher of the views is an adversary's final decision. TTT is taken to be ∣DB∣+q|DB|+q∣DB∣+q, the number of handles a qqq-query adversary receives. The page's Rj−1R_j^{-1}Rj−1​ in the partial-evaluation case is read as Rj−1−1R_{j-1}^{-1}Rj−1−1​.

Trivializing formalizations are excluded. The constant CCC comes before ppp, so the bound cannot absorb the trivial distance 111. The oracle compares matrices mod ppp together with dimensions and colours, never formal expressions, and it respects colours. The sampler keeps every random component of §4.1.

The development needs only Mathlib (matrices, GL, MvPolynomial, Schwartz–Zippel). Proofs of the milestones are welcome independently. A formal treatment of the paper's simulator (non-commutative formal polynomials, canonical forms) would be a reusable contribution for other generic-model arguments. The paper's PPT security reductions (Theorems 2–4) are out of scope; the mission formalizes the paper's evidence for Assumption 1, not the obfuscator's security.

Selected references

  • S. Garg, C. Gentry, S. Halevi, M. Raykova, A. Sahai, B. Waters, Candidate Indistinguishability Obfuscation and Functional Encryption for All Circuits, SIAM J. Comput. 45(3), 2016. https://doi.org/10.1137/14095772x (authors' version: https://eprint.iacr.org/2013/451)
  • D. A. Barrington, Bounded-width polynomial-size branching programs recognize exactly those languages in NC¹, STOC 1986. https://doi.org/10.1145/12130.12131
  • J. Kilian, Founding cryptography on oblivious transfer, STOC 1988. https://doi.org/10.1145/62212.62215
  • S. Garg, C. Gentry, S. Halevi, Candidate Multilinear Maps from Ideal Lattices, EUROCRYPT 2013. https://eprint.iacr.org/2012/610
  • B. Barak, S. Garg, Y. T. Kalai, O. Paneth, A. Sahai, Protecting Obfuscation against Algebraic Attacks, EUROCRYPT 2014. https://eprint.iacr.org/2013/631
  • Z. Brakerski, G. N. Rothblum, Virtual Black-Box Obfuscation for All Circuits via Generic Graded Encoding, TCC 2014. https://eprint.iacr.org/2013/563
  • J. T. Schwartz, Fast probabilistic algorithms for verification of polynomial identities, J. ACM 27(4), 1980. https://doi.org/10.1145/322217.322225
8 thms2 active usersReviewed
Operations ResearchOptimizationTheoretical Computer Science·Captain: mikedeng1

Scheduling Problems with Two Competing Agents 7: PARTITION Reduces to Two Agents Each Bounding Their Own Makespan in the Two-Machine Flow Shop and Open ShopResearch Paper

Motivation

In multi-agent scheduling, several decision makers share one processing resource, and each one cares only about the completion of its own jobs. Agnetis, Mirchandani, Pacciarelli and Pacifici (Oper. Res. 52(2), 2004) set up the two-agent version of this problem and classified its complexity for most combinations of classical objectives. Typical settings are a manufacturing cell that serves an internal and an external customer, or two departments that negotiate access to a shared machine. Most of the paper treats a single machine. Its §10 asks what happens when the shared resource is a small shop: two machines that every job must visit.

The answer is that even the simplest two-machine case is hard. In the classical single-agent setting, the two-machine flow shop makespan problem is solved by Johnson's rule (Johnson 1954) and the two-machine open shop makespan problem by Gonzalez and Sahni (1976), both in polynomial time. As soon as two agents each want their own jobs finished early, both problems become NP-hard.

Setting

There are two agents, A and B. Agent A owns jobs J1A,…,JnAAJ^A_1,\dots,J^A_{n_A}J1A​,…,JnA​A​ and agent B owns jobs J1B,…,JnBBJ^B_1,\dots,J^B_{n_B}J1B​,…,JnB​B​. Every job consists of one operation on machine M1M_1M1​ and one on machine M2M_2M2​, and pihX≥0p^X_{ih}\ge 0pihX​≥0 is the processing time of job JiXJ^X_iJiX​ on machine MhM_hMh​. A schedule gives every operation a start time. It is feasible when no operation starts before time 000, each machine processes at most one operation at a time, and the two operations of one job do not overlap in time. Processing is nonpreemptive.

  • In the flow shop F2F2F2 every job is processed first on M1M_1M1​ and then on M2M_2M2​.
  • In the open shop O2O2O2 the two operations of a job may be processed in either order.

The makespan of agent XXX, Cmax⁡XC^X_{\max}CmaxX​, is the latest completion time of an operation of one of its jobs. The recognition problem F2∥Cmax⁡A≤QA, Cmax⁡B≤QBF2\|C^A_{\max}\le Q_A,\ C^B_{\max}\le Q_BF2∥CmaxA​≤QA​, CmaxB​≤QB​ asks, for given thresholds QA,QBQ_A, Q_BQA​,QB​, whether some feasible flow shop schedule has Cmax⁡A≤QAC^A_{\max}\le Q_ACmaxA​≤QA​ and Cmax⁡B≤QBC^B_{\max}\le Q_BCmaxB​≤QB​. The problem O2∥Cmax⁡A≤QA, Cmax⁡B≤QBO2\|C^A_{\max}\le Q_A,\ C^B_{\max}\le Q_BO2∥CmaxA​≤QA​, CmaxB​≤QB​ is the same question for the open shop.

PARTITION (Problem 9.1 of the paper) asks whether a finite list of nonnegative integers p1,…,pkp_1,\dots,p_kp1​,…,pk​ can be split into two parts of equal sum P/2P/2P/2, where P=∑ipiP=\sum_i p_iP=∑i​pi​.

Formalization targets

Goal: Theorems 10.1 and 10.2

PARTITION ≤p F2 ∥ Cmax⁡A≤QA, Cmax⁡B≤QBandPARTITION ≤p O2 ∥ Cmax⁡A≤QA, Cmax⁡B≤QB,\text{PARTITION}\ \le_p\ F2\,\|\,C^A_{\max}\le Q_A,\ C^B_{\max}\le Q_B \qquad\text{and}\qquad \text{PARTITION}\ \le_p\ O2\,\|\,C^A_{\max}\le Q_A,\ C^B_{\max}\le Q_B,PARTITION ≤p​ F2∥CmaxA​≤QA​, CmaxB​≤QB​andPARTITION ≤p​ O2∥CmaxA​≤QA​, CmaxB​≤QB​,

with ≤p\le_p≤p​ polynomial-time many-one reducibility between binary-coded languages. This is how the paper proves "F2∥Cmax⁡A:Cmax⁡BF2\|C^A_{\max}:C^B_{\max}F2∥CmaxA​:CmaxB​ is NP-hard" (Theorem 10.1, p. 238) and "O2∥Cmax⁡A:Cmax⁡BO2\|C^A_{\max}:C^B_{\max}O2∥CmaxA​:CmaxB​ is NP-hard" (Theorem 10.2, p. 239).

Milestones: the two constructions

For Theorem 10.1, with ε=1/(k+1)\varepsilon=1/(k+1)ε=1/(k+1), the paper builds the instance with kkk A-jobs of times (ε,pi)(\varepsilon, p_i)(ε,pi​), one B-job of times (P/2−(k−1)ε, P/2)(P/2-(k-1)\varepsilon,\ P/2)(P/2−(k−1)ε, P/2), and thresholds QA=3P/2+εQ_A = 3P/2+\varepsilonQA​=3P/2+ε, QB=P+εQ_B = P+\varepsilonQB​=P+ε. The milestones are:

  1. under Cmax⁡B≤QBC^B_{\max}\le Q_BCmaxB​≤QB​ the B-job starts on M2M_2M2​ by P/2+εP/2+\varepsilonP/2+ε, and the A-jobs before it on M2M_2M2​ total at most P/2P/2P/2;
  2. for even PPP, PARTITION has a solution if and only if this instance meets both thresholds.

For Theorem 10.2 the instance has kkk A-jobs of time pip_ipi​ on both machines, one B-job of time P/2P/2P/2 on both machines, and thresholds QA=3P/2Q_A=3P/2QA​=3P/2, QB=PQ_B=PQB​=P. The milestones are:

  1. under Cmax⁡B≤QBC^B_{\max}\le Q_BCmaxB​≤QB​ the B-job starts at 000 on one machine and at P/2P/2P/2 on the other;
  2. PARTITION has a solution if and only if this instance meets both thresholds.

Significance

The two theorems mark the boundary of tractability of §10. The single-agent problems F2∥Cmax⁡F2\|C_{\max}F2∥Cmax​ and O2∥Cmax⁡O2\|C_{\max}O2∥Cmax​ are polynomial. Giving the second agent a single job and a deadline is already enough to make the problems NP-hard, so no extension of Johnson's rule or of the Gonzalez–Sahni algorithm solves the two-agent versions unless P = NP. The paper also observes that any other combination of the objectives it considers is NP-hard in these shops.

The theorems are proved in the paper by short reductions. As far as we know none of them is machine-checked. This mission produces checked statements of both reductions on a general two-machine shop model with real start times. It also corrects the flow shop equivalence, which as printed does not hold for odd PPP.

Difficulty

The hard direction of each equivalence goes from a feasible schedule to a partition. A schedule is a set of real start times, not a permutation. Nothing forces the jobs into a fixed order or rules out idle time. The proof has to extract a combinatorial split from interval packing: which A-jobs fit into the gap before the B-job on one machine and which fit into the gap after it. The sum of lengths of pairwise disjoint intervals inside a window must be bounded by the window's length.

In the flow shop the gap after the B-job has length P/2+kεP/2+k\varepsilonP/2+kε, which is not P/2P/2P/2. Integrality of the A-lengths is what closes the gap, and it only works when P/2P/2P/2 is an integer. In the open shop, the same argument has to cover both orders of the B-job's operations. Both reductions output rational data, so the goal also needs a scaling to integer data and a polynomial-time bound on the code map.

Formalization scope

  • Model. Jobs are numbered Fin (n_A + n_B), the A-jobs first. Start times are real numbers, and idle time and different job orders on the two machines are allowed. Flow shop feasibility is the published JohnsonFlowShop.TwoStage.IsFeasible from the Johnson (1954) series. Open shop feasibility is the definition IsOpenFeasible of this mission: no machine overlap between distinct jobs, and no time overlap between the two operations of a job. "Cmax⁡X≤QXC^X_{\max}\le Q_XCmaxX​≤QX​" is stated as "every operation of every XXX-job ends by QXQ_XQX​", so no maximum over a possibly empty set is taken.
  • Languages. The target languages hold the binary codes of instances with natural-number processing times and thresholds that have a feasible schedule meeting both thresholds. PARTITION is the published ProjSchedTW.Complexity.partitionLang (nonnegative sizes, zero allowed), and reducibility is CookPvsNP.PolyReducible. Both come from published definitions of the Neumann–Schwindt–Zimmermann and Cook series. NP-membership is not formalized.
  • Constructions. They are defined over R\mathbb RR exactly as printed. A reduction to the N\mathbb NN-coded languages has to rescale (for example by 2(k+1)2(k+1)2(k+1)). That rescaling is the solver's to choose and is not a milestone.
  • Corrections. The printed flow shop equivalence uses ⌊P/2+kε⌋=P/2\lfloor P/2+k\varepsilon\rfloor = P/2⌊P/2+kε⌋=P/2 and fails for odd PPP: p=(1)p=(1)p=(1) gives a yes-instance of the scheduling problem but has no partition. It also fails for P=0P=0P=0 and k≥2k\ge 2k≥2, where the printed p11Bp^B_{11}p11B​ is negative. Milestone 2 therefore assumes PPP even and (P≥2P\ge2P≥2 or k≤1k\le1k≤1). The goal is unaffected, because odd PPP is a PARTITION no-instance. In the open shop proof, the printed identity "∑piA+∑piB=2P\sum p^A_i+\sum p^B_i = 2P∑piA​+∑piB​=2P" is read as "each machine carries 3P/23P/23P/2 of work", and the statement is unchanged.
  • No trivialization. The flow shop and open shop languages are not restricted to the instances the constructions produce, so they cannot be decided by reading off the construction. A schedule must satisfy the machine and job non-overlap constraints, including in the open shop, where a definition without the job constraint would let a job run on both machines at once.
  • Welcome contributions. Interval-packing lemmas on R\mathbb RR, a polynomial-time bound for list arithmetic over encNats, and a scaling lemma for shop schedules are reusable beyond this mission.

Selected references

  • A. Agnetis, P. B. Mirchandani, D. Pacciarelli, A. Pacifici, Scheduling Problems with Two Competing Agents, Operations Research 52(2) (2004) 229–242. https://doi.org/10.1287/opre.1030.0092
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1 (1954) 61–68. https://doi.org/10.1002/nav.3800010110
  • T. Gonzalez, S. Sahni, Open shop scheduling to minimize finish time, Journal of the ACM 23(4) (1976) 665–679. https://doi.org/10.1145/321978.321985
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979.
11 thms2 active usersReviewed
Operations ResearchOptimizationTheoretical Computer Science·Captain: mikedeng1

Scheduling Problems with Two Competing Agents 6: PARTITION Reduces to Two Agents Each Bounding Their Own Total Completion Time on One MachineResearch Paper

Two agents sharing one machine

In many production and service settings a single resource is shared by parties with different goals: two departments sending orders to the same machine, two customers of a contract manufacturer, or two classes of requests on one processor. Multi-agent scheduling models this directly. Each agent owns its own jobs and its own objective, and a schedule is judged by the pair of objective values it gives the two agents rather than by a single combined criterion.

Agnetis, Mirchandani, Pacciarelli and Pacifici (Oper. Res. 52(2), 2004, pp. 229–242) set up the systematic study of the two-agent single-machine problem. For each pair of classical objectives they ask how hard it is to optimise one agent's objective while the other agent's objective stays within a given bound. This mission formalises their §9, the case in which both agents minimise their own total completion time. With a single agent, minimising the total completion time is solved by sorting the jobs by length (the shortest-processing-time rule of Smith, 1956). §9 shows that two agents, each with this easiest of objectives, already give an NP-hard problem (Theorem 9.2), and that the problem is solved in pseudopolynomial time by a dynamic program (Theorem 9.3).

Setting

There are two agents, A and B. Agent A owns jobs J1A,…,JnAAJ^A_1,\dots,J^A_{n_A}J1A​,…,JnA​A​ with processing times phA∈Np^A_h\in\mathbb NphA​∈N; agent B owns jobs J1B,…,JnBBJ^B_1,\dots,J^B_{n_B}J1B​,…,JnB​B​ with processing times pkB∈Np^B_k\in\mathbb NpkB​∈N. All jobs are available at time 000 and are processed on one machine, one at a time, without interruption. Since both objectives are nondecreasing in the completion times, a schedule σ\sigmaσ is a sequence of all nA+nBn_A+n_BnA​+nB​ jobs processed back to back from time 000. The completion time Cj(σ)C_j(\sigma)Cj​(σ) of a job is the total processing time of the job and of all jobs before it. Agent A's cost is ∑hChA(σ)\sum_hC^A_h(\sigma)∑h​ChA​(σ) and agent B's cost is ∑kCkB(σ)\sum_kC^B_k(\sigma)∑k​CkB​(σ).

The recognition problem 1∥∑CiA≤QA, ∑CiB≤QB1\|\sum C^A_i\le Q_A,\ \sum C^B_i\le Q_B1∥∑CiA​≤QA​, ∑CiB​≤QB​ asks, for thresholds QA,QBQ_A,Q_BQA​,QB​, whether some schedule has

∑h=1nAChA(σ)≤QAand∑k=1nBCkB(σ)≤QB.\sum_{h=1}^{n_A}C^A_h(\sigma)\le Q_A\qquad\text{and}\qquad\sum_{k=1}^{n_B}C^B_k(\sigma)\le Q_B .h=1∑nA​​ChA​(σ)≤QA​andk=1∑nB​​CkB​(σ)≤QB​.

The source problem is PARTITION (Problem 9.1): given integers p1,…,pkp_1,\dots,p_kp1​,…,pk​ with P=∑ipiP=\sum_ip_iP=∑i​pi​, is there a set S⊆{1,…,k}S\subseteq\{1,\dots,k\}S⊆{1,…,k} with ∑i∈Spi=∑i∉Spi=P/2\sum_{i\in S}p_i=\sum_{i\notin S}p_i=P/2∑i∈S​pi​=∑i∈/S​pi​=P/2?

The paper's reduction numbers the integers so that p1≤⋯≤pkp_1\le\dots\le p_kp1​≤⋯≤pk​ and gives both agents identical job sets, kkk jobs of lengths p1,…,pkp_1,\dots,p_kp1​,…,pk​, with thresholds QA=QB=T/2Q_A=Q_B=T/2QA​=QB​=T/2, where

T=3P+4∑i=1k(k−i)pi.T=3P+4\sum_{i=1}^k(k-i)p_i .T=3P+4i=1∑k​(k−i)pi​.

Writing J[i]J[i]J[i] for the pair JiA,JiBJ^A_i,J^B_iJiA​,JiB​, an SPT schedule processes J[1],…,J[k]J[1],\dots,J[k]J[1],…,J[k] in order, each pair in either internal order; xxx denotes the total length of the pairs in which B goes first.

Formalization targets

Goal: Theorem 9.2

PARTITION ≤p 1∥∑CiA≤QA, ∑CiB≤QB\text{PARTITION}\ \le_p\ 1\|\textstyle\sum C^A_i\le Q_A,\ \sum C^B_i\le Q_BPARTITION ≤p​ 1∥∑CiA​≤QA​, ∑CiB​≤QB​

Here ≤p\le_p≤p​ is polynomial-time many-one reducibility between languages of binary codes: a polynomial-time Turing-machine-computable map on strings that sends codes of PARTITION yes-instances, and only those, to codes of yes-instances of the recognition problem. Together with the NP-completeness of PARTITION (Karp 1972) this is the statement "1∥∑CiA:∑CiB1\|\sum C^A_i : \sum C^B_i1∥∑CiA​:∑CiB​ is binary NP-hard".

Milestones of the proof

  1. Every SPT schedule has ∑CiA+∑CiB=T\sum C^A_i+\sum C^B_i=T∑CiA​+∑CiB​=T, and QA=QB=T/2Q_A=Q_B=T/2QA​=QB​=T/2.
  2. Eqs. (5) and (6): in an SPT schedule, ∑CiA=P+2∑i(k−i)pi+x\sum C^A_i=P+2\sum_i(k-i)p_i+x∑CiA​=P+2∑i​(k−i)pi​+x and ∑CiB=P+2∑i(k−i)pi+(P−x)\sum C^B_i=P+2\sum_i(k-i)p_i+(P-x)∑CiB​=P+2∑i​(k−i)pi​+(P−x).
  3. A schedule with ∑CiA≤T/2\sum C^A_i\le T/2∑CiA​≤T/2 and ∑CiB≤T/2\sum C^B_i\le T/2∑CiB​≤T/2 processes the jobs in nondecreasing order of length.
  4. For pairwise distinct p1<⋯<pkp_1<\dots<p_kp1​<⋯<pk​: PARTITION has a solution iff some schedule meets T/2T/2T/2 for both agents.

Further result: Theorem 9.3 with recursion (7)

With each agent's jobs numbered by nondecreasing length and P(i,j)P(i,j)P(i,j) the total length of J1A,…,JiA,J1B,…,JjBJ^A_1,\dots,J^A_i,J^B_1,\dots,J^B_jJ1A​,…,JiA​,J1B​,…,JjB​, the recursion

F(i,j,q)=min⁡{F(i−1,j,q)+P(i−1,j)+piA; F(i,j−1,q−P(i,j))}F(i,j,q)=\min\bigl\{F(i-1,j,q)+P(i-1,j)+p^A_i;\ F(i,j-1,q-P(i,j))\bigr\}F(i,j,q)=min{F(i−1,j,q)+P(i−1,j)+piA​; F(i,j−1,q−P(i,j))}

with F(0,0,q)=0F(0,0,q)=0F(0,0,q)=0 for q≥0q\ge0q≥0 and F=+∞F=+\inftyF=+∞ for q<0q<0q<0 yields F(nA,nB,Q)=min⁡{∑CiA:∑CiB≤Q}F(n_A,n_B,Q)=\min\{\sum C^A_i:\sum C^B_i\le Q\}F(nA​,nB​,Q)=min{∑CiA​:∑CiB​≤Q}, and +∞+\infty+∞ when no schedule meets the bound.

Significance

Theorem 9.2 fills one cell of the paper's complexity table: even when both agents use the objective that is trivial for one agent, sharing the machine makes the constrained problem NP-hard. Together with Theorem 9.3 it places 1∥∑CiA:∑CiB1\|\sum C^A_i:\sum C^B_i1∥∑CiA​:∑CiB​ exactly: NP-hard under binary encoding, solvable in pseudopolynomial time, hence not strongly NP-hard unless P = NP. The later literature on two-agent and multi-agent scheduling (for example the monograph of Agnetis, Billaut, Gawiejnowicz, Pacciarelli and Soukhal, Multiagent Scheduling, Springer 2014) cites this classification.

Neither result has a machine-checked proof that we know of. The mission adds a formal record of the reduction and of the dynamic program, reusable definitions for the two-agent total-completion-time problem, and a correction of the printed proof: the equivalence between PARTITION and the constructed instance, as printed, holds only when the integers are pairwise distinct. For p=(1,1,1,1,10)p=(1,1,1,1,10)p=(1,1,1,1,10) PARTITION has no solution, yet a schedule meets T/2=41T/2=41T/2=41 for both agents. Theorem 9.2 itself is not affected, since PARTITION remains NP-hard, but a complete formal proof needs a reduction that is correct on every input.

Difficulty

The equivalence for distinct integers rests on two facts: the overall total ∑CiA+∑CiB\sum C^A_i+\sum C^B_i∑CiA​+∑CiB​ is at least TTT for every schedule, with equality only for sequences in nondecreasing order of length; and, with distinct lengths, such a sequence is made of consecutive pairs, whose split is controlled by xxx. The naive formal argument stops at the second fact, which is false with repeated lengths: a block of equal-length jobs can be shared between the agents in ways no sequence of pairs realises. The goal adds the encoding layer: the reduction must be computable in polynomial time on a Turing machine, must handle repeated and zero sizes and odd PPP (where T/2T/2T/2 is not an integer and the language's thresholds are), and must send strings that do not code a PARTITION instance outside the target language. For Theorem 9.3, the dynamic program is correct only because some optimal schedule orders each agent's jobs by length, and the constraint makes this exchange argument less direct than for a single agent.

Formalization scope

Jobs are Fin nA ⊕ Fin nB (Sum.inl h is Jh+1AJ^A_{h+1}Jh+1A​, Sum.inr k is Jk+1BJ^B_{k+1}Jk+1B​, 0-based). Schedules, completion times and the idle-free sequence model are the published MooreLateJobs.Shared.completionTime (Moore 1968 series): a schedule is a duplicate-free list containing every job once, and completion times are real numbers. Processing times and thresholds of the language are natural numbers. Reducibility is the published CookPvsNP.PolyReducible, and PARTITION, the alphabet and the binary codes are the published ProjSchedTW.Complexity.Encoding (partitionLang, whose sizes are natural numbers including 000). The target language allows any job counts and any processing times; identical job sets are a property of the construction only.

The following readings are explicit:

  • An SPT schedule of the construction is given by a choice x:Fin k→Boolx:\mathrm{Fin}\,k\to\mathrm{Bool}x:Fink→Bool of the first agent in each pair; "feasible implies SPT" is stated as "lengths are nondecreasing along the sequence", which is what the paper's exchange argument proves.
  • The milestones take the integers already sorted, as a hypothesis; the paper's thresholds T/2T/2T/2 are real numbers in the milestones.
  • The equivalence milestone assumes p1<⋯<pkp_1<\dots<p_kp1​<⋯<pk​; the printed version with ≤\le≤ is false, as shown above.
  • In recursion (7), the terms F(−1,j,q)F(-1,j,q)F(−1,j,q) and F(i,−1,q)F(i,-1,q)F(i,−1,q) that the paper leaves undefined are +∞+\infty+∞.
  • The running time O(nAnBQ)O(n_An_BQ)O(nA​nB​Q) of Theorem 9.3 is not formalised; only the correctness of (7) is. Membership in NP is not formalised.

The goal cannot be met by a trivial reduction: PolyReducible requires the map to be computed by a polynomial-time Turing machine and to be correct on every string, and the target language contains every two-agent instance, not only those with identical job sets. Contributions welcome: the exchange lemmas for total completion time on the shared sequence model, the SPT formulas, and Turing-machine constructions for list sorting and arithmetic on binary codes, which other reductions of this series reuse.

Selected references

  • A. Agnetis, P. B. Mirchandani, D. Pacciarelli, A. Pacifici, Scheduling Problems with Two Competing Agents, Operations Research 52(2) (2004) 229–242. https://doi.org/10.1287/opre.1030.0092
  • R. M. Karp, Reducibility among Combinatorial Problems, in Complexity of Computer Computations, Plenum (1972) 85–103. https://doi.org/10.1007/978-1-4684-2001-2_9
  • W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3 (1956) 59–66. https://doi.org/10.1002/nav.3800030106
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1) (1968) 102–109. https://doi.org/10.1287/mnsc.15.1.102
  • S. Cook, The P versus NP Problem, Clay Mathematics Institute Millennium Problems (2000). https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
  • A. Agnetis, J.-C. Billaut, S. Gawiejnowicz, D. Pacciarelli, A. Soukhal, Multiagent Scheduling: Models and Algorithms, Springer (2014). https://doi.org/10.1007/978-3-642-41880-8
12 thms2 active usersReviewed
Operations ResearchOptimizationTheoretical Computer Science·Captain: mikedeng1

Scheduling Problems with Two Competing Agents 2: KNAPSACK Reduces to Minimizing One Agent's Total Weighted Completion Time Under a Makespan Bound for the OtherResearch Paper

Two agents sharing one machine

In many production and logistics settings a single resource is shared by parties with different goals: two departments of a plant that send orders to the same machine, two customers of a contract manufacturer, or two classes of traffic on one processor. Multi-agent scheduling models this directly. Each agent owns its own jobs and its own objective, and a schedule is judged by the pair of objective values it gives the two agents rather than by one combined criterion.

Agnetis, Mirchandani, Pacciarelli and Pacifici (Oper. Res. 52(2), 2004, pp. 229–242) set up the systematic study of the two-agent single-machine problem. For each pair of classical objectives they ask how hard it is to optimise one agent's objective while the other agent's objective stays within a given bound. Their Table 1 lists the outcome for each pair. This mission formalises one entry, Theorem 5.2: when agent A minimises its total weighted completion time and agent B only requires its makespan to stay below a bound, the problem is NP-hard under binary encoding of the numbers. The corresponding single-agent bicriteria problem had been shown NP-hard in the strong sense by Lenstra, Rinnooy Kan and Brucker (1977); the two-agent version differs because only B's jobs are constrained.

Setting

There are two agents, A and B. Agent A owns jobs J1A,…,JnAAJ^A_1,\dots,J^A_{n_A}J1A​,…,JnA​A​; job JhAJ^A_hJhA​ has a processing time phA∈Np^A_h\in\mathbb NphA​∈N and a weight whA∈Nw^A_h\in\mathbb NwhA​∈N. Agent B owns jobs J1B,…,JnBBJ^B_1,\dots,J^B_{n_B}J1B​,…,JnB​B​ with processing times pkB∈Np^B_k\in\mathbb NpkB​∈N. All jobs are available at time 000 and are processed on one machine, one at a time, without interruption.

Because both objectives are nondecreasing in the completion times, there is no reason to leave the machine idle, so a schedule σ\sigmaσ is a sequence of all nA+nBn_A+n_BnA​+nB​ jobs processed back to back from time 000. The completion time Cj(σ)C_j(\sigma)Cj​(σ) of a job jjj is the total processing time of jjj and of all jobs sequenced before it. Agent A's cost is ∑hwhAChA(σ)\sum_{h}w^A_hC^A_h(\sigma)∑h​whA​ChA​(σ); agent B's cost is its makespan Cmax⁡B(σ)=max⁡kCkB(σ)C^B_{\max}(\sigma)=\max_kC^B_k(\sigma)CmaxB​(σ)=maxk​CkB​(σ).

The paper's recognition problem 1∥∑wiCiA≤QA, Cmax⁡B≤QB1\|\sum w_iC^A_i\le Q_A,\ C^B_{\max}\le Q_B1∥∑wi​CiA​≤QA​, CmaxB​≤QB​ asks, for given thresholds QA,QBQ_A,Q_BQA​,QB​, whether some schedule has

∑h=1nAwhAChA(σ)≤QAandCkB(σ)≤QB  for all k.\sum_{h=1}^{n_A}w^A_hC^A_h(\sigma)\le Q_A\qquad\text{and}\qquad C^B_k(\sigma)\le Q_B\ \text{ for all }k .h=1∑nA​​whA​ChA​(σ)≤QA​andCkB​(σ)≤QB​  for all k.

The source problem is KNAPSACK (Problem 5.1): given nonnegative integers u1,…,unu_1,\dots,u_nu1​,…,un​, w1,…,wnw_1,\dots,w_nw1​,…,wn​ and integers b,Wb,Wb,W, is there S⊆{1,…,n}S\subseteq\{1,\dots,n\}S⊆{1,…,n} with ∑i∈Sui≤b\sum_{i\in S}u_i\le b∑i∈S​ui​≤b and ∑i∈Swi≥W\sum_{i\in S}w_i\ge W∑i∈S​wi​≥W?

Formalization targets

Goal: Theorem 5.2

KNAPSACK ≤p 1∥∑wiCiA≤QA, Cmax⁡B≤QB\text{KNAPSACK}\ \le_p\ 1\|\textstyle\sum w_iC^A_i\le Q_A,\ C^B_{\max}\le Q_BKNAPSACK ≤p​ 1∥∑wi​CiA​≤QA​, CmaxB​≤QB​

Here ≤p\le_p≤p​ is polynomial-time many-one reducibility between languages of binary codes: a Turing-machine-computable, polynomial-time map on strings sending codes of KNAPSACK yes-instances, and only those, to codes of yes-instances of the recognition problem. Together with the NP-completeness of KNAPSACK (Garey and Johnson 1979) this is the statement "1∥∑wiCiA:Cmax⁡B1\|\sum w_iC^A_i : C^B_{\max}1∥∑wi​CiA​:CmaxB​ is binary NP-hard".

Milestones

The paper's reduction builds, from a KNAPSACK instance, the two-agent instance with piA=uip^A_i=u_ipiA​=ui​, wiA=wiw^A_i=w_iwiA​=wi​, a single B-job of length p1B=w^u^p^B_1=\hat w\hat up1B​=w^u^ (where u^=∑iui\hat u=\sum_iu_iu^=∑i​ui​, w^=∑iwi\hat w=\sum_iw_iw^=∑i​wi​), and thresholds QB=b+p1BQ_B=b+p^B_1QB​=b+p1B​, QA=w^u^+(w^−W)p1BQ_A=\hat w\hat u+(\hat w-W)p^B_1QA​=w^u^+(w^−W)p1B​. The milestones are the two directions of the proof and their combination:

  1. Eq. (1): if SSS solves KNAPSACK, every sequence with exactly the A-jobs of SSS before the B-job meets both thresholds.
  2. Eq. (2): if ∑iwiui>0\sum_iw_iu_i>0∑i​wi​ui​>0 and a sequence meets both thresholds, the A-jobs before the B-job solve KNAPSACK.
  3. Equivalence: under ∑iwiui>0\sum_iw_iu_i>0∑i​wi​ui​>0, KNAPSACK is a yes-instance iff the constructed instance is.
  4. §8: with every B-job given due date QQQ and Q′=0Q'=0Q′=0, a sequence meets ∑UiB≤Q′\sum U^B_i\le Q'∑UiB​≤Q′ (and A's bound) iff it meets Cmax⁡B≤QC^B_{\max}\le QCmaxB​≤Q, which carries the hardness over to 1∥∑wiCiA:∑UiB1\|\sum w_iC^A_i:\sum U^B_i1∥∑wi​CiA​:∑UiB​.

Significance

Theorem 5.2 fixes the complexity of one cell of the two-agent classification. It shows that the polynomial algorithm for the unweighted case 1∥∑CiA:fmax⁡B1\|\sum C^A_i:f^B_{\max}1∥∑CiA​:fmaxB​ (Theorem 5.5 of the same paper) cannot be extended to arbitrary weights unless P = NP. Through §8 it also settles 1∥∑wiCiA:∑UiB1\|\sum w_iC^A_i:\sum U^B_i1∥∑wi​CiA​:∑UiB​. The hardness is binary, not strong: the reduction produces numbers of size about w^u^\hat w\hat uw^u^, so pseudo-polynomial algorithms are not ruled out, which is consistent with the dynamic programs studied in later two-agent literature.

The result is proved in the paper; no machine-checked proof is known to exist. Formalizing it produces a complete reduction from a two-constraint knapsack problem to a scheduling recognition problem, with the encoding, the degenerate instances and the polynomial running time all made explicit. The model and the KNAPSACK language are reusable by other two-agent reductions (Theorems 9.2, 10.1 and 10.2 of the paper reduce from PARTITION in the same frame).

Difficulty

The two directions of the equivalence are short computations with completion times. The printed argument, however, is not correct as written in two places. The bounds "smaller than w^u^\hat w\hat uw^u^" and "smaller than (w^−W)p1B(\hat w-W)p^B_1(w^−W)p1B​" in the derivation of (1) hold only with equality allowed. The strict inequalities in (2) fail when ∑iwiui=0\sum_iw_iu_i=0∑i​wi​ui​=0, and then the reduction itself fails: with all ui=0u_i=0ui​=0 and W>w^W>\hat wW>w^ the KNAPSACK instance is a no-instance while the constructed instance has QA=QB=0Q_A=Q_B=0QA​=QB​=0 and every schedule meets both thresholds. A complete reduction must recognise such instances and treat them separately.

The construction also produces integer thresholds that can be negative (b<−p1Bb<-p^B_1b<−p1B​, or W>w^+1W>\hat w+1W>w^+1), while instances of the target are coded with natural numbers. Finally, the reduction must be a polynomial-time Turing machine computation over binary codes, including the decoding of arbitrary strings and the binary multiplication w^u^\hat w\hat uw^u^; that is where most of the formal work lies.

Formalization scope

  • Model. Jobs are Fin nA ⊕ Fin nB (0-based: Sum.inl h is Jh+1AJ^A_{h+1}Jh+1A​, Sum.inr k is Jk+1BJ^B_{k+1}Jk+1B​). Schedules and completion times are the published MooreLateJobs.Shared sequence model (IsSchedule, completionTime) of the Moore (1968) series: a duplicate-free list of all jobs, processed without idle time from time 000. Integer processing times are cast to R\mathbb RR.
  • Makespan bound. Cmax⁡B≤QBC^B_{\max}\le Q_BCmaxB​≤QB​ is written as CkB≤QBC^B_k\le Q_BCkB​≤QB​ for every B-job; no nonemptiness of B's job set is assumed.
  • Languages. Polynomial-time reducibility is the published CookPvsNP.PolyReducible (Cook's Definition 3, one-tape Turing machines). Codes use the published binary encoding ProjSchedTW.Complexity.Encoding (alphabet BSym, encNat, encInt) of the Neumann–Schwindt–Zimmermann series. A KNAPSACK instance is coded as the integers n,u1,…,un,w1,…,wn,b,Wn,u_1,\dots,u_n,w_1,\dots,w_n,b,Wn,u1​,…,un​,w1​,…,wn​,b,W; a target instance as the natural numbers nA,nBn_A,n_BnA​,nB​, the processing times and weights, and QA,QBQ_A,Q_BQA​,QB​. The target language allows any nA,nB≥0n_A,n_B\ge0nA​,nB​≥0; the reduction uses nB=1n_B=1nB​=1.
  • Readings of the paper. "Binary NP-hard" is formalised as the reduction from KNAPSACK, without the NP-completeness of KNAPSACK and without membership in NP. The milestone Eq. (2) and the equivalence carry the added hypothesis ∑iwiui>0\sum_iw_iu_i>0∑i​wi​ui​>0; the inequalities "smaller than" in (1) are read as ≤\le≤. Eq. (1) is stated for every order of the jobs inside SSS and inside its complement. The §8 result is stated as the encoding-free equivalence of feasible solutions, not as a reduction between languages.
  • Ruled out. The goal cannot be met by a reduction that ignores the input: the equivalence must hold for every string, and the target language is exactly the codes of yes-instances of the two-agent recognition problem with B's objective the makespan. KNAPSACK here is the two-constraint problem of Problem 5.1, not subset sum.

Contributions welcome: proofs of the two directions, of the equivalence, the treatment of the degenerate instances, and the Turing machine for the reduction, which would also serve the other binary-coded reductions on the platform.

Selected references

  • A. Agnetis, P. B. Mirchandani, D. Pacciarelli, A. Pacifici, Scheduling Problems with Two Competing Agents, Operations Research 52(2) (2004) 229–242. https://doi.org/10.1287/opre.1030.0092
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979.
  • J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Complexity of Machine Scheduling Problems, Annals of Discrete Mathematics 1 (1977) 343–362. https://doi.org/10.1016/S0167-5060(08)70743-X
  • S. Cook, The P versus NP Problem, Clay Mathematics Institute Millennium Problem description. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1) (1968) 102–109. https://doi.org/10.1287/mnsc.15.1.102
11 thms2 active usersReviewed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

A Comment on "Computational Complexity of Stochastic Programming Problems" 2: The Expected Recourse Value of (10) Is 1 − Vol(P(S; ⪯)), and a 1/(2k!)-Accurate Value Counts Linear ExtensionsResearch Paper

Why expected recourse is a counting question

A two-stage stochastic program chooses a first action before uncertainty is observed and then takes a recourse action after the observation. Evaluating the expected optimal recourse value can be difficult even when the recourse problem for each fixed observation is a small linear program. This mission isolates the example in Section 3 of Hanasusanto, Kuhn and Wiesemann's preprint: the second-stage program has no first-stage decision at all, yet sufficiently accurate expected values determine how many ways a finite partial order can be arranged into a total order.

The counting connection has a specific history. Brightwell and Winkler (1991) established the complexity of counting linear extensions and related their number to an order-polytope volume. Hanasusanto, Kuhn and Wiesemann use that relation in their October 2015 preprint to establish Theorem 3's strong #P-hardness claim for approximate expected recourse with random recourse coefficients. The mission addresses the exact mathematical relation and the error threshold that support that claim. The complexity-class and encoding parts are outside its Lean statement.

Finite orders, volumes, and program (10)

Let PPP be a finite partially ordered set with k=∣P∣k=|P|k=∣P∣. A linear extension lists its elements in a total order that respects the partial order. The number of these lists is N(P)N(P)N(P). The unit cube is C=[0,1]PC=[0,1]^PC=[0,1]P. Its order polytope is

O(P)={ξ∈C:ξi≤ξj whenever i≤Pj}.O(P)=\{\xi\in C:\xi_i\le\xi_j\text{ whenever }i\le_P j\}.O(P)={ξ∈C:ξi​≤ξj​ whenever i≤P​j}.

Write V(P)V(P)V(P) for the Lebesgue volume of O(P)O(P)O(P). The paper writes S={1,…,k}S=\{1,\ldots,k\}S={1,…,k} and P(S;⪯)P(S;\preceq)P(S;⪯) for this polytope; changing the names of the elements does not change either the count or the volume.

For a realization ξ∈C\xi\in Cξ∈C, define qP(ξ)q_P(\xi)qP​(ξ) as the optimal objective value of the paper's random-recourse program (10). It maximizes a scalar zzz, subject to 0≤z≤10\le z\le10≤z≤1, nonnegative variables yijy_{ij}yij​, and

z≤∑i,j∈P: i≤Pj(ξi−ξj)yij.z\le\sum_{i,j\in P:\,i\le_P j}(\xi_i-\xi_j)y_{ij}.z≤i,j∈P:i≤P​j∑​(ξi​−ξj​)yij​.

The sum includes reflexive pairs, for which the summand is zero. The expected recourse value is Q(P)=∫CqP(ξ) dξQ(P)=\int_C q_P(\xi)\,d\xiQ(P)=∫C​qP​(ξ)dξ. Lebesgue measure of CCC is one, so this integral is the expectation under the uniform distribution on the cube. The program is feasible for every ξ\xiξ: y=0y=0y=0 and z=0z=0z=0 are allowed. Its objective is bounded by one because z≤1z\le1z≤1. These details give the value a genuine finite meaning at every realization.

Formalization targets

The first target is the exact value of the second stage for every ξ∈C\xi\in Cξ∈C:

qP(ξ)=1C∖O(P)(ξ).q_P(\xi)=\mathbf 1_{C\setminus O(P)}(\xi).qP​(ξ)=1C∖O(P)​(ξ).

Consequently, the expected recourse value satisfies the displayed identity in the proof of Theorem 3:

Q(P)=1−V(P).Q(P)=1-V(P).Q(P)=1−V(P).

The counting target quoted in the proof of Lemma 3 is

N(P)=k! V(P).N(P)=k!\,V(P).N(P)=k!V(P).

Lemma 3's rounding step concerns an approximation ϑ\varthetaϑ of V(P)V(P)V(P). If ∣ϑ−V(P)∣≤ε|\vartheta-V(P)|\le\varepsilon∣ϑ−V(P)∣≤ε and 0≤ε<1/(2k!)0\le\varepsilon<1/(2k!)0≤ε<1/(2k!), then ∣k!ϑ−N(P)∣<1/2|k!\vartheta-N(P)|<1/2∣k!ϑ−N(P)∣<1/2. The mission's main goal uses an approximation of Q(P)Q(P)Q(P), as in Theorem 3. Under the same strict error threshold,

∣ϑ−Q(P)∣≤ε⟹∣k!(1−ϑ)−N(P)∣<12.|\vartheta-Q(P)|\le\varepsilon \quad\Longrightarrow\quad \left|k!(1-\vartheta)-N(P)\right|<\frac12.∣ϑ−Q(P)∣≤ε⟹∣k!(1−ϑ)−N(P)∣<21​.

The target leaves no independent dimension parameter or unspecified oracle value: kkk is the cardinality of the very poset used in program (10), and ϑ\varthetaϑ must approximate that program's expected value. The strict half-unit bound makes N(P)N(P)N(P) the unique nearest integer to k!(1−ϑ)k!(1-\vartheta)k!(1−ϑ).

What the result provides

The theorem shows that an accurate numerical answer to the expected-recourse question contains an exact combinatorial count. This explains why a routine second-stage linear optimization problem can lead to a difficult expectation problem: the expectation records the volume of a polytope whose geometry encodes all linear extensions. The page's threshold specifies precisely how much accuracy is needed to recover the count; a coarser estimate does not support the same rounding conclusion. The original paper also explains why its instance yields strong #P-hardness: the coefficients needed for its random-recourse representation are only −1-1−1, 000, and 111 in the continuation of Theorem 3's proof.

Formalizing the reduction's mathematical claims produces reusable interfaces for order-polytopes, their volumes, and the expectation of this recourse program. It also poses the factorial volume identity as a theorem rather than treating it as a free assumption. The published Prove2Me definition FCP.Order.LinearExtensions already represents the same linear-extension object and is reused here. The five theorem statements in this proposal are open proof obligations; the existence of the published definition is not a claim that these results already have machine-checked proofs. Proofs of the pointwise value, the expectation identity, the volume identity, and the rounding consequences are welcome.

Where the difficulty lies

For a fixed realization, the program's yijy_{ij}yij​ variables have no upper bounds. That feature makes its value jump between zero and one according to whether the order inequalities hold. The pointwise characterization does not by itself settle the expectation: the set where the value changes must be represented measurably, and the integral is over the unit cube with its normalized mass. The factorial relation is a separate geometric statement about the order polytope. Simply counting its defining inequalities gives neither its volume nor the number of linear extensions. These are the substantive steps behind the short rounding calculation.

Formalization scope and conventions

Lean uses a finite type with a PartialOrder in place of the paper's labeled set S={1,…,k}S=\{1,\ldots,k\}S={1,…,k}. The published FCP.Order.LinearExtensions definition counts order-preserving bijections from this type to the positions 0,…,k−10,\ldots,k-10,…,k−1. It has exactly the paper's meaning of a compatible permutation. The cube and order polytope are sets of real-valued functions on that finite type. Volume is volume converted to a real number; expected recourse is the Lebesgue integral over the cube. The cube has mass one, including when PPP is empty, and the results include that edge case.

The reusable cube, order polytope, volume, and linear-extension count form a separate definition module. The paper's second-stage program imports that module and defines only its own feasible levels, optimal value, and expected recourse.

The second-stage program is encoded through its feasible objective levels and their real supremum. Since zero is feasible and every feasible level is at most one, the supremum cannot use Lean's default value for an empty or unbounded real set. Classical decidability selects the comparable pairs in the finite sum. Accuracy means an absolute-error inequality with a nonnegative ε\varepsilonε and a strict threshold ε<1/(2k!)\varepsilon<1/(2k!)ε<1/(2k!). These choices preserve both the page's feasibility and its rounding margin.

The main goal is the correctness of the reduction in Theorem 3. It does not formalize #P, strong #P-hardness, pseudo-polynomial running time, unary encodings, or bit lengths. A formulation that assumes Q(P)=1−V(P)Q(P)=1-V(P)Q(P)=1−V(P) or N(P)=k!V(P)N(P)=k!V(P)N(P)=k!V(P) in the goal would erase the result's content; those are separate milestone theorems. Reusable work includes the finite-order volume identity and measure-theoretic handling of the indicator on the cube. The preprint's Section 3 supplies every object and convention used here.

Selected references

  • G. A. Hanasusanto, D. Kuhn, and W. Wiesemann, A comment on “computational complexity of stochastic programming problems”, Optimization Online preprint 2015/03/4825, version of October 6, 2015, pp. 10–12. Preprint.
  • G. Brightwell and P. Winkler, Counting linear extensions, Order 8(3), 225–242, 1991. DOI.
8 thms2 active usersReviewed
Graph TheoryLinear algebraTheoretical Computer Science·Captain: mikedeng1

Most Tensor Problems Are NP-Hard 2: Graph 3-Colorability Reduces to Tensor Bilinear Feasibility over the Reals and over the Complex NumbersResearch Paper

Motivation

A matrix A∈Cn×nA \in \mathbb C^{n\times n}A∈Cn×n is singular exactly when the pair of linear systems x⊤A=0\mathbf x^\top A = 0x⊤A=0, Ay=0A\mathbf y = 0Ay=0 has a solution with both x\mathbf xx and y\mathbf yy nonzero, and this is decided in polynomial time by Gaussian elimination. The natural analogue for a 3-tensor replaces the two linear systems by three families of bilinear equations, one for each way of contracting the tensor against two vectors. For tensors whose dimensions satisfy the Gelfand–Kapranov–Zelevinsky condition, solvability of that system is equivalent to the vanishing of the hyperdeterminant, and for any tensor it is equivalent to 000 being a singular value in the sense of Lim (2005). The same system appears in multiview geometry (Cohen and Tomasi 1997).

C. J. Hillar and L.-H. Lim, Most Tensor Problems Are NP-Hard (J. ACM 60(6), 2013; arXiv:0911.1393), show that, unlike the matrix case, this feasibility question is NP-hard over R\mathbb RR and over C\mathbb CC (their Theorem 3.7). The proof is a reduction from graph 3-colorability through the polynomial color encoding of a graph, an idea the authors trace to Bayer's thesis (1982) and to Lovász (1994) and De Loera (1995). This mission formalizes that reduction and its consequence for tensor singular values (Theorem 6.2).

Setting

A 3-tensor over a field FFF is an array A=[ ⁣[aijk] ⁣]∈Fl×m×n\mathcal A = [\![a_{ijk}]\!] \in F^{l\times m\times n}A=[[aijk​]]∈Fl×m×n. Its slices are the matrices Ai(j,k)=Bj(i,k)=Ck(i,j)=aijkA_i(j,k) = B_j(i,k) = C_k(i,j) = a_{ijk}Ai​(j,k)=Bj​(i,k)=Ck​(i,j)=aijk​, all read off the same array.

Tensor bilinear feasibility (Problem 3.1) asks, for a rational tensor A∈Ql×m×n\mathcal A \in \mathbb Q^{l\times m\times n}A∈Ql×m×n and F=RF = \mathbb RF=R or C\mathbb CC, whether the system (9)

v⊤Aiw=0 (i≤l),u⊤Bjw=0 (j≤m),u⊤Ckv=0 (k≤n)\mathbf v^\top A_i\mathbf w = 0\ (i \le l),\qquad \mathbf u^\top B_j \mathbf w = 0\ (j \le m),\qquad \mathbf u^\top C_k \mathbf v = 0\ (k \le n)v⊤Ai​w=0 (i≤l),u⊤Bj​w=0 (j≤m),u⊤Ck​v=0 (k≤n)

has a solution u∈Fl\mathbf u \in F^lu∈Fl, v∈Fm\mathbf v\in F^mv∈Fm, w∈Fn\mathbf w \in F^nw∈Fn with each of the three vectors nonzero. In Lean this is TBF A.

The color encoding CGC_GCG​ of a graph G=(V,E)G = (V,E)G=(V,E) on vvv vertices (Definition 2.9) is the set of 4v4v4v quadratics in x1,…,xv,y1,…,yv,zx_1,\dots,x_v,y_1,\dots,y_v,zx1​,…,xv​,y1​,…,yv​,z:

xiyi−z2,yiz−xi2,xiz−yi2,∑j:{i,j}∈E(xi2+xixj+xj2),i=1,…,v.x_iy_i - z^2,\quad y_iz - x_i^2,\quad x_iz - y_i^2,\quad \sum_{j:\{i,j\}\in E}(x_i^2 + x_ix_j + x_j^2),\qquad i = 1,\dots,v .xi​yi​−z2,yi​z−xi2​,xi​z−yi2​,j:{i,j}∈E∑​(xi2​+xi​xj​+xj2​),i=1,…,v.

The tensor AG∈Zl×m×n\mathcal A_G \in \mathbb Z^{l\times m\times n}AG​∈Zl×m×n of the proof of Theorem 3.7 has m=n=2v+1m = n = 2v+1m=n=2v+1 and l=v(2v+5)l = v(2v+5)l=v(2v+5) slices: v(2v+1)v(2v+1)v(2v+1) slices whose bilinear forms are the 2×22\times 22×2 minors of the matrix [v w][\mathbf v\ \mathbf w][v w], then 3v+v3v + v3v+v slices whose bilinear forms restrict, on w=v\mathbf w = \mathbf vw=v, to the polynomials of CGC_GCG​ (Lean: AG G).

The tensor B\mathcal BB of Lemma 3.6 doubles a real tensor A\mathcal AA into R2l×2m×2n\mathbb R^{2l\times 2m\times 2n}R2l×2m×2n through the slices Bi=[Ai00−Ai]B_i = \left[\begin{smallmatrix} A_i & 0 \\ 0 & -A_i\end{smallmatrix}\right]Bi​=[Ai​0​0−Ai​​], Bl+i=[0AiAi0]B_{l+i} = \left[\begin{smallmatrix} 0 & A_i \\ A_i & 0\end{smallmatrix}\right]Bl+i​=[0Ai​​Ai​0​] (Lean: doubling A).

An ℓ2\ell^2ℓ2-singular value σ\sigmaσ of A\mathcal AA (Definition 6.1) admits nonzero u,v,w\mathbf u,\mathbf v,\mathbf wu,v,w with ∑j,kaijkvjwk=σui\sum_{j,k}a_{ijk}v_jw_k = \sigma u_i∑j,k​aijk​vj​wk​=σui​ and the two analogous equations; an ℓ3\ell^3ℓ3-singular value has σui2\sigma u_i^2σui2​, σvj2\sigma v_j^2σvj2​, σwk2\sigma w_k^2σwk2​ on the right. At σ=0\sigma = 0σ=0 both reduce to (9).

Formalization targets

Goal: Theorem 3.7

3-COLORABILITY≤pTBFRand3-COLORABILITY≤pTBFC,\textsf{3-COLORABILITY} \le_p \textsf{TBF}_{\mathbb R} \quad\text{and}\quad \textsf{3-COLORABILITY} \le_p \textsf{TBF}_{\mathbb C},3-COLORABILITY≤p​TBFR​and3-COLORABILITY≤p​TBFC​,

polynomial-time many-one reductions between languages of binary codes. NP-hardness of tensor bilinear feasibility then follows from the NP-completeness of 3-colorability (Karp 1972), which is cited and not part of the statement.

Milestones, in the order the proof uses them

  1. Lemma 2.10. CGC_GCG​ has a nonzero complex zero iff GGG is 3-colorable.
  2. The minors (proof of Theorem 3.7). For nonzero v,w∈CN\mathbf v, \mathbf w \in \mathbb C^Nv,w∈CN, all 2×22\times22×2 minors of [v w][\mathbf v\ \mathbf w][v w] vanish iff v=cw\mathbf v = c\mathbf wv=cw for some c∈Cc \in \mathbb Cc∈C.
  3. Correctness over C\mathbb CC (proof of Theorem 3.7). For v≥1v \ge 1v≥1, TBFC(AG)  ⟺  G\mathrm{TBF}_{\mathbb C}(\mathcal A_G) \iff GTBFC​(AG​)⟺G is 3-colorable.
  4. Lemma 3.6. TBFR(B)  ⟺  TBFC(A)\mathrm{TBF}_{\mathbb R}(\mathcal B) \iff \mathrm{TBF}_{\mathbb C}(\mathcal A)TBFR​(B)⟺TBFC​(A) for real A\mathcal AA.
  5. Theorem 6.2 (further result). 3-colorability reduces to deciding whether 000 is an ℓ2\ell^2ℓ2-singular value, and whether it is an ℓ3\ell^3ℓ3-singular value, over R\mathbb RR and over C\mathbb CC.

Significance

Theorem 3.7 is the hub of the paper's bilinear results: Section 6 derives from it the NP-hardness of deciding whether 000 is a tensor singular value (Theorem 6.2), and the triple bilinear problem (Theorem 3.8) is handled by the same techniques. It separates tensors from matrices in a precise sense: the matrix analogue of (9) is decided by a determinant, while the tensor version encodes a classical NP-complete problem. It does not settle the hardness of the hyperdeterminant, since the dimensions l=v(2v+5)l = v(2v+5)l=v(2v+5), m=n=2v+1m = n = 2v+1m=n=2v+1 of AG\mathcal A_GAG​ violate the GKZ condition; the paper leaves that as a conjecture.

The result is proved in the paper; none of it is formalized on Prove2Me or, to our knowledge, elsewhere. A complete development produces a machine-checked polynomial-time reduction in Cook's Turing-machine model between two concrete algebraic problems, the color-encoding lemma for 3-colorability (reusable by any reduction that goes through polynomial systems, including Theorems 1.3 and 2.6 of the same paper), and the realification of bilinear systems.

Difficulty

The algebra of the reduction is short; two places need care. First, the bilinear system does not see CGC_GCG​ directly: (9) involves two independent vectors v,w\mathbf v, \mathbf wv,w, and the reduction recovers the quadratic system only because the minors force v=cw\mathbf v = c\mathbf wv=cw, which requires both vectors to be nonzero. Second, the converse direction must produce a nonzero u\mathbf uu satisfying the second and third families, a homogeneous linear system of 4v+24v+24v+2 equations in l=v(2v+5)l = v(2v+5)l=v(2v+5) unknowns; this works only when l>4v+2l > 4v+2l>4v+2, which fails for the empty graph, so the reduction has to treat v=0v = 0v=0 separately.

The goal also asks for polynomial-time computability in a Turing-machine model: decoding a graph code, rejecting malformed words, and writing the binary code of AG\mathcal A_GAG​ (or of its doubling over R\mathbb RR). This bookkeeping, not the algebra, is the bulk of a complete proof.

Formalization scope

  • Tensors are functions I → J → K → F over finite index types, 0-based: the paper's aijka_{ijk}aijk​ is A (i-1) (j-1) (k-1). Problem 3.1 requires u\mathbf uu, v\mathbf vv, w\mathbf ww each nonzero, not merely (u,v,w)≠0(\mathbf u, \mathbf v, \mathbf w) \neq 0(u,v,w)=0, and the three equation families come from one tensor.
  • The doubled tensor of Lemma 3.6 is indexed by I ⊕ I, J ⊕ J, K ⊕ K, with Sum.inr i standing for the paper's index l+il+il+i. Lemma 3.6 is stated for this explicit B\mathcal BB; a bare existential would be witnessed by any tensor with the right truth value. Only the equivalence of existence is stated, not the paper's "one-to-one" correspondence (which pairs u′=(p,q)\mathbf u' = (\mathbf p,\mathbf q)u′=(p,q) with the conjugate-type vector p−iq\mathbf p - i\mathbf qp−iq).
  • The paper does not print the matrices of the last 4v4v4v slices of AG\mathcal A_GAG​. The mission fixes the bilinearizations xiy^i−zz^x_i\hat y_i - z\hat zxi​y^​i​−zz^, yiz^−xix^iy_i\hat z - x_i\hat x_iyi​z^−xi​x^i​, xiz^−yiy^ix_i\hat z - y_i\hat y_ixi​z^−yi​y^​i​ and ∑j∼i(xix^i+xix^j+xjx^j)\sum_{j\sim i}(x_i\hat x_i + x_i\hat x_j + x_j\hat x_j)∑j∼i​(xi​x^i​+xi​x^j​+xj​x^j​); each restricts to the printed polynomial on w=v\mathbf w = \mathbf vw=v.
  • "Nontrivial zero" in the minors claim is read as both v\mathbf vv and w\mathbf ww nonzero; the correctness milestone over C\mathbb CC assumes v≥1v \geq 1v≥1, since for v=0v = 0v=0 the printed tensor has no slices and its system (9) is infeasible.
  • "Polynomially reducible" is formalized as Cook–Karp many-one reducibility (CookPvsNP.PolyReducible), which the paper's proof constructs and which implies the paper's oracle notion of §1.4. "NP-hard" in Theorem 6.2 is rendered the same way, and "(ℓ2\ell^2ℓ2 or ℓ3\ell^3ℓ3)" as the claim for each notion. Rational inputs are coded as numerator and denominator in binary; tensors as l,m,nl, m, nl,m,n and then their entries in lexicographic order.
  • The singular-value equations (20)–(21) are taken literally over C\mathbb CC, without conjugates and without normalization; only σ=0\sigma = 0σ=0 is used, where they are scale-free.
  • NP-completeness of 3-colorability is cited, not formalized; no statement mentions P, NP-membership, or hyperdeterminants.
  • A trivializing formalization is ruled out: the goal is the polynomial-time reduction, not the bare equivalence of yes-instances, and the reduction must handle every input word.

The mission reuses the published definitions CookPvsNP_defs (Turing machines, polynomial-time computability, many-one reducibility) and ProjSchedTW.Complexity.Encoding (the binary alphabet and number codes), and Mathlib's SimpleGraph.Colorable. Contributions welcome: the algebraic milestones (Lemma 2.10, the minors, Lemma 3.6) are independent and self-contained; a library of polynomial-time computable list and arithmetic operations on BSym codes would serve both this goal and Theorem 6.2.

Selected references

  • C. J. Hillar, L.-H. Lim, Most Tensor Problems Are NP-Hard, J. ACM 60(6), Art. 45, 2013. https://doi.org/10.1145/2512329 (arXiv:0911.1393v5, https://arxiv.org/abs/0911.1393)
  • R. M. Karp, Reducibility among combinatorial problems, in Complexity of Computer Computations, Plenum, 1972. https://doi.org/10.1007/978-1-4684-2001-2_9
  • L.-H. Lim, Singular values and eigenvalues of tensors: a variational approach, Proc. IEEE CAMSAP, 2005. https://arxiv.org/abs/math/0607648
  • I. M. Gelfand, M. M. Kapranov, A. V. Zelevinsky, Discriminants, Resultants, and Multidimensional Determinants, Birkhäuser, 1994. https://doi.org/10.1007/978-0-8176-4771-1
  • S. A. Cook, The P versus NP problem, Clay Mathematics Institute problem description, 2000. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
14 thms2 active usersReviewed
🏆Completed
AlgebraLinear algebraTheoretical Computer Science·Captain: mikedeng1

Most Tensor Problems Are NP-Hard 4: A Rational 2×2×2 Tensor Has Smaller Rank over the Reals Than over the RationalsResearch Paper

Motivation

The rank of a matrix does not depend on the field in which its entries are read: a rational matrix has the same rank over Q\mathbb QQ, R\mathbb RR and C\mathbb CC, because rank is computed by Gaussian elimination, which never leaves the field of the entries. For 3-tensors, arrays A=[ ⁣[aijk] ⁣]\mathcal A = [\![a_{ijk}]\!]A=[[aijk​]] with three indices, this fails. Tensor rank governs the complexity of bilinear maps (the exponent of matrix multiplication is a statement about the rank of one tensor), the uniqueness of the CANDECOMP/PARAFAC decompositions used in psychometrics and signal processing, and the identifiability of latent-variable models. In each application the field matters: algorithms are run over R\mathbb RR or C\mathbb CC, while complexity results are often proved over Q\mathbb QQ or finite fields.

Håstad (1990) proved that deciding rank⁡(A)≤r\operatorname{rank}(\mathcal A) \le rrank(A)≤r is NP-complete over finite fields and NP-hard over Q\mathbb QQ. De Silva and Lim (2008) gave real tensors whose rank over C\mathbb CC is strictly smaller than their rank over R\mathbb RR. Hillar and Lim (2013, Theorem 1.14) showed that the same phenomenon already occurs between Q\mathbb QQ and R\mathbb RR, for a 2×2×22\times2\times22×2×2 tensor with integer entries, so that Håstad's result over Q\mathbb QQ does not by itself say anything about rank over R\mathbb RR.

Setting

Let EEE be a field. The outer product of x∈El\mathbf x \in E^lx∈El, y∈Em\mathbf y \in E^my∈Em, z∈En\mathbf z \in E^nz∈En is the tensor x⊗y⊗z∈El×m×n\mathbf x\otimes\mathbf y\otimes\mathbf z \in E^{l\times m\times n}x⊗y⊗z∈El×m×n with entries xiyjzkx_iy_jz_kxi​yj​zk​. The rank of A\mathcal AA over EEE is

rank⁡E(A)=min⁡{r:A=∑s=1rλs xs⊗ys⊗zs,  λs∈E, xs∈El, ys∈Em, zs∈En}.\operatorname{rank}_E(\mathcal A) = \min\Big\{ r : \mathcal A = \sum_{s=1}^{r} \lambda_s\,\mathbf x_s\otimes\mathbf y_s\otimes\mathbf z_s,\ \ \lambda_s\in E,\ \mathbf x_s\in E^l,\ \mathbf y_s\in E^m,\ \mathbf z_s\in E^n\Big\}.rankE​(A)=min{r:A=s=1∑r​λs​xs​⊗ys​⊗zs​,  λs​∈E, xs​∈El, ys​∈Em, zs​∈En}.

If A\mathcal AA has entries in a subfield F⊆EF \subseteq EF⊆E, both rank⁡F(A)\operatorname{rank}_F(\mathcal A)rankF​(A) and rank⁡E(A)\operatorname{rank}_E(\mathcal A)rankE​(A) are defined, and rank⁡E(A)≤rank⁡F(A)\operatorname{rank}_E(\mathcal A) \le \operatorname{rank}_F(\mathcal A)rankE​(A)≤rankF​(A).

The paper's example uses x=[1,0]⊤\mathbf x = [1,0]^\topx=[1,0]⊤, y=[0,1]⊤\mathbf y = [0,1]^\topy=[0,1]⊤ and

A=2 x⊗x⊗x−4 y⊗y⊗x+4 y⊗x⊗y−4 x⊗y⊗y∈Q2×2×2.\mathcal A = 2\,\mathbf x\otimes\mathbf x\otimes\mathbf x - 4\,\mathbf y\otimes\mathbf y\otimes\mathbf x + 4\,\mathbf y\otimes\mathbf x\otimes\mathbf y - 4\,\mathbf x\otimes\mathbf y\otimes\mathbf y \in \mathbb Q^{2\times2\times2}.A=2x⊗x⊗x−4y⊗y⊗x+4y⊗x⊗y−4x⊗y⊗y∈Q2×2×2.

A decomposition A=u1⊗u2⊗u3+v1⊗v2⊗v3\mathcal A = \mathbf u_1\otimes\mathbf u_2\otimes\mathbf u_3 + \mathbf v_1\otimes\mathbf v_2\otimes\mathbf v_3A=u1​⊗u2​⊗u3​+v1​⊗v2​⊗v3​ with ui=[ai,bi]⊤\mathbf u_i = [a_i,b_i]^\topui​=[ai​,bi​]⊤, vi=[ci,di]⊤\mathbf v_i = [c_i,d_i]^\topvi​=[ci​,di​]⊤ is equivalent to the eight cubic equations (30) in the twelve unknowns a1,…,d3a_1,\dots,d_3a1​,…,d3​, one for each entry of A\mathcal AA.

In Lean, outer x y z and rankOver E A implement the two definitions, tensorA is A\mathcal AA, and System30 is (30).

Formalization targets

Goal: Theorem 1.14

∃ A∈Q2×2×2:rank⁡R(A)<rank⁡Q(A).\exists\, \mathcal A \in \mathbb Q^{2\times2\times2}:\quad \operatorname{rank}_{\mathbb R}(\mathcal A) < \operatorname{rank}_{\mathbb Q}(\mathcal A).∃A∈Q2×2×2:rankR​(A)<rankQ​(A).

Milestones (proof of Theorem 1.14, p. 0:26)

  1. With z=x+2 y\mathbf z = \mathbf x + \sqrt2\,\mathbf yz=x+2​y and zˉ=x−2 y\bar{\mathbf z} = \mathbf x - \sqrt2\,\mathbf yzˉ=x−2​y:
zˉ⊗z⊗zˉ+z⊗zˉ⊗z=A,so rank⁡R(A)≤2.\bar{\mathbf z}\otimes\mathbf z\otimes\bar{\mathbf z} + \mathbf z\otimes\bar{\mathbf z}\otimes\mathbf z = \mathcal A,\qquad\text{so } \operatorname{rank}_{\mathbb R}(\mathcal A)\le 2.zˉ⊗z⊗zˉ+z⊗zˉ⊗z=A,so rankR​(A)≤2.
  1. A tensor of rank at most 2 over a field is a sum of two outer products, and for A\mathcal AA the identity (29) A=u1⊗u2⊗u3+v1⊗v2⊗v3\mathcal A = \mathbf u_1\otimes\mathbf u_2\otimes\mathbf u_3 + \mathbf v_1\otimes\mathbf v_2\otimes\mathbf v_3A=u1​⊗u2​⊗u3​+v1​⊗v2​⊗v3​ holds exactly when the coordinates of ui,vi\mathbf u_i, \mathbf v_iui​,vi​ satisfy (30).
  2. Every solution of (30) in a field of characteristic zero satisfies 2c22−d22=02c_2^2 - d_2^2 = 02c22​−d22​=0 and c1d2d3+2=0c_1d_2d_3 + 2 = 0c1​d2​d3​+2=0.
  3. Lemma 8.1: (30) has no rational solution.
  4. rank⁡Q(A)>2\operatorname{rank}_{\mathbb Q}(\mathcal A) > 2rankQ​(A)>2.

Significance

The theorem shows that tensor rank, unlike matrix rank, is not invariant under field extension even between Q\mathbb QQ and R\mathbb RR, and even for the smallest nontrivial format 2×2×22\times2\times22×2×2. Its consequence for complexity is that a hardness result for rank over Q\mathbb QQ cannot be transferred to R\mathbb RR by reading the same instance in a larger field; the paper accordingly re-examines Håstad's construction to obtain hardness over R\mathbb RR and C\mathbb CC (Theorem 8.2), which is outside this mission.

The result is proved in the paper, with the decisive algebraic step delegated to a computer-algebra computation (Appendix). A machine-checked proof replaces that computation by a certificate verified in Lean, and it settles a printed error: one of the two consequences of (30) in the proof of Lemma 8.1 is printed with the wrong sign (see Formalization scope). No formalization of array tensor rank over a field, or of its field dependence, is known to exist in Mathlib or on this platform.

Difficulty

The upper bound is an identity among explicit 2×2×22\times2\times22×2×2 arrays. The lower bound is the substance: one must show that the cubic system (30), which has real solutions, has no rational one. Since (30) is solvable over R\mathbb RR, no argument by signs, inequalities or real geometry can work; the obstruction is arithmetic, coming from the irrationality of 2\sqrt22​. The step that fails in a naive attempt is the elimination: eliminating ten of the twelve unknowns from eight cubic equations by hand is impractical. A second, smaller difficulty is the reduction from "rank⁡Q(A)≤2\operatorname{rank}_{\mathbb Q}(\mathcal A) \le 2rankQ​(A)≤2" to two terms of the special form (29), which requires absorbing the scalars and padding a decomposition with fewer than two terms.

Formalization scope

  • Tensors are functions Fin l → Fin m → Fin n → E, with 0-based indices: the paper's aijka_{ijk}aijk​ is A (i-1) (j-1) (k-1). Vectors are Fin n → E.
  • rankOver E A is the sInf over N\mathbb NN of the lengths rrr of decompositions ∑sλs xs⊗ys⊗zs\sum_s \lambda_s\, \mathbf x_s\otimes\mathbf y_s\otimes\mathbf z_s∑s​λs​xs​⊗ys​⊗zs​. The set is nonempty (one term per entry), so this is the paper's minimum. Zero summands are allowed; this gives the same minimum as the paper's sum of nonzero rank-1 tensors.
  • rank⁡R\operatorname{rank}_{\mathbb R}rankR​ of a rational tensor is rankOver ℝ of its entrywise cast to R\mathbb RR; rank⁡Q\operatorname{rank}_{\mathbb Q}rankQ​ is rankOver ℚ, whose witnesses are rational. A formalization in which both ranks range over real witnesses would make the theorem false.
  • The goal is the printed existential. It is not a loophole: the milestones concern the paper's explicit tensor.
  • Readings of loose phrases: "Suppose not and that there exist ui,vi\mathbf u_i, \mathbf v_iui​,vi​ with (29). Identity (29) gives eight equations found in (30)" is split into a general statement (rank at most 2 over any field means a sum of two outer products) and the equivalence of (29) with (30) over every field of characteristic zero (milestone 2); both are stated in a generality in which their hypotheses can hold, because for A\mathcal AA over Q\mathbb QQ they cannot. "Polynomial consequences of (30)" is read as "holds at every solution of (30) in every field of characteristic zero" (milestone 3); over Q\mathbb QQ alone the statement would be vacuous, since (30) has no rational solution.
  • Corrected error. The paper prints the second consequence as c1d2d3−2=0c_1d_2d_3 - 2 = 0c1​d2​d3​−2=0. It is false: the real solution from milestone 1 has c1d2d3=−2c_1d_2d_3 = -2c1​d2​d3​=−2. The milestone states c1d2d3+2=0c_1d_2d_3 + 2 = 0c1​d2​d3​+2=0 (checked by a Gröbner basis computation over Q\mathbb QQ), which serves the paper's argument equally. The Appendix certificates GkG_kGk​, HkH_kHk​ (p. 0:34) are not used in any statement.
  • Out of scope: Theorem 1.15/8.2 (Håstad's construction over R\mathbb RR and C\mathbb CC) and the conjectures of §13.

Needed infrastructure: finite sums of arrays, Real.sqrt and irrational_sqrt_two, and an ideal-membership certificate for milestone 3. The array rank rankOver is reusable for any statement about tensor rank over a field. The platform's mme_tensor_rank (restriction-based rank of a TensorObj over a single field, from the matrix-multiplication exponent series) is a different object and is not reused. Proofs of any milestone, and alternative certificates for Lemma 8.1, are welcome.

Selected references

  • C. J. Hillar and L.-H. Lim, Most tensor problems are NP-hard, J. ACM 60(6), Art. 45, 2013. https://doi.org/10.1145/2512329 (arXiv: https://arxiv.org/abs/0911.1393)
  • J. Håstad, Tensor rank is NP-complete, J. Algorithms 11(4), 644–654, 1990. https://doi.org/10.1016/0196-6774(90)90014-6
  • V. de Silva and L.-H. Lim, Tensor rank and the ill-posedness of the best low-rank approximation problem, SIAM J. Matrix Anal. Appl. 30(3), 1084–1127, 2008. https://doi.org/10.1137/06066518X
  • F. L. Hitchcock, The expression of a tensor or a polyadic as a sum of products, J. Math. Phys. 6, 164–189, 1927. https://doi.org/10.1002/sapm192761164
8 thms2 active usersReviewed
Graph TheoryLinear algebraTheoretical Computer Science·Captain: mikedeng1

Most Tensor Problems Are NP-Hard 1: Graph 3-Colorability Reduces to Deciding Whether 0 Is an Eigenvalue of a Rational 3-Tensor over the RealsResearch Paper

Motivation

Eigenvalues of matrices are computable in polynomial time to any accuracy, and numerical linear algebra rests on that fact. Higher-order tensors appear in statistics (moment and cumulant tensors), signal processing, quantum information and polynomial optimization, and several notions of tensor eigenvalue were proposed for them, independently by Lim and by Qi in 2005 (Lim 2005; Qi 2005). Hillar and Lim (J. ACM 60(6), 2013, Art. 45; arXiv:0911.1393) showed that most of the natural tensor analogues of tractable matrix problems are NP-hard. Their first example, Theorem 1.3, concerns the simplest one: deciding whether a given number is an eigenvalue of a 3-tensor.

This mission formalizes that theorem together with the lemmas its proof uses. The reduction starts from graph 3-colorability, and its intermediate step, quadratic feasibility (Theorem 2.6), is reused throughout the paper: the bilinear, singular value and triple-bilinear results all go through the same color encoding.

Setting

A 3-tensor over a field FFF is an array A=[ ⁣[aijk] ⁣]∈Fn×n×n\mathcal A=[\![a_{ijk}]\!]\in F^{n\times n\times n}A=[[aijk​]]∈Fn×n×n. A scalar λ∈F\lambda\in Fλ∈F is an eigenvalue of A\mathcal AA (eq. (3) of the paper) if there is a nonzero x∈Fn\mathbf x\in F^nx∈Fn with

∑i,j=1naijk xixj=λxk,k=1,…,n.\sum_{i,j=1}^{n}a_{ijk}\,x_ix_j=\lambda x_k,\qquad k=1,\dots,n.i,j=1∑n​aijk​xi​xj​=λxk​,k=1,…,n.

The sum is over the first two indices. For λ=0\lambda=0λ=0 the condition is invariant under scaling of x\mathbf xx, so no normalization enters.

Problem 1.2 (tensor λ\lambdaλ-eigenvalue) fixes F∈{R,C}F\in\{\mathbb R,\mathbb C\}F∈{R,C} and λ∈Q\lambda\in\mathbb Qλ∈Q, and asks, for a rational tensor A∈Qn×n×n\mathcal A\in\mathbb Q^{n\times n\times n}A∈Qn×n×n, whether λ\lambdaλ is an eigenvalue of A\mathcal AA with an eigenvector in FnF^nFn.

Problem 2.2 (quadratic feasibility) asks, for rational matrices A1,…,Am∈Qn×nA_1,\dots,A_m\in\mathbb Q^{n\times n}A1​,…,Am​∈Qn×n, whether the system x⊤Aix=0\mathbf x^\top A_i\mathbf x=0x⊤Ai​x=0 (i=1,…,mi=1,\dots,mi=1,…,m) has a nonzero solution x∈Fn\mathbf x\in F^nx∈Fn.

A proper 3-coloring of a simple graph G=(V,E)G=(V,E)G=(V,E) assigns one of three colors to each vertex so that adjacent vertices receive different colors.

The color encoding CGC_GCG​ of a graph on vertices 1,…,v1,\dots,v1,…,v (Definition 2.9) is the family of 4v4v4v quadratics in x1,…,xv,y1,…,yv,zx_1,\dots,x_v,y_1,\dots,y_v,zx1​,…,xv​,y1​,…,yv​,z:

xiyi−z2,yiz−xi2,xiz−yi2,∑j:{i,j}∈E(xi2+xixj+xj2),i=1,…,v.x_iy_i-z^2,\quad y_iz-x_i^2,\quad x_iz-y_i^2,\quad \sum_{j:\{i,j\}\in E}(x_i^2+x_ix_j+x_j^2),\qquad i=1,\dots,v.xi​yi​−z2,yi​z−xi2​,xi​z−yi2​,j:{i,j}∈E∑​(xi2​+xi​xj​+xj2​),i=1,…,v.

Lemma 2.7 replaces a complex quadratic system by a real one of twice the size, and Lemma 2.8 pads a real system to a square one. Applied to CGC_GCG​, they give NNN real quadratics x⊤Bkx\mathbf x^\top B_k\mathbf xx⊤Bk​x in NNN unknowns. The tensor TGT_GTG​ with aijk=(Bk)ija_{ijk}=(B_k)_{ij}aijk​=(Bk​)ij​ is the output of the reduction.

Formalization targets

Goal: Theorem 1.3

3-COL ≤p TENSOR-0-EIGR.\textsf{3-COL}\ \le_p\ \textsf{TENSOR-0-EIG}_{\mathbb R}.3-COL ≤p​ TENSOR-0-EIGR​.

Graph 3-colorability is polynomial-time many-one reducible to the language of binary codes of rational tensors having 000 as a real eigenvalue.

Milestones, in the order the proof uses them

  1. Lemma 2.10. CGC_GCG​ has a nonzero complex solution if and only if GGG is 3-colorable.
  2. Lemma 2.7. The 2m2m2m real equations with matrices [Ai00−Ai]\begin{bmatrix}A_i&0\\0&-A_i\end{bmatrix}[Ai​0​0−Ai​​] and [0AiAi0]\begin{bmatrix}0&A_i\\A_i&0\end{bmatrix}[0Ai​​Ai​0​] have a nonzero real solution iff {z⊤Aiz=0}\{\mathbf z^\top A_i\mathbf z=0\}{z⊤Ai​z=0} has a nonzero complex solution.
  3. Lemma 2.8. Padding to r≥m+1r\ge m+1r≥m+1 equations in s≥ns\ge ns≥n unknowns preserves real feasibility.
  4. Theorem 2.6. 3-COL≤p\textsf{3-COL}\le_p3-COL≤p​ quadratic feasibility over R\mathbb RR and over C\mathbb CC.
  5. Proof of Theorem 1.3, first step. 000 is a real eigenvalue of A\mathcal AA iff the square system x⊤Akx=0\mathbf x^\top A_k\mathbf x=0x⊤Ak​x=0, Ak(i,j)=aijkA_k(i,j)=a_{ijk}Ak​(i,j)=aijk​, has a nonzero real solution.
  6. Proof of Theorem 1.3, the construction. GGG is 3-colorable iff 000 is a real eigenvalue of TGT_GTG​.

Significance

The result. Theorem 1.3 shows that deciding whether 000 is an eigenvalue of a rational 3-tensor over R\mathbb RR is NP-hard, in contrast to the matrix case. Because the instance is a single rational tensor with small integer entries, the hardness does not come from numerical precision: it is a property of the exact problem. The same encoding underlies the paper's hardness of approximating an eigenvector (Theorem 1.5) and its remarks on counting eigenvectors (Corollary 1.16).

Formalizing it. The result is proved in the paper, but no part of it is machine-checked. The mission adds three things. It gives a precise language-level statement of what "polynomially reducible" means for this problem. It gives a checked equivalence between 3-colorability and the eigenvalue condition for the explicit tensor TGT_GTG​. And it gives reusable statements about homogeneous quadratic systems (realification and padding), which the bilinear and singular value missions of this series also need.

Difficulty

The algebraic core is Lemma 2.10, and its reverse direction is where a first attempt fails. The fourth family of CGC_GCG​ does not say that each term xi2+xixj+xj2x_i^2+x_ix_j+x_j^2xi2​+xi​xj​+xj2​ vanishes; it says only that their sum over the neighbours of iii vanishes, over C\mathbb CC, where nonzero terms can cancel. A common zero yields a coloring only after the first three families have pinned down each coordinate, and the case z=0z=0z=0 must be excluded separately.

Lemma 2.7 needs care because the matrices AiA_iAi​ are not assumed symmetric: the imaginary part of z⊤Az\mathbf z^\top A\mathbf zz⊤Az is u⊤Av+v⊤Au\mathbf u^\top A\mathbf v+\mathbf v^\top A\mathbf uu⊤Av+v⊤Au, not 2u⊤Av2\mathbf u^\top A\mathbf v2u⊤Av. Lemma 2.8 uses that R\mathbb RR is formally real; it fails over C\mathbb CC.

At the language level, the reduction must be exhibited as a Turing machine computation on binary codes in polynomial time. That is bookkeeping, but it is the part the paper does not write down.

Formalization scope

  • Tensors and vectors. Tensors are arrays Fin n → Fin n → Fin n → F, vectors Fin n → F, and indices are 0-based. The eigenvalue condition is eq. (3) verbatim, without normalization; for λ=0\lambda=0λ=0 none is needed. Rational data are cast into R\mathbb RR or C\mathbb CC.
  • Quadratic polynomials. A homogeneous quadratic is a (not necessarily symmetric) rational matrix MMM, read as x⊤Mx\mathbf x^\top M\mathbf xx⊤Mx, and the monomial xaxbx_ax_bxa​xb​ is the matrix unit EabE_{ab}Eab​. A vertex without neighbours contributes the zero polynomial to CGC_GCG​.
  • Choices in the construction. The square size is N=8v+2N=8v+2N=8v+2. It meets Lemma 2.8's bounds r≥8v+1r\ge 8v+1r≥8v+1 and s≥4v+2s\ge 4v+2s≥4v+2 for every v≥0v\ge 0v≥0; Example 1.4's count differs and is not used.
  • Reducibility. "Polynomially reducible" is Cook's polynomial-time many-one reducibility (CookPvsNP.PolyReducible, published definition CookPvsNP_defs). The paper's reduction maps one graph to one tensor, and a many-one reduction implies the oracle notion of its §1.4.
  • Binary codes. Instances are coded over the alphabet BSym with the binary codes of the published definition ProjSchedTW.Complexity.Encoding. A graph is ν\nuν followed by its adjacency matrix. A rational is its numerator then its denominator. A tensor is nnn followed by its entries in lexicographic order. The target language contains all rational tensors, not only integral ones.
  • Not formalized. NP-completeness of 3-colorability (Karp 1972) is cited, not formalized, and the goal states only the reduction. Approximation (Theorem 1.5), counting (Corollary 1.16) and the solution count of Example 1.4 are out of scope.
  • Trivializations ruled out. Every feasibility statement requires a nonzero solution, since the zero vector solves every homogeneous system. The goal includes polynomial-time computability of the reduction, not just the existence of an equivalence-preserving map, which would be trivial. The milestones concern the paper's explicit CGC_GCG​ and TGT_GTG​, not an arbitrary tensor.

Contributions are welcome in four places:

  • proofs of the milestones;
  • a polynomial-time Turing machine computing G↦TGG\mapsto T_GG↦TG​ on codes;
  • general lemmas on homogeneous quadratic systems over formally real fields;
  • a composition (transitivity) lemma for CookPvsNP.PolyReducible.

Selected references

  • C. J. Hillar and L.-H. Lim, Most Tensor Problems Are NP-Hard, Journal of the ACM 60(6), Article 45, 2013. https://doi.org/10.1145/2512329 (arXiv:0911.1393v5, https://arxiv.org/abs/0911.1393)
  • L.-H. Lim, Singular values and eigenvalues of tensors: a variational approach, Proc. IEEE CAMSAP 2005, pp. 129–132. https://doi.org/10.1109/CAMAP.2005.1574201
  • L. Qi, Eigenvalues of a real supersymmetric tensor, Journal of Symbolic Computation 40(6), 2005, pp. 1302–1324. https://doi.org/10.1016/j.jsc.2005.05.007
  • R. M. Karp, Reducibility among combinatorial problems, in Complexity of Computer Computations, Plenum, 1972, pp. 85–103. https://doi.org/10.1007/978-1-4684-2001-2_9
  • S. Cook, The P versus NP problem, Clay Mathematics Institute Millennium Problem description, 2000. https://www.claymath.org/millennium/p-vs-np/
11 thms2 active usersReviewed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs? 1: Assuming the Unique Games Conjecture, (1/2 − ρ/2)- versus ((arccos ρ)/π + ε)-Satisfiable MAX-CUT Is NP-Hard to DistinguishResearch Paper

Motivation

MAX-CUT asks for a partition of the vertices of a graph that cuts as many edges, or as much edge weight, as possible. It is one of Karp's original NP-hard problems and the standard test case for approximation algorithms. A uniformly random partition cuts half of the edges in expectation. Goemans and Williamson (JACM 1995) rounded a semidefinite relaxation with a random hyperplane and obtained the ratio

αGW=min⁡0<θ<πθ/π(1−cos⁡θ)/2≈0.878567.\alpha_{GW}=\min_{0<\theta<\pi}\frac{\theta/\pi}{(1-\cos\theta)/2}\approx 0.878567.αGW​=0<θ<πmin​(1−cosθ)/2θ/π​≈0.878567.

Whether a better ratio can be achieved in polynomial time was a central open question.

Timeline.

  • 1995: Goemans and Williamson give the αGW\alpha_{GW}αGW​-approximation.
  • 2001: Håstad (JACM 2001) shows, via PCPs and gadgets, that approximating MAX-CUT within 16/17+ϵ≈0.94116/17+\epsilon\approx 0.94116/17+ϵ≈0.941 is NP-hard. This remains the best unconditional bound.
  • 2002: Khot (STOC 2002) formulates the Unique Games Conjecture (UGC).
  • 2004–2007: Khot, Kindler, Mossel and O'Donnell (SIAM J. Comput. 2007) show that the UGC implies that αGW\alpha_{GW}αGW​ is optimal. Their reduction rests on the Majority Is Stablest conjecture, which they formulate.
  • 2005–2010: Mossel, O'Donnell and Oleszkiewicz (Annals of Math. 2010, arXiv:math/0503503) prove Majority Is Stablest via the invariance principle.

Setting

A Unique Label Cover instance L(V,W,E,[M],{σv,w})\mathcal L(V,W,E,[M],\{\sigma_{v,w}\})L(V,W,E,[M],{σv,w​}) is a bipartite graph with left vertices VVV, right vertices WWW and edges E⊆V×WE\subseteq V\times WE⊆V×W, together with a bijection σv,w:[M]→[M]\sigma_{v,w}:[M]\to[M]σv,w​:[M]→[M] on each edge. A labeling assigns a label in [M][M][M] to every vertex, and it satisfies (v,w)(v,w)(v,w) if σv,w(label(w))=label(v)\sigma_{v,w}(\mathrm{label}(w))=\mathrm{label}(v)σv,w​(label(w))=label(v). OPT\mathrm{OPT}OPT is the largest fraction of edges satisfied by a labeling. The Unique Games Conjecture says that for all η,γ>0\eta,\gamma>0η,γ>0 there is M=M(η,γ)M=M(\eta,\gamma)M=M(η,γ) such that it is NP-hard to distinguish instances with label set [M][M][M] and OPT≥1−η\mathrm{OPT}\ge 1-\etaOPT≥1−η from those with OPT≤γ\mathrm{OPT}\le\gammaOPT≤γ.

A weighted MAX-CUT instance is a graph with nonnegative edge weights. It is at least ccc-satisfiable if some partition cuts at least a ccc fraction of the total weight, and at most sss-satisfiable if no partition cuts more than an sss fraction.

On the cube {−1,1}n\{-1,1\}^n{−1,1}n, with TRUE =−1=-1=−1 and the uniform measure, the noise stability of f:{−1,1}n→Rf:\{-1,1\}^n\to\mathbb Rf:{−1,1}n→R at ρ∈[−1,1]\rho\in[-1,1]ρ∈[−1,1] is Sρ(f)=E[f(x)f(y)]\mathbb S_\rho(f)=\mathbf E[f(x)f(y)]Sρ​(f)=E[f(x)f(y)]. Here xxx is uniform and yyy is ρ\rhoρ-correlated with xxx: each yiy_iyi​ independently equals xix_ixi​ with probability 12+12ρ\tfrac12+\tfrac12\rho21​+21​ρ. The influence Infi(f)\mathrm{Inf}_i(f)Infi​(f) is the expected variance of fff in the coordinate xix_ixi​, and the low-degree influence is Infi≤k(f)=∑S∋i,∣S∣≤kf^(S)2\mathrm{Inf}_i^{\le k}(f)=\sum_{S\ni i,|S|\le k}\hat f(S)^2Infi≤k​(f)=∑S∋i,∣S∣≤k​f^​(S)2. Majority Is Stablest states: for ρ∈[0,1)\rho\in[0,1)ρ∈[0,1) and ϵ>0\epsilon>0ϵ>0 there is δ>0\delta>0δ>0 such that every f:{−1,1}n→[−1,1]f:\{-1,1\}^n\to[-1,1]f:{−1,1}n→[−1,1] with E[f]=0\mathbf E[f]=0E[f]=0 and all Infi(f)≤δ\mathrm{Inf}_i(f)\le\deltaInfi​(f)≤δ has Sρ(f)≤1−2πarccos⁡ρ+ϵ\mathbb S_\rho(f)\le 1-\tfrac2\pi\arccos\rho+\epsilonSρ​(f)≤1−π2​arccosρ+ϵ.

Formalization targets

Goal: Theorem 1 (p. 11)

Assume the UGC and Majority Is Stablest. For every −1<ρ<0-1<\rho<0−1<ρ<0 and ϵ>0\epsilon>0ϵ>0 it is NP-hard to distinguish MAX-CUT instances that are at least ccc-satisfiable from those that are at most sss-satisfiable, where

c=12−12ρ,s=arccos⁡ρπ+ϵ.c=\tfrac12-\tfrac12\rho,\qquad s=\frac{\arccos\rho}{\pi}+\epsilon.c=21​−21​ρ,s=πarccosρ​+ϵ.

Choosing ρ\rhoρ to minimize s/cs/cs/c gives hardness of approximation within any factor above αGW\alpha_{GW}αGW​; that consequence is not part of the goal.

Milestones

  • The Fourier formulas Sρ(f)=⟨f,Tρf⟩=∑Sρ∣S∣f^(S)2\mathbb S_\rho(f)=\langle f,T_\rho f\rangle=\sum_S\rho^{|S|}\hat f(S)^2Sρ​(f)=⟨f,Tρ​f⟩=∑S​ρ∣S∣f^​(S)2 (Proposition 7.1) and Infi(f)=∑S∋if^(S)2\mathrm{Inf}_i(f)=\sum_{S\ni i}\hat f(S)^2Infi​(f)=∑S∋i​f^​(S)2 (Proposition 7.2).
  • Three variants of Majority Is Stablest:
    • with low-degree influences (Proposition 7.3);
    • in reverse for ρ∈(−1,0]\rho\in(-1,0]ρ∈(−1,0], without E[f]=0\mathbf E[f]=0E[f]=0 (Proposition 7.4);
    • both at once (Proposition 7.5).
  • The completeness of the Long-Code verifier, (1−2η)(12−12ρ)(1-2\eta)(\tfrac12-\tfrac12\rho)(1−2η)(21​−21​ρ) (§8.2).
  • The arithmetization Pr⁡[acc]=12−12Ev[Sρ(gv)]\Pr[\mathrm{acc}]=\tfrac12-\tfrac12\mathbf E_v[\mathbb S_\rho(g_v)]Pr[acc]=21​−21​Ev​[Sρ​(gv​)] (6).
  • The influence-transfer inequality (7).
  • The candidate-set bound ∣Cand[w]∣≤2k/δ|\mathrm{Cand}[w]|\le 2k/\delta∣Cand[w]∣≤2k/δ.
  • The soundness: acceptance ≥(arccos⁡ρ)/π+ϵ\ge(\arccos\rho)/\pi+\epsilon≥(arccosρ)/π+ϵ forces OPT≥γ′(ϵ,ρ)\mathrm{OPT}\ge\gamma'(\epsilon,\rho)OPT≥γ′(ϵ,ρ), independently of MMM (§8.3).

Significance

Under the UGC, Theorem 1 shows that the Goemans–Williamson algorithm is optimal for MAX-CUT. It also shows that the semidefinite relaxation's integrality gap and the hardness threshold coincide. This correspondence was later extended to every constraint satisfaction problem (Raghavendra, STOC 2008). The verifier analysis here is the template for many later UGC-hardness results: dictatorship tests via noise stability, and list-decoding via low-degree influences.

The paper's result is proved, conditional on the UGC; the UGC itself is open. To our knowledge, neither the reduction nor the Majority Is Stablest theorem has a machine-checked proof. This mission produces a checked version of the conditional reduction. Its by-products are reusable: Fourier analysis on the cube (noise stability, influences, the Bonami–Beckner operator), the Long-Code verifier analysis, and a gap-hardness interface on top of a Turing-machine definition of NP.

Difficulty

Completeness is a short calculation. The difficulty is soundness. A proof that the verifier accepts with probability above (arccos⁡ρ)/π+ϵ(\arccos\rho)/\pi+\epsilon(arccosρ)/π+ϵ must be decoded into a labeling that satisfies a fraction γ′\gamma'γ′ of the edges, and γ′\gamma'γ′ must not depend on the label set size MMM. Labeling each www by a coordinate of large influence of fwf_wfw​ is the obvious decoding, but on its own it does not work. The test is passed with high probability by the averaged functions gvg_vgv​, not by the fwf_wfw​ themselves. Ruling out functions with only small influences is exactly the content of Majority Is Stablest. The analysis needs both the reverse form of Majority Is Stablest for negative ρ\rhoρ and low-degree influences, whose sum is bounded by kkk independently of MMM. Turning the PCP into polynomial-time gap-hardness adds further work on top of the analysis:

  • the regularity assumption must be removed;
  • an irrational ρ\rhoρ must be replaced by a nearby rational one, so that the weights are integers;
  • the reduction must be shown polynomial-time on Turing machines.

Formalization scope

  • The cube. {−1,1}n\{-1,1\}^n{−1,1}n is Fin n → Bool, with TRUE ↦−1\mapsto-1↦−1. Expectations are finite averages.
  • No Fourier shortcuts. Noise stability and influence are defined as on pp. 5–6 (a correlated-pair average, an expected coordinate variance), not by their Fourier formulas, which are milestones.
  • Unique Label Cover. Instances have finite V,WV,WV,W, E⊆V×WE\subseteq V\times WE⊆V×W, and a permutation of Fin M\mathrm{Fin}\,MFinM for every pair. OPT\mathrm{OPT}OPT is the maximum over the finitely many labelings, and 000 when there is none.
  • MAX-CUT instances are loopless graphs with natural-number edge weights (edge multiplicities), as §7.1 permits.
  • NP-hardness. "NP-hard to distinguish" is GapNPHard: every NP language of the published CookPvsNP_defs maps by a polynomial-time Turing-machine computable function to Yes-instances or No-instances. Instances are encoded in unary.
  • Hypotheses of the goal. The UGC is a hypothesis of Theorem 1. Majority Is Stablest, which the paper cites from [45] and does not prove, is a second, disclosed hypothesis, of Theorem 1 and of every milestone that uses it.
  • Regularity. The verifier milestones assume the VVV-side regularity of §8.1; Theorem 1 and the UGC do not.
  • No trivial instances. Every Yes- and No-predicate requires a nonempty edge set, so the empty instance cannot carry the hardness. Placeholder (True/False) versions of the UGC or of Majority Is Stablest would trivialize the goal and are excluded.
  • Welcome contributions.
    • The Fourier milestones are self-contained and reusable.
    • A proof of Majority Is Stablest would discharge the second hypothesis.
    • A formal regularization of Unique Label Cover ([38]) would make the reduction self-contained.

Selected references

  • S. Khot, G. Kindler, E. Mossel, R. O'Donnell, Optimal Inapproximability Results for MAX-CUT and Other 2-Variable CSPs?, SIAM J. Comput. 37(1), 2007. https://doi.org/10.1137/S0097539705447372
  • M. X. Goemans, D. P. Williamson, Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming, J. ACM 42(6), 1995. https://doi.org/10.1145/227683.227684
  • J. Håstad, Some optimal inapproximability results, J. ACM 48(4), 2001. https://doi.org/10.1145/502090.502098
  • S. Khot, On the power of unique 2-prover 1-round games, STOC 2002. https://doi.org/10.1145/509907.510017
  • E. Mossel, R. O'Donnell, K. Oleszkiewicz, Noise stability of functions with low influences: invariance and optimality, Annals of Math. 171(1), 2010. https://doi.org/10.4007/annals.2010.171.295 (arXiv:math/0503503)
16 thms2 active usersReviewed
Quantum Information·Captain: marwahaha

Exact quantum factoring over a fixed finite gate setOpen Problem

Motivation

Bounded-error factoring and exact factoring have different correctness requirements. Repetition until success and increasingly accurate rotations do not automatically give a fixed-gate, worst-case polynomial exact algorithm. The pinned manuscript supplies the research context.

Setting

Circuit instructions use NOT, CNOT, Toffoli, Hadamard and phase primitives, their inverses and singly controlled versions. A classical finite-stack machine generates each encoded circuit from unary input length.

Formalization target

The selected goal is OAI.ExactQuantumFactoring.exact_quantum_factoring. Its central assertion is

P(complete prime factorization of N)=1.P(\mathrm{complete\ prime\ factorization\ of}\ N)=1.P(complete prime factorization of N)=1.

The theorem states that the defined proposition MainTheorem holds, i.e. there is a family of quantum circuits indexed by input bit length ℓ with three properties. Circuits are lists of instructions on q qubits, each applying one of 20 named gates (the primitives NOT, CNOT, Toffoli, Hadamard and phase, each optionally inverted and optionally given one extra control) to distinct wires; the output state is obtained by applying the instructions in order to the basis state holding the binary digits of N, least significant bit first, on the first ℓ wires, with all other wires zero. First, the family is uniform: a single Turing machine (TM2) with finite stack alphabets computes in polynomial time the encoding of the ℓth circuit from the unary string of length ℓ, where the encoding writes the qubit count, instruction count and each instruction's gate code, inverse and control flags and wire indices in unary. Second, the numbers of qubits and of instructions of the ℓth circuit are both bounded by one fixed polynomial in ℓ with natural-number coefficients. Third, for every ℓ and every integer N ≥ 2 whose binary length is exactly ℓ, the circuit has at least ℓ + n² qubits, where n = max(128, ℓ), and the total squared amplitude on basis states whose output is correct equals exactly 1. A basis state is correct if reading n consecutive blocks of n bits after the input wires, each block as a binary number, gives the nondecreasing list of prime factors of N with multiplicity, padded with zeros to length n.

Significance and status

The output is a sorted list of prime factors with multiplicity in fixed binary blocks, padded with zeros. The target is an existence theorem for a uniform circuit family, not an uploaded executable factoring program. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.

Difficulty

Uniform generation, polynomial qubit and gate bounds, a fixed finite gate alphabet, and probability-one correctness must all hold together.

Formalization scope

The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.

The available published material supplies this goal and its necessary definitions. Additional manuscript lemmas are not represented as attached milestones.

Selected references

  • OpenAI, Exact quantum factoring over a fixed finite gate set, preprint, 2026. Manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Selected goal source.
4 thms2 active usersReviewed
🏆Completed
Quantum Information·Captain: marwahaha

Regular trajectories, pruning and quantum parityOpen Problem

Motivation

The parity function tests whether a shallow quantum circuit can combine information from all input bits. Polynomially many ancillary qubits make the measured-output formulation substantially stronger than a restriction to clean final registers. The pinned manuscript supplies the research context.

Setting

Allowed gates are arbitrary one-qubit unitaries and Toffoli gates with finitely many controls. Gates within a layer have disjoint supports. Inputs occupy the first n qubits, with zero ancillas.

Formalization target

The selected goal is OAI.QAC.parity_lower_bound_polynomial_size. Its central assertion is

∃x∈{0,1}n:P(output=parity(x))<2/3.\exists x\in\{0,1\}^n:\quad P(\mathrm{output}=\mathrm{parity}(x))<2/3.∃x∈{0,1}n:P(output=parity(x))<2/3.

The theorem states that, for any positive integers d, k and C, there is a threshold n₀ such that for every n ≥ n₀ and every total qubit count N with n ≤ N ≤ C(n+1)^k, the following holds. Take any circuit given as a list of at most d physical layers on N qubits, where a layer is a list of gates with pairwise disjoint supports and each gate is either a one-qubit unitary on a single qubit or a Toffoli gate with an arbitrary finite set of control qubits and a target outside that set (flipping the target exactly when all controls are 1). The circuit's matrix is the product of the layer matrices, with the first layer acting first. For every choice of output qubit out among the N qubits, there exists an n-bit input x such that successProbability, the total Born probability over all final computational-basis strings y whose out-th bit equals the parity (sum mod 2) of x, is strictly less than 2/3. Here the input state is x placed on the first n qubits with all remaining qubits set to 0, and the remaining qubits are summed over with no requirement that they be clean. So fixed-depth circuits with polynomially many qubits cannot compute parity with worst-case success probability at least 2/3. The theorem is admitted in the source (proof is sorry).

Significance and status

The published goal fixes success threshold 2/3 and positive integer depth, polynomial exponent and coefficient. It does not state the manuscript's full range of positive advantages. The target is currently Open on Prove2Me. The manuscript's mathematical argument and a machine-checked proof of the selected statement are separate deliverables.

Difficulty

The bound covers arbitrary gates, all choices of output qubit and polynomially many total qubits. Discarded registers can retain unrestricted garbage.

Formalization scope

The exact published goal, its hypotheses and its referenced definition blocks specify the requested formalization. The explanatory formula above is a summary; all quantifiers and additional clauses in the linked statement remain required.

The available published material supplies this goal and its necessary definitions. Additional manuscript lemmas are not represented as attached milestones.

Selected references

  • OpenAI, Regular trajectories, pruning and quantum parity, preprint, 2026. Manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Selected goal source.
2 thms2 active usersReviewed
🏆Completed
Quantum InformationTheoretical Computer Science·Captain: wurtle

Product-projection localization and the QAC0 parity lower boundResearch Paper

Motivation

Parity, PARITYn(x)=x1⊕⋯⊕xn\mathrm{PARITY}_n(x)=x_1\oplus\cdots\oplus x_nPARITYn​(x)=x1​⊕⋯⊕xn​, is the standard test of whether a shallow circuit can aggregate information from all of its inputs. Classically, constant-depth circuits with unbounded fan-in AND/OR gates (AC0\mathsf{AC}^0AC0) cannot compute it: Furst, Saxe and Sipser (Math. Systems Theory 1984) and Ajtai (APAL 1983) proved superpolynomial lower bounds, and Håstad's switching lemma gave nearly optimal exponential ones (STOC 1986). The quantum analogue QAC0\mathsf{QAC}^0QAC0 allows arbitrary one-qubit unitaries and Toffoli gates of unbounded arity, but gates in one layer must act on disjoint qubits, so a wire cannot control many simultaneous gates. Moore (arXiv:quant-ph/9903046, 1999) showed that coherent parity and quantum fanout are equivalent under Hadamard conjugation, and conjectured that neither is in QAC0\mathsf{QAC}^0QAC0. Because fanout makes constant-depth quantum circuits very powerful (Høyer–Špalek, ToC 2005), whether PARITY∉QAC0\mathrm{PARITY}\notin\mathsf{QAC}^0PARITY∈/QAC0 has been a central question about shallow quantum computation.

Background

  • 1999 — Moore introduces the quantum circuit classes and the parity/fanout conjecture.
  • 2002 — Green, Homer, Moore and Pollett develop quantum counting classes and modular-gate equivalences (QIC 2002).
  • 2006 — Fang, Fenner, Green, Homer and Zhang: depth Ω(log⁡(n/(a+1)))\Omega(\log(n/(a+1)))Ω(log(n/(a+1))) for exact clean parity with aaa ancillas (QIC 2006).
  • 2020–2021 — Padé, Fenner, Grier and Thierauf rule out exact clean parity at entangling depth two (arXiv:2005.12169); Rosenthal bounds approximate parity unitaries (ITCS 2021).
  • 2024–2025 — Pauli-spectrum lower bounds with restricted ancillas (Nadimpalli, Parham, Vasconcelos, Yuen, STOC 2024); no fixed parity advantage with barely superlinear ancillas (Anshu, Dong, Ou, Yao, STOC 2025), extended by Dong, Ou and Yao (arXiv:2510.00593).
  • 2026 — Joshi, Tal, Vasconcelos and Wright: exact parity lower bounds at entangling depth three without size restriction (STOC 2026); Gretta, Gupta and Joshi relate the question to Fourier concentration (arXiv:2604.02793).
  • September 2026 — Two OpenAI preprints claim the lower bound for every fixed depth and every polynomial number of qubits, by independent arguments: product-projection localization (source) and regular trajectories with pruning (source).

This mission asks for a formal proof of the parity lower bound stated as Theorem 1 of an OpenAI preprint dated September 24, 2026 (source). The preprint has not been peer reviewed and its claims have not been independently verified; on the platform the Lean goal is open.

Setting

A circuit acts on NNN qubits, with state space (C2)⊗N(\mathbb C^2)^{\otimes N}(C2)⊗N and computational basis indexed by bit strings y∈{0,1}Ny\in\{0,1\}^Ny∈{0,1}N. The allowed gates are arbitrary one-qubit unitaries and generalized Toffoli gates ∣z1,…,zt,b⟩↦∣z1,…,zt,b⊕z1⋯zt⟩|z_1,\dots,z_t,b\rangle\mapsto|z_1,\dots,z_t,b\oplus z_1\cdots z_t\rangle∣z1​,…,zt​,b⟩↦∣z1​,…,zt​,b⊕z1​⋯zt​⟩ on distinct control and target qubits. A layer is a set of gates with pairwise disjoint supports, and a depth-ddd circuit is a product W=Ld⋯L1W=L_d\cdots L_1W=Ld​⋯L1​ of at most ddd layers. Gates and their complex entries may depend on nnn but not on the input.

On input x∈{0,1}nx\in\{0,1\}^nx∈{0,1}n with n≤Nn\le Nn≤N, the circuit starts in ∣x⟩⊗∣0⟩⊗(N−n)|x\rangle\otimes|0\rangle^{\otimes(N-n)}∣x⟩⊗∣0⟩⊗(N−n). One designated output qubit is measured in the computational basis; all other qubits are discarded in arbitrary states, and the input need not be preserved. The success probability on xxx is

Pr⁡[output=PARITYn(x)]=∑y: yout=PARITYn(x)∣⟨y∣W∣x,0⟩∣2.\Pr[\text{output}=\mathrm{PARITY}_n(x)]=\sum_{y:\ y_{\mathrm{out}}=\mathrm{PARITY}_n(x)}\bigl|\langle y|W|x,0\rangle\bigr|^2 .Pr[output=PARITYn​(x)]=y: yout​=PARITYn​(x)∑​​⟨y∣W∣x,0⟩​2.

A circuit computes parity with worst-case advantage ε\varepsilonε if this probability is at least 1/2+ε1/2+\varepsilon1/2+ε for every xxx.

Formalization targets

Goal: the parity lower bound (Theorem 1, p. 1)

Fix an integer d≥0d\ge0d≥0, a real c≥1c\ge1c≥1 and 0<ε≤1/20<\varepsilon\le1/20<ε≤1/2. Then for all sufficiently large nnn, for every NNN with n≤N≤ncn\le N\le n^cn≤N≤nc, every circuit of depth at most ddd on NNN qubits and every choice of output qubit, there is an input x∈{0,1}nx\in\{0,1\}^nx∈{0,1}n with

Pr⁡[output=PARITYn(x)]<12+ε.\Pr[\text{output}=\mathrm{PARITY}_n(x)]<\tfrac12+\varepsilon .Pr[output=PARITYn​(x)]<21​+ε.

With ε=1/6\varepsilon=1/6ε=1/6 this is the usual bounded-error statement PARITY∉QAC0\mathrm{PARITY}\notin\mathsf{QAC}^0PARITY∈/QAC0 in the measured-output model.

Significance

The result itself. It answers Moore's question for every fixed depth and every polynomial bound on the total number of qubits, with arbitrary final garbage and any fixed positive advantage, whereas earlier results fixed the entangling depth or restricted the number of ancillas. Through Hadamard conjugation it also excludes constant-depth polynomial-size coherent fanout. The preprint derives further consequences (Section 7): state-preparation obstructions (Corollary 8, p. 14), a qualitative quantum LMN-type Fourier tail bound (Corollary 9, p. 16), and, via reductions of Xu and Li, lower bounds for majority and other symmetric functions (Corollaries 10–11, pp. 17–18). The structural Theorem 2 (p. 5), localization of conjugated product projections, is of independent interest.

Formalizing it. The statement is elementary (finite matrices, Born probabilities) while the proof is a two-level induction with polynomial approximation, so a formal proof would give a fully checked circuit lower bound in quantum complexity, an area with few machine-checked results. A companion OpenAI preprint gives an independent proof by regular trajectories and pruning.

Difficulty

Light-cone arguments fail at once: a single Toffoli gate may touch every qubit, so after one layer an output can depend on all inputs. Spectral and Pauli-weight methods previously needed ancilla bounds such as O~(n1+2−d)\tilde O(n^{1+2^{-d}})O~(n1+2−d). The preprint's route controls transitions from a product condition to states with many mismatches, ∥[M≥Nt] U [D=0] U† [M=0]∥≤e−Ns\bigl\|[M\ge N^t]\,U\,[D=0]\,U^\dagger\,[M=0]\bigr\|\le e^{-N^s}​[M≥Nt]U[D=0]U†[M=0]​≤e−Ns for all fixed 0≤s<t0\le s<t0≤s<t (Theorem 2, p. 5). The obstacle is that reflection expansions cost exponentially in the projection's support, and low-degree polynomial surrogates for a product projection are accurate only at low mismatch counts; the uncontrolled high-count error is handled by a second induction on thresholds that exchanges the roles of the two counts.

Formalization scope

  • Word N := Fin N → Fin 2; operators are complex matrices indexed by words. Gate.local q u is a one-qubit unitary tensored with identities; Gate.toffoli controls target is the permutation matrix flipping the target when all controls are 111 (an empty control set gives a NOT gate, itself a one-qubit unitary).
  • PhysicalLayer N is a list of gates whose supports are pairwise disjoint; its matrix is the product of the gate matrices. physicalCircuitMatrix layers applies the layers in list order (rightmost matrix acts first).
  • inputWord x pads xxx with zeros; successProbability W out x sums ∣Wy,(x,0)∣2|W_{y,(x,0)}|^2∣Wy,(x,0)​∣2 over all yyy whose output bit equals the parity of xxx, so final garbage is unrestricted.
  • The output qubit out : Fin N is arbitrary, including an input qubit. The quantifier order is: depth, size bound and advantage fixed first; then a threshold n0n_0n0​; then every n≥n0n\ge n_0n≥n0​, every NNN in range, every circuit and every output qubit.
  • No intermediate measurement, postselection or fanout gate is in the model; the statement is a pure statement about unitary matrices, with no complexity-class machinery.
  • ParityStatement takes the size bound as a real exponent: N≤ncN\le n^cN≤nc with c≥1c\ge1c≥1 real, n≤Nn\le Nn≤N, and depth layers.length ≤ d with d≥0d\ge0d≥0, exactly as in Theorem 1. Its conclusion is the negation of "for every xxx, success ≥1/2+ε\ge 1/2+\varepsilon≥1/2+ε".

Welcome contributions: a reusable Lean model of unitary circuits on qubits, spectral projections of commuting count operators, and Chebyshev-type polynomial approximation with coefficient bounds (Lemma 3, p. 6).

Selected references

  • OpenAI, Product-projection localization and the QAC0 parity lower bound, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Product-projection-localization-and-the-QAC0-parity-lower-bound-September-24-2026/paper.pdf
  • OpenAI, Regular trajectories, pruning and quantum parity, OpenAI Math Release preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Regular-trajectories-pruning-and-quantum-parity-September-24-2026/paper.pdf
  • C. Moore, Quantum circuits: fanout, parity, and counting, arXiv:quant-ph/9903046 (1999). https://arxiv.org/abs/quant-ph/9903046v3
  • M. Furst, J. B. Saxe, M. Sipser, Parity, circuits, and the polynomial-time hierarchy, Math. Systems Theory 17 (1984), 13–27. https://doi.org/10.1007/BF01744431
  • M. Ajtai, Σ11\Sigma^1_1Σ11​-formulae on finite structures, Ann. Pure Appl. Logic 24 (1983), 1–48. https://doi.org/10.1016/0168-0072(83)90038-6
  • J. Håstad, Almost optimal lower bounds for small depth circuits, STOC 1986. https://doi.org/10.1145/12130.12132
  • F. Green, S. Homer, C. Moore, C. Pollett, Counting, fanout and the complexity of quantum ACC, QIC 2 (2002). https://doi.org/10.26421/QIC2.1-3
  • P. Høyer, R. Špalek, Quantum fan-out is powerful, Theory of Computing 1 (2005). https://doi.org/10.4086/toc.2005.v001a005
  • M. Fang, S. Fenner, F. Green, S. Homer, Y. Zhang, Quantum lower bounds for fanout, QIC 6 (2006). https://doi.org/10.26421/QIC6.1-3
  • G. Rosenthal, Bounds on the QAC0 complexity of approximating parity, ITCS 2021. https://doi.org/10.4230/LIPIcs.ITCS.2021.32
  • S. Nadimpalli, N. Parham, F. Vasconcelos, H. Yuen, On the Pauli spectrum of QAC0, STOC 2024. https://doi.org/10.1145/3618260.3649662
  • M. R. Joshi, A. Tal, F. Vasconcelos, J. Wright, Improved lower bounds for QAC0, STOC 2026. https://doi.org/10.1145/3798129.3800922
  • L. Gretta, M. Gupta, M. R. Joshi, Parity ∉ QAC0 ⟺ QAC0 is Fourier-concentrated, arXiv:2604.02793 (2026). https://arxiv.org/abs/2604.02793v2
32 thms2 active usersReviewed
🏆Completed
Mathematical LogicTheoretical Computer Science·Captain: wurtle

Choiceless polynomial time with counting does not capture polynomial timeResearch Paper

Motivation

Descriptive complexity asks whether complexity classes can be characterized by logics, without reference to machines. Immerman and Vardi (1982) showed that on ordered finite structures, first-order logic with a least fixed-point operator expresses exactly the polynomial-time queries. On unordered structures, such as graphs given only up to isomorphism, an algorithm must not depend on an arbitrary ordering of the input, and whether some logic captures polynomial time there is a central open question (Chandra–Harel 1982, Gurevich 1988).

Choiceless polynomial time with counting (CPT), introduced by Blass, Gurevich and Shelah (1999), was for decades the strongest candidate: it computes with hereditarily finite sets built over the input elements, can count, and is invariant under automorphisms by construction. Blass, Gurevich and Shelah conjectured that CPT is still a proper fragment of polynomial time. This mission concerns a proof of that conjecture.

Timeline

  • 1982. Immerman and Vardi capture polynomial time on ordered structures by fixed-point logic (doi:10.1145/800070.802187, doi:10.1145/800070.802186); Chandra and Harel raise the unordered question (doi:10.1016/0022-0000(82)90012-5).
  • 1988. Gurevich formulates the question of a logic capturing polynomial time and conjectures that none exists.
  • 1992. Cai, Fürer and Immerman construct polynomial-time graph queries beyond fixed-point logic with counting (doi:10.1007/BF01305232).
  • 1999, 2002. Blass, Gurevich and Shelah introduce choiceless polynomial time and study CFI and linear-algebra instances as potential separating examples (doi:10.1016/S0168-0072(99)00005-6, doi:10.2178/jsl/1190150152).
  • 2000. Shelah claims noncapture for counting extensions; later accounts continue to list the problem as open.
  • 2008. Dawar, Richerby and Rossman show that CFI queries over ordered base graphs are CPT-definable, and that bounded-rank CPT with counting fails on them (doi:10.1016/j.apal.2007.11.011).
  • 2010–2023. Rossman and Pago prove functional lower bounds for CPT (no construction of hyperplanes, no fine preorders on hypercubes) (doi:10.1007/978-3-642-15025-8_28, doi:10.4230/LIPIcs.CSL.2021.33); Grädel, Pakusa, Schalthöfer and Kaiser characterize CPT by iterated first-order interpretations (doi:10.1109/LICS.2015.68).
  • 2025. Dawar, Grädel, Kullmann and Pago still record the capture problem as open (doi:10.4230/LIPIcs.MFCS.2025.40).

The source of this mission is an OpenAI preprint dated September 23, 2026.

Setting

Fix the field F=F3\mathbb F=\mathbb F_3F=F3​ and the vocabulary of eight binary relation symbols τ={Ed,Cf,EB,VB,I,Z0,Z1,Z2}\tau=\{\mathrm{Ed},\mathrm{Cf},\mathrm{EB},\mathrm{VB},I,Z_0,Z_1,Z_2\}τ={Ed,Cf,EB,VB,I,Z0​,Z1​,Z2​}. For a finite τ\tauτ-structure AAA put

Y={y:Ed(y,y)},X={a:Cf(a,a)},Xt={a∈X:VB(t,a)} (t∈X),Y=\{y:\mathrm{Ed}(y,y)\},\quad X=\{a:\mathrm{Cf}(a,a)\},\quad X_t=\{a\in X:\mathrm{VB}(t,a)\}\ (t\in X),Y={y:Ed(y,y)},X={a:Cf(a,a)},Xt​={a∈X:VB(t,a)} (t∈X), C(y,a)=∑x∈Y, I(a,x) ∑δ∈F, Zδ(y,x)δ.C(y,a)=\sum_{x\in Y,\ I(a,x)}\ \sum_{\delta\in\mathbb F,\ Z_\delta(y,x)}\delta .C(y,a)=x∈Y, I(a,x)∑​ δ∈F, Zδ​(y,x)∑​δ.

With unknowns (λa)a∈X(\lambda_a)_{a\in X}(λa​)a∈X​ and (μy)y∈Y(\mu_y)_{y\in Y}(μy​)y∈Y​ (separate families), the system consists of

∑a∈Xtλa=1(t∈X),μy=∑a∈Xtλa C(y,a)\sum_{a\in X_t}\lambda_a=1\quad(t\in X),\qquad \mu_y=\sum_{a\in X_t}\lambda_a\,C(y,a)a∈Xt​∑​λa​=1(t∈X),μy​=a∈Xt​∑​λa​C(y,a)

for every (t,y)∈X×Y(t,y)\in X\times Y(t,y)∈X×Y such that some a∈Xta\in X_ta∈Xt​ and x∈Yx\in Yx∈Y satisfy I(a,x)I(a,x)I(a,x) and EB(y,x)\mathrm{EB}(y,x)EB(y,x). The query Q(A)Q(A)Q(A) says this system is consistent over F3\mathbb F_3F3​. No promise is imposed on the input.

A CPT program is a fixed finite set of rules that updates dynamic functions whose values are hereditarily finite sets over the atoms of AAA, using pairing, union, comprehension, equality, membership, the input relations, and the cardinality operation (which returns a von Neumann ordinal). A program defines QQQ if for fixed polynomials T,ST,ST,S, on every input of size nnn it halts within T(n)T(n)T(n) steps, touches at most S(n)S(n)S(n) hereditarily finite objects, and accepts exactly when Q(A)Q(A)Q(A) holds. No bound on set rank is imposed.

Formalization targets

Goal: Theorem 1

Q is isomorphism-invariant,Q∈P (from an ordered encoding),Q∉CPT.Q\ \text{is isomorphism-invariant},\qquad Q\in\mathrm{P}\ \text{(from an ordered encoding)},\qquad Q\notin\mathrm{CPT}.Q is isomorphism-invariant,Q∈P (from an ordered encoding),Q∈/CPT.

The Lean statement OAI.CPTSeparation.main is the conjunction of these three clauses. It is open on the platform.

Significance

The theorem confirms the Blass–Gurevich–Shelah noncapture conjecture for the full counting formalism: CPT does not capture polynomial time on unordered structures. It removes the leading candidate logic from Gurevich's question, which itself remains open. Because QQQ is expressible in fixed-point logic with a solvability or rank operator over F3\mathbb F_3F3​ (Corollary 3, p. 3), it also shows that neither of those logics is contained in CPT. The lower bound holds for programs of arbitrary set rank, unlike the bounded-rank lower bounds of Dawar–Richerby–Rossman.

The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists.

Difficulty

The polynomial-time upper bound is Gaussian elimination. The obstacle is the lower bound against every CPT program, including those that build sets of unbounded rank. Bounded-variable counting games handle fixed-point logic with counting but do not by themselves control CPT, which is strictly stronger (it decides CFI queries over ordered base graphs). Rank-dependent support arguments give lower bounds only for each fixed rank. The paper needs support bounds independent of rank, for which it uses a nonabelian automorphism group acting on grid structures, then a counting equivalence for all supported objects, and finally a transfer to complete computations via an interpretation characterization of CPT.

Formalization scope

  • Input A gives a Boolean-valued binary relation for each Symbol (Ed, Cf, EB, VB, I, Z δ with δ : ZMod 3). Input.query is the existence of λ, μ satisfying the normalization and consistency equations exactly as above; an empty system is consistent.
  • OrdinaryPolynomialTime asks for a function on ordered tables and a Turing.TM2ComputableInPolyTime machine with finite alphabets computing it from the cell-by-cell table encoding, agreeing with the query for every ordering of every structure.
  • FullCPT defines terms and rules over hereditarily finite sets (Lists quotient), a state of finitely many nonempty locations, synchronous consistent updates, halt/accept flags, and the set of occurring objects (active elements plus roots of evaluated terms). EvaluationDefinable Q asks for one program and polynomials time, space that accept exactly the inputs satisfying Q, halting within time and with at most space occurring objects.
  • This is the original operational formulation; the paper's proof passes through the interpretation characterization of CPT (Grädel–Pakusa–Schalthöfer–Kaiser), which a formal proof must either formalize or bypass.

A complete development needs: hereditarily finite sets and automorphism actions on them, support theory, counting equivalence games, the grid structures with their automorphism group, and a CPT-to-interpretation translation. Contributions formalizing Proposition 2 (polynomial-time decidability), Proposition 8 (small-orbit support bound), Proposition 13 (quantitative homogeneity) and Theorem 14 (transfer through small supports) are welcome.

Selected references

  • OpenAI, Choiceless polynomial time with counting does not capture polynomial time, preprint, September 23, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Choiceless-polynomial-time-with-counting-does-not-capture-polynomial-time-September-23-2026/paper.pdf
  • A. Blass, Y. Gurevich, S. Shelah, Choiceless polynomial time, Ann. Pure Appl. Logic, 1999. https://doi.org/10.1016/S0168-0072(99)00005-6
  • A. Blass, Y. Gurevich, S. Shelah, On polynomial time computation over unordered structures, J. Symbolic Logic, 2002. https://doi.org/10.2178/jsl/1190150152
  • J.-Y. Cai, M. Fürer, N. Immerman, An optimal lower bound on the number of variables for graph identification, Combinatorica, 1992. https://doi.org/10.1007/BF01305232
  • A. Dawar, D. Richerby, B. Rossman, Choiceless polynomial time, counting and the Cai–Fürer–Immerman graphs, Ann. Pure Appl. Logic, 2008. https://doi.org/10.1016/j.apal.2007.11.011
  • E. Grädel, W. Pakusa, S. Schalthöfer, Ł. Kaiser, Characterising choiceless polynomial time with first-order interpretations, LICS, 2015. https://doi.org/10.1109/LICS.2015.68
  • B. Rossman, Choiceless computation and symmetry, 2010. https://doi.org/10.1007/978-3-642-15025-8_28
  • B. Pago, Choiceless computation and symmetry: limitations of definability, CSL, 2021. https://doi.org/10.4230/LIPIcs.CSL.2021.33
  • N. Immerman, Relational queries computable in polynomial time, STOC, 1982. https://doi.org/10.1145/800070.802187
  • A. K. Chandra, D. Harel, Structure and complexity of relational queries, J. Comput. System Sci., 1982. https://doi.org/10.1016/0022-0000(82)90012-5
4 thms2 active usersReviewed
🏆Completed
AlgebraTheoretical Computer Science·Captain: wurtle

Homogeneous depth-five lower bounds for iterated matrix multiplicationResearch Paper

Motivation

Iterated matrix multiplication asks for the (1,1)(1,1)(1,1) entry of a product of ddd matrices of size w×ww\times ww×w with independent variable entries,

IMMw,d=(X(1)⋯X(d))1,1=∑i1,…,id−1∈[w]x1,i1(1)xi1,i2(2)⋯xid−1,1(d).\mathrm{IMM}_{w,d}=\bigl(X^{(1)}\cdots X^{(d)}\bigr)_{1,1}=\sum_{i_1,\dots,i_{d-1}\in[w]}x^{(1)}_{1,i_1}x^{(2)}_{i_1,i_2}\cdots x^{(d)}_{i_{d-1},1}.IMMw,d​=(X(1)⋯X(d))1,1​=i1​,…,id−1​∈[w]∑​x1,i1​(1)​xi1​,i2​(2)​⋯xid−1​,1(d)​.

It has polynomial-size arithmetic circuits when depth is unrestricted and is complete for algebraic branching programs, so it is the standard test case for the cost of restricting circuit depth. Depth-reduction theorems (Agrawal–Vinay, Koiran, Tavenas) show that any polynomial-size circuit for a degree-ddd polynomial can be flattened to homogeneous depth four with size NO(d)N^{O(\sqrt d)}NO(d​); lower bounds of the form NΩ(d)N^{\Omega(\sqrt d)}NΩ(d​) at small depth are therefore exactly at the threshold that depth reduction permits, and improving them slightly would separate general circuits from formulas. Nisan and Wigderson asked for an explicit homogeneous polynomial requiring superpolynomial size at constant depth, even at depth five.

Timeline

  • 1995. Nisan and Wigderson introduce partial-derivative measures and ask for superpolynomial homogeneous constant-depth lower bounds, even at depth five.
  • 2008–2015. Agrawal–Vinay, Koiran (doi:10.1016/j.tcs.2012.03.041) and Tavenas (doi:10.1016/j.ic.2014.09.004) reduce general circuits to homogeneous depth four of size NO(d)N^{O(\sqrt d)}NO(d​).
  • 2014. Gupta, Kamath, Kayal and Saptharishi develop shifted partial derivatives (doi:10.1145/2629541); Kayal, Limaye, Saha and Srinivasan prove exponential bounds for homogeneous depth-four formulas.
  • 2015. Fournier, Limaye, Malod and Srinivasan prove IMM lower bounds for restricted depth-four formulas (doi:10.1137/140990280); Bera and Chakrabarti prove a depth-five IMM lower bound with bounded bottom support (doi:10.4230/LIPIcs.CCC.2015.183).
  • 2017. Kumar and Saraf prove dΩ(d)d^{\Omega(\sqrt d)}dΩ(d​) for homogeneous depth-four circuits computing IMMd5,d\mathrm{IMM}_{d^5,d}IMMd5,d​ (doi:10.1137/140999335); Kumar and Saptharishi prove exponential homogeneous depth-five bounds over finite fields for a VNP family (doi:10.4230/LIPIcs.CCC.2017.31).
  • 2021/2025. Limaye, Srinivasan and Tavenas prove superpolynomial lower bounds for all constant-depth circuits, including IMM in the low-degree regime (doi:10.1145/3734215).
  • 2022–2024. Bhargav–Dutta–Saxena (doi:10.4230/LIPIcs.MFCS.2022.18), Amireddy–Garg–Kayal–Saha–Thankey (doi:10.4230/LIPIcs.ICALP.2023.12) and Forbes (doi:10.4230/LIPIcs.CCC.2024.31) improve exponents or extend fields, in regimes with ddd small relative to www.

These results either restrict the bottom linear forms, use a different width–degree regime, or concern a different polynomial. The source of this mission, an OpenAI preprint dated September 25, 2026, claims the sharp nΘ(n)n^{\Theta(\sqrt n)}nΘ(n​) bound in the balanced regime w=d=nw=d=nw=d=n with unrestricted bottom forms.

Setting

An arithmetic circuit over a field KKK is a finite DAG whose leaves are variables or field elements; sum gates take KKK-linear combinations of their inputs, product gates multiply their inputs (with multiplicity). A ΣΠΣΠΣ\Sigma\Pi\Sigma\Pi\SigmaΣΠΣΠΣ circuit has five layers of types +,×,+,×,++,\times,+,\times,++,×,+,×,+ from the output down, with a single output gate; edges join consecutive layers and bottom sums read leaves. Fan-in, fan-out and sharing are unrestricted, and bottom linear forms may involve any number of variables. The circuit is syntactically homogeneous if, with variables of degree 111, constants of degree 000 and product degrees adding, every sum gate has all inputs of the same formal degree. Size is the number of vertices, leaves included. The target is IMMn,n\mathrm{IMM}_{n,n}IMMn,n​, of degree nnn in n3n^3n3 variables.

Formalization targets

Goal: Theorem 1.1, Corollary 6.1 and Proposition 6.2

There is n0n_0n0​ such that for all n≥n0n\ge n_0n≥n0​, every syntactically homogeneous ΣΠΣΠΣ\Sigma\Pi\Sigma\Pi\SigmaΣΠΣΠΣ circuit computing IMMn,n\mathrm{IMM}_{n,n}IMMn,n​ over C\mathbb CC, and more generally over any field of characteristic zero, has

size ≥ nn/400.\text{size}\ \ge\ n^{\sqrt n/400}.size ≥ nn​/400.

Conversely, over every field and for every n≥2n\ge2n≥2 there is such a circuit with

size ≤ 2n3+rn2+rnt+1+nr−1+1 ≤ nn+4,t=⌈n⌉, r=⌈n/t⌉.\text{size}\ \le\ 2n^3+rn^2+rn^{t+1}+n^{r-1}+1\ \le\ n^{\sqrt n+4},\qquad t=\lceil\sqrt n\rceil,\ r=\lceil n/t\rceil.size ≤ 2n3+rn2+rnt+1+nr−1+1 ≤ nn​+4,t=⌈n​⌉, r=⌈n/t⌉.

The Lean statement OAI.Problem335.main bundles the three clauses and is open on the platform. The constant 1/4001/4001/400 is the paper's and is not optimized.

Significance

The theorem determines the size of homogeneous depth-five circuits for IMMn,n\mathrm{IMM}_{n,n}IMMn,n​ up to the constant in the exponent: nΘ(n)n^{\Theta(\sqrt n)}nΘ(n​). It removes the bottom-support restriction of Bera–Chakrabarti and works at the balanced width–degree point w=d=nw=d=nw=d=n, where the shifted-partials bounds of Amireddy et al. and the low-degree results of Limaye–Srinivasan–Tavenas do not apply directly. It answers the depth-five instance of the Nisan–Wigderson question for an explicit polynomial in VP. It does not give superpolynomial bounds for general circuits.

The result is claimed in an OpenAI preprint; it has not been peer reviewed and no machine-checked proof exists. The upper-bound clause is elementary and a natural first formal target; the lower bound requires a new rank measure and its estimates.

Difficulty

Depth-five circuits with unrestricted bottom linear forms can use linear forms involving all n3n^3n3 variables, which defeats measures that rely on bottom forms having small support (the Bera–Chakrabarti approach) or on set-multilinearization with degree-dependent losses (which are too costly when d=wd=wd=w). Partial-derivative and shifted-partial measures applied directly give bounds that degrade with the bottom fan-in. One needs a measure that is small for every product of homogeneous low-degree polynomials of arbitrary support and large for IMMn,n\mathrm{IMM}_{n,n}IMMn,n​.

Formalization scope

  • Depth5Circuit K n stores the leaves (D5Leaf: a scalar or a variable index in Fin n × Fin n × Fin n), bottom sums (lists of coefficient–leaf pairs), lower products (lists of bottom gates), middle sums, upper products, and one output sum, with explicit formal degrees and homogeneity constraints at every sum gate; empty sums have degree 000.
  • circuitSize counts leaves plus all gates plus the output gate; circuitValue evaluates to an MvPolynomial.
  • imm K n is the (0,0)(0,0)(0,0) entry of the ordered product of the nnn matrices Xij(t)X^{(t)}_{ij}Xij(t)​.
  • The lower bound is stated over ℂ and, with a threshold chosen before the field, over every Field with CharZero; the upper bound over every Field, with the explicit upperGateBound.

A complete development needs multivariate polynomial algebra, the derivative-multiplication operator g[k,m](∂V,U)g_{[k,m]}(\partial_V,U)g[k,m]​(∂V​,U) and its rank, an integral (Bargmann–Fock type) moment estimate over C\mathbb CC, and a transfer to characteristic zero via integer minors. Contributions formalizing Proposition 6.2 (the upper bound) and Proposition 3.1 (the circuit-side rank bound) are welcome.

Selected references

  • OpenAI, Homogeneous depth-five lower bounds for iterated matrix multiplication, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Homogeneous-depth-five-lower-bounds-for-iterated-matrix-multiplication-September-25-2026/Homogeneous-depth-five-lower-bounds-for-iterated-matrix-multiplication-September-25-2026.pdf
  • N. Nisan, A. Wigderson, Lower bounds on arithmetic circuits via partial derivatives, FOCS 1995.
  • S. Tavenas, Improved bounds for reduction to depth 4 and depth 3, Inform. and Comput., 2015. https://doi.org/10.1016/j.ic.2014.09.004
  • S. K. Bera, A. Chakrabarti, A depth-five lower bound for iterated matrix multiplication, CCC 2015. https://doi.org/10.4230/LIPIcs.CCC.2015.183
  • M. Kumar, S. Saraf, On the power of homogeneous depth 4 arithmetic circuits, SIAM J. Comput., 2017. https://doi.org/10.1137/140999335
  • M. Kumar, R. Saptharishi, An exponential lower bound for homogeneous depth-5 circuits over finite fields, CCC 2017. https://doi.org/10.4230/LIPIcs.CCC.2017.31
  • N. Limaye, S. Srinivasan, S. Tavenas, Superpolynomial lower bounds against low-depth algebraic circuits, J. ACM, 2025. https://doi.org/10.1145/3734215
  • P. Amireddy, A. Garg, N. Kayal, C. Saha, B. Thankey, Low-depth arithmetic circuit lower bounds: bypassing set-multilinearization, ICALP 2023. https://doi.org/10.4230/LIPIcs.ICALP.2023.12
4 thms2 active usersReviewed
🏆Completed
Graph TheoryTheoretical Computer Science·Captain: wurtle

Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalenceResearch Paper

Motivation

The Weisfeiler–Leman (WL) method is the standard combinatorial heuristic for graph isomorphism: it repeatedly refines colors of kkk-tuples of vertices, and two graphs it cannot tell apart are called kkk-WL equivalent. It is equivalent to counting-logic indistinguishability and, by results of Dvořák (2010) and Dell, Grohe and Rattan (2018), to equality of homomorphism counts from graphs of treewidth below kkk (bags of size at most k+1k+1k+1). For fixed kkk, direct refinement decides kkk-WL equivalence in nO(k)n^{O(k)}nO(k) time; whether the growing exponent is necessary is a natural complexity question.

This preprint gives an exact reduction from a simple constraint problem (choosing compatible elements from finite domains) to kkk-WL equivalence of two explicit uncolored graphs, and uses it to derive nΩ(k)n^{\Omega(k)}nΩ(k) conditional time lower bounds.

Background

  • 1968. Weisfeiler and Leman introduce the refinement method for graph canonization.
  • 1992. Cai, Fürer and Immerman construct parity (CFI) graph pairs of bounded degree that need WL dimension linear in their order.
  • 1999. Grohe shows equivalence in finite-variable logics is complete for polynomial time.
  • 2001. Impagliazzo and Paturi formulate the Exponential Time Hypothesis; Impagliazzo, Paturi and Zane give sparsification.
  • 2010, 2018. Dvořák, and Dell–Grohe–Rattan, characterize kkk-WL equivalence by homomorphism counts from bounded-treewidth graphs.
  • 2019. Atserias, Mančinska, Roberson, Šámal, Severini and Varvitsiotis encode solutions of binary linear systems as graph vertices.
  • 2025. Grohe, Lichter, Neuen and Schweitzer prove Ω(nk/2)\Omega(n^{k/2})Ω(nk/2) round lower bounds for joint refinement; Lichter, Raßmann and Schweitzer conjecture that WL equivalence and identification do not admit no(k)n^{o(k)}no(k) time.
  • 2026. The OpenAI preprint Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence (dated September 25, 2026) proves the parity reduction below. It has not been peer reviewed; the Lean goal is open on this platform.

Setting

Fix k≥4k \ge 4k≥4. The atomic type of a tuple x∈V(X)k\mathbf{x} \in V(X)^kx∈V(X)k records all equalities and adjacencies among its entries. In joint refinement a round records the old color of x\mathbf xx and the multiset over y∈V(X)y \in V(X)y∈V(X) of the vectors (Cr(x[1←y]),…,Cr(x[k←y]))(C_r(\mathbf x[1\leftarrow y]), \dots, C_r(\mathbf x[k\leftarrow y]))(Cr​(x[1←y]),…,Cr​(x[k←y])). In separate refinement it records the old color and the kkk multisets { ⁣{Cr(x[i←y]):y} ⁣}\{\!\{C_r(\mathbf x[i\leftarrow y]) : y\}\!\}{{Cr​(x[i←y]):y}}. Two graphs are kkk-WL equivalent (≡k\equiv_k≡k​) when their tuple-color histograms agree at every round. The bag parameter is t=k+1t = k+1t=k+1 (joint) or t=kt = kt=k (separate).

A choice system on ttt domains consists of finite sets D1,…,DtD_1, \dots, D_tD1​,…,Dt​ and, for each pair i<ji < ji<j, a finite label set LijL_{ij}Lij​ with maps λiji:Di→Lij\lambda^i_{ij} : D_i \to L_{ij}λiji​:Di​→Lij​, λijj:Dj→Lij\lambda^j_{ij} : D_j \to L_{ij}λijj​:Dj​→Lij​. A successful choice is (d1,…,dt)∈∏iDi(d_1, \dots, d_t) \in \prod_i D_i(d1​,…,dt​)∈∏i​Di​ with λiji(di)=λijj(dj)\lambda^i_{ij}(d_i) = \lambda^j_{ij}(d_j)λiji​(di​)=λijj​(dj​) for all i<ji < ji<j. Empty domains are allowed.

In Lean (OAI.ParityWL), ChoiceSystem t packages the domains and labels, template t is the ttt-clique with helpers, baseGraph C replaces template types by domains and labels, and zeroLift C, starLift C are the two parity lifts. Colors are defined by recursion on rounds (jointColor, separateColor) with histograms compared as multisets.

Formalization targets

Goal: Theorem 1.2 (Parity reduction)

For k≥4k \ge 4k≥4, either convention and the corresponding ttt, for every choice system on ttt domains the two explicit uncolored simple graphs X0,X⋆X_0, X_\starX0​,X⋆​ have equal order and

X0≡kX⋆  ⟺  the choice system has no successful choice,X_0 \equiv_k X_\star \iff \text{the choice system has no successful choice},X0​≡k​X⋆​⟺the choice system has no successful choice,

both with common color names on separate graphs and with pure-tuple comparison in the disjoint union. If every domain and label set has size at most A≥1A \ge 1A≥1, the common order is at most AMtA M_tAMt​ with

Mt=t 2 t−2+3(t−12)+12(t3).M_t = t\, 2^{\,t-2+3\binom{t-1}{2}} + 12\binom{t}{3}.Mt​=t2t−2+3(2t−1​)+12(3t​).

When a successful choice exists, the histograms already differ after two joint rounds or one separate round.

Significance

The result. The reduction turns compatible-choice problems, which encode sparse satisfiability, into WL equivalence of uncolored graphs whose size grows only linearly in the domain size. Combined with sparsification it gives Theorem 1.3: under the positive-rate ETH there are c>0c > 0c>0, K≥4K \ge 4K≥4 such that no deterministic algorithm decides kkk-WL equivalence of nnn-vertex graphs in time O(nck)O(n^{ck})O(nck) for fixed k≥Kk \ge Kk≥K, even when only early-round histograms are compared. This addresses the expectation stated by Lichter, Raßmann and Schweitzer.

Formalizing it. No machine-checked proof exists; the source is an unrefereed preprint. A formalization would also give Lean definitions of both WL conventions, reusable by the companion missions in this family on identification and unconditional lower bounds. The ETH consequence (Theorem 1.3) is not part of the Lean goal.

Difficulty

The forward direction (a successful choice yields a distinguishing homomorphism test detected in few rounds) is constructive. The converse is the hard part: one must show that every bounded-treewidth homomorphism test that distinguishes the lifts yields a successful choice, even when bags do not induce cliques, projected images repeat, and some weights vanish. A naive argument that counts only type-preserving homomorphisms fails because non-type-preserving maps also contribute to hom⁡(F,X0)−hom⁡(F,X⋆)\hom(F, X_0) - \hom(F, X_\star)hom(F,X0​)−hom(F,X⋆​).

Formalization scope

  • Graphs are SimpleGraph on finite types; the lifts' vertex types are sigma types of base vertices with parity tags.
  • WL colors are nested Multiset-valued types defined by recursion on the round number; equivalence quantifies over all rounds rrr.
  • The order bound uses orderFactor t = t * 2^(t-2+3*(t-1).choose 2) + 12 * t.choose 3 with natural-number subtraction (harmless since t≥4t \ge 4t≥4).
  • Successful is an existential over dependent tuples; empty domains are allowed, in which case no successful choice exists and the lifts must be equivalent.

The goal is not trivial: the biconditional pins down equivalence exactly, and the detection clause fixes the round.

Needed infrastructure: tree decompositions and homomorphism counts, the Dvořák/Dell–Grohe–Rattan interface for both conventions, and F2\mathbb{F}_2F2​ linear algebra for the parity lifts. Contributions toward either direction of the equivalence are welcome.

Selected references

  • OpenAI, Parity lifts and bounded-treewidth witnesses for Weisfeiler–Leman equivalence, OpenAI Math Release preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Parity-lifts-and-bounded-treewidth-witnesses-for-Weisfeiler-Leman-equivalence-September-25-2026/paper.pdf
  • B. Weisfeiler, A. Leman, The Reduction of a Graph to Canonical Form and the Algebra Which Appears Therein, 1968. https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf
  • J.-Y. Cai, M. Fürer, N. Immerman, An Optimal Lower Bound on the Number of Variables for Graph Identification, Combinatorica 12 (1992). https://doi.org/10.1007/BF01305232
  • Z. Dvořák, On Recognizing Graphs by Numbers of Homomorphisms, J. Graph Theory (2010). https://doi.org/10.1002/jgt.20461
  • H. Dell, M. Grohe, G. Rattan, Lovász Meets Weisfeiler and Leman, ICALP 2018. https://doi.org/10.4230/LIPIcs.ICALP.2018.40
  • A. Atserias et al., Quantum and Non-Signalling Graph Isomorphisms, J. Combin. Theory Ser. B (2019). https://doi.org/10.1016/j.jctb.2018.11.002
  • R. Impagliazzo, R. Paturi, On the Complexity of k-SAT, J. Comput. Syst. Sci. (2001). https://doi.org/10.1006/jcss.2000.1727
  • M. Grohe, M. Lichter, D. Neuen, P. Schweitzer, Compressing CFI Graphs and Lower Bounds for the Weisfeiler–Leman Refinements, J. ACM (2025). https://doi.org/10.1145/3727978
  • M. Lichter, S. Raßmann, P. Schweitzer, Computational Complexity of the Weisfeiler–Leman Dimension, CSL 2025. https://doi.org/10.4230/LIPIcs.CSL.2025.13
31 thms2 active usersReviewed
PreviousPage 3 of 6Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me