Quasi-polynomial Hitting-set for Set-depth-Delta Formulas

Manindra Agrawal, Chandan Saha, Nitin Saxena

Introduction

Polynomial identity testing (PIT) - the algorithmic question of examining if a given arithmetic circuit computes an identically zero polynomial - has received some attention in the recent times, primarily due to its close connection to circuit lower bounds. It is now known that a complete (blackbox) derandomization of PIT for depth-44 formulas, via a particular kind of pseudorandom generators, implies VP≠VNP\mathsf{VP}\neq\mathsf{VNP} (an algebraic analogue of the much coveted result: P≠NP\mathsf{P}\neq\mathsf{NP}). It is also known that VP≠VNP\mathsf{VP}\neq\mathsf{VNP}, which amounts to proving exponential circuit lower bounds, must necessarily be shown before proving P≠NP\mathsf{P}\neq\mathsf{NP} ([Val79, SV85]). Blackbox identity testing (equivalently, the problem of designing hitting-set generators), being a promising approach to proving lower bounds, naturally calls for a closer examination. Towards this, some progress has been made in the form of polynomial time hitting set generators for the following models:

depth-33 formulas with bounded top fanin [ASSS12, SS11],

depth-44 (bounded depth) constant-occur formulas [ASSS12],

and a quasi-polynomial time hitting-set generator for

multilinear constant-read formulas [AvMV11],

among some others (refer to the surveys [SY10, Sax09, AS09]). The hope is, by studying these special but interesting models we might develop a deeper understanding of the nature of hitting sets and thereby get a clue as to what techniques can be lifted to solve PIT in general (i.e. for depth-44 formulas). One such potentially effective technique is the study of partial derivatives of formulas.

Despite the apparent difference between the approaches of [ASSS12] and [AvMV11], at a finer level they share a common ingredient - the use of partial derivatives. The partial derivative based method was introduced in the seminal paper by Nisan and Wigderson [NW97] for proving circuit lower bounds, and since then it has been successfully applied (with more sophistications) to prove various interesting results on lower bounds, identity testing and reconstruction of circuits [ASSS12, AvMV11, GKQ12, GKKS12] (refer to the surveys [SY10, CKW11] for much more).

Indeed, we prove that the above intuition is true for the class of set-depth-Δ\Delta formulas (precisely defined in Section 1.1) - a highly interesting class capturing many other previously studied models (see Section 1.1), including set-multilinear depth-33 circuits.

Set-multilinear depth-33 circuits: A circuit C=∑i=1k∏j=1dfi,j(xXj)C=\sum_{i=1}^{k}{\prod_{j=1}^{d}{f_{i,j}(\boldsymbol{x}_{X_{j}})}} is called a set-multilinear depth-33 circuit if X1⊔…⊔XdX_{1}\sqcup\ldots\sqcup X_{d} is a partition of the variable indices [n][n] and fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}) is a linear polynomial in the variables xXj\boldsymbol{x}_{X_{j}} i.e. the set of variables corresponding to the partition XjX_{j}. The set-multilinear depth-33 model, first defined by [NW97], kicked off a flurry of activity. Though innocent-looking, it has led researchers to various arithmetic inventions – the partial derivative method for circuit lower bounds [NW97], noncommutative whitebox PIT [RS05], the relationship between tensor-rank and super-polynomial circuit lower bounds [Raz10], hitting-set for tensors, low-rank recovery of matrices, rank-metric codes [FS12], and reconstruction (or learnability) of circuits [KS06]. Although, an exponential lower bound for set-multilinear depth-33 circuits is known [NW97, RY09], the closely associated problem of efficient blackbox identity testing on this model remained an open question, until this work.

Our contribution: Hitting set for set-depth-Δ\Delta formulas - A whitebox deterministic polynomial time identity test for set-depth-Δ\Delta follows from the noncommutative PIT results [RS05]. We are interested in blackbox PIT and, naturally, we cannot see inside CC and the underlying partitions of [n][n]. The only information we have is the circuit-size bound, ss. To our knowledge, there was no sub-exponential time hitting-set known for the set-depth-Δ\Delta model. Our work improves this situation to quasi-polynomial for any underlying field (refer Theorem 1). We remark that even the very special case of set-multilinear depth-33 circuits had no sub-exponential hitting-set known (see [SY10, Problem 27]); closest being the recent result of [FS12] where they give a quasi-polynomial hitting-set for tensors, i.e. the knowledge of the sets X1,…,XdX_{1},\ldots,X_{d} is required.

Furthermore, set-depth-44 covers other well-studied models - diagonal circuits [Sax08] & semi-diagonal circuits [SSS12] - that had whitebox identity tests but no blackbox sub-exponential PIT were known. For these (and set-multilinear depth-33), our hitting-set has time complexity sO(log⁡s)s^{O(\log s)}, although, for general set-depth-44 it requires sO(log⁡2s)s^{O(\log^{2}s)}.

Depth-44 formulas being the ultimate frontier for PIT (and lower bounds) [AV08], one might wonder about the utility of our result on hitting-set for set-depth-Δ\Delta formulas beyond Δ=4\Delta=4. It turns out that there is an interesting connection: We show that a quasi-polynomial hitting set generator for set-depth-66 formulas implies a quasi-polynomial hitting set generator for depth-33 formulas of the form C=∑i=1k∏j=1dfi,j(xXj)ei,jC=\sum_{i=1}^{k}{\prod_{j=1}^{d}{{f_{i,j}(\boldsymbol{x}_{X_{j}})}^{e_{i,j}}}}, where X1⊔…⊔XdX_{1}\sqcup\ldots\sqcup X_{d} defines a partition on [n][n] and fi,jf_{i,j} are linear polynomials. Since arbitrary powers ei,j≥0e_{i,j}\geq 0 are allowed, the above depth-33 model is stronger than set-multilinear depth-33 formulas (as there is no restriction of multilinearity). This appears to be temptingly close to the general depth-33 model modulo the partition on variables, and provides us with a good motivation to understand the strength of our approach against depth-33 formulas.

Technical novelty of our approach - As mentioned before, many works have looked at the partial derivatives of a formula and related matrices, e.g. the Jacobian [ASSS12, BMS11]. From a geometric viewpoint, the study via derivatives shifts the variables by an infinitesimal amount and hopes to discover interesting structure. We take a more radical approach; we shift the circuit by formal variables and look at how the circuit changes by considering a transfer matrix TT. The transfer matrix originates from the study of a formula with field coefficients via a simpler one having Hadamard algebra coefficients. This makes the transfer process more amenable to an attack using matrices and linear algebra; proving properties that are vaguely reminiscent of the case of top-fanin k=1k=1.

The main technicality lies in proving the invertibility of a transfer matrix, which is an exponential-sized matrix. Some of the arguments here are combinatorial in nature involving greedy and binary-search paradigms.

Although, Hadamard algebra is implicit in the whitebox identity test of [RS05] and the study of PIT over commutative algebras of [SSS09] (Theorem 66 in [SSS09]), the novelty of our approach lies in understanding the effect of shift by viewing it through the lens of Hadamard algebra, and thereby observing the remarkable phenomenon of low-support rank concentration, which in turn implies that a low-support monomial survives after shifting.

We say that CC is a set-depth-Δ\Delta formula if for every hh-th Π\Pi-layer in CC, there exists a partition Xh,1⊔⋯⊔Xh,dhX_{h,1}\sqcup\cdots\sqcup X_{h,d_{h}} of variable indices [n][n] that the product gates of the hh-th Π\Pi-layer respect. In other words, for every h∈[H]h\in[H] the ii-th product gate in the hh-th Π\Pi-layer computes a polynomial of the form ∏j=1dhfi,j(xXh,j)\prod_{j=1}^{d_{h}}{f_{i,j}(\boldsymbol{x}_{X_{h,j}})}, where each fi,j(xXh,j)f_{i,j}(\boldsymbol{x}_{X_{h,j}}) is a set-depth-(Δ−2h)(\Delta-2h) formula of height H−hH-h on the variable set xXh,j\boldsymbol{x}_{X_{h,j}}. If Δ=2H\Delta=2H then the product gates of the HH-th Π\Pi-layer are allowed to compute arbitrary monomials, i.e. here the HH-th Π\Pi-layer need not respect any partition of the variables.

We will also refer to CC as a set-height-HH formula. Size of CC, denoted by ss or ∣C∣|C|, is the number of gates (including the input gates) in CC.

Remarks. 1. For blackbox PIT of set-multilinear depth-33 formulas this gives a quasi-polynomial time complexity of sO(log⁡s)s^{O(\log s)} - this is the first sub-exponential time algorithm. 2. For constants H>1H>1 the formula may not be multilinear, though the hitting-set remains quasi-polynomial. The time complexity remains sub-exponential up to H=ϵlog⁡s/log⁡log⁡sH=\epsilon\log s/\log\log s, for a fixed constant ϵ<1\epsilon<1 .

An interesting model that is not set-depth-Δ\Delta but still Theorem 1 could be applied is - semi-diagonal formula. The reason being the duality transformation [Sax08, SSS12] that helps us view it as a set-depth-44 formula. We recall - a depth-44 (ΣΠΣΠ\Sigma\Pi\Sigma\Pi) formula CC is semi-diagonal if, for all ii, its ii-th (top) product-gate computes a polynomial of the form mi⋅∏j=1bfi,jei,jm_{i}\cdot\prod_{j=1}^{b}{f_{i,j}^{e_{i,j}}}, where mim_{i} is a monomial, fi,jf_{i,j} is a sum of univariate polynomials, and bb is a constant. We give two applications, with similar proofs but, for different looking formulas.

2. Organization

We develop an extensive terminology in Section 2, which would be useful later. This section also shows the proof idea at work for the example case of diagonal circuits. Section 3 proves the first structural property - a small shift ensures low-block-support rank-concentration in a product of polynomials, that have disjoint variables and only low-weight monomials. Starting with this as a base case, Section 4 proves the second structural property - a small shift ensures low-support rank-concentration in set-depth-Δ\Delta formulas (thus, achieving the presence of a low-support monomial). Finally, the proofs of our main results (or hitting-sets) are completed in Section 5.

The basics

For an nn-variate polynomial ff, of degree bound dd and monomial-weight μ\mu, we have s(f)⩽(n+1μ)⋅(d+μμ)\mathfrak{s}(f)\leqslant{n+1\choose\mu}\cdot{d+\mu\choose\mu}.

2. Hadamard algebras

We can extend the above definition also to the case when RR is an integral domain, as we can then work with the associated field of fractions.

We demonstrate the usefulness of Hadamard algebra & ‘shifting’ in achieving low-support rank concentration, using the example case of diagonal circuits (see Section A).

3. Proof ideas

where the ii-th coordinate of fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) is fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}). Note that C(x)C(\boldsymbol{x}) can be expressed as (1,1,…,1)⋅D(x)(1,\hskip 0.72229pt1,\ldots,1)\cdot D(\boldsymbol{x}), where ⋅\cdot is the usual matrix product. Denote (1,1,…,1)(1,\hskip 0.72229pt1,\ldots,1) by 1\mathbf{1}.

Here is where ‘shifting’ enters the picture. The goal in this paper is to prove that after a ‘small’ shift of the variables, DD begins to satisfy something like Conjecture 6. This requires a rather elaborate study of how a formula changes when shifted; the meat is expressed through certain transfer equations. Looking ahead, we conjecture (without proof) that the phenomena continue to hold in general constant-depth formulas.

4. Set-height formulas over Hadamard algebra

Uniform fanin of Σ\Sigma and Π\Pi-gates - With the definitions of kk and dd as above, we can assume that the fanin of every Σ\Sigma-gate in CC (barring the gates of the bottom-most Σ\Sigma-layer) is kk, and fanin of every Π\Pi-gate is dd. This can be achieved by introducing ‘dummy’ gates: The ‘dummy’ Σ\Sigma-gates introduced as children of a Π\Pi-gate compute the field constant 11, and the ‘dummy’ Π\Pi-gates introduced as children of a Σ\Sigma-gate also compute 11 except that some of the field constants on the wires are set to zeroes. This process keeps CC a set-height-HH formula but might bloat up the size from ss to sΔs^{\Delta}, although it does not change kk and dd (according to the way we have defined them). Of course, formula CC is not modified physically as it is presented as a blackbox. But the point is, even in the blackbox setting we can treat CC as a set-height-HH formula with uniform fanin of Σ\Sigma and Π\Pi-gates. We will call this uniform fanin of the Σ\Sigma and Π\Pi-gates as the Σ\Sigma-fanin and Π\Pi-fanin, respectively. Note that the definition of Σ\Sigma-fanin excludes the gates of the bottom-most Σ\Sigma-layer - they are handled next.

Fanin bound on bottom-most Σ\Sigma-gates - If Δ\Delta is even, denote the set of monomials computed by the HH-th Π\Pi-layer by MM; if Δ\Delta is odd then M:=x∪{1}M:=\boldsymbol{x}\cup\{1\}. The fanin of every gate of the bottom-most Σ\Sigma-layer is bounded by λ:=∣M∣+1\lambda:=|M|+1. Refer to λ\lambda as the sparsity parameter.

where ⋆\star denotes the Hadamard product in the algebra Rh+1\mathcal{R}_{h+1} (extended naturally to the polynomial ring over Rh+1\mathcal{R}_{h+1}). Evidently,

where ⋅\cdot is the product for matrices over Rh[x]\mathcal{R}_{h}[\boldsymbol{x}]. We intend to understand the nature of the circuit Ch(x)C_{h}(\boldsymbol{x}) by studying the properties of the circuit Dh(x)D_{h}(\boldsymbol{x}) - it is here that the recursive structure reveals itself as in Lemma 7. Let Ph(h′):={Xh′,1,…,Xh′,d}\mathcal{P}_{h}(h^{\prime}):=\{X_{h^{\prime},1},\ldots,X_{h^{\prime},d}\} be the partition of [n][n] that the h′h^{\prime}-th Π\Pi-layer of ChC_{h} respects. (Recall that when the depth of ChC_{h} is even then the bottom-most Π\Pi-layer need not respect any partition - this attribute would always remain implicit in our discussions.) Define the partition Ph(h′,Xj):={Xh′,1∩Xj,…,Xh′,d∩Xj}\mathcal{P}_{h}(h^{\prime},X_{j}):=\{X_{h^{\prime},1}\cap X_{j},\ldots,X_{h^{\prime},d}\cap X_{j}\} (ignore here the empty sets), for every 1≤j≤d1\leq j\leq d.

For every j∈[d]j\in[d], fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) is a set-height-(H−h−1H-h-1) formula in Rh+1[xXj]\mathcal{R}_{h+1}[\boldsymbol{x}_{X_{j}}] with Σ\Sigma-fanin kk, Π\Pi-fanin dd and sparsity parameter λ\lambda, i.e. fj(xXj)∈Ch+1(k,d,λ,xXj)f_{j}(\boldsymbol{x}_{X_{j}})\in\mathcal{C}_{h+1}(k,d,\lambda,\boldsymbol{x}_{X_{j}}), such that every h′h^{\prime}-th Π\Pi-layer of fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) respects the partition Ph(h′+1,Xj)\mathcal{P}_{h}(h^{\prime}+1,X_{j}). (Pf. in App. B)

5. Matrices

For any column-vector vv and matrices Ei,Mi,ZiE_{i},M_{i},Z_{i}, with suitable assumptions on the sizes and invertibility, we have:

(⊗iEi)⋅(⊗iMi)=⊗i(EiMi)(\otimes_{i}E_{i})\cdot(\otimes_{i}M_{i})=\otimes_{i}(E_{i}M_{i}).

⊗iMi−1=(⊗iMi)−1\otimes_{i}M_{i}^{-1}=(\otimes_{i}M_{i})^{-1}.

(v⋆M1)⋅M2=v⋆(M1M2)(v\star M_{1})\cdot M_{2}=v\star(M_{1}M_{2}).

(Z1M1)⊛(Z2M2)=(Z1⊛Z2)⋅(M1⊗M2)(Z_{1}M_{1})\circledast(Z_{2}M_{2})=(Z_{1}\circledast Z_{2})\cdot(M_{1}\otimes M_{2}).

Low-block-support rank-concentration

We would like to prove something like Conjecture 6 for D(x+t)D(\boldsymbol{x}+\boldsymbol{t}). Note that it suffices to focus on D′(x)D^{\prime}(\boldsymbol{x}) as its coefficients are all scaled-up by the same nonzero ‘constant’ D(t)D(\boldsymbol{t}). The rest of the section is devoted to proving the following theorem.

2. Transfer equation of a single polynomial

Z′=f(t)−1⋆ZNSTNS−1Z^{\prime}=f(\boldsymbol{t})^{-1}\star ZN_{\mathcal{S}}TN_{\mathcal{S}}^{-1}. (Pf. in Appendix C)

We have f(t)−1⋆Z≡ZS∗′NS∗TS∗,S′NS−1(modz0′)f(\boldsymbol{t})^{-1}\star Z\equiv Z^{\prime}_{\mathcal{S}^{*}}N_{\mathcal{S}^{*}}T^{\prime}_{\mathcal{S}^{*},\mathcal{S}}N_{\mathcal{S}}^{-1}\pmod{z^{\prime}_{0}}. Further, TS∗,S′T^{\prime}_{\mathcal{S}^{*},\mathcal{S}} is strongly full. (Pf. in Appendix C)

3. Transfer equation of D𝐷D: Hadamard tensoring

There exist unmarked columns C⊆S\mathcal{C}\subseteq\mathcal{S}, ∣C∣=∣S′∣|\mathcal{C}|=|\mathcal{S}^{\prime}|, such that ∣TS′,C′∣≠0|T^{\prime}_{\mathcal{S}^{\prime},\mathcal{C}}|\neq 0. (Proof in Appendix C)

∣T′NS−1A∣≠0|T^{\prime}N_{\mathcal{S}}^{-1}A|\neq 0. Further, the leading nonzero inverse-monomial in the determinant has the coefficient ∣TS′,C′∣|T^{\prime}_{\mathcal{S}^{\prime},\mathcal{C}}|. (Proof in Appendix C)

Finally, we use AA to finish the proof of our main structure theorem.

From the transfer equation, Lemma 12, we recall

Since T′NS−1AT^{\prime}N_{\mathcal{S}}^{-1}A is invertible from Lemma 14 and NS′N_{\mathcal{S}^{\prime}} is obviously invertible, we get

Low-support rank-concentration

We will prove that a set-height-HH formula, after a ‘small’ shift, begins to have ‘low’-support rank-concentration. The proof is by induction on the height of the formulas over Hadamard algebras. For this, we would need the following concepts.

Proof strategy ahead - The idea is to construct the map τh\tau_{h} by applying induction on height H−hH-h of the class Ch(k,d,λ,x)\mathcal{C}_{h}(k,d,\lambda,\boldsymbol{x}). By Equation 2,

2. Induction (h+1ℎ1h+1 to hℎh)

ℎ1h+1 to hh) Let f^j(xXj):=τh+1(fj(xXj))\widehat{f}_{j}(\boldsymbol{x}_{X_{j}}):=\tau_{h+1}(f_{j}(\boldsymbol{x}_{X_{j}})). Then,

The crucial observation is that, for any vj∈Bjv_{j}\in B_{j}, z^j,vj′\widehat{z}^{\prime}_{j,v_{j}} gets a tht_{h}-free contribution only from the monomial xvjx^{v_{j}}, thus, its basis representation looks like:

Reading off the hitting-set

2. Proof of Corollary 2

3. Proof of Corollary 3

Conclusion

We have identified a natural phenomena - low-support rank-concentration - in constant-depth formulas, that is directly useful in their blackbox PIT (up to quasi-polynomial time). In this work we gave a proof for the interesting special case of set-depth-Δ\Delta formulas. More work is needed to prove such rank-concentration in full generality. Next, it would be interesting to prove rank-concentration for depth-33 formulas. Another direction is to improve this proof technique to give polynomial-time hitting-sets for set-depth-Δ\Delta formulas.

Acknowledgments

This work was initiated when MA and NS visited Max Planck Institute for Informatics, and would like to thank the institute for its generous hospitality. The travel of MA was funded by Humboldt Forschungspreis, and that of NS by MPII. CS and NS would like to thank Hausdorff Center for Mathematics (Bonn) for the generous support during the research work. Additionally, CS is supported by the IMPECS fellowship.

References

Appendix A Diagonal circuits: The spirit of the argument

Consider shifting every xjx_{j} by a formal variable tjt_{j}, i.e. xj↦xj+tjx_{j}\mapsto x_{j}+t_{j}. Then,

Appendix B Missing proofs of Section 2

Recall that fj(xXj)=(f1,j(xXj),…,fk,j(xXj))Tf_{j}(\boldsymbol{x}_{X_{j}})=(f_{1,j}(\boldsymbol{x}_{X_{j}}),\ldots,f_{k,j}(\boldsymbol{x}_{X_{j}}))^{T}, where every fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}) is a set-height-(H−h−1)(H-h-1) formula over Rh\mathcal{R}_{h}. The proof is by induction on height (H−h−1)(H-h-1) of fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) (in other words, reverse induction on hh).

Base case (h+1⩾H−1h+1\geqslant H-1): The base case is when H−h−1=1H-h-1=1 or , i.e. fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}})’s are sparse polynomials or linear polynomials depending on whether Δ\Delta is even or odd, repectively. In this case, fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) is a set-height-(H−h−1)(H-h-1) formula over Rh+1\mathcal{R}_{h+1}. Also, the sparsity parameter λ\lambda remains the same by its definition. Hence, fj(xXj)∈Ch+1(k,d,λ,xXj)f_{j}(\boldsymbol{x}_{X_{j}})\in\mathcal{C}_{h+1}(k,d,\lambda,\boldsymbol{x}_{X_{j}}). (Here we do not care about the partition.)

Inductive step (h+2h+2 to h+1h+1): The crucial property to note here is that the formulas fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}})’s appear as sub-formulas of ChC_{h} at depth-33 (Equation 1). Therefore, the corresponding Π\Pi-layers of f1,j(xXj),…,fk,j(xXj)f_{1,j}(\boldsymbol{x}_{X_{j}}),\ldots,f_{k,j}(\boldsymbol{x}_{X_{j}}) respect the same partitions of xXj\boldsymbol{x}_{X_{j}}. In particular, we can express every fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}) as,

where bi,j,p∈Rhb_{i,j,p}\in\mathcal{R}_{h}, gi,j,p,q(xYj,q)g_{i,j,p,q}(\boldsymbol{x}_{Y_{j,q}}) is a set-height-(H−h−2)(H-h-2) formula over Rh\mathcal{R}_{h}, and the first Π\Pi-layer of all fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}), for 1≤i≤k1\leq i\leq k, respect the same partition Ph(2,Xj)\mathcal{P}_{h}(2,X_{j}). In other words, Yj,qY_{j,q}’s partition XjX_{j} as do X2,q∩XjX_{2,q}\cap X_{j}. (Note: With jj fixed, here X2,q∩XjX_{2,q}\cap X_{j} are the only relevant variable indices.) Hence,

where bj,p=(b1,j,p,⋯ ,bk,j,p)T∈Rh+1b_{j,p}=(b_{1,j,p},\cdots,b_{k,j,p})^{T}\in\mathcal{R}_{h+1} and gj,p,q(xYj,q)=(g1,j,p,q(xYj,q),…,gk,j,p,q(xYj,q))Tg_{j,p,q}(\boldsymbol{x}_{Y_{j,q}})=(g_{1,j,p,q}(\boldsymbol{x}_{Y_{j,q}}),\ldots,g_{k,j,p,q}(\boldsymbol{x}_{Y_{j,q}}))^{T} ∈Rh+1[xYj,q]\in\mathcal{R}_{h+1}[\boldsymbol{x}_{Y_{j,q}}].

In order to apply induction, we make a comparison between fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}) and gi,j,p,q(xYj,q)g_{i,j,p,q}(\boldsymbol{x}_{Y_{j,q}}) (and between fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) and gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}})). Just like fi,j(xXj)f_{i,j}(\boldsymbol{x}_{X_{j}}) is a set-height-(H−h−1)(H-h-1) formula over Rh\mathcal{R}_{h} occurring as a sub-formula at depth-33 of the formula ChC_{h}, gi,j,p,q(xYj,q)g_{i,j,p,q}(\boldsymbol{x}_{Y_{j,q}}) is a set-height-(H−h−2)(H-h-2) formula over Rh\mathcal{R}_{h} occurring as a sub-formula at depth-55 of the formula ChC_{h}. Hence, by induction, gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}}) is a set-height-(H−h−2H-h-2) formula in Rh+1[xYj,q]\mathcal{R}_{h+1}[\boldsymbol{x}_{Y_{j,q}}] with Σ\Sigma-fanin kk, Π\Pi-fanin dd and sparsity parameter λ\lambda i.e., gj,p,q(xYj,q)∈Ch+2(k,d,λ,xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}})\in\mathcal{C}_{h+2}(k,d,\lambda,\boldsymbol{x}_{Y_{j,q}}), such that every h′h^{\prime}-th Π\Pi-layer of gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}}) respects the partition Ph(h′+2,Yj,q)\mathcal{P}_{h}(h^{\prime}+2,Y_{j,q}). Since gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}}) has only variables xYj,q\boldsymbol{x}_{Y_{j,q}} and Yj,q⊆XjY_{j,q}\subseteq X_{j}, we can also say that every h′h^{\prime}-th Π\Pi-layer of gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}}) respects the partition Ph(h′+2,Xj)\mathcal{P}_{h}(h^{\prime}+2,X_{j}). The h′h^{\prime}-th Π\Pi-layers of the gj,p,q(xYj,q)g_{j,p,q}(\boldsymbol{x}_{Y_{j,q}})’s (for 1≤q≤d1\leq q\leq d) correspond to the (h′+1)(h^{\prime}+1)-th Π\Pi-layer of fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}). Hence, by Equation 10, we infer that every h′h^{\prime}-th Π\Pi-layer of fj(xXj)f_{j}(\boldsymbol{x}_{X_{j}}) respects the partition Ph(h′+1,Xj)\mathcal{P}_{h}(h^{\prime}+1,X_{j}). Note that the Σ\Sigma-fanin, Π\Pi-fanin and the sparsity parameter remain k,dk,d and λ\lambda, respectively. This proves the claim. ∎

Appendix C Missing proofs of Section 3

Consider a column u∈Su\in\mathcal{S} of Z′Z^{\prime}; it is zu′z^{\prime}_{u}. Now

Running over all u∈Su\in\mathcal{S} gives us the result. ∎

C.2. Proof of Lemma 11

Lemma 10 gives ZS′=f(t)−1⋆ZNSTS,SNS−1Z^{\prime}_{\mathcal{S}}=f(\boldsymbol{t})^{-1}\star ZN_{\mathcal{S}}T_{\mathcal{S},\mathcal{S}}N_{\mathcal{S}}^{-1}. Rewrite it as,

Since the LHS is a matrix of rank ∣S∣−1|\mathcal{S}|-1, we deduce that TS∗,S∖{e}′T^{\prime}_{\mathcal{S}^{*},\mathcal{S}\setminus\{e\}} is invertible. In other words, TS∗,S′T^{\prime}_{\mathcal{S}^{*},\mathcal{S}} is strongly full. ∎

C.3. Proof of Lemma 12

Consider a column u∈Su\in\mathcal{S} of ZZ; it is zuz_{u}. Now

Running over all u∈Su\in\mathcal{S} gives us,

C.4. Proof of Theorem 13

(Ti′)Ui,Ui=Ini(T^{\prime}_{i})_{U_{i},U_{i}}=I_{n_{i}} [by Lemma 8-(1), and taking EiTi′E_{i}T^{\prime}_{i} to be our new Ti′T^{\prime}_{i}], and

the column (Ti′)Ui,0(T^{\prime}_{i})_{U_{i},0} is zero free.

Define an indicator function (note: δ(⋅)\delta(\cdot) equals 11, if the boolean condition is true, else )

Note that the (u,w)(u,w)-th entry in Ti′T^{\prime}_{i} is nonzero iff ε(u,w)=1\varepsilon(u,w)=1. Thus, ε\varepsilon exactly indicates the non-zeroness in Ti′T^{\prime}_{i}.

We will build C\mathcal{C} incrementally, starting with C=∅\mathcal{C}=\emptyset. During this build up we might apply row permutations RR on T′T^{\prime}.

Consider a column uu, u∈U⊂Wu\in U\subset W, of T′T^{\prime}. This column has exactly one nonzero entry; appearing at the row indexed by u∈Uu\in U. Put all these unmarked columns uu in C\mathcal{C}, and collect the marked ones in M1\mathcal{M}_{1}.

If M1=∅\mathcal{M}_{1}=\emptyset then we already have ∣C∣=∣U∣|\mathcal{C}|=|U| and we are done (infact, TU,C′T^{\prime}_{U,\mathcal{C}} is identity). So assume ∣M1∣=:m1∈[κ]|\mathcal{M}_{1}|=:m_{1}\in[\kappa] and define m2:=κ−m1<κm_{2}:=\kappa-m_{1}<\kappa. Let the other marked columns be M2:=M∖M1\mathcal{M}_{2}:=\mathcal{M}\setminus\mathcal{M}_{1}; they lie in W∖UW\setminus U and are m2m_{2} many.

Proof of Claim 18. We will again build C1\mathcal{C}_{1} incrementally, starting from ∅\emptyset.

The ordered list u1(1),…,um1(1)u_{1}(1),\ldots,u_{m_{1}}(1) has repetitions only in contiguous locations and the frequencies are non-increasing. In equation terms: The list has some rr distinct elements α1,…,αr∈U1\alpha_{1},\ldots,\alpha_{r}\in U_{1} with respective frequencies i1⩾⋯⩾iri_{1}\geqslant\cdots\geqslant i_{r} (summing to m1m_{1}), and they appear as α1(i1 times),…,αr(ir times)\alpha_{1}(i_{1}\text{ times}),\ldots,\alpha_{r}(i_{r}\text{ times}).

The ordered list (u1(1),u1(2)),…,(um1(1),um1(2))(u_{1}(1),u_{1}(2)),\ldots,(u_{m_{1}}(1),u_{m_{1}}(2)) has repetitions only in contiguous locations and the frequencies are non-increasing.

We now describe an iterative process to build C1\mathcal{C}_{1} one element at a time. In the ii-th iteration, i∈[m1]i\in[m_{1}], we will add an unmarked, unpicked column wi∈Lw_{i}\in\mathcal{L} to C1\mathcal{C}_{1}. The process maintains the invariant: (R1T1′)M1,C1(R_{1}T^{\prime}_{1})_{\mathcal{M}_{1},\mathcal{C}_{1}} is a lower-triangular matrix.

Note that the square submatrix of T1′T^{\prime}_{1} thus far, (R1T1′){u1,…,ui},C1(R_{1}T^{\prime}_{1})_{\{u_{1},\ldots,u_{i}\},\mathcal{C}_{1}} is lower-triangular with a nonzero diagonal.

After the iteration i=m1i=m_{1} - The square matrix (R1T1′)M1,C1(R_{1}T^{\prime}_{1})_{\mathcal{M}_{1},\mathcal{C}_{1}} is lower-triangular with a nonzero diagonal.

Since R1R_{1} permutes the rows of T1′T^{\prime}_{1}, its action can be lifted to the rows of T′T^{\prime}; call this action RR. Also, append C1\mathcal{C}_{1} to the current C\mathcal{C} (making its size ∣U∣|U|). Define M‾1:=U∖M1\overline{\mathcal{M}}_{1}:=U\setminus\mathcal{M}_{1} and C‾1:=C∖C1\overline{\mathcal{C}}_{1}:=\mathcal{C}\setminus\mathcal{C}_{1}. Consider the square matrix (RT′)U,C(RT^{\prime})_{U,\mathcal{C}}. It looks like,

Clearly, its determinant equals ∣(R1T1′)M1,C1∣≠0|(R_{1}T^{\prime}_{1})_{\mathcal{M}_{1},\mathcal{C}_{1}}|\neq 0. Thus, ∣TU,C′∣≠0|T^{\prime}_{U,\mathcal{C}}|\neq 0 and we are done. ∎

C.5. Proof of Lemma 14

Thus, the vv-th column of AA has the leading monomial t−vt^{-v} which ‘contributes’ the vector TS′,v′T^{\prime}_{\mathcal{S}^{\prime},v}. Going over the columns aa, running v∈Cv\in\mathcal{C}, by the column-linearity of determinant and the multiplicativity of the inverse-monomial ordering, we deduce that the largest possible (inverse-monomial) term in the expression ∣T′NS−1A∣|T^{\prime}N_{\mathcal{S}}^{-1}A| is:

We know this is nonzero, by the property of C\mathcal{C}, thus it is indeed the leading term. In particular, ∣T′NS−1A∣≠0|T^{\prime}N_{\mathcal{S}}^{-1}A|\neq 0. ∎

Appendix D Missing proofs of Section 4

D.2. Proof of Lemma 17