The main result was obtained by ChatGPT 6 Pro. The full chat is available at
https://chatgpt.com/share/6acf869d-a8f0-83ea-a00d-35492f5a3af5
Introduction
One of the most striking algorithms avoiding exhaustive search is the n ω + o ( 1 ) ≤ n 2.25 + o ( 1 ) n^{\omega+o(1)} \le n^{2.25+o(1)} n ω + o ( 1 ) ≤ n 2.25 + o ( 1 ) [44 ] time algorithm for detecting (and finding) a triangle in an n n n -node graph, first reported by Itai and Rodeh [33 ] . Taking A A A to be the n × n n \times n n × n adjacency matrix, tr ( A 3 ) \operatorname{tr}(A^3) tr ( A 3 ) is exactly six times the number of triangles, so computing it with fast matrix multiplication decisively beats the naive O ( n 3 ) O(n^3) O ( n 3 ) time of exhaustive search. (By recursing on subgraphs, we can also find triangles in analogous running time.) Since Itai and Rodeh, many other improvements in graph algorithms have been powered by fast matrix multiplication, such as transitive closure, shortest paths, matching, cycle and subgraph detection, and many others; see the surveys and lecture notes of Zwick [59 ] and Vassilevska Williams [57 , 58 ] .
It is natural to ask whether similar algorithmic improvements are possible for problems on generalizations of graphs, such as 3-uniform hypergraphs whose edge sets are 3-sets of vertices, or more generally k k k -uniform hypergraphs for constant k ≥ 3 k \ge3 k ≥ 3 . A starting problem, generalizing triangle finding, is that of finding a k k k -hyperclique in a ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraph for k ≥ 3 k \ge3 k ≥ 3 . Williams [55 ] raised the problem for k = 4 k = 4 k = 4 , noting that a faster 4-hyperclique algorithm could be applied to solve Max-3SAT faster than exhaustive search. This reduction was generalized for arbitrary k k k by [37 ] : faster ( k + 1 ) (k+1) ( k + 1 ) -hyperclique finding in k k k -uniform hypergraphs would yield a faster algorithm for Max-k k k SAT. They proposed a hardness hypothesis for k k k -hyperclique finding:
Hypothesis 1 (k k k -Hyperclique Hypothesis). For every k ≥ 4 k \ge4 k ≥ 4 , there is no ε > 0 \varepsilon> 0 ε > 0 such that k k k -hypercliques in ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraphs can be detected in O ( n k − ε ) O(n^{k-\varepsilon}) O ( n k − ε ) time.
As evidence for their hypothesis, they proved that unlike matrix multiplication which famously has subcubic tensor rank (starting with Strassen [50 ] ), the tensor rank of the natural ( k − 1 ) (k-1) ( k − 1 ) -dimensional generalization of matrix multiplication (precisely the kind of task one needs to solve to compute k k k -hypercliques, see § 1.1 for a definition) is Θ ( n k ) \Theta(n^k) Θ ( n k ) . This led [37 ] to conclude that radically different algorithmic techniques would be needed to refute the k k k -Hyperclique Hypothesis, if it is possible at all. Further work extensively studied consequences of proving and refuting the hypothesis [40 , 9 , 24 , 17 , 3 , 29 FKRS25, 23 BKW26, 10 ] . Notably, [23 ] recently showed that if the k k k -Hyperclique Hypothesis were false, then one could detect arithmetic progressions of length k k k in an input set A ⊆ { 0 , 1 , 2 , … , n } A \subseteq\{0,1,2,\ldots,n\} A ⊆ { 0 , 1 , 2 , … , n } in O ( n 2 − ε ) O(n^{2-\varepsilon}) O ( n 2 − ε ) time for some ε > 0 \varepsilon> 0 ε > 0 .
By the work of [55 , 37 ] mentioned above, the k k k -Hyperclique Hypothesis was also believed to be true because it followed from another algorithmic hypothesis about the complexity of Max-k k k SAT:
Hypothesis 2 (Max-k k k -SAT Hypothesis). For every k ≥ 3 k \ge3 k ≥ 3 , there is no ε > 0 \varepsilon> 0 ε > 0 such that Max-k k k SAT on n n n variables can be solved in O ( 2 ( 1 − ε ) n ) O(2^{(1-\varepsilon)n}) O ( 2 ( 1 − ε ) n ) time.
This hypothesis had a vast literature as well, with a body of work studying algorithms and hardness for Max-k k k SAT [54 DW06, 35 , 31 , 48 , 49 , 22 , 2 , 1 , 12 , 11 , 6 , 34 , 9 BKM+24, 47 , 36 , 18 ] . There was also a “sparse” version of the Max-k k k SAT hypothesis which asserted that O ( n ) O(n) O ( n ) -clause instances were already hard [6 ] .
Our Results. We prove that the k k k -Hyperclique Hypothesis is false. In fact, we show that for every k ≥ 3 k \ge3 k ≥ 3 , there is an ε > 0 \varepsilon> 0 ε > 0 such that the appropriate k k k -dimensional generalization of matrix multiplication (a.k.a., the k k k -wise matrix product [15 Section 5.1] ) can be computed on Boolean matrices in O ( n k + 1 − ε ) O(n^{k+1-\varepsilon}) O ( n k + 1 − ε ) time. As an immediate application, this allows us to count the number of hypercliques, so that for every k k k , even #Max-k k k SAT can be solved in 2 ( 1 − ε k ) n 2^{(1-\varepsilon_k)n} 2 ( 1 − ε k ) n time for some ε k > 0 \varepsilon_k > 0 ε k > 0 .
Our main technical result is that the natural polynomial for enumerating hypercliques (a sum over all possible hypercliques which takes the product of all hyperedges in the hyperclique, see § 1.1 for a definition) has uniform arithmetic circuits that are significantly smaller than n k n^k n k size.
Theorem 1. For every fixed k ≥ 3 k \ge3 k ≥ 3 , the k k k -hyperclique polynomial Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) has uniformly constructible circuits of size O ( n k − ε k ) O(n^{k-\varepsilon_k}) O ( n k − ε k ) , where ε k = 2 − Θ ( 2 k ) \varepsilon_k = 2^{-\Theta(2^k)} ε k = 2 − Θ ( 2 k ) , with all constants in Z [ 1 / 2 ] \mathbb{Z}[1/2] Z [ 1/2 ] . In particular, there is an algorithm that, given ( 1 n , 1 k ) (1^n,1^k) ( 1 n , 1 k ) as input, outputs a circuit of O ( n k − ε k ) O(n^{k-\varepsilon_k}) O ( n k − ε k ) size in n k − ε k + o ( 1 ) n^{k-\varepsilon_k+o(1)} n k − ε k + o ( 1 ) time.
Many interesting consequences follow. First of all, we can easily count the number of hypercliques in a hypergraph, by evaluating such a polynomial.
Theorem 2. For every fixed k ≥ 3 k \ge3 k ≥ 3 , there is an algorithm that, given any ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraph H H H on n n n vertices, outputs the number of k k k -hypercliques in H H H in n k − ε k + o ( 1 ) n^{k-\varepsilon_k+o(1)} n k − ε k + o ( 1 ) time, where ε k \varepsilon_k ε k is the constant in Theorem 1.
Furthermore, applying the Baur–Strassen Theorem (Lemma 3), we can compute the natural k k k -dimensional generalization of matrix multiplication faster (i.e., the k k k -wise matrix product), as well.
Theorem 3. For every k ≥ 3 k \ge3 k ≥ 3 , there is an ε > 0 \varepsilon> 0 ε > 0 such that MP k ( A 1 , … , A k ) \operatorname{MP}_k(A_1,\ldots,A_k) MP k ( A 1 , … , A k ) can be computed on A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k , each with n k n^k n k Boolean entries, in O ( n k + 1 − ε ) O(n^{k+1-\varepsilon}) O ( n k + 1 − ε ) time.
Applying these results, we can refute a much weaker hypothesis than just the Max-k k k SAT Hypothesis (Hypothesis 2). In fact, we solve a much more general Max-Degree-k k k CSP problem [37 ] . A Boolean function on n n n variables is a degree-k k k constraint if it has degree at most k k k in its unique multilinear polynomial representation over the { 0 , 1 } \{0,1\} { 0 , 1 } basis. (Note that Max-k k k SAT represents the very special case where each polynomial is over at most k k k variables.) The Max-Degree-k k k CSP problem is: given any set of degree-k k k constraints over n n n Boolean variables, find a Boolean assignment that sets a maximum number of constraints to true.
Theorem 4. For every k ≥ 3 k \ge3 k ≥ 3 , there is a δ k > 0 \delta_k > 0 δ k > 0 such that Max-Degree-k k k CSP with n n n variables and any number of m m m constraints can be solved in 2 ( 1 − δ k ) n poly ( n , m ) 2^{(1-\delta_k)n}\operatorname{poly}(n,m) 2 ( 1 − δ k ) n poly ( n , m ) time.
Our results also refute a recently proposed hypothesis on the difficulty of finding short arithmetic progressions in a set of numbers. The k k k -AP Hypothesis [23 Hypothesis 1.3] (see also [27 ] ) states that for every k ≥ 4 k \ge4 k ≥ 4 there is no ε > 0 \varepsilon> 0 ε > 0 such that one can determine whether a subset of { 0 , 1 , … , n } \{0,1,\ldots,n\} { 0 , 1 , … , n } contains a nontrivial arithmetic progression of length k k k , in O ( n 2 − ε ) O(n^{2-\varepsilon}) O ( n 2 − ε ) time. (Note that for k = 3 k=3 k = 3 the problem can be solved in near-linear time by FFT, so the hypothesis starts at k = 4 k=4 k = 4 .) We give an improved algorithm:
Theorem 5. For every fixed k ≥ 4 k \ge4 k ≥ 4 , we can decide whether a set A ⊆ { 0 , … , n } A \subseteq\{0,\ldots,n\} A ⊆ { 0 , … , n } contains a nontrivial k k k -term arithmetic progression in O ( n 2 − 2 ε k / k ) O(n^{2-2\varepsilon_k/k}) O ( n 2 − 2 ε k / k ) time.
Finally, our results also have bearing on a well-known problem in database theory. The k k k -dimensional Loomis–Whitney join LM k \operatorname{LM}_k LM k has k k k attributes and one relation on each ( k − 1 ) (k-1) ( k − 1 ) -subset of the attributes. Its Boolean version is exactly k k k -hyperclique on a ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraph, and its counting version is the polynomial Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) evaluated on the relations. The AGM bound [4 ] shows that the output of L M k \mathrm{LM}_k LM k on relations of total size m m m has size at most m k / ( k − 1 ) m^{k/(k-1)} m k / ( k − 1 ) , and worst-case optimal join algorithms [42 ] can list all answers in O ~ ( m k / ( k − 1 ) ) \widetilde{O}(m^{k/(k-1)}) O ( m k / ( k − 1 ) ) time. The question of whether the Boolean and counting versions can be evaluated faster has been a prominent open problem in database theory; see e.g., the PODS 2025 tutorial of Mengel [38 Theorem 3.5] , who shows that the k k k -Hyperclique Hypothesis implies no O ( m k / ( k − 1 ) − ε ) O(m^{k/(k-1)-\varepsilon}) O ( m k / ( k − 1 ) − ε ) time algorithm exists. Theorem 2 directly gives a faster algorithm for dense instances. By a standard high degree/low degree trick just as in [8 ] , we can also obtain that for every k k k there is an ε > 0 \varepsilon> 0 ε > 0 and an O ( m k / ( k − 1 ) − ε ) O(m^{k/(k-1)-\varepsilon}) O ( m k / ( k − 1 ) − ε ) time algorithm for these joins, for all sizes m m m .1
Why ¬ETH does not affect our results. Very recently, OpenAI [45 ] and Anthropic [Cla26] announced a refutation of the Exponential Time Hypothesis, showing that 3SAT on n n n variables is solvable in exp ( n poly ( log log n ) / log n ) \exp(n\operatorname{poly}(\log\log n)/\sqrt{\log n}) exp ( n poly ( log log n ) / log n ) time. While this result directly implies that Max-k k k SAT on n n n variables and c n cn c n clauses is in 2 o ( n ) 2^{o(n)} 2 o ( n ) time (refuting the “sparse” hypothesis [6 ] ), it evidently says nothing about the full Max-k k k SAT Hypothesis. This is because Max-k k k SAT instances may have up to Θ ( n k ) \Theta(n^k) Θ ( n k ) clauses, and all known reductions from Max-k k k SAT on m m m clauses to 3SAT introduce Ω ( m ) \Omega(m) Ω ( m ) variables. (In other words, no Sparsification Lemma [32 ] is known for Max-k k k SAT for any k k k .) Hence, we would apparently need 3SAT to be in less than exp ( n 1 / k ) \exp(n^{1/k}) exp ( n 1/ k ) time in order to solve Max-k k k SAT faster via reductions. Our results directly solve Max-k k k SAT faster by solving k k k -hyperclique faster.
Intriguingly, our algorithm for finding hypercliques faster does share one ingredient with the OpenAI refutation of ETH [45 ] : namely, they both rely on an interesting new decomposition of the identity matrix. See Remark 1 and the discussion before it.
The algebraic approach to hyperclique
As mentioned earlier, the case of the k k k -Hyperclique Hypothesis for k = 3 k = 3 k = 3 (in “2-uniform hypergraphs”, i.e., graphs) is false: this is simply the problem of triangle detection in graphs, and it is solved by computing tr ( A 3 ) \operatorname{tr}(A^3) tr ( A 3 ) , the trace of the adjacency matrix cubed. Letting X X X be an n × n n \times n n × n matrix of x i , j x_{i,j} x i , j ’s, we can view the triangle algorithm as evaluating the polynomial
Δ n ( 3 ) = ∑ i , j , k ∈ [ n ] x i , k x k , j x i , j \Delta_n^{(3)} = \sum_{i,j,k \in[n]} x_{i,k}x_{k,j}x_{i,j} Δ n ( 3 ) = i , j , k ∈ [ n ] ∑ x i , k x k , j x i , j
on an appropriate 0/1 input.
This leaves the tantalizing possibility of tackling the hyperclique problem via a similar algebraic approach, which is usually formulated as the problem of evaluating the hyperclique polynomial .
The hyperclique polynomial. Let k > 2 k > 2 k > 2 . Given a k k k -tuple α ∈ [ n ] k \alpha\in[n]^k α ∈ [ n ] k and an index j ∈ [ k ] j \in[k] j ∈ [ k ] , let α − j \alpha_{-j} α − j denote the tuple in [ n ] k − 1 [n]^{k-1} [ n ] k − 1 with the j j j -th coordinate of α \alpha α removed. The hyperclique polynomial is defined by
Δ n ( k ) ( X ) : = ∑ α ∈ [ n ] k ∏ j = 1 k x α − j ( j ) \Delta_n^{(k)}(X) := \sum_{\alpha\in[n]^k} \prod_{j=1}^{k} x_{\alpha_{-j}}^{(j)} Δ n ( k ) ( X ) := α ∈ [ n ] k ∑ j = 1 ∏ k x α − j ( j )
This is a multilinear polynomial of degree k k k (also called a k k k -mode tensor), with n k − 1 n^{k-1} n k − 1 variables in each variable group
X ( j ) = { x β ( j ) , β ∈ [ n ] k − 1 } . X^{(j)} = \{x_{\beta}^{(j)}, \beta\in[n]^{k-1}\}. X ( j ) = { x β ( j ) , β ∈ [ n ] k − 1 } .
Given a ( k − 1 ) (k-1) ( k − 1 ) -uniform, k k k -partite hypergraph H = ⨆ i = 1 k H i H = \bigsqcup_{i=1}^{k} H_i H = ⨆ i = 1 k H i with vertex sets H i = [ n ] H_i = [n] H i = [ n ] , let x α − j ( j ) = 1 x_{\alpha_{-j}}^{(j)} = 1 x α − j ( j ) = 1 if H H H contains a ( k − 1 ) (k-1) ( k − 1 ) -hyperedge α − j \alpha_{-j} α − j on vertex parts other than j j j , and 0 0 0 otherwise. Evaluating Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) at X X X then counts the number of k k k -hypercliques in H H H .
For example, when k = 2 k = 2 k = 2 we have Δ n ( 2 ) = ∑ i , j x i ( 1 ) x j ( 2 ) \Delta_n^{(2)} = \sum_{i,j} x_i^{(1)}x_j^{(2)} Δ n ( 2 ) = ∑ i , j x i ( 1 ) x j ( 2 ) . When k = 3 k = 3 k = 3 , after renaming the variables and indices, the polynomial Δ n ( 3 ) = ∑ i , j , k x j k ( 1 ) x i k ( 2 ) x i j ( 3 ) \Delta_n^{(3)} = \sum_{i,j,k} x_{jk}^{(1)}x_{ik}^{(2)}x_{ij}^{(3)} Δ n ( 3 ) = ∑ i , j , k x j k ( 1 ) x ik ( 2 ) x ij ( 3 ) becomes the matrix multiplication tensor :
tr ( X Y Z ) = ∑ i , j , k x i j y j k z k i . \operatorname{tr}(XYZ) = \sum_{i,j,k} x_{ij}y_{jk}z_{ki}. tr ( X Y Z ) = i , j , k ∑ x ij y j k z k i .
It is clear that Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) has circuits of size O ( n k ) O(n^k) O ( n k ) , as there are n k n^k n k monomials in the standard basis. In the case of k = 2 k = 2 k = 2 and k = 3 k = 3 k = 3 , polynomial improvements over this baseline are possible: Δ n ( 2 ) \Delta_n^{(2)} Δ n ( 2 ) straightforwardly has a circuit of size O ( n ) O(n) O ( n ) , and for k = 3 k = 3 k = 3 we have had circuits of size n 3 − ε n^{3-\varepsilon} n 3 − ε since work of Strassen [50 ] . Theorem 1 gives polynomial improvements over the trivial bound for all k k k .
Arithmetic circuits and tensor ranks
Before proceeding to our improvement for the hyperclique polynomials, we discuss why people had believed the hyperclique conjecture even though there are nontrivial algorithms for matrix multiplication. We begin by reviewing the high-level approach of fast matrix multiplication algorithms.
Tensor rank and its “barrier”. A fundamental measure of a tensor is the tensor rank R ( f ) R(f) R ( f ) , which describes the minimal number of terms required to write f f f as a sum of products of linear factors. Formally, R ( f ) R(f) R ( f ) is the smallest r r r such that the following decomposition exists:
f ( X ) = ∑ i = 1 r ℓ i ( 1 ) ( X ( 1 ) ) ⋯ ℓ i ( k ) ( X ( k ) ) , (1) f(X) = \sum_{i=1}^{r} \ell_i^{(1)}(X^{(1)}) \cdots\ell_i^{(k)}(X^{(k)}), \tag*{(1)} f ( X ) = i = 1 ∑ r ℓ i ( 1 ) ( X ( 1 ) ) ⋯ ℓ i ( k ) ( X ( k ) ) , (1)
where ℓ i ( j ) \ell_i^{(j)} ℓ i ( j ) is a linear function in X ( j ) X^{(j)} X ( j ) .
The importance of tensor rank is twofold.
On one hand, in the world of 3-mode tensors, Strassen [51 ] proved that tensor rank characterizes the multiplicative complexity , which is the number of nonscalar multiplications required to evaluate the tensor. It thus provides a lower bound for the circuit complexity.
On the other hand, tensor rank upper bounds can be generally turned into algorithms. In fact, the seminal algorithm for matrix multiplication due to Strassen [50 ] can be seen as finding a 7-term rank decomposition for 2 × 2 2 \times2 2 × 2 matrix multiplication. This implies an O ( n log 2 7 ) O(n^{\log_2 7}) O ( n l o g 2 7 ) -size arithmetic circuit for general n × n n \times n n × n matrix multiplication.
One might hope to generalize Strassen’s approach to higher-order tensors. The trivial rank decomposition of the hyperclique tensor Δ n ( k ) \Delta^{(k)}_n Δ n ( k ) has n k n^k n k terms. Improving this upper bound implies nontrivial algorithms — in particular, a rank r r r decomposition for the order-q q q case where r < q k r < q^k r < q k would give us an arithmetic circuit of size O ( n log q r ) O(n^{\log_q r}) O ( n l o g q r ) , beating the brute force algorithm. Alas, this approach appeared to be impossible: Lincoln, Vassilevska Williams and Williams [37 Theorem 8.1] pointed out that when k ≥ 4 k \ge4 k ≥ 4 , the trivial n k n^k n k tensor rank upper bound for Δ n ( k ) \Delta^{(k)}_n Δ n ( k ) is in fact optimal. They took this as evidence that arithmetic circuits cannot beat brute force for hyperclique, and it was one of their main reasons for proposing the hyperclique conjecture.
Partitions and ranks. However, a lower bound on tensor rank doesn’t rule out the possibility of having small arithmetic circuits for higher modes. A folklore example is known as the product of inner products tensor:
PIP n ( X , Y , Z , W ) = ( ∑ i = 1 n x i z i ) ( ∑ j = 1 n y j w j ) . (2) \operatorname{PIP}_n(X,Y,Z,W) = \left(\sum_{i=1}^{n} x_i z_i\right)\left(\sum_{j=1}^{n} y_j w_j\right). \tag*{(2)} PIP n ( X , Y , Z , W ) = ( i = 1 ∑ n x i z i ) ( j = 1 ∑ n y j w j ) . (2)
It is clear from the definition that PIP n \operatorname{PIP}_n PIP n has a circuit of size O ( n ) O(n) O ( n ) . On the other hand, this tensor has tensor rank n 2 n^2 n 2 . The rank lower bound proof is actually quite simple, using an approach called flattening which we demonstrate here to give insight into the limitation of tensor rank.
We can expand the expression of the PIP tensor
PIP n ( X , Y , Z , W ) = ∑ i , j = 1 n x i y j ⋅ z i w j , (3) \operatorname{PIP}_n(X,Y,Z,W) = \sum_{i,j=1}^{n} x_i y_j \cdot z_i w_j, \tag*{(3)} PIP n ( X , Y , Z , W ) = i , j = 1 ∑ n x i y j ⋅ z i w j , (3)
which is naturally an n 2 n^2 n 2 -term rank decomposition. One way to see that n 2 n^2 n 2 is also a lower bound is to flatten the tensor: think of this tensor as an n 2 × n 2 n^2 \times n^2 n 2 × n 2 matrix, by letting the indices of X , Y X,Y X , Y be the rows, and Z , W Z,W Z , W be the columns. Every single term appearing in (1) would be a rank-1 matrix after flattening; this means if a tensor has rank r r r , then the corresponding matrix also has rank at most r r r . However, after flattening, this particular tensor becomes an identity matrix, which has rank n 2 n^2 n 2 . This tells us that n 2 n^2 n 2 is also a lower bound on the tensor rank.
Besides the concrete example above, let’s again consider another argument which is a structural view of arithmetic circuits. For a tensor, we can actually assume2 the arithmetic circuit evaluating the tensor respects its multilinear structure, meaning every gate computes a multilinear polynomial with respect to a subset of the modes. For product gates, since each gate is computing a tensor, the inputs of a product gate must partition its related modes into several different parts.
Tensor rank can be thought of as corresponding to a restricted class of circuits of the form “Σ Π Σ \Sigma\Pi\Sigma ΣΠΣ ” studied by algebraic complexity theorists: There is only one layer of product gates, and since its output should be a k k k -mode tensor, it necessarily should be written as a product of linear forms. However, a general arithmetic circuit can have more product layers, e.g., Σ Π Σ Π Σ \Sigma\Pi\Sigma\Pi\Sigma ΣΠΣΠΣ , so the top product gates can be products of some genuine multilinear polynomials which are not linear forms. Indeed, the straightforward linear-size circuit for the PIP polynomial is a Π Σ Π \Pi\Sigma\Pi ΠΣΠ circuit, which has two product layers.
That said, the k = 3 k = 3 k = 3 case, where [51 ] proved that tensor rank provides a lower bound on circuit size, works merely because in this regime every arithmetic circuit necessarily has the form Σ Π Σ \Sigma\Pi\Sigma ΣΠΣ (or can be converted to this form with only a constant-factor loss). This hides the intricacy of product gates in arithmetic circuits, which becomes inevitable when one goes to higher modes.
What, then, is the correct notion of rank that can provide useful information for circuit complexity? A natural approach is to make the required terms in a rank decomposition more flexible, so that it’s possible to charge each term to a specific product gate. For example, one might consider the partition rank defined by Naslund [41 ] : PR ( f ) \operatorname{PR}(f) PR ( f ) is the minimal r r r needed to write f f f as a sum of products
f = ∑ i = 1 r u i ⋅ v i f = \sum_{i=1}^{r} u_i \cdot v_i f = i = 1 ∑ r u i ⋅ v i
where each u i u_i u i is a multilinear polynomial in a nonempty and proper subset S i S_i S i of the k k k modes, and v i v_i v i is a multilinear polynomial in the remaining modes [ k ] ∖ S i [k]\setminus S_i [ k ] ∖ S i . For example, Figure 1 shows how to turn a circuit evaluating the (small) Coppersmith–Winograd tensor c w q = ∑ i = 1 q ( x 0 y i z i + x i y 0 z i + x i y i z 0 ) \mathrm{cw}_q = \sum_{i=1}^{q}(x_0y_iz_i+x_iy_0z_i+x_iy_iz_0) cw q = ∑ i = 1 q ( x 0 y i z i + x i y 0 z i + x i y i z 0 ) into a 3-term partition rank decomposition.
Figure 1. Turn a Σ Π Σ Π \Sigma\Pi\Sigma\Pi ΣΠΣΠ circuit into a partition rank decomposition
The partition rank is actually a poor measure of circuit complexity — one can always write a tensor as f = ∑ i x i ( 1 ) ⋅ f i f = \sum_i x_i^{(1)} \cdot f_i f = ∑ i x i ( 1 ) ⋅ f i where f i f_i f i is the x i ( 1 ) x_i^{(1)} x i ( 1 ) -term coefficient, so partition rank can at most be linear3 ^{3} 3 , which cannot provide a meaningful bound for circuit size. However, it turns out that one can address this by studying some restricted notions of partition ranks, in which we only allow certain kinds of partitions S i S_i S i in the decomposition.
These kinds of partition ranks appear to admit interesting upper bounds and further guide genuine circuit construction. For example, the study of Hrubeš [30 ] on sum-of-squares identities can be interpreted as bounding the restricted partition rank of the PIP tensor: One can decompose P I P n \mathrm{PIP}_n PIP n into a sum of O ( n 1.62 ) O(n^{1.62}) O ( n 1.62 ) many ( X Y ∣ Z W ) (XY\mathbin{|}ZW) ( X Y ∣ Z W ) and ( X W ∣ Y Z ) (XW\mathbin{|}YZ) ( X W ∣ Y Z ) terms4 . He uses these methods to construct an interesting noncommutative circuit, of size only O ( n 1.96 ) O(n^{1.96}) O ( n 1.96 ) , computing P I P n \mathrm{PIP}_n PIP n when it is defined as in (3) with noncommuting variables.
Our presentation of the circuit for the hyperclique polynomial will follow a similar route: We will first explain how to obtain a certain kind of partition rank of Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) , then eventually extend this partition rank upper bound to a circuit size bound.
We also remark that recently, Brand, Kaski and Wang [BKW26] proposed another modification of partition ranks, which aims to generalize Strassen’s lower bound to higher modes. They define the ( k − 2 , 1 , 1 ) (k-2,1,1) ( k − 2 , 1 , 1 ) -partition rank as the minimal number of terms needed to write a tensor as a sum of products of a ( k − 2 ) (k-2) ( k − 2 ) -mode multilinear polynomial, a linear form and another linear form. This notion R k − 2 , 1 , 1 ( f ) R_{k-2,1,1}(f) R k − 2 , 1 , 1 ( f ) can provide a lower bound for arithmetic circuits. In principle, to find a small circuit for a tensor, one should first find a small ( k − 2 , 1 , 1 ) (k-2,1,1) ( k − 2 , 1 , 1 ) -partition rank decomposition. (Although we will not exactly follow this as it’s cumbersome to explicitly write down such a decomposition from our circuits.)
A partition rank decomposition
In this subsection, we will focus on the k = 4 k=4 k = 4 case for simplicity, and prove a certain kind of O ( n 4 − ϵ ) O(n^{4-\epsilon}) O ( n 4 − ϵ ) -term partition rank upper bound of the hyperclique polynomial. This can be seen as a first step towards the algebraic refutation of the hyperclique conjecture: We are partially constructing an arithmetic circuit by first building its top product layer, then the completion of the rest of the circuit will be sketched in section 1.4.
Merely below brute-force. We first begin with a “baby step,” finding a decomposition with fewer than n 4 n^4 n 4 terms that does not quite give us a polynomial saving.
For convenience, we will relabel the variables in the following way:
Δ n ( 4 ) ( X , Y , Z , W ) = ∑ i , j , k , ℓ = 1 n x j k ℓ y i k ℓ z i j ℓ w i j k . \Delta_n^{(4)}(X,Y,Z,W)=\sum_{i,j,k,\ell=1}^{n}x_{jk\ell}y_{ik\ell}z_{ij\ell}w_{ijk}. Δ n ( 4 ) ( X , Y , Z , W ) = i , j , k , ℓ = 1 ∑ n x j k ℓ y ik ℓ z ij ℓ w ij k .
We strategically first pair the variable set into groups X Z XZ X Z and Y W YW Y W :
Δ n ( 4 ) ( X , Y , Z , W ) = ∑ i , j , k , ℓ = 1 n x j k ℓ z i j ℓ ⋅ y i k ℓ w i j k . \Delta_n^{(4)}(X,Y,Z,W)=\sum_{i,j,k,\ell=1}^{n}x_{jk\ell}z_{ij\ell}\cdot y_{ik\ell}w_{ijk}. Δ n ( 4 ) ( X , Y , Z , W ) = i , j , k , ℓ = 1 ∑ n x j k ℓ z ij ℓ ⋅ y ik ℓ w ij k .
then we artificially add and then subtract a term x i k ℓ z j i ℓ x_{ik\ell}z_{ji\ell} x ik ℓ z j i ℓ ; note that this is interchanging i i i and j j j for x j k ℓ z i j ℓ x_{jk\ell}z_{ij\ell} x j k ℓ z ij ℓ .
Δ n ( 4 ) ( X , Y , Z , W ) = ∑ i , j , k , ℓ = 1 n ( x j k ℓ z i j ℓ − x i k ℓ z j i ℓ + x i k ℓ z j i ℓ ) ⋅ y i k ℓ w i j k = ∑ i , j , k , ℓ = 1 n ( x j k ℓ z i j ℓ − x i k ℓ z j i ℓ ) y i k ℓ w i j k + ∑ i , j , k , ℓ = 1 n x i k ℓ z j i ℓ ⋅ y i k ℓ w i j k = : T 0 + T 1 . (4) \begin{aligned}
\Delta_n^{(4)}(X,Y,Z,W)=\sum_{i,j,k,\ell=1}^{n}(x_{jk\ell}z_{ij\ell}-x_{ik\ell}z_{ji\ell}+x_{ik\ell}z_{ji\ell})\cdot y_{ik\ell}w_{ijk} \\
&=\sum_{i,j,k,\ell=1}^{n}(x_{jk\ell}z_{ij\ell}-x_{ik\ell}z_{ji\ell})y_{ik\ell}w_{ijk}+\sum_{i,j,k,\ell=1}^{n}x_{ik\ell}z_{ji\ell}\cdot y_{ik\ell}w_{ijk} \\
&=:T_0+T_1. \tag*{(4)}
\end{aligned} Δ n ( 4 ) ( X , Y , Z , W ) = i , j , k , ℓ = 1 ∑ n ( x j k ℓ z ij ℓ − x ik ℓ z j i ℓ + x ik ℓ z j i ℓ ) ⋅ y ik ℓ w ij k = i , j , k , ℓ = 1 ∑ n ( x j k ℓ z ij ℓ − x ik ℓ z j i ℓ ) y ik ℓ w ij k + i , j , k , ℓ = 1 ∑ n x ik ℓ z j i ℓ ⋅ y ik ℓ w ij k =: T 0 + T 1 . (4)
The advantage comes from analyzing each of T 0 T_0 T 0 and T 1 T_1 T 1 separately. For T 0 T_0 T 0 , the saving comes from the fact that x j k ℓ z i j ℓ − x i k ℓ z j i ℓ x_{jk\ell}z_{ij\ell}-x_{ik\ell}z_{ji\ell} x j k ℓ z ij ℓ − x ik ℓ z j i ℓ is antisymmetric with respect to i i i and j j j , meaning that swapping them negates the term. Thus we can write it as
T 0 = ∑ 1 ≤ i < j ≤ n k , ℓ = 1 n ( x j k ℓ z i j ℓ − x i k ℓ z j i ℓ ) ( y i k ℓ w i j k − y j k ℓ w j i k ) , T_0=\sum_{\substack{1\le i<j\le n\\ k,\ell=1}}^{n}(x_{jk\ell}z_{ij\ell}-x_{ik\ell}z_{ji\ell})(y_{ik\ell}w_{ijk}-y_{jk\ell}w_{jik}), T 0 = 1 ≤ i < j ≤ n k , ℓ = 1 ∑ n ( x j k ℓ z ij ℓ − x ik ℓ z j i ℓ ) ( y ik ℓ w ij k − y j k ℓ w j ik ) ,
which only has ( n 2 ) n 2 ≈ n 4 / 2 \binom{n}{2}n^2\approx n^4/2 ( 2 n ) n 2 ≈ n 4 /2 terms, a factor of 2 below the straightforward n 4 n^4 n 4 .
The saving for T 1 T_1 T 1 comes from the change in which indices each variable depends on . Looking at the indices of the four variables in
T 1 = ∑ i , j , k , ℓ = 1 n x i k ℓ z j i ℓ ⋅ y i k ℓ w i j k , T_1=\sum_{i,j,k,\ell=1}^{n}x_{ik\ell}z_{ji\ell}\cdot y_{ik\ell}w_{ijk}, T 1 = i , j , k , ℓ = 1 ∑ n x ik ℓ z j i ℓ ⋅ y ik ℓ w ij k ,
we see that compared to Δ n ( 4 ) \Delta_n^{(4)} Δ n ( 4 ) , our manipulation didn’t change the indices that z z z depends on (it still depends on j , i , ℓ j,i,\ell j , i , ℓ , although read in a different order), but it changed the indices that x x x depends on: it now depends on i , k , ℓ i,k,\ell i , k , ℓ rather than on j , k , ℓ j,k,\ell j , k , ℓ . Consequently, every variable depends on i i i now, and after rearrangement,
T 1 = ∑ i = 1 n ∑ j , k , ℓ = 1 n ( x i k ℓ ⋅ y i k ℓ ) z j i ℓ w i j k = ∑ i = 1 n Δ n ( 3 ) ( { x i k ℓ ⋅ y i k ℓ } k ℓ , { z j i ℓ } j ℓ , { w i j k } j k ) , \begin{aligned}
T_1=\sum_{i=1}^{n}\sum_{j,k,\ell=1}^{n}(x_{ik\ell}\cdot y_{ik\ell})z_{ji\ell}w_{ijk} \\
&=\sum_{i=1}^{n}\Delta_n^{(3)}\left(\{x_{ik\ell}\cdot y_{ik\ell}\}_{k\ell},\{z_{ji\ell}\}_{j\ell},\{w_{ijk}\}_{jk}\right),
\end{aligned} T 1 = i = 1 ∑ n j , k , ℓ = 1 ∑ n ( x ik ℓ ⋅ y ik ℓ ) z j i ℓ w ij k = i = 1 ∑ n Δ n ( 3 ) ( { x ik ℓ ⋅ y ik ℓ } k ℓ , { z j i ℓ } j ℓ , { w ij k } j k ) ,
which becomes a sum of n n n invocations of the Δ n ( 3 ) \Delta_n^{(3)} Δ n ( 3 ) tensor! Since we know Δ n ( 3 ) \Delta_n^{(3)} Δ n ( 3 ) has tensor rank n ω + o ( 1 ) n^{\omega+o(1)} n ω + o ( 1 ) with ω < 3 \omega<3 ω < 3 , after substituting x ⋅ y , z , w x\cdot y,z,w x ⋅ y , z , w into it, every term in the tensor rank decomposition becomes an ( X Y ∣ Z ∣ W ) (XY|Z|W) ( X Y ∣ Z ∣ W ) -partition rank term.
Putting these decompositions together, we now have a way to rewrite Δ n ( 4 ) \Delta_n^{(4)} Δ n ( 4 ) as T 0 + T 1 T_0+T_1 T 0 + T 1 , where
T 0 T_0 T 0 has about n 4 / 2 n^4/2 n 4 /2 many X Z ∣ Y W XZ|YW X Z ∣ Y W -partition rank terms, and
T 1 T_1 T 1 has n ω + 1 + o ( 1 ) n^{\omega+1+o(1)} n ω + 1 + o ( 1 ) many X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W -partition rank terms.
Because ω < 3 \omega<3 ω < 3 , the first term dominates, and we have a certain kind of partition rank that has roughly n 4 / 2 n^4/2 n 4 /2 terms, bypassing the tensor rank bound.
We can sanity check this decomposition by comparing it with the rank lower bound from flattening that we discussed in § 1.2 above. That argument gives an n 4 n^4 n 4 lower bound for any partition into two parts on each side, such as ( X Z ∣ Y W ) (XZ|YW) ( X Z ∣ Y W ) . Our decomposition has terms partitioned into both ( X Z ∣ Y W ) (XZ|YW) ( X Z ∣ Y W ) and ( X Y ∣ Z ∣ W ) (XY|Z|W) ( X Y ∣ Z ∣ W ) , and no flattening with two parts on each side would convert each such term into a rank 1 matrix. More generally, for k ≥ 4 k \ge4 k ≥ 4 , the n k n^k n k -term tensor rank lower bound is proved via any non-singleton flattening (which means the flattening must have at least two modes on both sides).
Tensor up? A common strategy to boost a nontrivial bound to a larger polynomial saving is through taking tensor powers . Let f , g f,g f , g be two k k k -mode tensors
f = ∑ i 1 , … , i k f i 1 , … , i k x i 1 ( 1 ) ⋯ x i k ( k ) , g = ∑ j 1 , … , j k g j 1 , … , j k x j 1 ( 1 ) ⋯ x j k ( k ) . f = \sum_{i_1,\ldots,i_k} f_{i_1,\ldots,i_k} x_{i_1}^{(1)} \cdots x_{i_k}^{(k)}, \qquad g = \sum_{j_1,\ldots,j_k} g_{j_1,\ldots,j_k} x_{j_1}^{(1)} \cdots x_{j_k}^{(k)}. f = i 1 , … , i k ∑ f i 1 , … , i k x i 1 ( 1 ) ⋯ x i k ( k ) , g = j 1 , … , j k ∑ g j 1 , … , j k x j 1 ( 1 ) ⋯ x j k ( k ) .
Their tensor product (also called Kronecker product ) is defined as
f ⊗ g = ∑ i 1 , … , i k j 1 , … , j k f i 1 , … , i k g j 1 , … , j k x i 1 j 1 ( 1 ) ⋯ x i k j k ( k ) . f \otimes g = \sum_{\substack{i_1,\ldots,i_k\\j_1,\ldots,j_k}} f_{i_1,\ldots,i_k}g_{j_1,\ldots,j_k} x_{i_1j_1}^{(1)} \cdots x_{i_kj_k}^{(k)}. f ⊗ g = i 1 , … , i k j 1 , … , j k ∑ f i 1 , … , i k g j 1 , … , j k x i 1 j 1 ( 1 ) ⋯ x i k j k ( k ) .
A notable property of tensor rank is its submultiplicativity R ( f ⊗ g ) ≤ R ( f ) ⋅ R ( g ) \mathrm{R}(f \otimes g) \le\mathrm{R}(f) \cdot\mathrm{R}(g) R ( f ⊗ g ) ≤ R ( f ) ⋅ R ( g ) . This is because, if f , g f,g f , g can be written as a sum of products
f = ∑ i ℓ i ( 1 ) ⋯ ℓ i ( k ) , g = ∑ j ℓ j ( 1 ) ⋯ ℓ j ( k ) , f = \sum_i \ell_i^{(1)} \cdots\ell_i^{(k)}, \qquad g = \sum_j \ell_j^{(1)} \cdots\ell_j^{(k)}, f = i ∑ ℓ i ( 1 ) ⋯ ℓ i ( k ) , g = j ∑ ℓ j ( 1 ) ⋯ ℓ j ( k ) ,
then their tensor product can as well by expanding
f ⊗ g = ∑ i , j ( ℓ i ( 1 ) ⋯ ℓ i ( k ) ) ⊗ ( ℓ j ( 1 ) ⋯ ℓ j ( k ) ) = ∑ i , j ( ℓ i ( 1 ) ⊗ ℓ j ( 1 ) ) ⋯ ( ℓ i ( k ) ⊗ ℓ j ( k ) ) , \begin{aligned}
f \otimes g = \sum_{i,j} \left(\ell_i^{(1)} \cdots\ell_i^{(k)}\right) \otimes\left(\ell_j^{(1)} \cdots\ell_j^{(k)}\right) \\
&= \sum_{i,j} \left(\ell_i^{(1)} \otimes\ell_j^{(1)}\right) \cdots\left(\ell_i^{(k)} \otimes\ell_j^{(k)}\right),
\end{aligned} f ⊗ g = i , j ∑ ( ℓ i ( 1 ) ⋯ ℓ i ( k ) ) ⊗ ( ℓ j ( 1 ) ⋯ ℓ j ( k ) ) = i , j ∑ ( ℓ i ( 1 ) ⊗ ℓ j ( 1 ) ) ⋯ ( ℓ i ( k ) ⊗ ℓ j ( k ) ) ,
because the tensor product of rank-1 terms is again a rank-1 term.
Hyperclique tensors have the self-similarity property Δ n m ( k ) = Δ n ( k ) ⊗ Δ m ( k ) \Delta_{nm}^{(k)} = \Delta_n^{(k)} \otimes\Delta_m^{(k)} Δ nm ( k ) = Δ n ( k ) ⊗ Δ m ( k ) . This allows one to bound the tensor rank for the whole family via a finite construction, especially for the k = 3 k=3 k = 3 case: If one finds a tensor rank bound R ( Δ q ( 3 ) ) ≤ r \mathrm{R}(\Delta_q^{(3)}) \le r R ( Δ q ( 3 ) ) ≤ r , then for n = q d n=q^d n = q d we have
R ( Δ q d ( 3 ) ) = R ( ( Δ q ( 3 ) ) ⊗ d ) ≤ r d . \mathrm{R}(\Delta_{q^d}^{(3)}) = \mathrm{R}\left((\Delta_q^{(3)})^{\otimes d}\right) \le r^d. R ( Δ q d ( 3 ) ) = R ( ( Δ q ( 3 ) ) ⊗ d ) ≤ r d .
With some more care, one can use this to show the rank and the circuit complexity of Δ n ( 3 ) \Delta_n^{(3)} Δ n ( 3 ) are both O ( n log q r ) O(n^{\log_q r}) O ( n l o g q r ) , which means ω ≤ log q r \omega\le\log_q r ω ≤ log q r .
Can the tensor product argument also let us boost our “partition rank” estimate from < n 4 < n^4 < n 4 to n 4 − ε n^{4-\varepsilon} n 4 − ε ? Unfortunately, the most direct approach doesn’t work, since our partition rank decomposition contains different partitions. We just showed Δ n ( 4 ) = T 0 + T 1 \Delta_n^{(4)} = T_0+T_1 Δ n ( 4 ) = T 0 + T 1 , where T 0 T_0 T 0 is a sum of X Z ∣ Y W XZ|YW X Z ∣ Y W partitions and T 1 T_1 T 1 is a sum of X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W partitions. Suppose we start with some fixed-q q q case Δ q ( 4 ) = T 0 + T 1 \Delta_q^{(4)} = T_0+T_1 Δ q ( 4 ) = T 0 + T 1 of this decomposition, and want to use it to bound the tensor power Δ q d ( 4 ) = ( Δ q ( 4 ) ) ⊗ d \Delta_{q^d}^{(4)} = (\Delta_q^{(4)})^{\otimes d} Δ q d ( 4 ) = ( Δ q ( 4 ) ) ⊗ d . For a subset A ⊆ [ d ] A \subseteq[d] A ⊆ [ d ] , write T A = T 0 ⊗ [ d ] ∖ A T 1 ⊗ A T_A = T_0^{\otimes[d]\setminus A}T_1^{\otimes A} T A = T 0 ⊗ [ d ] ∖ A T 1 ⊗ A to denote the tensor product of d d d factors, where the a a a -th tensor factor is T 1 T_1 T 1 if a ∈ A a \in A a ∈ A and T 0 T_0 T 0 otherwise. Expanding the tensor power gives
Δ q d ( 4 ) = ( T 0 + T 1 ) ⊗ d = ∑ A ⊆ [ d ] T A . \Delta_{q^d}^{(4)} = (T_0+T_1)^{\otimes d} = \sum_{A \subseteq[d]} T_A. Δ q d ( 4 ) = ( T 0 + T 1 ) ⊗ d = A ⊆ [ d ] ∑ T A .
The cases A = ∅ A = \varnothing A = ∅ and A = [ d ] A = [d] A = [ d ] are well-behaved, because T 0 ⊗ d T_0^{\otimes d} T 0 ⊗ d (T 1 ⊗ d T_1^{\otimes d} T 1 ⊗ d , resp.) remains an X Z ∣ Y W XZ|YW X Z ∣ Y W (X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W , resp.) partition rank decomposition. The more challenging part is the mixed case, since the tensor product T 0 ⊗ T 1 T_0 \otimes T_1 T 0 ⊗ T 1 of our partitions is neither an X Z ∣ Y W XZ|YW X Z ∣ Y W nor an X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W partition.
Dichotomy. Nonetheless, this problem can be resolved by a dichotomy argument. Intuitively, we will argue that if ∣ A ∣ |A| ∣ A ∣ is small, then the mixed tensor product T A T_A T A has a lot of T 0 T_0 T 0 factors and thus behaves like T 0 ⊗ d T_0^{\otimes d} T 0 ⊗ d ; we refer to this as the low-degree case, and notationally will label tensors corresponding to this case with L L L , since they will correspond to the case in Equation (7) below with low degree in the τ \tau τ variables. Similarly, if ∣ A ∣ |A| ∣ A ∣ is large, then T A T_A T A intuitively behaves like T 1 ⊗ d T_1^{\otimes d} T 1 ⊗ d , and we call this the high-degree case labeled by H H H .
We pick some threshold t t t to be determined later, and consider splitting the summation into
( T 0 + T 1 ) ⊗ d = ∑ ∣ A ∣ ≤ t T A + ∑ ∣ A ∣ > t T A = : Δ q d , L ( 4 ) + Δ q d , H ( 4 ) . (T_0 + T_1)^{\otimes d} = \sum_{|A|\leq t} T_A + \sum_{|A|>t} T_A =: \Delta_{q^d,L}^{(4)} + \Delta_{q^d,H}^{(4)}. ( T 0 + T 1 ) ⊗ d = ∣ A ∣ ≤ t ∑ T A + ∣ A ∣ > t ∑ T A =: Δ q d , L ( 4 ) + Δ q d , H ( 4 ) .
We can actually argue that the low-degree part Δ q d , L ( 4 ) \Delta_{q^d,L}^{(4)} Δ q d , L ( 4 ) still has small X Z ∣ Y W XZ|YW X Z ∣ Y W partition rank and the high-degree part Δ q d , H ( 4 ) \Delta_{q^d,H}^{(4)} Δ q d , H ( 4 ) has small X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W partition rank.
Low-degree. The X Z ∣ Y W XZ|YW X Z ∣ Y W partition rank of a tensor is just the matrix rank of the flattening in which pairs of x x x and z z z variables become the rows, and pairs of y y y and w w w variables become the columns. The row space of the original tensor Δ q ( 4 ) \Delta_q^{(4)} Δ q ( 4 ) is
V = span { x j k ℓ z i j ℓ } i , j , k , ℓ ∈ [ q ] . V = \operatorname{span}\{x_{j k \ell}z_{i j \ell}\}_{i,j,k,\ell\in[q]}. V = span { x j k ℓ z ij ℓ } i , j , k , ℓ ∈ [ q ] .
while the row space of T 0 T_0 T 0 lives in the subspace antisymmetrizing i i i and j j j :
V 0 = span { x j k ℓ z i j ℓ − x i k ℓ z j i ℓ } i , j , k , ℓ ∈ [ q ] ⊂ V . V_0 = \operatorname{span}\{x_{j k \ell}z_{i j \ell} - x_{i k \ell}z_{j i \ell}\}_{i,j,k,\ell\in[q]} \subset V. V 0 = span { x j k ℓ z ij ℓ − x ik ℓ z j i ℓ } i , j , k , ℓ ∈ [ q ] ⊂ V .
Think of V V V as decomposed into V 0 V_0 V 0 and its complement, V = V 0 ⊕ V 1 V = V_0 \oplus V_1 V = V 0 ⊕ V 1 . Then any low-degree T A T_A T A with ∣ A ∣ ≤ t |A| \leq t ∣ A ∣ ≤ t lives in the space where at most t t t tensor factors are V 1 V_1 V 1 , which gives the rank estimate for Δ q d , L ( 4 ) \Delta_{q^d,L}^{(4)} Δ q d , L ( 4 ) of
R X Z ∣ Y W ( Δ q d , L ( 4 ) ) ≤ ∑ b ≤ t ( d b ) ( dim V 0 ) d − b ( dim V 1 ) b = ∑ b ≤ t ( d b ) [ q 3 ( q − 1 ) 2 ] d − b [ q 3 ( q + 1 ) 2 ] b . (5) R_{XZ|YW}(\Delta_{q^d,L}^{(4)}) \leq\sum_{b\leq t} \binom{d}{b}(\dim V_0)^{d-b}(\dim V_1)^b = \sum_{b\leq t} \binom{d}{b}\left[\frac{q^3(q-1)}{2}\right]^{d-b}\left[\frac{q^3(q+1)}{2}\right]^b. \tag*{(5)} R X Z ∣ Y W ( Δ q d , L ( 4 ) ) ≤ b ≤ t ∑ ( b d ) ( dim V 0 ) d − b ( dim V 1 ) b = b ≤ t ∑ ( b d ) [ 2 q 3 ( q − 1 ) ] d − b [ 2 q 3 ( q + 1 ) ] b . (5)
High-degree. For the X Y ∣ Z ∣ W XY|Z|W X Y ∣ Z ∣ W partition rank, we directly use the submultiplicativity of rank to bound each T A T_A T A for any high-degree ∣ A ∣ = b > t |A| = b > t ∣ A ∣ = b > t by
R X Y ∣ Z ∣ W ( T A ) ≤ R X Y ∣ Z ∣ W ( T 0 ) d − b R X Y ∣ Z ∣ W ( T 1 ) b . R_{XY|Z|W}(T_A) \leq R_{XY|Z|W}(T_0)^{d-b} R_{XY|Z|W}(T_1)^b. R X Y ∣ Z ∣ W ( T A ) ≤ R X Y ∣ Z ∣ W ( T 0 ) d − b R X Y ∣ Z ∣ W ( T 1 ) b .
Write r = R X Y ∣ Z ∣ W ( T 1 ) r = R_{XY|Z|W}(T_1) r = R X Y ∣ Z ∣ W ( T 1 ) . Since T 0 = Δ q ( 4 ) − T 1 T_0 = \Delta_q^{(4)} - T_1 T 0 = Δ q ( 4 ) − T 1 , we can also bound R X Y ∣ Z ∣ W ( T 0 ) R_{XY|Z|W}(T_0) R X Y ∣ Z ∣ W ( T 0 ) by q 4 + r q^4 + r q 4 + r . This gives the rank estimate for Δ q d , H ( 4 ) \Delta_{q^d,H}^{(4)} Δ q d , H ( 4 )
R X Y ∣ Z ∣ W ( Δ q d , H ( 4 ) ) ≤ ∑ b > t ( d b ) ( q 4 + r ) d − b r b . (6) R_{XY|Z|W}(\Delta_{q^d,H}^{(4)}) \leq\sum_{b>t} \binom{d}{b}(q^4+r)^{d-b}r^b. \tag*{(6)} R X Y ∣ Z ∣ W ( Δ q d , H ( 4 ) ) ≤ b > t ∑ ( b d ) ( q 4 + r ) d − b r b . (6)
Threshold. We want to set the threshold t t t appropriately such that both parts of the partition rank estimate are ( q d ) 4 − ε (q^d)^{4-\varepsilon} ( q d ) 4 − ε . For the low-degree part, note that the whole summation (4) just sums to q 4 d q^{4d} q 4 d when there’s no threshold t t t . Most of the mass concentrates at the summands where b / d ≈ ( dim V 1 ) / ( dim V ) = ( q + 1 ) / 2 q b/d \approx(\dim V_1)/(\dim V) = (q+1)/2q b / d ≈ ( dim V 1 ) / ( dim V ) = ( q + 1 ) /2 q , so to get exponential saving, one only needs to pick t t t below this; we may just set t = d / 2 t=d/2 t = d /2 .
For the high-degree part, note that we have r = q ω + 1 + o ( 1 ) r=q^{\omega+1+o(1)} r = q ω + 1 + o ( 1 ) where ω < 3 \omega<3 ω < 3 , so r / q 4 → 0 r/q^4\to0 r / q 4 → 0 when q → ∞ q\to\infty q → ∞ . When q q q is large enough, most of the contribution of (6) just comes from the b ≈ d / 2 b\approx d/2 b ≈ d /2 case, which is roughly [ 2 q 4 + r ⋅ r ] d [2\sqrt{q^4+r}\cdot r]^d [ 2 q 4 + r ⋅ r ] d . Again, when q q q is sufficiently large, this is smaller than q 4 d q^{4d} q 4 d . Thus Δ q d , L ( 4 ) \Delta^{(4)}_{q^d,L} Δ q d , L ( 4 ) and Δ q d , H ( 4 ) \Delta^{(4)}_{q^d,H} Δ q d , H ( 4 ) have partition rank q ( 4 − ε ) d q^{(4-\varepsilon)d} q ( 4 − ε ) d .
We remark that dichotomy arguments like this have already appeared in previous studies of tensors and matrices, including some partition rank (including slice rank) upper bounds in combinatorics [CLP17; EG17; TS16; NS17; Nas20], as well as matrix rigidity upper bounds [7 , 5 ] .
In the next subsection, we take this partition rank construction and complete it into a genuine circuit. Before proceeding, we remark on a few technical differences which will arise as we do this. For the general analysis of the high-degree part Δ q d , H ( k ) \Delta^{(k)}_{q^d,H} Δ q d , H ( k ) , we will be able to almost straightforwardly replace the tensor rank bound (6) by a circuit bound, since our approach mainly reduces it to many ( k − 1 ) (k-1) ( k − 1 ) -hyperclique polynomials. For the low-degree part Δ q d , L ( k ) \Delta^{(k)}_{q^d,L} Δ q d , L ( k ) , we will have more work to do, particularly designing circuits computing the two branches of the partition rank decomposition. This will require us to lower the threshold to t = d / B t=d/B t = d / B for some constant B > 2 B>2 B > 2 depending on k k k .
Circuit construction
In this subsection, we will sketch how to extend the previous partition rank upper bound to a circuit size upper bound; in section 3 we will formally prove the result sketched here. The proof proceeds by induction on k k k : we assume that Δ n ( k − 1 ) \Delta^{(k-1)}_n Δ n ( k − 1 ) has circuits of size O ( n k − 1 − ε ) O(n^{k-1-\varepsilon}) O ( n k − 1 − ε ) for some ε > 0 \varepsilon>0 ε > 0 , and show that this implies that Δ n ( k ) \Delta^{(k)}_n Δ n ( k ) has a circuit of size n k − ε ′ n^{k-\varepsilon'} n k − ε ′ for some ε ′ > 0 \varepsilon'>0 ε ′ > 0 . We start from the base case that Δ n ( 3 ) \Delta^{(3)}_n Δ n ( 3 ) has circuits of size n ω + o ( 1 ) n^{\omega+o(1)} n ω + o ( 1 ) .
From now on, let k k k and ε \varepsilon ε be fixed. We will write n = q d n=q^d n = q d with q = 2 B q=2^B q = 2 B , and B B B will be a large constant depending on k k k and ε \varepsilon ε . If n n n cannot be expressed in this way, pad the instance with extra vertices, which only changes the circuit sizes by a constant.
Setup. We start by introducing some notation. Label the k k k coordinates as ( i , j , z 1 , … , z k − 2 ) ∈ [ n ] k (i,j,z_1,\ldots,z_{k-2})\in[n]^k ( i , j , z 1 , … , z k − 2 ) ∈ [ n ] k . Introduce variables U ( i , z ) U(i,z) U ( i , z ) , V ( j , z ) V(j,z) V ( j , z ) , and X s ( i , j , z − s ) X_s(i,j,z_{-s}) X s ( i , j , z − s ) for i , j ∈ [ n ] i,j\in[n] i , j ∈ [ n ] , z ∈ [ n ] k − 2 z\in[n]^{k-2} z ∈ [ n ] k − 2 , s ∈ [ k − 2 ] s\in[k-2] s ∈ [ k − 2 ] . Then we can equivalently write the k k k -hyperclique tensor as the polynomial
Δ n ( k ) = ∑ i , j ∈ [ n ] , z ∈ [ n ] k − 2 U ( i , z ) V ( j , z ) ∏ s = 1 k − 2 X s ( i , j , z − s ) . \Delta^{(k)}_n=\sum_{i,j\in[n],\,z\in[n]^{k-2}}U(i,z)V(j,z)\prod_{s=1}^{k-2}X_s(i,j,z_{-s}). Δ n ( k ) = i , j ∈ [ n ] , z ∈ [ n ] k − 2 ∑ U ( i , z ) V ( j , z ) s = 1 ∏ k − 2 X s ( i , j , z − s ) .
We partition the k k k modes by making U U U and X k − 2 X_{k-2} X k − 2 into one group and the rest of the modes into another group. Define matrices Q z Q^z Q z and P z P^z P z via
( Q z ) i j = U ( i , z ) X k − 2 ( i , j , z − ( k − 2 ) ) , (Q^z)_{ij}=U(i,z)X_{k-2}(i,j,z_{-(k-2)}), ( Q z ) ij = U ( i , z ) X k − 2 ( i , j , z − ( k − 2 ) ) ,
( P z ) i j = V ( j , z ) ∏ s = 1 k − 3 X s ( i , j , z − s ) . (P^z)_{ij}=V(j,z)\prod_{s=1}^{k-3}X_s(i,j,z_{-s}). ( P z ) ij = V ( j , z ) s = 1 ∏ k − 3 X s ( i , j , z − s ) .
These are n × n n \times n n × n matrices with monomial entries. We then have
Δ n ( k ) = ∑ z ⟨ Q z , P z ⟩ \Delta_n^{(k)} = \sum_z \langle Q^z, P^z \rangle Δ n ( k ) = z ∑ ⟨ Q z , P z ⟩
where ⟨ A , B ⟩ = ∑ i , j A i j B i j \langle A,B\rangle= \sum_{i,j} A_{ij}B_{ij} ⟨ A , B ⟩ = ∑ i , j A ij B ij is the Frobenius inner product. So far we have done nothing other than rename and group variables.
For a linear map T T T on the space of n × n n \times n n × n matrices, define the twisted hyperclique tensor
Δ n , T ( k ) : = ∑ z ⟨ P z , T ⋅ Q z ⟩ . \Delta_{n,T}^{(k)} := \sum_z \langle P^z, T \cdot Q^z \rangle. Δ n , T ( k ) := z ∑ ⟨ P z , T ⋅ Q z ⟩ .
We next describe how to rephrase the decomposition Δ n ( k ) = Δ n , I ( k ) = Δ n , L ( k ) + Δ n , H ( k ) \Delta_n^{(k)} = \Delta_{n,I}^{(k)} = \Delta_{n,L}^{(k)} + \Delta_{n,H}^{(k)} Δ n ( k ) = Δ n , I ( k ) = Δ n , L ( k ) + Δ n , H ( k ) discussed in Section 1.3 in terms of linear operators L , H L,H L , H such that I = L + H I = L + H I = L + H .
Partial transposes. We will view q d × q d q^d \times q^d q d × q d matrices as having rows and columns indexed by vectors in [ q ] d [q]^d [ q ] d . For p ∈ [ d ] p \in[d] p ∈ [ d ] we define the transpose operator τ p \tau_p τ p , which acts on the space of q d × q d q^d \times q^d q d × q d matrices via
τ p ⋅ Q ( a 1 , … , a p , … , a d ) , ( b 1 , … , b p , … , b d ) = Q ( a 1 , … , b p , … , a d ) , ( b 1 , … , a p , … , b d ) . \tau_p \cdot Q_{(a_1,\ldots,a_p,\ldots,a_d),(b_1,\ldots,b_p,\ldots,b_d)}
= Q_{(a_1,\ldots,b_p,\ldots,a_d),(b_1,\ldots,a_p,\ldots,b_d)}. τ p ⋅ Q ( a 1 , … , a p , … , a d ) , ( b 1 , … , b p , … , b d ) = Q ( a 1 , … , b p , … , a d ) , ( b 1 , … , a p , … , b d ) .
Note that transpose operators commute with each other, so for A ⊆ [ d ] A \subseteq[d] A ⊆ [ d ] there is no ambiguity in defining τ A : = ∏ a ∈ A τ a \tau_A := \prod_{a \in A} \tau_a τ A := ∏ a ∈ A τ a . We call these τ A \tau_A τ A partial transposes . These operators appear frequently in quantum information theory [53 Section 6.2.3] .
Similar to the analysis of high-degree part in Section 1.3, let’s see how partial transposes allow us to reduce Δ n , τ A ( k ) \Delta_{n,\tau_A}^{(k)} Δ n , τ A ( k ) to Δ n ( k − 1 ) \Delta_n^{(k-1)} Δ n ( k − 1 ) . Consider first the extreme case of Δ n , τ [ d ] ( k ) \Delta_{n,\tau_{[d]}}^{(k)} Δ n , τ [ d ] ( k ) , where we fully transpose the Q z Q^z Q z matrices. We have that
Δ n , τ [ d ] ( k ) = ∑ z ⟨ P z , τ [ d ] ⋅ Q z ⟩ = ∑ z ⟨ P z , ( Q z ) T ⟩ = ∑ i , j , z V ( j , z ) ∏ s = 1 k − 3 X s ( i , j , z − s ) ⋅ U ( j , z ) X k − 2 ( j , i , z − ( k − 2 ) ) . \Delta_{n,\tau_{[d]}}^{(k)}
= \sum_z \langle P^z,\tau_{[d]} \cdot Q^z\rangle
= \sum_z \langle P^z,(Q^z)^{\mathsf{T}}\rangle
= \sum_{i,j,z} V(j,z) \prod_{s=1}^{k-3} X_s(i,j,z_{-s}) \cdot U(j,z)X_{k-2}(j,i,z_{-(k-2)}). Δ n , τ [ d ] ( k ) = z ∑ ⟨ P z , τ [ d ] ⋅ Q z ⟩ = z ∑ ⟨ P z , ( Q z ) T ⟩ = i , j , z ∑ V ( j , z ) s = 1 ∏ k − 3 X s ( i , j , z − s ) ⋅ U ( j , z ) X k − 2 ( j , i , z − ( k − 2 ) ) .
Now all subscripts involve j j j . If we first sum over j j j , we have
Δ n , τ [ d ] ( k ) = ∑ j ∑ i , z V ( j , z ) ∏ s = 1 k − 3 X s ( i , j , z − s ) ⋅ U ( j , z ) X k − 2 ( j , i , z − ( k − 2 ) ) = ∑ j ∑ i , z W ( j , z ) ⋅ X k − 2 ( j , i , z − ( k − 2 ) ) ⋅ ∏ s = 1 k − 3 X s ( i , j , z − s ) . \begin{aligned}
\Delta_{n,\tau_{[d]}}^{(k)}
&= \sum_j \sum_{i,z} V(j,z) \prod_{s=1}^{k-3} X_s(i,j,z_{-s}) \cdot U(j,z)X_{k-2}(j,i,z_{-(k-2)}) \\
&= \sum_j \sum_{i,z} W(j,z) \cdot X_{k-2}(j,i,z_{-(k-2)}) \cdot\prod_{s=1}^{k-3} X_s(i,j,z_{-s}).
\end{aligned} Δ n , τ [ d ] ( k ) = j ∑ i , z ∑ V ( j , z ) s = 1 ∏ k − 3 X s ( i , j , z − s ) ⋅ U ( j , z ) X k − 2 ( j , i , z − ( k − 2 ) ) = j ∑ i , z ∑ W ( j , z ) ⋅ X k − 2 ( j , i , z − ( k − 2 ) ) ⋅ s = 1 ∏ k − 3 X s ( i , j , z − s ) .
where W ( j , z ) : = U ( j , z ) V ( j , z ) W(j,z) := U(j,z)V(j,z) W ( j , z ) := U ( j , z ) V ( j , z ) . The key observation is that for fixed j j j , each variable in the inner sum omits one subscript among i , z 1 , … , z k − 2 i,z_1,\ldots,z_{k-2} i , z 1 , … , z k − 2 . Hence the inner sum equals Δ n ( k − 1 ) ( W , X ( 1 ) , … , X ( k − 2 ) ) \Delta_n^{(k-1)}(W,X^{(1)},\ldots,X^{(k-2)}) Δ n ( k − 1 ) ( W , X ( 1 ) , … , X ( k − 2 ) ) . So for each j ∈ [ n ] j \in[n] j ∈ [ n ] , the inner sum can be computed using n k − 2 n^{k-2} n k − 2 multiplications to compute the W W W variables, and then using a circuit for Δ n ( k − 1 ) \Delta_n^{(k-1)} Δ n ( k − 1 ) . Adding up the results for all j ∈ [ n ] j \in[n] j ∈ [ n ] , this gives a circuit of size
n ⋅ ( n k − 1 − ε + n k − 2 ) = O ( n k − ε ) . n \cdot\left(n^{k-1-\varepsilon} + n^{k-2}\right) = O(n^{k-\varepsilon}). n ⋅ ( n k − 1 − ε + n k − 2 ) = O ( n k − ε ) .
Hence, for a full transpose, we inherit the savings n − ε n^{-\varepsilon} n − ε from the k − 1 k-1 k − 1 case. For a partial transpose τ A \tau_A τ A , we can first enumerate over all digits outside A A A , each subproblem becomes a full transposed case for n = q ∣ A ∣ n = q^{|A|} n = q ∣ A ∣ , which gives a saving q − ε ∣ A ∣ q^{-\varepsilon|A|} q − ε ∣ A ∣ in general.
Dichotomy. We then rephrase the decomposition in § 1.3 in terms of linear operators by first writing
I = ∏ a ∈ [ d ] ( τ a + ( I − τ a ) ) = ∑ A ⊆ [ d ] ( ∏ a ∈ A τ a ) ( ∏ a ∉ A ( I − τ a ) ) . I=\prod_{a\in[d]}(\tau_a+(I-\tau_a))=\sum_{A\subseteq[d]}\left(\prod_{a\in A}\tau_a\right)\left(\prod_{a\notin A}(I-\tau_a)\right). I = a ∈ [ d ] ∏ ( τ a + ( I − τ a )) = A ⊆ [ d ] ∑ ( a ∈ A ∏ τ a ) a ∈ / A ∏ ( I − τ a ) .
For a threshold t t t on the number of transpose factors, which we will choose later, break this sum into low and high degree parts:
L = ∑ ∣ A ∣ ≤ t ( ∏ a ∈ A τ a ) ( ∏ a ∉ A ( I − τ a ) ) (7) L=\sum_{|A|\le t}\left(\prod_{a\in A}\tau_a\right)\left(\prod_{a\notin A}(I-\tau_a)\right) \tag*{(7)} L = ∣ A ∣ ≤ t ∑ ( a ∈ A ∏ τ a ) a ∈ / A ∏ ( I − τ a ) (7)
H = ∑ ∣ A ∣ > t ( ∏ a ∈ A τ a ) ( ∏ a ∉ A ( I − τ a ) ) = I − L (8) H=\sum_{|A|>t}\left(\prod_{a\in A}\tau_a\right)\left(\prod_{a\notin A}(I-\tau_a)\right)=I-L \tag*{(8)} H = ∣ A ∣ > t ∑ ( a ∈ A ∏ τ a ) a ∈ / A ∏ ( I − τ a ) = I − L (8)
If we expand H H H as a polynomial in the τ a \tau_a τ a ’s, every term has degree greater than t t t . Also, every term in L L L does “antisymmetrization” I − τ a I-\tau_a I − τ a to at least d − t d-t d − t coordinates.
Remark 1. A similar decomposition of the identity matrix (writing I I I as the sum of a “low rank” matrix and a very sparse and structured matrix) also appears in the recently-announced OpenAI algorithm for refuting ETH [45 ] .
By an extension of the previous argument about the full transpose τ [ d ] \tau_{[d]} τ [ d ] , Δ n , H ( k ) \Delta^{(k)}_{n,H} Δ n , H ( k ) has small circuits when t t t is a sufficiently large linear function of d d d (we will ultimately pick t = ⌊ d / B ⌋ t=\lfloor d/B\rfloor t = ⌊ d / B ⌋ ). This is our Corollary 1. The remaining challenge is to give a small circuit for Δ n , L ( k ) \Delta^{(k)}_{n,L} Δ n , L ( k ) in this regime.
Low-degree. To compute Δ n , L ( k ) \Delta^{(k)}_{n,L} Δ n , L ( k ) , we will work in the basis of q d × q d q^d\times q^d q d × q d matrices given by the eigenvectors of the transpose operators. Let B \mathcal{B} B be the basis for the space of q × q q\times q q × q matrices given by
B = { e i i } i ∈ [ q ] ∪ { e i j + e j i , e i j − e j i } 1 ≤ i < j ≤ q . \mathcal{B}=\{e_{ii}\}_{i\in[q]}\cup\{e_{ij}+e_{ji},e_{ij}-e_{ji}\}_{1\le i<j\le q}. B = { e ii } i ∈ [ q ] ∪ { e ij + e j i , e ij − e j i } 1 ≤ i < j ≤ q .
Then B ⊗ d \mathcal{B}^{\otimes d} B ⊗ d is a basis for the space of q d × q d q^d\times q^d q d × q d matrices; this is an orthogonal basis in which each τ A \tau_A τ A acts diagonally with eigenvalues ± 1 \pm1 ± 1 (Lemma 4). For σ = ( σ 1 , … , σ d ) \sigma=(\sigma_1,\ldots,\sigma_d) σ = ( σ 1 , … , σ d ) with σ i ∈ B \sigma_i\in\mathcal{B} σ i ∈ B , we let
E σ = ⨂ i ∈ [ d ] σ i . E_\sigma=\bigotimes_{i\in[d]}\sigma_i. E σ = i ∈ [ d ] ⨂ σ i .
Note that E σ E_\sigma E σ has at most one nonzero entry in each row and column, and its nonzero entries are ± 1 \pm1 ± 1 . Let π i ( σ ) \pi_i(\sigma) π i ( σ ) denote the column index of a nonzero entry in row i i i in E σ E_\sigma E σ . Since the support of E σ E_\sigma E σ is symmetric, π j ( σ ) \pi_j(\sigma) π j ( σ ) also denotes the row index of the nonzero entry in column j j j . Let u ( σ ) u(\sigma) u ( σ ) be the number of non-diagonal factors in σ \sigma σ , and let a ( σ ) a(\sigma) a ( σ ) be the number of skew-symmetric factors in σ \sigma σ (so a ( σ ) ≤ u ( σ ) a(\sigma)\le u(\sigma) a ( σ ) ≤ u ( σ ) ).
Because B ⊗ d \mathcal{B}^{\otimes d} B ⊗ d is an orthogonal basis that diagonalizes L L L , we have
Δ n , L ( k ) = ∑ z ⟨ P z , L Q z ⟩ = ∑ z , σ : a ( σ ) ≥ d − t c σ ⟨ P z , E σ ⟩ ⟨ Q z , E σ ⟩ . \Delta^{(k)}_{n,L}=\sum_z\langle P^z,LQ^z\rangle=\sum_{z,\sigma:a(\sigma)\ge d-t}c_\sigma\langle P^z,E_\sigma\rangle\langle Q^z,E_\sigma\rangle. Δ n , L ( k ) = z ∑ ⟨ P z , L Q z ⟩ = z , σ : a ( σ ) ≥ d − t ∑ c σ ⟨ P z , E σ ⟩ ⟨ Q z , E σ ⟩ .
for some (explicit) constants c σ c_\sigma c σ ; it is not hard to show that any terms with a ( σ ) < d − t a(\sigma)<d-t a ( σ ) < d − t vanish. Our goal now is to compute the scalars
P σ , z : = ⟨ P z , E σ ⟩ , Q σ , z : = ⟨ Q z , E σ ⟩ P_{\sigma,z}:=\langle P^z,E_\sigma\rangle,\qquad Q_{\sigma,z}:=\langle Q^z,E_\sigma\rangle P σ , z := ⟨ P z , E σ ⟩ , Q σ , z := ⟨ Q z , E σ ⟩
for all σ , z \sigma,z σ , z . We first consider the problem of computing the Q Q Q ’s. By definition,
Q σ , z = ∑ i : row i ( E σ ) ≠ 0 ( Q z ) i , π i ( σ ) ( E σ ) i , π i ( σ ) = ∑ i : row i ( E σ ) ≠ 0 ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z − ( k − 2 ) ) U ( i , z ) . (9) Q_{\sigma,z}=\sum_{i:\operatorname{row}_i(E_\sigma)\ne0}(Q^z)_{i,\pi_i(\sigma)}(E_\sigma)_{i,\pi_i(\sigma)}
=\sum_{i:\operatorname{row}_i(E_\sigma)\ne0}(E_\sigma)_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z_{-(k-2)})U(i,z). \tag*{(9)} Q σ , z = i : row i ( E σ ) = 0 ∑ ( Q z ) i , π i ( σ ) ( E σ ) i , π i ( σ ) = i : row i ( E σ ) = 0 ∑ ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z − ( k − 2 ) ) U ( i , z ) . (9)
Attempt #1. Since E σ E_{\sigma} E σ only has 2 u ( σ ) ≤ 2 d ≤ n 2^{u(\sigma)} \le2^d \le n 2 u ( σ ) ≤ 2 d ≤ n nonzero entries, we might first hope that sparsity already gives a small circuit for the Q σ , z Q_{\sigma,z} Q σ , z . Doing so we would need
∑ z , σ : a ( σ ) ≥ d − t ∥ E σ ∥ 0 = ∑ z , σ : a ( σ ) ≥ d − t 2 u ( σ ) = n k − 2 ∑ σ : a ( σ ) ≥ d − t 2 u ( σ ) \sum_{z,\sigma:a(\sigma)\ge d-t}\lVert E_{\sigma}\rVert_0
=
\sum_{z,\sigma:a(\sigma)\ge d-t}2^{u(\sigma)}
=
n^{k-2}\sum_{\sigma:a(\sigma)\ge d-t}2^{u(\sigma)} z , σ : a ( σ ) ≥ d − t ∑ ∥ E σ ∥ 0 = z , σ : a ( σ ) ≥ d − t ∑ 2 u ( σ ) = n k − 2 σ : a ( σ ) ≥ d − t ∑ 2 u ( σ )
operations. Unfortunately, just the contribution to this sum for the σ \sigma σ ’s with a ( σ ) = d − t a(\sigma)=d-t a ( σ ) = d − t is at least
( d d − t ) [ 2 ( q 2 ) ] d − t [ 2 ( q 2 ) + q ] t ≈ ( d t ) n 2 \binom{d}{d-t}\left[2\binom{q}{2}\right]^{d-t}\left[2\binom{q}{2}+q\right]^t
\approx\binom{d}{t}n^2 ( d − t d ) [ 2 ( 2 q ) ] d − t [ 2 ( 2 q ) + q ] t ≈ ( t d ) n 2
which is polynomially larger than n 2 n^2 n 2 , since t t t must be taken linear in d d d to get savings from the high degree argument (Lemma 5).
However, note that there is redundant computation: many Q σ , z Q_{\sigma,z} Q σ , z ’s will depend on the same entries of Q z Q^z Q z . The key insight is that instead of paying cost 1 to compute each term in (9) individually for each choice of σ \sigma σ and z z z , we should use matrix multiplication to compute many terms simultaneously.
Attempt #2. Let z = ( z ′ , w ) z=(z',w) z = ( z ′ , w ) . Our goal of computing the Q σ , z Q_{\sigma,z} Q σ , z is equivalent to computing for all z ′ z' z ′ , w w w , and σ \sigma σ with a ( σ ) ≥ d − t a(\sigma)\ge d-t a ( σ ) ≥ d − t ,
Q σ , ( z ′ , w ) = ∑ i : row i ( E σ ) ≠ 0 ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w ) . (10) Q_{\sigma,(z',w)}
=
\sum_{i:\operatorname{row}_i(E_{\sigma})\ne0}
(E_{\sigma})_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z')U(i,z',w). \tag*{(10)} Q σ , ( z ′ , w ) = i : row i ( E σ ) = 0 ∑ ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w ) . (10)
After fixing z ′ z' z ′ , computing Q σ , ( z ′ , w ) Q_{\sigma,(z',w)} Q σ , ( z ′ , w ) for all σ , w \sigma,w σ , w can be regarded as a matrix multiplication
( ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) ) σ , i ⋅ ( U ( i , z ′ , w ) ) i , w . \left((E_{\sigma})_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z')\right)_{\sigma,i}
\cdot
\left(U(i,z',w)\right)_{i,w}. ( ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) ) σ , i ⋅ ( U ( i , z ′ , w ) ) i , w .
How fast should we compute this matrix multiplication in order to get an improvement? The catch is that this matrix multiplication problem is a sparse instance — the first matrix ( ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) ) σ , i \left((E_{\sigma})_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z')\right)_{\sigma,i} ( ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) ) σ , i is sparse since every row σ \sigma σ only has 2 u ( σ ) 2^{u(\sigma)} 2 u ( σ ) nonzero entries, while the second matrix ( U ( i , z ′ , w ) ) i , w \left(U(i,z',w)\right)_{i,w} ( U ( i , z ′ , w ) ) i , w is dense.
Similar to the estimate of the number of terms in the previous attempt, when we take t = d / B t=d/B t = d / B , a straightforward calculation shows that the first matrix has m = n 2 + o ( 1 / B ) m=n^{2+o(1/B)} m = n 2 + o ( 1/ B ) nonzero entries. Thus this matrix multiplication has m ⋅ n = n 3 + o ( 1 / B ) m\cdot n=n^{3+o(1/B)} m ⋅ n = n 3 + o ( 1/ B ) contributing terms in total. As we need to repeat for all z ′ ∈ [ n ] k − 3 z'\in[n]^{k-3} z ′ ∈ [ n ] k − 3 , any polynomial saving in the matrix multiplication will give an improvement.
To compute the matrix multiplication faster, we can partition the first matrix into many dense matrices. Suppose we can find a set S S S of σ \sigma σ ’s and a set of column indices J J J such that each σ ∈ S \sigma\in S σ ∈ S has a nonzero entry in each i ∈ J i\in J i ∈ J . Then we can compute all corresponding terms in Equation (10) by performing a ∣ S ∣ × ∣ J ∣ × n |S|\times|J|\times n ∣ S ∣ × ∣ J ∣ × n matrix multiplication. If we can partition the first matrix this way, such that ∣ S ∣ , ∣ J ∣ = n Ω k ( 1 ) |S|,|J|=n^{\Omega_k(1)} ∣ S ∣ , ∣ J ∣ = n Ω k ( 1 ) , we will obtain a polynomial saving per matrix multiplication instance, thus a saving for the whole problem.
To formalize this partitioning, we consider the graph G G G whose left vertices are the set of σ \sigma σ with a ( σ ) ≥ d − t a(\sigma)\ge d-t a ( σ ) ≥ d − t , whose right vertices are [ n ] [n] [ n ] (the rows of the E σ E_{\sigma} E σ matrices), and where σ ∼ i \sigma\sim i σ ∼ i when row i i i of E σ E_{\sigma} E σ is nonzero. In terms of this graph, we seek a partition of E ( G ) E(G) E ( G ) into bicliques of size polynomial in n n n . This is achieved by Lemma 7 . See Figure 2 for an illustration.
Figure 2. Computing the Q σ , ( z ′ , w ) Q_{\sigma,(z',w)} Q σ , ( z ′ , w ) for a fixed z ′ z' z ′
To handle the P P P ’s, we use a similar strategy. We wish to compute all (by symmetry of E σ E_\sigma E σ we can use the same graph G G G to represent nonzero columns)
P σ , z = ∑ j : ( σ , j ) ∈ E ( G ) ( E σ ) π j ( σ ) , j V ( j , z ) ∏ s = 1 k − 3 X s ( π j ( σ ) , j , z − s ) . P_{\sigma,z} = \sum_{j:(\sigma,j)\in E(G)} (E_\sigma)_{\pi_j(\sigma),j}V(j,z)\prod_{s=1}^{k-3}X_s(\pi_j(\sigma),j,z_{-s}). P σ , z = j : ( σ , j ) ∈ E ( G ) ∑ ( E σ ) π j ( σ ) , j V ( j , z ) s = 1 ∏ k − 3 X s ( π j ( σ ) , j , z − s ) .
First, note that after fixing w w w , this looks quite similar to a ( k − 1 ) (k-1) ( k − 1 ) -hyperclique polynomial where the k − 1 k-1 k − 1 coordinates are σ \sigma σ , j j j , and z ′ z' z ′ : each variable in each term omits exactly one coordinate — the V V V term is missing σ \sigma σ , and each X s X_s X s variable omits one of the values of z ′ z' z ′ (the ( E σ ) π j ( σ ) , j (E_\sigma)_{\pi_j(\sigma),j} ( E σ ) π j ( σ ) , j can be absorbed into one of X s X_s X s ). However, currently there are only k − 2 k-2 k − 2 variables in total, and none of them omits the value of j j j . This is not surprising, because the output P σ , z P_{\sigma,z} P σ , z is exactly this missing “term”. We can artificially multiply P σ , z P_{\sigma,z} P σ , z by a new variable Y ( σ , z ′ , w ) Y(\sigma,z',w) Y ( σ , z ′ , w ) and sum over all choices of σ , z ′ \sigma,z' σ , z ′ .
Φ w : = ∑ σ , z ′ P σ , z Y ( σ , z ′ , w ) \Phi_w := \sum_{\sigma,z'} P_{\sigma,z}Y(\sigma,z',w) Φ w := σ , z ′ ∑ P σ , z Y ( σ , z ′ , w )
This becomes the evaluation of a ( k − 1 ) (k-1) ( k − 1 ) -hyperclique polynomial. A classical result of Baur and Strassen [16 ] tells us that there is an equivalence between evaluating Φ w \Phi_w Φ w and all its derivatives. When one considers all derivatives on Y Y Y , this just recovers all the P σ , z P_{\sigma,z} P σ , z .
We will use our inductive hypothesis to construct a small circuit for Φ w \Phi_w Φ w , and we will invoke Baur–Strassen to compute all such P σ , z P_{\sigma,z} P σ , z with the same cost. As in the case of the Q Q Q ’s, we run into the issue that the sum over j j j depends on σ \sigma σ . We again use the partitioning of Lemma 7 to fix this; the resulting circuit bound is our Lemma 8.
To finish, we choose the degree threshold t t t to be an appropriate linear function of d d d so that both pieces of the circuit get a speedup. Adding the two pieces together gives the final circuit. Because the construction of the circuit is uniform and only uses constants from Z [ 1 / 2 ] \mathbb{Z}[1/2] Z [ 1/2 ] (i.e., rational numbers of the form a / 2 b a/2^b a / 2 b where a a a is an integer and b b b is a non-negative integer), our hyperclique counting algorithm Theorem 2 follows immediately from evaluating this circuit.
Preliminaries
We will only need the following simple fact about fast matrix multiplication.
Lemma 1. Let ℓ = min ( n 1 , n 2 , n 3 ) \ell= \min(n_1,n_2,n_3) ℓ = min ( n 1 , n 2 , n 3 ) . There is an arithmetic circuit for n 1 × n 2 n_1 \times n_2 n 1 × n 2 by n 2 × n 3 n_2 \times n_3 n 2 × n 3 matrix multiplication of size O ( ( n 1 n 2 n 3 ) ⋅ ℓ − γ ) O((n_1n_2n_3) \cdot\ell^{-\gamma}) O (( n 1 n 2 n 3 ) ⋅ ℓ − γ ) , for some constant γ ≥ 1 / 8 \gamma\ge1/8 γ ≥ 1/8 .
Proof. By blocking our input matrices into ℓ × ℓ \ell\times\ell ℓ × ℓ blocks, the matrix multiplication reduces to n 1 n 2 n 3 / ℓ 3 n_1n_2n_3/\ell^3 n 1 n 2 n 3 / ℓ 3 instances of multiplying two ℓ × ℓ \ell\times\ell ℓ × ℓ matrices. Each of those has an arithmetic circuit of size O ( ℓ log 2 7 ) O(\ell^{\log_2 7}) O ( ℓ l o g 2 7 ) by Strassen’s algorithm. We may thus pick γ = 3 − log 2 7 > 1 / 8 \gamma= 3 - \log_2 7 > 1/8 γ = 3 − log 2 7 > 1/8 . (State-of-the-art fast rectangular matrix multiplication could be used to achieve a better bound on γ \gamma γ , which is unnecessary for the main results here beyond slightly optimizing the exponents.) □
We will also use the following generalization of Lemma 1 to the hyperclique tensor. For a tensor T T T , let C ( T ) \mathrm{C}(T) C ( T ) denote the size of the smallest arithmetic circuit computing it. Define the n 1 × n 2 × ⋯ × n k n_1 \times n_2 \times\cdots\times n_k n 1 × n 2 × ⋯ × n k hyperclique tensor
Δ ( n 1 , … , n k ) ( k ) : = ∑ α ∈ [ n 1 ] × [ n 2 ] × ⋯ × [ n k ] ∏ j = 1 k x α − j ( j ) . \Delta^{(k)}_{(n_1,\ldots,n_k)} := \sum_{\alpha\in[n_1]\times[n_2]\times\cdots\times[n_k]} \prod_{j=1}^{k} x^{(j)}_{\alpha_{-j}}. Δ ( n 1 , … , n k ) ( k ) := α ∈ [ n 1 ] × [ n 2 ] × ⋯ × [ n k ] ∑ j = 1 ∏ k x α − j ( j ) .
Write Δ n ( k ) \Delta^{(k)}_n Δ n ( k ) to denote Δ n ( k ) : = Δ ( n , n , … , n ) ( k ) \Delta^{(k)}_n := \Delta^{(k)}_{(n,n,\ldots,n)} Δ n ( k ) := Δ ( n , n , … , n ) ( k ) .
Lemma 2. For ℓ ≤ min i ∈ [ k ] n i \ell\le\min_{i\in[k]} n_i ℓ ≤ min i ∈ [ k ] n i , the tensor Δ ( n 1 , … , n k ) ( k ) \Delta^{(k)}_{(n_1,\ldots,n_k)} Δ ( n 1 , … , n k ) ( k ) has a circuit of size C ( Δ ℓ ( k ) ) ⋅ ∏ i = 1 k ⌈ n i / ℓ ⌉ \mathrm{C}(\Delta^{(k)}_\ell) \cdot\prod_{i=1}^{k} \lceil n_i/\ell\rceil C ( Δ ℓ ( k ) ) ⋅ ∏ i = 1 k ⌈ n i / ℓ ⌉ .
Proof. Partition each index set [ n i ] [n_i] [ n i ] into n i ′ : = ⌈ n i / ℓ ⌉ n'_i := \lceil n_i/\ell\rceil n i ′ := ⌈ n i / ℓ ⌉ parts of size at most ℓ \ell ℓ , call them P i , 1 , … , P i , n i ′ P_{i,1},\ldots,P_{i,n'_i} P i , 1 , … , P i , n i ′ . Then
Δ ( n 1 , … , n k ) ( k ) = ∑ ( i 1 , … , i k ) ∈ [ n 1 ′ ] × ⋯ × [ n k ′ ] ∑ J ∈ P 1 , i 1 × ⋯ × P k , i k ∏ s = 1 k x J − s ( s ) . \Delta^{(k)}_{(n_1,\ldots,n_k)}
=
\sum_{(i_1,\ldots,i_k)\in[n'_1]\times\cdots\times[n'_k]}
\sum_{J\in P_{1,i_1}\times\cdots\times P_{k,i_k}}
\prod_{s=1}^{k} x^{(s)}_{J_{-s}}. Δ ( n 1 , … , n k ) ( k ) = ( i 1 , … , i k ) ∈ [ n 1 ′ ] × ⋯ × [ n k ′ ] ∑ J ∈ P 1 , i 1 × ⋯ × P k , i k ∑ s = 1 ∏ k x J − s ( s ) .
For each fixed choice of i 1 , … , i k i_1,\ldots,i_k i 1 , … , i k , the sum over J J J can be computed by evaluating Δ ℓ ( k ) \Delta^{(k)}_\ell Δ ℓ ( k ) (after possibly setting variables to zero). The claim follows. □
We will also make use of the Baur–Strassen theorem, which converts a circuit for computing a polynomial into one that computes its partial derivatives.
Lemma 3 ([16 , 39 ] ). Suppose a polynomial P ( x 1 , … , x n ) P(x_1,\ldots,x_n) P ( x 1 , … , x n ) can be computed by an arithmetic circuit of size s s s . Then there exists an arithmetic circuit of size at most 4 ⋅ s 4 \cdot s 4 ⋅ s computing ∂ P ∂ x i \frac{\partial P}{\partial x_i} ∂ x i ∂ P for all i ∈ [ n ] i \in[n] i ∈ [ n ] . Moreover, the new circuit can be constructed from the circuit for P P P in time O ( s ) O(s) O ( s ) .
Small arithmetic circuits for ( k ) n (k)n ( k ) n
In this section, we follow the overview (§ 1.4 ) to prove our main result via the following inductive step:
Theorem 6. Fix k ≥ 4 k \ge4 k ≥ 4 and ε ∈ ( 0 , 1 / 8 ] \varepsilon\in(0,1/8] ε ∈ ( 0 , 1/8 ] . Suppose the ( k − 1 ) (k-1) ( k − 1 ) -hyperclique polynomial has a circuit of size O ( n k − 1 − ε ) O(n^{k-1-\varepsilon}) O ( n k − 1 − ε ) for all n n n . Choose an integer B ≥ 16 B \ge16 B ≥ 16 that satisfies 2 ε B ≥ ( e B ) 2 2^{\varepsilon B} \ge(eB)^2 2 εB ≥ ( e B ) 2 . Then the circuit size of the k k k -hyperclique polynomial is O ( n k − ε / ( 4 B ) ) O(n^{k-\varepsilon/(4B)}) O ( n k − ε / ( 4 B ) ) .
We then appeal to the base case that Δ n ( 3 ) \Delta_n^{(3)} Δ n ( 3 ) has circuits of size n ω + o ( 1 ) n^{\omega+o(1)} n ω + o ( 1 ) (where ω < 3 \omega< 3 ω < 3 follows from any nontrivial fast matrix multiplication algorithm). Using the fact that all steps of the construction are uniform, we inductively obtain our main result:
Reminder of Theorem 1. For every fixed k ≥ 3 k \ge3 k ≥ 3 , the k k k -hyperclique polynomial Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) has uniformly constructible circuits of size O ( n k − ε k ) O(n^{k-\varepsilon_k}) O ( n k − ε k ) , where ε k = 2 − Θ ( 2 k ) \varepsilon_k = 2^{-\Theta(2^k)} ε k = 2 − Θ ( 2 k ) , with all constants in Z [ 1 / 2 ] \mathbb{Z}[1/2] Z [ 1/2 ] . In particular, there is an algorithm that, given ( 1 n , 1 k ) (1^n,1^k) ( 1 n , 1 k ) as input, outputs a circuit of O ( n k − ε k ) O(n^{k-\varepsilon_k}) O ( n k − ε k ) size in n k − ε k + o ( 1 ) n^{k-\varepsilon_k+o(1)} n k − ε k + o ( 1 ) time.
Setup
We begin by introducing parameters and recalling the setup of the proof overview. Throughout this section, fix k k k and let ε \varepsilon ε be the savings from the k − 1 k-1 k − 1 case. Choose an integer B ≥ 16 B \ge16 B ≥ 16 that satisfies 2 ε B ≥ ( e B ) 2 2^{\varepsilon B} \ge(eB)^2 2 εB ≥ ( e B ) 2 . Set
q = 2 B , t = ⌊ d / B ⌋ . q = 2^B,\qquad t = \lfloor d/B \rfloor. q = 2 B , t = ⌊ d / B ⌋ .
We assume that n n n is of the form q d q^d q d ; this is innocuous, as we may pad to the next power of q q q at a constant factor cost in the circuit size.
Label the k k k coordinates as ( i , j , z 1 , … , z k − 2 ) ∈ [ n ] k (i,j,z_1,\ldots,z_{k-2}) \in[n]^k ( i , j , z 1 , … , z k − 2 ) ∈ [ n ] k . Introduce variables U ( i , z ) U(i,z) U ( i , z ) , V ( j , z ) V(j,z) V ( j , z ) , and X s ( i , j , z − s ) X_s(i,j,z_{-s}) X s ( i , j , z − s ) for i , j ∈ [ n ] i,j \in[n] i , j ∈ [ n ] , z ∈ [ n ] k − 2 z \in[n]^{k-2} z ∈ [ n ] k − 2 , s ∈ [ k − 2 ] s \in[k-2] s ∈ [ k − 2 ] . Then
Δ n ( k ) = ∑ i , j ∈ [ n ] , z ∈ [ n ] k − 2 U ( i , z ) V ( j , z ) ∏ s = 1 k − 2 X s ( i , j , z − s ) . \Delta_n^{(k)} = \sum_{\substack{i,j \in[n],z \in[n]^{k-2}}} U(i,z)V(j,z)\prod_{s=1}^{k-2} X_s(i,j,z_{-s}). Δ n ( k ) = i , j ∈ [ n ] , z ∈ [ n ] k − 2 ∑ U ( i , z ) V ( j , z ) s = 1 ∏ k − 2 X s ( i , j , z − s ) .
Define matrices Q z Q^z Q z and P z P^z P z via
( Q z ) i j = U ( i , z ) X k − 2 ( i , j , z − ( k − 2 ) ) , ( P z ) i j = V ( j , z ) ∏ s = 1 k − 3 X s ( i , j , z − s ) . (Q^z)_{ij} = U(i,z)X_{k-2}(i,j,z_{-(k-2)}),\qquad(P^z)_{ij} = V(j,z)\prod_{s=1}^{k-3} X_s(i,j,z_{-s}). ( Q z ) ij = U ( i , z ) X k − 2 ( i , j , z − ( k − 2 ) ) , ( P z ) ij = V ( j , z ) s = 1 ∏ k − 3 X s ( i , j , z − s ) .
We recall the transpose operators, which are instrumental to the decomposition of the identity matrix described in § 1.4 above. View q d × q d q^d \times q^d q d × q d matrices as having rows and columns indexed by vectors in [ q ] d [q]^d [ q ] d . For p ∈ [ d ] p \in[d] p ∈ [ d ] , the operator τ p \tau_p τ p acts on the space of q d × q d q^d \times q^d q d × q d matrices via
τ p ⋅ Q ( a 1 , … , a p , … , a d ) , ( b 1 , … , b p , … , b d ) = Q ( a 1 , … , b p , … , a d ) , ( b 1 , … , a p , … , b d ) . \tau_p \cdot Q_{(a_1,\ldots,a_p,\ldots,a_d),(b_1,\ldots,b_p,\ldots,b_d)}
= Q_{(a_1,\ldots,b_p,\ldots,a_d),(b_1,\ldots,a_p,\ldots,b_d)}. τ p ⋅ Q ( a 1 , … , a p , … , a d ) , ( b 1 , … , b p , … , b d ) = Q ( a 1 , … , b p , … , a d ) , ( b 1 , … , a p , … , b d ) .
Let B \mathcal{B} B be the basis for the space of q × q q \times q q × q matrices given by
B = { e i i } i ∈ [ q ] ∪ { e i j + e j i , e i j − e j i } 1 ≤ i < j ≤ q . \mathcal{B} = \{e_{ii}\}_{i\in[q]} \cup\{e_{ij}+e_{ji},e_{ij}-e_{ji}\}_{1\le i<j\le q}. B = { e ii } i ∈ [ q ] ∪ { e ij + e j i , e ij − e j i } 1 ≤ i < j ≤ q .
Then B ⊗ d \mathcal{B}^{\otimes d} B ⊗ d is a basis for the space of n × n n \times n n × n matrices. For σ = ( σ 1 , … , σ d ) \sigma=(\sigma_1,\ldots,\sigma_d) σ = ( σ 1 , … , σ d ) with σ i ∈ B \sigma_i\in\mathcal{B} σ i ∈ B , let E σ = ⨂ i ∈ [ d ] σ i E_\sigma=\bigotimes_{i\in[d]}\sigma_i E σ = ⨂ i ∈ [ d ] σ i . Let π i ( σ ) \pi_i(\sigma) π i ( σ ) denote the column index of a nonzero entry in row i i i in E σ E_\sigma E σ . Since the support of E σ E_\sigma E σ is symmetric, π j ( σ ) \pi_j(\sigma) π j ( σ ) also denotes the row index of the nonzero entry in column j j j . Let u ( σ ) u(\sigma) u ( σ ) be the number of non-diagonal factors in σ \sigma σ , and let a ( σ ) a(\sigma) a ( σ ) be the number of skew-symmetric factors in σ \sigma σ (so a ( σ ) ≤ u ( σ ) a(\sigma)\leq u(\sigma) a ( σ ) ≤ u ( σ ) ).
The following are immediate:
Lemma 4. 1. ⟨ E σ , E σ ′ ⟩ = 0 \langle E_\sigma,E_{\sigma'}\rangle=0 ⟨ E σ , E σ ′ ⟩ = 0 if σ ≠ σ ′ \sigma\ne\sigma' σ = σ ′ , and 2 u ( σ ) 2^{u(\sigma)} 2 u ( σ ) otherwise.
τ p E σ = E σ \tau_pE_\sigma=E_\sigma τ p E σ = E σ if σ p \sigma_p σ p is diagonal or symmetric, and τ p E σ = − E σ \tau_pE_\sigma=-E_\sigma τ p E σ = − E σ if σ p \sigma_p σ p is skew-symmetric.
( I − τ p ) E σ = 0 (I-\tau_p)E_\sigma=0 ( I − τ p ) E σ = 0 if σ p \sigma_p σ p is symmetric or diagonal, and ( I − τ p ) E σ = 2 E σ (I-\tau_p)E_\sigma=2E_\sigma ( I − τ p ) E σ = 2 E σ if σ p \sigma_p σ p is skew-symmetric.
Define the low and high degree operators
L = ∑ ∣ A ∣ ≤ t ( ∏ a ∈ A τ a ) ( ∏ a ∉ A ( I − τ a ) ) , H = ∑ ∣ A ∣ > t ( ∏ a ∈ A τ a ) ( ∏ a ∉ A ( I − τ a ) ) L=\sum_{|A|\leq t}\left(\prod_{a\in A}\tau_a\right)\left(\prod_{a\notin A}(I-\tau_a)\right),\qquad H=\sum_{|A|>t}\left(\prod_{a\in A}\tau_a\right)\left(\prod_{a\notin A}(I-\tau_a)\right) L = ∣ A ∣ ≤ t ∑ ( a ∈ A ∏ τ a ) a ∈ / A ∏ ( I − τ a ) , H = ∣ A ∣ > t ∑ ( a ∈ A ∏ τ a ) a ∈ / A ∏ ( I − τ a )
recalling that t = ⌊ d / B ⌋ t=\lfloor d/B\rfloor t = ⌊ d / B ⌋ .
For a linear map T T T on the space of n × n n\times n n × n matrices, define
Δ n , T ( k ) : = ∑ z ⟨ P z , T ⋅ Q z ⟩ \Delta_{n,T}^{(k)}:=\sum_z\langle P^z,T\cdot Q^z\rangle Δ n , T ( k ) := z ∑ ⟨ P z , T ⋅ Q z ⟩
Then Δ n ( k ) = Δ n , L ( k ) + Δ n , H ( k ) \Delta_n^{(k)}=\Delta_{n,L}^{(k)}+\Delta_{n,H}^{(k)} Δ n ( k ) = Δ n , L ( k ) + Δ n , H ( k ) .
We first give a circuit for Δ n , H ( k ) \Delta_{n,H}^{(k)} Δ n , H ( k ) (Corollary 1 in § 3.2 ), then give a circuit for Δ n , L ( k ) \Delta_{n,L}^{(k)} Δ n , L ( k ) (Lemma 8 in § 3.3 ), and finally combine them (proving Theorem 6 in § 3.4 ).
High-degree
We begin by looking at the result of applying a particular partial transpose τ A \tau_A τ A with a large number of swaps to our computation.
Lemma 5. Δ n , τ A ( k ) \Delta_{n,\tau_A}^{(k)} Δ n , τ A ( k ) has circuits of size O ( n k q − ε ∣ A ∣ ) O(n^kq^{-\varepsilon|A|}) O ( n k q − ε ∣ A ∣ ) .
Proof. To make the effects of the partial transpose a bit clearer, we introduce the following notation: write i = ( i A , i A ‾ ) i=(i_A,i_{\overline{A}}) i = ( i A , i A ) , j = ( j A , j A ‾ ) j=(j_A,j_{\overline{A}}) j = ( j A , j A ) and i ∗ = ( j A , i A ‾ ) i^*=(j_A,i_{\overline{A}}) i ∗ = ( j A , i A ) , j ∗ = ( i A , j A ‾ ) j^*=(i_A,j_{\overline{A}}) j ∗ = ( i A , j A ) . Then by definition,
( τ A ⋅ Q ) ( i A , i A ‾ ) , ( j A , j A ‾ ) = Q ( j A , i A ‾ ) , ( i A , j A ‾ ) = Q i ∗ , j ∗ . (\tau_A\cdot Q)_{(i_A,i_{\overline{A}}),(j_A,j_{\overline{A}})}=Q_{(j_A,i_{\overline{A}}),(i_A,j_{\overline{A}})}=Q_{i^*,j^*}. ( τ A ⋅ Q ) ( i A , i A ) , ( j A , j A ) = Q ( j A , i A ) , ( i A , j A ) = Q i ∗ , j ∗ .
By definition of Δ n , τ A ( k ) \Delta_{n,\tau_A}^{(k)} Δ n , τ A ( k ) , P z P^z P z , and Q z Q^z Q z , we have
\begin{aligned}
\Delta_{n,\tau_A}^{(k)}
&=\sum_z\langle P^z,\tau_A\cdot Q^z\rangle
=\sum_z\sum_{i,j}(P^z)_{ij}(Q^z)_{i^*,j^*}\\
&=\sum_{z,i,j}\left(V_{j,z}\prod_{s=1}^{k-3}X_s(i,j,z_{-s})\right)\left(U_{i^*,z}X_{k-2}(i^*,j^*,z_{-(k-2)})\right)\\
&=\sum_{j_A,j_{\overline{A}}}\sum_{z,i_A}\left(V_{j,z}U_{j_A,i_{\overline{A},z}\right)X_{k-2}(i^*,j^*,z_{-(k-2)})\cdot\prod_{s=1}^{k-3}X_s(i,j,z_{-s}).
\end{aligned}}
The key point is that the partial transpose replaces U U U ’s dependence on i A i_A i A with a dependence on j A j_A j A . After we fix j j j and i A ‾ i_{\overline{A}} i A , both U U U and V V V only depend on z z z , and we can combine them into one input. This reduces the number of inputs from k k k to k − 1 k-1 k − 1 , allowing us to invoke the inductive hypothesis.
For each choice of j A , j A ‾ , i A ‾ j_A,j_{\overline{A}},i_{\overline{A}} j A , j A , i A , of which there are n 2 / q ∣ A ∣ n^2/q^{|A|} n 2 / q ∣ A ∣ , the inner sum is an imbalanced ( k − 1 ) (k-1) ( k − 1 ) -hyperclique tensor with indices ranging over [ q ∣ A ∣ ] × [ n ] × ⋯ × [ n ] [q^{|A|}] \times[n] \times\cdots\times[n] [ q ∣ A ∣ ] × [ n ] × ⋯ × [ n ] evaluated on inputs
( V j , z U j A , i A ‾ , z ) z , ( X k − 2 ( i ∗ , j ∗ , z − ( k − 2 ) ) ) i A , z − ( k − 2 ) , ( X s ( i , j , z − s ) ) i A , z − s , s ∈ [ k − 3 ] . (V_{j,z}U_{j_A,i_{\overline{A}},z})_z,\quad(X_{k-2}(i^*,j^*,z_{-(k-2)}))_{i_A,z_{-(k-2)}},\quad(X_s(i,j,z_{-s}))_{i_A,z_{-s}},\ s \in[k-3]. ( V j , z U j A , i A , z ) z , ( X k − 2 ( i ∗ , j ∗ , z − ( k − 2 ) ) ) i A , z − ( k − 2 ) , ( X s ( i , j , z − s ) ) i A , z − s , s ∈ [ k − 3 ] .
By Lemma 2, and using n k − 2 n^{k-2} n k − 2 multiplications to compute ( V j , z U j A , i A ‾ , z ) (V_{j,z}U_{j_A,i_{\overline{A}},z}) ( V j , z U j A , i A , z ) for all z ∈ [ n ] k − 2 z \in[n]^{k-2} z ∈ [ n ] k − 2 , this tensor has a circuit of size
( n / q ∣ A ∣ ) k − 2 ⋅ q ∣ A ∣ ( k − 1 − ε ) + n k − 2 = O ( n k − 2 q ( 1 − ε ) ∣ A ∣ ) . (n/q^{|A|})^{k-2}\cdot q^{|A|(k-1-\varepsilon)}+n^{k-2}=O(n^{k-2}q^{(1-\varepsilon)|A|}). ( n / q ∣ A ∣ ) k − 2 ⋅ q ∣ A ∣ ( k − 1 − ε ) + n k − 2 = O ( n k − 2 q ( 1 − ε ) ∣ A ∣ ) .
Summing over all j , i A ‾ j,i_{\overline{A}} j , i A yields a circuit of the claimed size. □
Thus, whenever ∣ A ∣ |A| ∣ A ∣ is such that q − ε ∣ A ∣ q^{-\varepsilon|A|} q − ε ∣ A ∣ is polynomial in n n n , (i.e. the number of swaps is sufficiently large), we achieve nontrivial savings. The following corollary formalizes this intuition:
Corollary 1. Δ n , H ( k ) \Delta_{n,H}^{(k)} Δ n , H ( k ) has circuits of size O ( n k − ε / ( 2 B ) ) O(n^{k-\varepsilon/(2B)}) O ( n k − ε / ( 2 B ) ) .
Proof. We have that
Δ n , H ( k ) = ∑ ∣ A ∣ > ⌊ d / B ⌋ c A Δ n , τ A ( k ) . \Delta_{n,H}^{(k)}=\sum_{|A|>\lfloor d/B\rfloor}c_A\Delta_{n,\tau_A}^{(k)}. Δ n , H ( k ) = ∣ A ∣ > ⌊ d / B ⌋ ∑ c A Δ n , τ A ( k ) .
where the integers c A c_A c A (with ∣ c A ∣ ≤ 2 ∣ A ∣ |c_A|\le2^{|A|} ∣ c A ∣ ≤ 2 ∣ A ∣ ) come from expanding the products ∏ a ∉ A ( I − τ a ) \prod_{a\notin A}(I-\tau_a) ∏ a ∈ / A ( I − τ a ) in the definition of H H H . Applying Lemma 5 to compute each term gives a circuit for Δ n , H ( k ) \Delta_{n,H}^{(k)} Δ n , H ( k ) of size
n k ∑ a > ⌊ d / B ⌋ ( d a ) ⋅ 2 − B ε a . n^k\sum_{a>\lfloor d/B\rfloor}\binom{d}{a}\cdot2^{-B\varepsilon a}. n k a > ⌊ d / B ⌋ ∑ ( a d ) ⋅ 2 − B ε a .
We have ( d a ) ≤ ( e d a ) a < ( e B ) a \binom{d}{a}\le\left(\frac{ed}{a}\right)^a<(eB)^a ( a d ) ≤ ( a e d ) a < ( e B ) a . Because we took B B B to satisfy 2 ε B ≥ ( e B ) 2 2^{\varepsilon B}\ge(eB)^2 2 εB ≥ ( e B ) 2 , ( d a ) ≤ 2 ε B a / 2 \binom{d}{a}\le2^{\varepsilon Ba/2} ( a d ) ≤ 2 εB a /2 , so this is at most
n k ∑ a > ⌊ d / B ⌋ 2 − ε B a / 2 ≤ n k ⋅ 2 − ε d / 2 ⋅ 1 1 − 2 − ε B / 2 ≤ n k ⋅ 2 − ε d / 2 ⋅ 1 1 − ( e B ) − 1 = O ( n k ⋅ 2 − ε d / 2 ) . n^k\sum_{a>\lfloor d/B\rfloor}2^{-\varepsilon Ba/2}\le n^k\cdot2^{-\varepsilon d/2}\cdot\frac{1}{1-2^{-\varepsilon B/2}}\le n^k\cdot2^{-\varepsilon d/2}\cdot\frac{1}{1-(eB)^{-1}}=O(n^k\cdot2^{-\varepsilon d/2}). n k a > ⌊ d / B ⌋ ∑ 2 − εB a /2 ≤ n k ⋅ 2 − ε d /2 ⋅ 1 − 2 − εB /2 1 ≤ n k ⋅ 2 − ε d /2 ⋅ 1 − ( e B ) − 1 1 = O ( n k ⋅ 2 − ε d /2 ) .
The first inequality comes from the fact that the sum is a geometric series in a a a with initial term 2 − ε B ( ⌊ d / B ⌋ + 1 ) / 2 < 2 − ε d / 2 2^{-\varepsilon B(\lfloor d/B\rfloor+1)/2}<2^{-\varepsilon d/2} 2 − εB (⌊ d / B ⌋ + 1 ) /2 < 2 − ε d /2 and ratio 2 − ε B / 2 2^{-\varepsilon B/2} 2 − εB /2 . The second follows by the aforementioned bound on B B B . Finally, since n = 2 B d n=2^{Bd} n = 2 B d , this is at most O ( n k − ε / ( 2 B ) ) O(n^{k-\varepsilon/(2B)}) O ( n k − ε / ( 2 B ) ) . □
Low-degree
Throughout this section, we will consider the following graph to understand (and eventually, block) the contribution of the low-degree part. Let G G G be the bipartite graph whose left vertices are the labels σ ∈ B ⊗ d \sigma\in\mathcal{B}^{\otimes d} σ ∈ B ⊗ d such that the number of antisymmetric factors, a ( σ ) a(\sigma) a ( σ ) , is at least d − t = d − ⌊ d / B ⌋ d-t=d-\lfloor d/B\rfloor d − t = d − ⌊ d / B ⌋ . The right vertices are the rows i ∈ [ n ] i\in[n] i ∈ [ n ] , and the edges are pairs ( σ , i ) (\sigma,i) ( σ , i ) such that the i i i -th row of E σ E_\sigma E σ is nonzero. By symmetry, the graph also denotes all pairs ( σ , j ) (\sigma,j) ( σ , j ) such that the j j j -th column is nonzero. Let m = ∣ E ( G ) ∣ m=|E(G)| m = ∣ E ( G ) ∣ .
Lemma 6. The number of edges in G G G is at most O ( n 2 + ε / ( 2 B ) ) O(n^{2+\varepsilon/(2B)}) O ( n 2 + ε / ( 2 B ) ) .
Proof. Each basis element E σ E_\sigma E σ has 2 u ( σ ) 2^{u(\sigma)} 2 u ( σ ) nonzero columns, and therefore, each left vertex has 2 u ( σ ) 2^{u(\sigma)} 2 u ( σ ) incident edges. So the total number of edges is given by ∑ σ : a ( σ ) ≥ d − t 2 u ( σ ) \sum_{\sigma:a(\sigma)\ge d-t}2^{u(\sigma)} ∑ σ : a ( σ ) ≥ d − t 2 u ( σ ) . Consider the contribution to this sum for all σ \sigma σ with a ( σ ) = α a(\sigma)=\alpha a ( σ ) = α . Fix a choice of antisymmetric positions, of which there are ( d α ) \binom{d}{\alpha} ( α d ) . Then there are ( q 2 ) \binom{q}{2} ( 2 q ) basis elements to choose from, and each such position contributes a factor of 2 2 2 to the number of outgoing edges. Similarly, for each remaining position, we can choose ( q 2 ) \binom{q}{2} ( 2 q ) symmetric basis elements or q q q diagonal basis elements, and each symmetric position contributes a factor of 2 2 2 to the number of outgoing edges. Thus, the total contribution for a fixed set of antisymmetric positions equals
[ 2 ( q 2 ) ] α ⋅ [ 2 ( q 2 ) + q ] d − α ≤ q 2 d = n 2 . \left[2\binom{q}{2}\right]^\alpha\cdot\left[2\binom{q}{2}+q\right]^{d-\alpha}\le q^{2d}=n^2. [ 2 ( 2 q ) ] α ⋅ [ 2 ( 2 q ) + q ] d − α ≤ q 2 d = n 2 .
Therefore, the number of edges in G G G is at most
n 2 ∑ α = d − t d ( d α ) ≤ n 2 ∑ i = 0 t ( d i ) ≤ n 2 B d / B ∑ i = 0 d ( d i ) B − i ≤ n 2 B d / B ( 1 + 1 B ) d ≤ n 2 ( e B ) d / B . n^2\sum_{\alpha=d-t}^{d}\binom{d}{\alpha}\le n^2\sum_{i=0}^{t}\binom{d}{i}\le n^2B^{d/B}\sum_{i=0}^{d}\binom{d}{i}B^{-i}\le n^2B^{d/B}\left(1+\frac{1}{B}\right)^d\le n^2(eB)^{d/B}. n 2 α = d − t ∑ d ( α d ) ≤ n 2 i = 0 ∑ t ( i d ) ≤ n 2 B d / B i = 0 ∑ d ( i d ) B − i ≤ n 2 B d / B ( 1 + B 1 ) d ≤ n 2 ( e B ) d / B .
The first inequality results from taking i = d − α i=d-\alpha i = d − α for all α \alpha α . The second is because t ≤ d / B t\le d/B t ≤ d / B and therefore B d / B − i ≥ 1 B^{d/B-i}\ge1 B d / B − i ≥ 1 for i ≤ t i\le t i ≤ t . The third one uses the binomial theorem, and the final one uses the fact that 1 + x ≤ e x 1+x\le e^x 1 + x ≤ e x , taking x = 1 / B x=1/B x = 1/ B . We can now apply our assumption that ( e B ) 2 ≤ 2 ε B (eB)^2\le2^{\varepsilon B} ( e B ) 2 ≤ 2 εB , as well as the fact that n = 2 B d n=2^{Bd} n = 2 B d , which gives
∣ E ( G ) ∣ ≤ n 2 2 ε d / 2 ≤ n 2 + ε / ( 2 B ) , |E(G)|\le n^2 2^{\varepsilon d/2}\le n^{2+\varepsilon/(2B)}, ∣ E ( G ) ∣ ≤ n 2 2 ε d /2 ≤ n 2 + ε / ( 2 B ) ,
as desired.
Lemma 7. The edge set E ( G ) E(G) E ( G ) can be partitioned into a disjoint union of complete bipartite subgraphs S × J S\times J S × J such that ∣ S ∣ , ∣ J ∣ ≥ ℓ |S|,|J|\ge\ell ∣ S ∣ , ∣ J ∣ ≥ ℓ , where ℓ : = 2 ( B − 1 ) ⌊ ( d − t ) / B ⌋ \ell:=2^{(B-1)\lfloor(d-t)/B\rfloor} ℓ := 2 ( B − 1 ) ⌊( d − t ) / B ⌋ .
Proof. The edges in question are of the form ( σ , j ) (\sigma,j) ( σ , j ) . Recall that σ ∈ B d \sigma\in\mathcal{B}^d σ ∈ B d , and that while j j j is an index in [ n ] [n] [ n ] , we can think of it as being an element of [ q ] d [q]^d [ q ] d . We say that the type of σ \sigma σ is the d d d -tuple that details whether each of the basis vectors σ 1 , … , σ d \sigma_1,\ldots,\sigma_d σ 1 , … , σ d are diagonal, symmetric, or antisymmetric. Fix a choice of type. Upfront, we will arbitrarily partition the off-diagonal positions into two categories, which we will call Column and Basis, such that ∣ C o l u m n ∣ = : ρ |\mathrm{Column}|=:\rho ∣ Column ∣ =: ρ . Let D i a g \mathrm{Diag} Diag be the set of diagonal positions. We will characterize a biclique in the following way: for each p ∈ C o l u m n ∪ D i a g p\in\mathrm{Column}\cup\mathrm{Diag} p ∈ Column ∪ Diag , choose c p ∈ [ q ] c_p\in[q] c p ∈ [ q ] arbitrarily. For each p ∈ B a s i s p\in\mathrm{Basis} p ∈ Basis , choose a basis element b p ∈ B b_p\in\mathcal{B} b p ∈ B whose type matches that of p p p . We will add an edge ( σ , j ) (\sigma,j) ( σ , j ) to this particular biclique if for every position p p p , the following hold:
if p ∈ C o l u m n p\in\mathrm{Column} p ∈ Column , we require that the column support of σ p \sigma_p σ p contains c p c_p c p and j p = c p j_p=c_p j p = c p . There are q − 1 q-1 q − 1 choices for σ p \sigma_p σ p , one for each possible other endpoint of its support.
if p ∈ B a s i s p\in\mathrm{Basis} p ∈ Basis , we require that σ p = b p \sigma_p=b_p σ p = b p and that j p j_p j p is in the support of b p b_p b p . Thus, if b p = e x y ± e y x b_p=e_{xy}\pm e_{yx} b p = e x y ± e y x , there are two valid choices of j p j_p j p , which are x x x and y y y .
::: By the definition, each ( σ , j ) (\sigma,j) ( σ , j ) maps to exactly one of these bicliques. For every σ ∈ S \sigma\in S σ ∈ S and j ∈ J j \in J j ∈ J , our restrictions enforce that j p j_p j p is in the support of σ p \sigma_p σ p at every position, which is why every edge in S × J S \times J S × J must exist.
All that remains is to bound the sizes of S S S and J J J . This follows from the number of elements that can satisfy each of our restrictions. In particular, we have that ∣ S ∣ = ( q − 1 ) ρ |S|=(q-1)^\rho ∣ S ∣ = ( q − 1 ) ρ and ∣ J ∣ = 2 u − ρ |J|=2^{u-\rho} ∣ J ∣ = 2 u − ρ , where u u u is the number of off-diagonal positions. We have that q = 2 B q=2^B q = 2 B , meaning q − 1 ≥ 2 B − 1 q-1 \ge2^{B-1} q − 1 ≥ 2 B − 1 . Thus, ∣ S ∣ ≥ 2 ( B − 1 ) ρ |S| \ge2^{(B-1)\rho} ∣ S ∣ ≥ 2 ( B − 1 ) ρ . Note that the number of antisymmetric positions is at least d − t d-t d − t . Thus, we have that ∣ J ∣ = 2 u − ρ ≥ 2 d − t − ρ |J|=2^{u-\rho} \ge2^{d-t-\rho} ∣ J ∣ = 2 u − ρ ≥ 2 d − t − ρ . Balancing these gives ρ = ⌊ ( d − t ) / B ⌋ \rho=\left\lfloor(d-t)/B \right\rfloor ρ = ⌊ ( d − t ) / B ⌋ , and substituting these into the lower bounds on ∣ S ∣ |S| ∣ S ∣ and ∣ J ∣ |J| ∣ J ∣ completes the proof.
Lemma 8. Δ n , L ( k ) \Delta_{n,L}^{(k)} Δ n , L ( k ) has circuits of size O ( n k − ε / ( 4 B ) ) O(n^{k-\varepsilon/(4B)}) O ( n k − ε / ( 4 B ) ) .
Proof. By Lemma 4, the matrices E σ E_\sigma E σ form an orthogonal basis with ⟨ E σ , E σ ⟩ = 2 u ( σ ) \langle E_\sigma,E_\sigma\rangle=2^{u(\sigma)} ⟨ E σ , E σ ⟩ = 2 u ( σ ) . Each E σ E_\sigma E σ is an eigenvector of every τ p \tau_p τ p , and hence also of L L L . We first determine its eigenvalue.
Reindexing the definition of L L L by replacing each indexing set with its complement gives
L = ∑ C ⊆ [ d ] ∣ C ∣ ≥ d − t ( ∏ p ∈ C ( I − τ p ) ) ( ∏ p ∉ C τ p ) . L=\sum_{\substack{C\subseteq[d]\\ |C|\ge d-t}}\left(\prod_{p\in C}(I-\tau_p)\right)\left(\prod_{p\notin C}\tau_p\right). L = C ⊆ [ d ] ∣ C ∣ ≥ d − t ∑ p ∈ C ∏ ( I − τ p ) p ∈ / C ∏ τ p . Let A σ ⊆ [ d ] A_\sigma\subseteq[d] A σ ⊆ [ d ] be the set of antisymmetric positions of E σ E_\sigma E σ , so that ∣ A σ ∣ = a ( σ ) |A_\sigma|=a(\sigma) ∣ A σ ∣ = a ( σ ) . By Lemma 4, the summand indexed by C C C annihilates E σ E_\sigma E σ unless C ⊆ A σ C\subseteq A_\sigma C ⊆ A σ . If C ⊆ A σ C\subseteq A_\sigma C ⊆ A σ and ∣ C ∣ = c |C|=c ∣ C ∣ = c , each position in C C C contributes a factor of 2 2 2 , each antisymmetric position outside C C C contributes a factor of − 1 -1 − 1 , and every remaining position contributes a factor of 1 1 1 . Thus
L E σ = λ σ E σ , λ σ = ∑ c = d − t a ( σ ) ( a ( σ ) c ) 2 c ( − 1 ) a ( σ ) − c . LE_\sigma=\lambda_\sigma E_\sigma,\qquad\lambda_\sigma=\sum_{c=d-t}^{a(\sigma)}\binom{a(\sigma)}{c}2^c(-1)^{a(\sigma)-c}. L E σ = λ σ E σ , λ σ = c = d − t ∑ a ( σ ) ( c a ( σ ) ) 2 c ( − 1 ) a ( σ ) − c . In particular, λ σ = 0 \lambda_\sigma=0 λ σ = 0 whenever a ( σ ) < d − t a(\sigma)<d-t a ( σ ) < d − t . Expanding Q z Q^z Q z in the orthogonal basis gives us:
Q z = ∑ σ ⟨ Q z , E σ ⟩ 2 u ( σ ) E σ . Q^z=\sum_\sigma\frac{\langle Q^z,E_\sigma\rangle}{2^{u(\sigma)}}E_\sigma. Q z = σ ∑ 2 u ( σ ) ⟨ Q z , E σ ⟩ E σ . We can now apply L L L and take the inner product with P n , L z P^z_{n,L} P n , L z , as follows:
Δ n , L ( k ) = ∑ z ⟨ P z , L Q z ⟩ = ∑ z , σ a ( σ ) ≥ d − t λ σ 2 u ( σ ) ⟨ P z , E σ ⟩ ⟨ Q z , E σ ⟩ . \Delta_{n,L}^{(k)}=\sum_z\langle P^z,LQ^z\rangle=\sum_{\substack{z,\sigma\\a(\sigma)\ge d-t}}\frac{\lambda_\sigma}{2^{u(\sigma)}}\langle P^z,E_\sigma\rangle\langle Q^z,E_\sigma\rangle. Δ n , L ( k ) = z ∑ ⟨ P z , L Q z ⟩ = z , σ a ( σ ) ≥ d − t ∑ 2 u ( σ ) λ σ ⟨ P z , E σ ⟩ ⟨ Q z , E σ ⟩ . We will bound this sum using the properties of the graph mentioned above. Let
E ( G ) = ⨆ β ( S β × J β ) (11) E(G)=\bigsqcup_\beta(S_\beta\times J_\beta) \tag*{(11)} E ( G ) = β ⨆ ( S β × J β ) (11) be the decomposition into bicliques of Lemma 7.
We begin by computing the values of Q σ , z = ⟨ E σ , Q z ⟩ Q_{\sigma,z}=\langle E_\sigma,Q^z\rangle Q σ , z = ⟨ E σ , Q z ⟩ . Write z = ( z ′ , w ) z=(z',w) z = ( z ′ , w ) , where z ′ z' z ′ is a ( k − 3 ) (k-3) ( k − 3 ) -tuple of indices. We have
Q σ , ( z ′ , w ) = ∑ i : ( σ , i ) ∈ E ( G ) ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w ) . Q_{\sigma,(z',w)}=\sum_{i:(\sigma,i)\in E(G)}(E_\sigma)_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z')U(i,z',w). Q σ , ( z ′ , w ) = i : ( σ , i ) ∈ E ( G ) ∑ ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w ) .
We need to compute this quantity for all σ \sigma σ and z z z . We will use Lemma 7 to partition this computation.
Fix a biclique S β × J β S_\beta\times J_\beta S β × J β from Equation (11) and a choice of z ′ z' z ′ . Let A β A^\beta A β be the ∣ S β ∣ × ∣ J β ∣ |S_\beta| \times|J_\beta| ∣ S β ∣ × ∣ J β ∣ matrix with
A σ , i β = ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) A^\beta_{\sigma,i}=(E_\sigma)_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z') A σ , i β = ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ )
and let B β B^\beta B β be the ∣ J β ∣ × n |J_\beta| \times n ∣ J β ∣ × n matrix with
B i , w β = U ( i , z ′ , w ) . B^\beta_{i,w}=U(i,z',w). B i , w β = U ( i , z ′ , w ) .
Then
( A β B β ) σ , w = ∑ i ∈ J β ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w ) (A^\beta B^\beta)_{\sigma,w}=\sum_{i\in J_\beta}(E_\sigma)_{i,\pi_i(\sigma)}X_{k-2}(i,\pi_i(\sigma),z')U(i,z',w) ( A β B β ) σ , w = i ∈ J β ∑ ( E σ ) i , π i ( σ ) X k − 2 ( i , π i ( σ ) , z ′ ) U ( i , z ′ , w )
is the restriction of the sum Q σ , ( z ′ , w ) Q_{\sigma,(z',w)} Q σ , ( z ′ , w ) to J β J_\beta J β . Hence Q σ , ( z ′ , w ) = ∑ β ( A β B β ) σ , w Q_{\sigma,(z',w)}=\sum_\beta(A^\beta B^\beta)_{\sigma,w} Q σ , ( z ′ , w ) = ∑ β ( A β B β ) σ , w , where the sum is over the β \beta β with σ ∈ S β \sigma\in S_\beta σ ∈ S β . Thus it suffices to compute all products A β B β A^\beta B^\beta A β B β to compute all Q Q Q 's.
From Lemma 7 , ∣ S β ∣ , ∣ J β ∣ ≥ ℓ |S_\beta|,|J_\beta|\ge\ell ∣ S β ∣ , ∣ J β ∣ ≥ ℓ . It follows from Lemma 1 that the product A β B β A^\beta B^\beta A β B β can be computed with O ( ∣ S β ∣ ∣ J β ∣ n / ℓ γ ) O(|S_\beta||J_\beta|n/\ell^\gamma) O ( ∣ S β ∣∣ J β ∣ n / ℓ γ ) operations for some γ > 1 / 8 \gamma>1/8 γ > 1/8 . The cost of computing these products over all bicliques and all z ′ z' z ′ equals
n k − 3 ∑ β ∣ S β ∣ ∣ J β ∣ n / ℓ γ = O ( n k − 2 m / ℓ γ ) n^{k-3}\sum_\beta|S_\beta||J_\beta|n/\ell^\gamma=O(n^{k-2}m/\ell^\gamma) n k − 3 β ∑ ∣ S β ∣∣ J β ∣ n / ℓ γ = O ( n k − 2 m / ℓ γ )
because each of the m m m edges in G G G is covered by exactly one biclique, and there are ∣ S β ∣ ⋅ ∣ J β ∣ |S_\beta|\cdot|J_\beta| ∣ S β ∣ ⋅ ∣ J β ∣ edges per biclique. Finally, since γ > 1 / 8 ≥ ε \gamma>1/8\ge\varepsilon γ > 1/8 ≥ ε , this is upper bounded by O ( n k − 2 m / ℓ ε ) O(n^{k-2}m/\ell^\varepsilon) O ( n k − 2 m / ℓ ε ) .
We now turn to computing the values of P σ , z = ⟨ E σ , P z ⟩ P_{\sigma,z}=\langle E_\sigma,P^z\rangle P σ , z = ⟨ E σ , P z ⟩ , which we can write as
P σ , z = ∑ j : ( σ , j ) ∈ E ( G ) ( E σ ) π j ( σ ) , j V ( j , z ) ∏ s = 1 k − 3 X s ( π j ( σ ) , j , z − s ) . P_{\sigma,z}=\sum_{j:(\sigma,j)\in E(G)}(E_\sigma)_{\pi_j(\sigma),j}V(j,z)\prod_{s=1}^{k-3}X_s(\pi_j(\sigma),j,z_{-s}). P σ , z = j : ( σ , j ) ∈ E ( G ) ∑ ( E σ ) π j ( σ ) , j V ( j , z ) s = 1 ∏ k − 3 X s ( π j ( σ ) , j , z − s ) .
Fix a biclique β \beta β and a choice of w ∈ [ n ] w\in[n] w ∈ [ n ] . Introduce new variables Y ( σ , z ′ , w ) Y(\sigma,z',w) Y ( σ , z ′ , w ) for σ ∈ S β \sigma\in S_\beta σ ∈ S β and z ′ ∈ [ n ] k − 3 z'\in[n]^{k-3} z ′ ∈ [ n ] k − 3 . Let Φ = Φ β , w \Phi=\Phi_{\beta,w} Φ = Φ β , w be the polynomial
Φ β , w = ∑ σ ∈ S β , j ∈ J β , z ′ ∈ [ n ] k − 3 ( E σ ) π j ( σ ) , j Y ( σ , z ′ , w ) V ( j , ( z ′ , w ) ) ∏ s = 1 k − 3 X s ( π j ( σ ) , j , ( z ′ , w ) − s ) . \Phi_{\beta,w}=\sum_{\sigma\in S_\beta,j\in J_\beta,z'\in[n]^{k-3}}(E_\sigma)_{\pi_j(\sigma),j}Y(\sigma,z',w)V(j,(z',w))\prod_{s=1}^{k-3}X_s(\pi_j(\sigma),j,(z',w)_{-s}). Φ β , w = σ ∈ S β , j ∈ J β , z ′ ∈ [ n ] k − 3 ∑ ( E σ ) π j ( σ ) , j Y ( σ , z ′ , w ) V ( j , ( z ′ , w )) s = 1 ∏ k − 3 X s ( π j ( σ ) , j , ( z ′ , w ) − s ) .
This is an imbalanced ( k − 1 ) (k-1) ( k − 1 ) -hyperclique tensor after scaling inputs (we may scale an X s X_s X s variable by ( E σ ) π j ( σ ) , j (E_\sigma)_{\pi_j(\sigma),j} ( E σ ) π j ( σ ) , j , since the result is still a function of j j j and σ \sigma σ ) of shape ∣ S β ∣ × ∣ J β ∣ × n × ⋯ × n |S_\beta|\times|J_\beta|\times n\times\cdots\times n ∣ S β ∣ × ∣ J β ∣ × n × ⋯ × n .
Recall that ℓ = 2 ( B − 1 ) ⌊ ( d − t ) / B ⌋ ≤ 2 d − t ≤ n \ell=2^{(B-1)\lfloor(d-t)/B\rfloor}\le2^{d-t}\le n ℓ = 2 ( B − 1 ) ⌊( d − t ) / B ⌋ ≤ 2 d − t ≤ n since t ≤ d t\le d t ≤ d , and also ∣ S β ∣ , ∣ J β ∣ ≥ ℓ |S_\beta|,|J_\beta|\ge\ell ∣ S β ∣ , ∣ J β ∣ ≥ ℓ by the guarantee of Lemma 7 . Hence by Lemma 2 and our inductive assumption, Φ \Phi Φ can be computed by a circuit of size
ℓ k − 1 − ε ⋅ n k − 3 ∣ S β ∣ ∣ J β ∣ ℓ k − 1 = n k − 3 ∣ S β ∣ ∣ J β ∣ ⋅ ℓ − ε . \ell^{k-1-\varepsilon}\cdot\frac{n^{k-3}|S_\beta||J_\beta|}{\ell^{k-1}}=n^{k-3}|S_\beta||J_\beta|\cdot\ell^{-\varepsilon}. ℓ k − 1 − ε ⋅ ℓ k − 1 n k − 3 ∣ S β ∣∣ J β ∣ = n k − 3 ∣ S β ∣∣ J β ∣ ⋅ ℓ − ε .
By Lemma 3, we can compute the partial derivatives of Φ \Phi Φ w.r.t. all Y Y Y variables with a circuit of the same size. Note that P σ , ( z ′ , w ) = ∑ β : σ ∈ S β ∂ Φ β , w ∂ Y ( σ , z ′ , w ) P_{\sigma,(z',w)}=\sum_{\beta:\sigma\in S_\beta}\frac{\partial\Phi_{\beta,w}}{\partial Y(\sigma,z',w)} P σ , ( z ′ , w ) = ∑ β : σ ∈ S β ∂ Y ( σ , z ′ , w ) ∂ Φ β , w , since the sets J β J_\beta J β with σ ∈ S β \sigma\in S_\beta σ ∈ S β partition the neighbors of σ \sigma σ in G G G . Hence we can compute all P σ , z \mathcal{P}_{\sigma,z} P σ , z from the polynomials Φ β , w \Phi_{\beta,w} Φ β , w for all w w w and β \beta β . This gives a circuit for all P \mathcal{P} P ’s of size
∑ w , β n k − 3 ∣ S β ∣ ∣ J β ∣ ⋅ ℓ − ε = n k − 2 ℓ − ε ∑ β ∣ S β ∣ ∣ J β ∣ = n k − 2 m ℓ − ε . \sum_{w,\beta} n^{k-3}|S_\beta||J_\beta|\cdot\ell^{-\varepsilon}
= n^{k-2}\ell^{-\varepsilon}\sum_\beta|S_\beta||J_\beta|
= n^{k-2}m\ell^{-\varepsilon}. w , β ∑ n k − 3 ∣ S β ∣∣ J β ∣ ⋅ ℓ − ε = n k − 2 ℓ − ε β ∑ ∣ S β ∣∣ J β ∣ = n k − 2 m ℓ − ε .
Finally, given all P σ , z \mathcal{P}_{\sigma,z} P σ , z and Q σ , z \mathcal{Q}_{\sigma,z} Q σ , z , we compute
Δ n , L ( k ) = ∑ z , σ : a ( σ ) ≥ d − t λ σ 2 u ( σ ) P σ , z Q σ , z . \Delta^{(k)}_{n,L}=\sum_{z,\ \sigma:a(\sigma)\ge d-t}\frac{\lambda_\sigma}{2^{u(\sigma)}}\mathcal{P}_{\sigma,z}\mathcal{Q}_{\sigma,z}. Δ n , L ( k ) = z , σ : a ( σ ) ≥ d − t ∑ 2 u ( σ ) λ σ P σ , z Q σ , z .
using O ( n k − 2 ⋅ # σ ) O(n^{k-2}\cdot\#\sigma) O ( n k − 2 ⋅ # σ ) operations, where # σ \#\sigma # σ is the number of left vertices of G G G . Each left vertex has 2 u ( σ ) ≥ 2 a ( σ ) ≥ 2 d − t 2^{u(\sigma)}\ge2^{a(\sigma)}\ge2^{d-t} 2 u ( σ ) ≥ 2 a ( σ ) ≥ 2 d − t incident edges, so # σ ≤ m / 2 d − t ≤ m / ℓ \#\sigma\le m/2^{d-t}\le m/\ell # σ ≤ m / 2 d − t ≤ m / ℓ . We form the entries of the matrices A β A^\beta A β , and the inputs of the polynomials Φ \Phi Φ for all β \beta β and w w w , using O ( n k − 3 m ) O(n^{k-3}m) O ( n k − 3 m ) operations. Since ℓ ≤ n \ell\le n ℓ ≤ n , both of these operation counts are O ( n k − 2 m / ℓ ε ) O(n^{k-2}m/\ell^\varepsilon) O ( n k − 2 m / ℓ ε ) .
Finally, we need to bound ℓ \ell ℓ , the lower bound on the size of the bicliques. We have that
log ℓ : = ( B − 1 ) ⌊ d − t B ⌋ ≥ d ( B − 1 ) 2 B 2 − ( B − 1 ) , \log\ell:= (B-1)\left\lfloor\frac{d-t}{B}\right\rfloor
\ge\frac{d(B-1)^2}{B^2}-(B-1), log ℓ := ( B − 1 ) ⌊ B d − t ⌋ ≥ B 2 d ( B − 1 ) 2 − ( B − 1 ) ,
which results from using t ≤ d / B t\le d/B t ≤ d / B and removing the floor function. Since n = 2 B d n=2^{Bd} n = 2 B d , we have d = log n / B d=\log n/B d = log n / B ,
log ℓ ≥ ( B − 1 ) 2 B 3 log n − ( B − 1 ) = ( 1 − 1 / B ) 2 B log n − ( B − 1 ) , \log\ell\ge\frac{(B-1)^2}{B^3}\log n-(B-1)
=\frac{(1-1/B)^2}{B}\log n-(B-1), log ℓ ≥ B 3 ( B − 1 ) 2 log n − ( B − 1 ) = B ( 1 − 1/ B ) 2 log n − ( B − 1 ) ,
and exponentiating tells us that ℓ ≥ 2 − ( B − 1 ) n ( 1 − 1 / B ) 2 / B \ell\ge2^{-(B-1)}n^{(1-1/B)^2/B} ℓ ≥ 2 − ( B − 1 ) n ( 1 − 1/ B ) 2 / B . B B B is independent of n n n , and because B ≥ 16 B\ge16 B ≥ 16 , we have that ( 1 − 1 / B ) 2 ≥ 3 / 4 (1-1/B)^2\ge3/4 ( 1 − 1/ B ) 2 ≥ 3/4 . So we have ℓ ≥ Ω ( n 3 / ( 4 B ) ) \ell\ge\Omega(n^{3/(4B)}) ℓ ≥ Ω ( n 3/ ( 4 B ) ) .
Applying this along with Lemma 6 tells us that the overall circuit size is, up to constants, at most
n k − 2 m ℓ ε ≤ n k − 2 ⋅ n 2 + ε / ( 2 B ) n 3 ε / ( 4 B ) ≤ n k − ε / ( 4 B ) . \frac{n^{k-2}m}{\ell^\varepsilon}
\le\frac{n^{k-2}\cdot n^{2+\varepsilon/(2B)}}{n^{3\varepsilon/(4B)}}
\le n^{k-\varepsilon/(4B)}. ℓ ε n k − 2 m ≤ n 3 ε / ( 4 B ) n k − 2 ⋅ n 2 + ε / ( 2 B ) ≤ n k − ε / ( 4 B ) .
The final circuit
By combining Corollary 1 (the high degree part) and Lemma 8 (the low degree part), we are finally ready to prove our main theorem.
Proof of Theorem 6. Recall that
Δ n ( k ) = Δ n , L ( k ) + Δ n , H ( k ) . \Delta^{(k)}_n=\Delta^{(k)}_{n,L}+\Delta^{(k)}_{n,H}. Δ n ( k ) = Δ n , L ( k ) + Δ n , H ( k ) .
By Corollary 1, Δ n , H ( k ) \Delta^{(k)}_{n,H} Δ n , H ( k ) has a circuit of size O ( n k − ε / ( 2 B ) ) O(n^{k-\varepsilon/(2B)}) O ( n k − ε / ( 2 B ) ) . By Lemma 8 , Δ n , L ( k ) \Delta^{(k)}_{n,L} Δ n , L ( k ) has a circuit of size O ( n k − ε / ( 4 B ) ) O(n^{k-\varepsilon/(4B)}) O ( n k − ε / ( 4 B ) ) . Adding these circuits together gives the desired circuit of size O ( n k − ε / ( 4 B ) ) O(n^{k-\varepsilon/(4B)}) O ( n k − ε / ( 4 B ) ) .
While the above argument suffices to show that we can attain some nontrivial savings for every value of k k k , we would like to look at the way that the savings shrink as k k k increases. Since we lose a factor of 1 / ( 4 B ) 1/(4B) 1/ ( 4 B ) at each step of the induction, it is clear that our advantage deteriorates at least exponentially in k k k . It turns out that because we require that 2 ε B ≥ ( e B ) 2 2^{\varepsilon B}\ge(eB)^2 2 εB ≥ ( e B ) 2 at every iteration, we need to define new values of B B B at each stage too. Ultimately, we get a doubly exponential decay in the savings, as we will show next, which completes the proof of the main theorem.
Proof of Theorem 1. Let ε j \varepsilon_j ε j be the savings for the j j j -hyperclique polynomial. Already from Strassen’s algorithm, we have that ε 3 = 1 / 8 \varepsilon_3 = 1/8 ε 3 = 1/8 . While it is possible to optimize these constants further, the asymptotics do not change. We will define
L j : = log ( 1 / ε j ) B j : = ⌈ 8 L j ε j ⌉ ε j + 1 : = ε j 4 B j L_j := \log(1/\varepsilon_j) \qquad B_j := \left\lceil\frac{8L_j}{\varepsilon_j} \right\rceil\qquad\varepsilon_{j+1} := \frac{\varepsilon_j}{4B_j} L j := log ( 1/ ε j ) B j := ⌈ ε j 8 L j ⌉ ε j + 1 := 4 B j ε j
We first need to check that 2 ε j B j ≥ ( e B j ) 2 2^{\varepsilon_j B_j} \ge(eB_j)^2 2 ε j B j ≥ ( e B j ) 2 for all j j j . Since B j ≤ 9 L j / ε j B_j \le9L_j/\varepsilon_j B j ≤ 9 L j / ε j and L j ≥ 3 L_j \ge3 L j ≥ 3 (as ε j ≤ 1 / 8 \varepsilon_j \le1/8 ε j ≤ 1/8 ), we have
log ( e B j ) ≤ log ( 9 e ) + log ( L j ) − log ( ε j ) ≤ 5 + log ( L j ) + L j ≤ 4 L j ≤ ε j B j / 2. \log(eB_j) \le\log(9e) + \log(L_j) - \log(\varepsilon_j) \le5 + \log(L_j) + L_j \le4L_j \le\varepsilon_j B_j/2. log ( e B j ) ≤ log ( 9 e ) + log ( L j ) − log ( ε j ) ≤ 5 + log ( L j ) + L j ≤ 4 L j ≤ ε j B j /2.
Doubling and exponentiating this proves the inequality. We will show that L j ≤ 2 j + 1 − j − 8 L_j \le2^{j+1} - j - 8 L j ≤ 2 j + 1 − j − 8 via induction. Since L 3 ≤ 3 L_3 \le3 L 3 ≤ 3 , the base case holds.
By the upper bound on B j B_j B j , we have ε j + 1 ≥ ε j 2 / ( 36 L j ) \varepsilon_{j+1} \ge\varepsilon_j^2/(36L_j) ε j + 1 ≥ ε j 2 / ( 36 L j ) . Then
L j + 1 = − log ( ε j + 1 ) ≤ − log ( ε j 2 ) + log ( 36 L j ) ≤ 2 L j + log L j + 6. L_{j+1} = -\log(\varepsilon_{j+1}) \le-\log(\varepsilon_j^2) + \log(36L_j) \le2L_j + \log L_j + 6. L j + 1 = − log ( ε j + 1 ) ≤ − log ( ε j 2 ) + log ( 36 L j ) ≤ 2 L j + log L j + 6.
Using the inductive hypothesis gives L j + 1 ≤ 2 j + 2 − ( j + 1 ) − 8 L_{j+1} \le2^{j+2} - (j+1) - 8 L j + 1 ≤ 2 j + 2 − ( j + 1 ) − 8 , as desired. So L k = O ( 2 k ) L_k = O(2^k) L k = O ( 2 k ) , and we have that ε k = 2 − L k \varepsilon_k = 2^{-L_k} ε k = 2 − L k , which makes the circuit size at most O ( n k − 2 − O ( 2 k ) ) O\left(n^{k-2^{-O(2^k)}}\right) O ( n k − 2 − O ( 2 k ) ) .
Finally, we briefly remark on the uniformity. All the constants occurring in the circuit can be efficiently constructed and are not the bottleneck. Each step of our circuit construction is evidently efficient. The only technical input is Baur–Strassen (Lemma 3) which is also known to be implementable in linear time (see [39 ] for the proof).
Applications
We have shown (Theorem 1) that the k k k -hyperclique polynomial Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) has uniformly constructible circuits of size O ( n k − ε k ) O(n^{k-\varepsilon_k}) O ( n k − ε k ) , where ε k = 2 − Θ ( 2 k ) \varepsilon_k = 2^{-\Theta(2^k)} ε k = 2 − Θ ( 2 k ) . Moreover, all constants in the circuit are in Z [ 1 / 2 ] \mathbb{Z}[1/2] Z [ 1/2 ] , so we can evaluate it faithfully over any commutative ring in which 2 2 2 is a unit, such as Z / ( M Z ) \mathbb{Z}/(M\mathbb{Z}) Z / ( M Z ) for odd M M M , or any finite field with odd characteristic. We now give several applications of this result.
Counting Hypercliques
Reminder of Theorem 2. For every fixed k ≥ 3 k \ge3 k ≥ 3 , there is an algorithm that, given any ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraph H H H on n n n vertices, outputs the number of k k k -hypercliques in H H H in n k − ε k + o ( 1 ) n^{k-\varepsilon_k+o(1)} n k − ε k + o ( 1 ) time, where ε k \varepsilon_k ε k is the constant in Theorem 1.
Proof. Make k k k copies V 1 , … , V k V_1,\ldots,V_k V 1 , … , V k of the vertices of H H H . For all i ∈ [ k ] i \in[k] i ∈ [ k ] and α ∈ ∏ j ≠ i V j \alpha\in\prod_{j\ne i} V_j α ∈ ∏ j = i V j , we make an assignment a a a to the variables of Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) : set a α ( i ) = 1 a_\alpha^{(i)} = 1 a α ( i ) = 1 if α \alpha α forms a hyperedge in H H H , otherwise a α ( i ) = 0 a_\alpha^{(i)} = 0 a α ( i ) = 0 . Observe that Δ n ( k ) ( a ) \Delta_n^{(k)}(a) Δ n ( k ) ( a ) equals the number of k k k -tuples of vertices that form a k k k -hyperclique; this is precisely k ! k! k ! times the number of hypercliques. By Theorem 1, we can construct the circuit for Δ n ( k ) \Delta_n^{(k)} Δ n ( k ) in O ( n k − ε k + o ( 1 ) ) O(n^{k-\varepsilon_k+o(1)}) O ( n k − ε k + o ( 1 ) ) time. Note the value of Δ n ( k ) ( a ) \Delta_n^{(k)}(a) Δ n ( k ) ( a ) is at most n k n^k n k . To preserve its value, we can deterministically evaluate the circuit for Δ n ( k ) ( a ) \Delta_n^{(k)}(a) Δ n ( k ) ( a ) modulo M M M for any odd M > n k M > n^k M > n k , in n k − ε k + o ( 1 ) n^{k-\varepsilon_k+o(1)} n k − ε k + o ( 1 ) time. Similarly, we can also obtain simple applications to hypergraph algorithms by extending the known applications of matrix multiplication. For example, we can compute the number of 4-hypercliques in a 3-uniform hypergraph on m m m hyperedges in m 4 / 3 − ε m^{4/3-\varepsilon} m 4/3 − ε time for some ε > 0 \varepsilon> 0 ε > 0 (by extending the high-degree/low-degree technique of [8 ] on triangles), we can find maximum node-weight hypercliques faster (extending the method of [19 ] for triangles), and we can similarly list hypercliques faster (extending [40 ] and other works). We omit the details.
k-wise matrix product
Next, we show how to compute the k k k -dimensional generalization of matrix multiplication, the k k k -wise matrix product [15 Section 5.1] . Given k k k tensors A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k of order k k k with dimensions n × ⋯ × n n \times\cdots\times n n × ⋯ × n , this is defined as:
MP k ( A 1 , … , A k ) [ i 1 , … , i k ] = ∑ ℓ = 1 n A 1 [ ℓ , i 2 , … , i k ] A 2 [ i 1 , ℓ , i 3 , … , i k ] ⋯ A k [ i 1 , … , i k − 1 , ℓ ] . \operatorname{MP}_k(A_1,\ldots,A_k)[i_1,\ldots,i_k] = \sum_{\ell=1}^{n} A_1[\ell,i_2,\ldots,i_k] A_2[i_1,\ell,i_3,\ldots,i_k] \cdots A_k[i_1,\ldots,i_{k-1},\ell]. MP k ( A 1 , … , A k ) [ i 1 , … , i k ] = ℓ = 1 ∑ n A 1 [ ℓ , i 2 , … , i k ] A 2 [ i 1 , ℓ , i 3 , … , i k ] ⋯ A k [ i 1 , … , i k − 1 , ℓ ] .
Reminder of Theorem 3. For every k ≥ 3 k \ge3 k ≥ 3 , there is an ε > 0 \varepsilon> 0 ε > 0 such that MP k ( A 1 , … , A k ) \operatorname{MP}_k(A_1,\ldots,A_k) MP k ( A 1 , … , A k ) can be computed on A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k , each with n k n^k n k Boolean entries, in O ( n k + 1 − ε ) O(n^{k+1-\varepsilon}) O ( n k + 1 − ε ) time.
The basic idea is that we may view MP k \operatorname{MP}_k MP k as the gradient of the ( k + 1 ) (k+1) ( k + 1 ) -hyperclique polynomial Δ n ( k + 1 ) \Delta_n^{(k+1)} Δ n ( k + 1 ) , so we can apply Baur–Strassen (Lemma 3) to our circuit for Δ n ( k + 1 ) \Delta_n^{(k+1)} Δ n ( k + 1 ) to compute MP k \operatorname{MP}_k MP k .
Proof. Start by indexing the k + 1 k+1 k + 1 coordinates of Δ n ( k + 1 ) ( X ) \Delta_n^{(k+1)}(X) Δ n ( k + 1 ) ( X ) by ( i 1 , … , i k , ℓ ) (i_1,\ldots,i_k,\ell) ( i 1 , … , i k , ℓ ) . For every j ∈ [ k ] j \in[k] j ∈ [ k ] , the group of inputs omitting coordinate i j i_j i j is indexed by the k k k -tuples
( i 1 , … , i j − 1 , i j + 1 , … , i k , ℓ ) , (i_1,\ldots,i_{j-1},i_{j+1},\ldots,i_k,\ell), ( i 1 , … , i j − 1 , i j + 1 , … , i k , ℓ ) ,
and the group omitting ℓ \ell ℓ is indexed by ( i 1 , … , i k ) (i_1,\ldots,i_k) ( i 1 , … , i k ) . For all j ∈ [ k ] j \in[k] j ∈ [ k ] , set
x ( i 1 , … , i j − 1 , i j + 1 , … , i k , ℓ ) ( j ) : = A j [ i 1 , … , i j − 1 , ℓ , i j + 1 , … , i k ] . x^{(j)}_{(i_1,\ldots,i_{j-1},i_{j+1},\ldots,i_k,\ell)} := A_j[i_1,\ldots,i_{j-1},\ell,i_{j+1},\ldots,i_k]. x ( i 1 , … , i j − 1 , i j + 1 , … , i k , ℓ ) ( j ) := A j [ i 1 , … , i j − 1 , ℓ , i j + 1 , … , i k ] .
That is, the index ℓ \ell ℓ goes in position j j j of A j A_j A j . Leave the x α ( k + 1 ) x^{(k+1)}_\alpha x α ( k + 1 ) variables free. Letting α ∈ [ n ] k \alpha\in[n]^k α ∈ [ n ] k , the monomial of ( α , ℓ ) = ( i 1 , … , i k , ℓ ) (\alpha,\ell)=(i_1,\ldots,i_k,\ell) ( α , ℓ ) = ( i 1 , … , i k , ℓ ) becomes
A 1 [ ℓ , i 2 , … , i k ] ⋯ A k [ i 1 , … , i k − 1 , ℓ ] ⋅ x α ( k + 1 ) . A_1[\ell,i_2,\ldots,i_k]\cdots A_k[i_1,\ldots,i_{k-1},\ell]\cdot x^{(k+1)}_\alpha. A 1 [ ℓ , i 2 , … , i k ] ⋯ A k [ i 1 , … , i k − 1 , ℓ ] ⋅ x α ( k + 1 ) .
Summing over ℓ \ell ℓ , we have
Δ n ( k + 1 ) ( A 1 , … , A k , x ( k + 1 ) ) = ∑ α ∈ [ n ] k MP k ( A 1 , … , A k ) [ α ] ⋅ x α ( k + 1 ) . \Delta_n^{(k+1)}(A_1,\ldots,A_k,x^{(k+1)}) = \sum_{\alpha\in[n]^k} \operatorname{MP}_k(A_1,\ldots,A_k)[\alpha]\cdot x^{(k+1)}_\alpha. Δ n ( k + 1 ) ( A 1 , … , A k , x ( k + 1 ) ) = α ∈ [ n ] k ∑ MP k ( A 1 , … , A k ) [ α ] ⋅ x α ( k + 1 ) .
Observe that this polynomial is linear in that last group of variables, and its partial derivative with respect to each x α ( k + 1 ) x^{(k+1)}_\alpha x α ( k + 1 ) is the entry α ∈ [ n ] k \alpha\in[n]^k α ∈ [ n ] k of the desired product.
By the Baur–Strassen theorem (Lemma 3), all partial derivatives of the above polynomial can be computed by an arithmetic circuit of size that is linear in the circuit size of the Δ n ( k + 1 ) \Delta_n^{(k+1)} Δ n ( k + 1 ) polynomial; moreover, we can build the partial derivative circuit from the original one in linear time. Since our original circuit has size O ( n k + 1 − ε k + 1 ) O(n^{k+1-\varepsilon_{k+1}}) O ( n k + 1 − ε k + 1 ) , we obtain an efficient circuit for MP k \operatorname{MP}_k MP k .
Finally, to evaluate this circuit over Boolean inputs, we note that each output is a sum of n n n products of inputs, so it is an integer between 0 0 0 and n n n . As in the proof of Theorem 2, we may work modulo a prime larger than n n n and recover the output exactly.
Max-kSAT, Max-kCSP, etc
Here, we review why the Max-k k k SAT hypothesis (Hypothesis 2) is falsified. Recall that we claim to solve the more general Max-Degree-k k k CSP problem. A Boolean function on n n n variables is a degree-k k k constraint if it has degree at most k k k in its unique multilinear polynomial representation over the { 0 , 1 } \{0,1\} { 0 , 1 } basis. (Note that Max-k k k SAT represents the very special case where each polynomial is over at most k k k variables.) The Max-Degree-k k k CSP problem is: given any set of degree-k k k constraints over n n n Boolean variables, find a Boolean assignment that sets a maximum number of constraints to true.
Reminder of Theorem 4. For every k ≥ 3 k \ge3 k ≥ 3 , there is a δ k > 0 \delta_k > 0 δ k > 0 such that Max-Degree-k k k CSP with n n n variables and any number of m m m constraints can be solved in 2 ( 1 − δ k ) n poly ( n , m ) 2^{(1-\delta_k)n}\operatorname{poly}(n,m) 2 ( 1 − δ k ) n poly ( n , m ) time.
Proof. Theorem C.1 in [37 ] shows that, for all constants ℓ \ell ℓ , k k k , if ℓ \ell ℓ -hypercliques in a k k k -uniform hypergraph with N N N vertices can be detected in T ( N ) T(N) T ( N ) time, then Max-Degree-k k k CSP can be solved in time
O ~ ( ( m n k ) ( ℓ k ) ⋅ T ( ℓ ⋅ 2 n / ℓ ) + m n k ⋅ 2 k n / ℓ ) . (12) \widetilde{O}\left((mn^k)^{\binom{\ell}{k}}\cdot T(\ell\cdot2^{n/\ell})+mn^k\cdot2^{kn/\ell}\right). \tag*{(12)} O ( ( m n k ) ( k ℓ ) ⋅ T ( ℓ ⋅ 2 n / ℓ ) + m n k ⋅ 2 k n / ℓ ) . (12)
(The special case of Max-k k k SAT is covered by their Lemma 9.1.) Set ℓ = k + 1 \ell=k+1 ℓ = k + 1 , so ( ℓ k ) = k + 1 \binom{\ell}{k}=k+1 ( k ℓ ) = k + 1 . Applying Theorem 2 with k + 1 k+1 k + 1 in place of k k k , we have T ( N ) ≤ O ( N k + 1 − ε k + 1 ) T(N)\le O(N^{k+1-\varepsilon_{k+1}}) T ( N ) ≤ O ( N k + 1 − ε k + 1 ) . For fixed k k k , the expression (12) is then
poly ( m , n ) ⋅ ( 2 n ( k + 1 − ε k + 1 ) / ( k + 1 ) + 2 k n / ( k + 1 ) ) ≤ 2 n ( 1 − δ k ) ⋅ poly ( m , n ) \operatorname{poly}(m,n)\cdot\left(2^{n(k+1-\varepsilon_{k+1})/(k+1)}+2^{kn/(k+1)}\right)\le2^{n(1-\delta_k)}\cdot\operatorname{poly}(m,n) poly ( m , n ) ⋅ ( 2 n ( k + 1 − ε k + 1 ) / ( k + 1 ) + 2 k n / ( k + 1 ) ) ≤ 2 n ( 1 − δ k ) ⋅ poly ( m , n )
for δ k : = ε k + 1 / ( k + 1 ) \delta_k:=\varepsilon_{k+1}/(k+1) δ k := ε k + 1 / ( k + 1 ) . This completes the proof. □
Inspecting their proof (which generalizes the algorithm for Max-Degree-2CSP in [56 ] ), we may also exactly count the number of Boolean assignments that maximize the number of satisfied constraints in the same running time.
The k-AP Hypothesis is false
Finally, we note that our results on hyperclique finding have applications to algorithms in additive combinatorics.
Reminder of Theorem 5. For every fixed k ≥ 4 k\ge4 k ≥ 4 , we can decide whether a set A ⊆ { 0 , … , n } A\subseteq\{0,\ldots,n\} A ⊆ { 0 , … , n } contains a nontrivial k k k -term arithmetic progression in O ( n 2 − 2 ε k / k ) O(n^{2-2\varepsilon_k/k}) O ( n 2 − 2 ε k / k ) time.
Proof. Lemma 5.7 of [23 ] states that if deciding whether a ( k − 1 ) (k-1) ( k − 1 ) -uniform hypergraph on n n n vertices contains a k k k -hyperclique can be done in time T ( n ) T(n) T ( n ) , then k k k -AP Detection is in time O ( T ( n 2 / k ) ) O(T(n^{2/k})) O ( T ( n 2/ k )) . By Theorem 2, we have T ( n ) ≤ O ( n k − ε k ) T(n)\le O(n^{k-\varepsilon_k}) T ( n ) ≤ O ( n k − ε k ) , so k k k -AP Detection can be solved in time O ( n ( 2 / k ) ( k − ε k ) ) = O ( n 2 − 2 ε k / k ) O(n^{(2/k)(k-\varepsilon_k)})=O(n^{2-2\varepsilon_k/k}) O ( n ( 2/ k ) ( k − ε k ) ) = O ( n 2 − 2 ε k / k ) . □
AI methodology and background
On October 12 2026, we proposed using the algebraic approach to refute the hyperclique conjecture to ChatGPT 6 Pro. With a little encouragement, it obtained the main result. The full chat is available here.
ChatGPT and Claude were both used by the authors to help understand ideas, compare them to prior work, proofread, and draw figures. None of the text in this document is AI generated.