1 Introduction
Polynomial identity testing asks whether an arithmetic expression computes the zero polynomial. We study this question for noncommuting variables when the expression is accessible through matrix evaluations. The aim is to choose the evaluation matrices before seeing the expression or any of its coefficients.
Let F\langle x_1,\ldots,x_n\rangle be the free associative polynomial algebra over a field F. A noncommutative formula is a rooted tree whose leaves are variables or scalars in F, and whose internal gates have two inputs and are labelled + or \times. The two inputs to each multiplication gate are ordered. Its size counts all gates, including the leaves. Write \mathsf{Form}_{n,s}(F) for the polynomials computed by formulas of size at most s in n variables.
For a tuple \mathbf T=(T_1,\ldots,T_n)\in\Mat_d(F)^n, the value f(\mathbf T) is the usual ordered matrix evaluation; a scalar a\in F acts as aI_d. A hitting point for a class of polynomials is one tuple on which every nonzero member of the class has nonzero matrix value. More generally, a hitting set allows several tuples and requires a nonzero value on at least one of them.
Theorem 1.1. There is a deterministic algorithm which, given integers n,s\ge1, constructs a tuple
in time polynomial in n,s, measured in bit operations. The numerators and denominators of its entries have bit length O(\log(ns+1)+ns^2\log(n+1)). For every field F of characteristic zero and every 0\ne f\in\mathsf{Form}_{n,s}(F),
where the tuple is viewed over F through the canonical embedding \Q\hookrightarrow F. The construction uses d=2ns^2 when ns\ge2 and d=1 when n=s=1.
Thus a single exact matrix-evaluation query decides whether a polynomial promised to lie in \mathsf{Form}_{n,s}(F) is zero. The bit-time statement concerns construction of the rational tuple. Evaluation over an arbitrary field is understood as an exact oracle operation; no encoding or bit-cost assumption on arbitrary elements of F is needed. In particular, the singleton set \{\mathbf T_{n,s}\} gives a positive solution to the polynomial-size rational-matrix hitting-set problem for characteristic-zero formulas.
1.1 Context and scope
An acyclic algebraic branching program is a directed acyclic graph with a designated source and sink, and with affine-linear edge labels over the coefficient field. Its output is the sum of the ordered products of edge labels along source-to-sink paths; here its size is the number of vertices. Formulas admit such path representations of linear size.
Linear algebra has long played a central role in noncommutative complexity. Nisan characterized layered homogeneous algebraic branching-program complexity by ranks of coefficient matrices [13, Theorem 1]. Raz and Shpilka gave deterministic polynomial-time identity tests for noncommutative formulas and algebraic branching programs [15, Theorems 4 and 5]. These algorithms use the internal structure of the input, which is the white-box model. In the black-box model, Bogdanov and Wee gave a randomized matrix-evaluation identity test with one-sided error and running time polynomial in a supplied degree bound and the other input parameters [3, Theorem 4.2]. Forbes and Shpilka constructed deterministic quasipolynomial-size matrix hitting sets for noncommutative algebraic branching programs over sufficiently large fields [7, Corollary 4.7], and hence for formulas. Their field-size condition is automatic in characteristic zero.
Arvind, Chatterjee and Mukhopadhyay obtained quasipolynomial black-box tests over \Q for rational formulas of inversion height two [1, Theorem 1.1], and subsequently for unrestricted noncommutative rational formulas [2, Theorem 2 and Corollary 3]. Such formulas may have inverse gates, and evaluation requires each inverse operand to be invertible. A separate manuscript [14, Theorem 1.1] constructs polynomial-size rational matrix hitting lists for formulas over \Q with a nonempty rational matrix evaluation domain. Whenever such a formula is nonzero on its domain, the list contains a defined evaluation with invertible value, without a bound on inverse nesting or rational constant heights. Here the single tuple works over every characteristic-zero coefficient field for division-free formulas, whose matrix evaluations are everywhere defined.
Two recent results treat different size restrictions. Lakhani and Mukhopadhyay construct one integer matrix tuple for sparse noncommutative polynomials over every characteristic-zero field, with polynomial construction time and dimension equal to the sparsity bound, without a degree restriction [9, Theorem 2.1 and Remark 2.6]. Formula size can be much smaller than sparsity: the ordered product of k copies of x_1+x_2 has 4k-1 gates and 2^k monomials. Lakhani and Saxena obtain randomized black-box tests for homogeneous noncommutative circuits of constant depth [10, Theorem 1]. Theorem 1.1 is deterministic and imposes no depth or homogeneity restriction on a formula.
The essential quantitative assertion is that matrix dimension, rational entry length, and construction bit time are all polynomial in formula size and the number of variables. For polynomials, a finite matrix hitting set can always be combined into one tuple by taking block-diagonal sums, but the resulting dimension is the sum of the dimensions in the set. The construction here gives the polynomial bounds directly. The formula model is used to obtain a small acyclic path representation. In fact, Proposition 5.1 applies the same construction to the algebraic branching programs defined above, with matrix dimension (n-1)\binom m2+m for m vertices. Thus the path-program consequence also improves the preceding quasipolynomial hitting-set bound in characteristic zero. No bound for arbitrary shared circuits is asserted.
1.2 Proof idea
The obstacle is that a small formula may contain exponentially many words after expansion. We retain these words through a faithful encoding, and bound the necessary truncation using a small representation of the formula. We encode words by iterated integrals in one variable. For a word w=i_1\cdots i_k on \{1,\ldots,n\}, write x_w=x_{i_1}\cdots x_{i_k}, with x_\epsilon=1 for the empty word. Define
where \epsilon is the empty word and integration is interpreted by formal power series at zero. Section 2 proves that the h_w are linearly independent over every characteristic-zero field. Over \C, continuation around the distinct poles yields a triangular spanning argument in a truncated free algebra. A nonzero rational coefficient minor then transfers independence to every field in the theorem. These functions belong to the classical theory of iterated integrals and hyperlogarithms [5]. Their independence is a special case of the stronger differential-field theorem of Deneufchâtel, Duchamp, Hoang Ngoc Minh and Solomon [6, Theorem 1]; we include a direct proof for the particular kernels used here. Its triangular monodromy argument has a two-letter antecedent in Minh, Petitot and van der Hoeven [8, Section 5, Theorem 4].
If f_w denotes the coefficient of x_w in f, put h_f=\sum_w f_wh_w. Section 3 converts a size-s formula into an acyclic path representation with at most 2s states, using the standard formula-to-path construction of Nisan [13, Section 2, Lemma 1], also presented by Raz and Shpilka [15, Section 2.1, Lemma 2, Step 1]. It follows that h_f=uGv for constant vectors u,v and an invertible formal matrix G satisfying
The matrices B_i describe the formula and are used only in the proof.
The quantitative step is a uniform bound on vanishing at zero. Moura’s multiplicity estimate for rational differential systems [11], also stated in [12, Section 2, Theorem 1], bounds the order of a nonzero scalar component uGv of an m-dimensional system G'=(P/q)G, with q(0)\ne0, \deg q=n and \deg P\le n-1, by (n-1)\binom m2+m-1. Section 4 gives a self-contained formal proof of this estimate over the characteristic-zero field in use. It uses the formal Wronskian criterion [4] and the minimum order of the maximal minors of a matrix of derivative rows. This bound is independent of all coefficient values and applies beyond the particular systems arising from formulas.
Finally, Section 5 realizes the integration operators on the space of Taylor coefficients of degrees below 2ns^2. Their matrices have explicit rational entries. Linear independence makes h_f nonzero, and the order bound ensures that this finite truncation retains a nonzero coefficient. That coefficient occurs in the first column of f(\mathbf T_{n,s}).
For ns\ge2, write \pi_d(a) for the column of the first d=2ns^2 Taylor coefficients of a series a, and put e_0=\pi_d(1). Figure 1 summarizes the argument for a nonzero formula polynomial f, separating the generator from the formula-dependent objects used to prove its guarantee.
Figure 1: The construction for ns\ge2. The generator uses only the size bounds. The correctness argument associates a differential system to each possible input formula. Independence makes its scalar output nonzero, and the multiplicity bound ensures that the retained Taylor coefficients include a nonzero entry.
2 A faithful encoding by iterated integrals
We first encode noncommutative polynomials as power series in one variable. The encoding will preserve every nonzero polynomial; the remaining sections will bound how many Taylor coefficients are needed for a small formula.
Fix an integer n\geq 1 and a field F of characteristic zero. For i\in[n]=\{1,\ldots,n\}, define an F-linear operator on F[[z]] by
Here integration means termwise formal integration with zero constant term: expand (t+i)^{-1}=\sum_{j\geq0}(-1)^j t^j/i^{j+1} first. All denominators are nonzero in F. For a nonzero series a, let \operatorname{ord}_0 a denote the least exponent with nonzero coefficient, and put \operatorname{ord}_0 0=\infty. Then
A word w=i_1\cdots i_b on [n] has length |w|=b; the empty word is denoted by \epsilon. Define the series h_w\in\mathbb Q[[z]] recursively by
We regard these series as elements of F[[z]] through the canonical embedding \mathbb Q\hookrightarrow F. In particular, \operatorname{ord}_0 h_w\geq |w|. Over \mathbb C, they are holomorphic germs at zero: the same recursion uses ordinary integration on any disk of radius less than one. These functions are classical iterated integrals, also called hyperlogarithms; see Chen [5] for the general framework. The following independence statement is a special case of Deneufchâtel et al. [6, Theorem 1]. Their criterion in fact gives independence over F(z): no nonzero F-linear combination of 1/(z+1),\ldots,1/(z+n) is the derivative of a rational function, because such a derivative has zero residue at every pole. We give a direct proof of the constant-coefficient independence needed here. We use a triangular monodromy argument, as in the two-letter case treated by Minh, Petitot and van der Hoeven [8, Section 5, Theorem 4].
Lemma 2.1 (Linear independence of the word series). For every integer n\geq1, every integer D\geq0, and every characteristic-zero field F, the series
are linearly independent over F.
Proof. The case D=0 consists of the single series 1. Suppose D\geq1, and first work over \mathbb C. Let E_D be the complex algebra with basis X_w, |w|\leq D, whose multiplication is concatenation of words, with products of length greater than D set equal to zero. Its identity is X_\epsilon=1. The span \mathfrak m of the nonempty words is an ideal satisfying \mathfrak m^{D+1}=0. For one-letter words write X_i=X_{(i)}, and set
The recursion (3) gives the left differential equation
This is a linear equation on the finite-dimensional vector space E_D, with coefficients holomorphic on \Omega=\mathbb C\setminus\{-1,\ldots,-n\}. For this particular equation, local existence and uniqueness follow directly by induction on word length: the derivative of a length-b coefficient is determined by length-(b-1) coefficients. On a disk avoiding the poles, taking holomorphic primitives with prescribed initial values therefore constructs the solution in D steps. A finite chain of overlapping disks continues it along any path in \Omega, and uniqueness makes the solutions agree on overlaps.
For a loop \gamma in \Omega based at zero, let Q_\gamma be the value at zero after continuation around \gamma. It belongs to 1+\mathfrak m, since the constant coefficient of the solution remains one. Suppose that \sum_{|w|\leq D}c_w h_w=0 as a complex germ, and define a complex-linear functional \lambda:E_D\to\mathbb C by \lambda(X_w)=c_w. The germ \lambda(U) is zero, and its continuation around every loop is zero; hence \lambda(Q_\gamma)=0 for every \gamma. It therefore suffices to prove that the loop values span E_D.
The order of multiplication matters here. Along a fixed path, a solution with initial value b\in E_D equals the solution with initial value one multiplied by b on the right. Thus traversing \gamma and then \delta gives Q_\delta Q_\gamma. In particular, the set of loop values contains 1, and every ordered product of loop values is again a loop value.
Choose a based loop \gamma_i with winding number one about -i and zero about every other pole, and put Q_i=Q_{\gamma_i}. One may take an access path from zero, a small positive circle about -i, and the reversed access path. For the degree-one integrals the two access paths cancel. Direct integration on the circle gives 2\pi\sqrt{-1} for dz/(z+i) and zero for dz/(z+j) when j\ne i; the latter also follows by integrating its convergent Taylor expansion on the disk bounded by the circle. Reducing (4) modulo \mathfrak m^2 and integrating around this loop yields
For w=i_1\cdots i_b, define
Expanding the product shows that C_w lies in the complex linear span of the loop values. It has no terms of word length less than b, and its length-b part is \tau^b X_w. Consequently the family \{C_w:|w|\leq D\} is a basis of E_D: in a word basis ordered by length, its coefficient matrix is triangular with nonzero diagonal entries \tau^{|w|}. The loop values therefore span E_D, so \lambda=0. This proves complex linear independence.
To pass to F, form the matrix whose columns are the Taylor coefficients of the finitely many series h_w, |w|\leq D. Every entry is rational. The kernels over \mathbb C of its successive finite row prefixes form a descending sequence of subspaces of a fixed finite-dimensional space. Their intersection is zero by the complex independence just proved, so some finite prefix has full column rank. It therefore contains a square minor with nonzero rational determinant. That determinant stays nonzero under \mathbb Q\hookrightarrow F, which rules out every F-linear relation among the series. This minor is used only to prove independence; the construction of the hitting point does not compute it.
For w=i_1\cdots i_b, write x_w=x_{i_1}\cdots x_{i_b} and x_\epsilon=1. Given f=\sum_w f_w x_w\in F\langle x_1,\ldots,x_n\rangle, define
Lemma 2.1 says that the F-linear map f\mapsto h_f is injective. It is not an algebra homomorphism into F[[z]]. Instead, the ordered word x_{i_1}\cdots x_{i_b} acts by the composition \mathcal J_{i_1}\cdots\mathcal J_{i_b}, applied to 1:
For example, when n\ge2, the commutator x_1x_2-x_2x_1 gives
Thus the encoding retains word order, but cancellation can delay the first nonzero coefficient beyond the word length. We next use formula size to bound this delay uniformly.
3 From formulas to differential systems
The word functions from Section 2 turn a nonzero polynomial f=\sum_w f_wx_w into the nonzero series h_f=\sum_w f_wh_w. We now express this series as a scalar output of a differential system whose dimension is at most twice the formula size. This small system will control how late the first nonzero coefficient of h_f can occur. The underlying formula-to-path construction is due to Nisan [13, Section 2, Lemma 1]; see also Raz and Shpilka [15, Section 2.1, Lemma 2, Step 1].
Lemma 3.1 (Acyclic coefficient representation). Let F be a field, and let f\in F\langle x_1,\ldots,x_n\rangle be computed by a fan-in-two formula with at most s gates, counting leaves. There are an integer m\le 2s, a row u\in F^{1\times m}, a column v\in F^{m\times1}, and strictly upper triangular matrices B_1,\ldots,B_n\in F^{m\times m} such that
In particular, B_w=0 whenever |w|\ge m.
Proof. Construct a directed acyclic graph for each subformula, with a designated source having no incoming edges and a designated sink having no outgoing edges. Each edge is labeled either by a variable or by a scalar in F. The label of a path is the ordered product of its edge labels.
A leaf gives two vertices joined by one edge with the leaf’s label. For a sum, take disjoint copies of the two child graphs, add a new source and sink, and join the new source to both child sources and both child sinks to the new sink by edges labeled 1. For an ordered product, take disjoint child graphs and join the first child’s sink to the second child’s source by an edge labeled 1; retain the first source and the second sink. These operations preserve acyclicity and the stated source and sink properties. A path through a sum chooses one child, whereas a path through a product traverses the first child and then the second. Induction therefore shows that the sum of source-to-sink path labels is f.
If the formula has L leaves and a addition gates, the graph has m=2L+2a\le2s vertices: multiplication adds no vertex. Order the vertices topologically. Let E be the adjacency matrix of the scalar edges, with their scalar weights, and let N_i be the adjacency matrix of the edges labeled x_i, with weight 1. In each adjacency matrix, row a and column b record edges from a to b; parallel-edge weights are summed. All these matrices are strictly upper triangular. The matrix
records all paths consisting only of scalar edges, including the empty path at each vertex. Write e_j for the jth standard column vector. If \sigma and \rho are the source and sink, every path with variable word i_1\cdots i_k decomposes uniquely into scalar subpaths separated by those k variable edges. Consequently
Set
Then (7) follows. Multiplying a strictly upper triangular matrix by an upper triangular matrix preserves strict upper triangularity, so each B_i has that property. A product of m strictly upper triangular m\times m matrices is zero, proving the last assertion.
This construction allows arbitrary scalar leaves and constant terms. Its size bound uses the formula tree: the child graphs represent disjoint subtrees, so each gate is counted once. The construction does not enumerate the monomials of f.
Proposition 3.2 (The system associated to a formula). Let F have characteristic zero, and let 0\ne f\in F\langle x_1,\ldots,x_n\rangle have a formula of size at most s. There are m\le2s, a nonzero constant row u, a constant column v, and an invertible matrix G\in F[[z]]^{m\times m} such that
where P is a polynomial matrix. Moreover,
Proof. Take the representation from Lemma 3.1 and define the finite sum
The empty word contributes I_m, and every other h_w has zero constant term. Thus G(0)=I_m, which makes G invertible over F[[z]]. The identity h_{iw}'=h_w/(z+i) gives
The terms with |w|=m-1 added in the last equality vanish because B_iB_w=0. In particular the system acts on the left, in the same order as the letters of a word.
The denominator in (8) is nonzero at zero: q(0)=n!\ne0. Its numerator is
whose entries have degree at most n-1. Finally, (7) gives uGv=h_f. This series is nonzero by Lemma 2.1, since f\ne0; in particular u\ne0.
We have obtained a nonzero series h_f inside a system of dimension at most 2s, with a denominator of degree n and a regular expansion point at zero. The next section bounds its vanishing order using only these parameters, uniformly in all scalar coefficients of the formula.
4 A bound on the order of vanishing
The preceding representation turns a formula into a scalar component of a rational differential system. A multiplicity estimate of Moura [11] bounds how long such a component can vanish. We give a self-contained formal proof of the required estimate, valid directly over any field of characteristic zero.
For a nonzero series b\in F[[z]], write \operatorname{ord}_0 b for the least exponent with nonzero coefficient, and put \operatorname{ord}_0 0=+\infty. For b_1,\ldots,b_k\in F[[z]], their Wronskian is
The proof of the formal power-series Wronskian criterion by Bostan and Dumas [4, Theorem 2 and Lemmas 1–3] uses a basis with distinct orders and a Vandermonde determinant. We recall that argument, recording also the order of the Wronskian.
Lemma 4.1. Let F be a field of characteristic zero and let V\subset F[[z]] be a vector space of finite positive dimension k over F. There is a basis b_1,\ldots,b_k of V with distinct orders 0\le a_1<\cdots<a_k. For this basis,
In particular, the Wronskian of any basis of V is nonzero, its order does not depend on the basis, and every nonzero member of V has order at most a_k.
Proof. Consider the decreasing filtration V_r=V\cap z^rF[[z]] for r\ge0. The coefficient of z^r embeds V_r/V_{r+1} into F, so each quotient has dimension at most one. Moreover, \bigcap_r V_r=0. Since V is finite-dimensional, the filtration is eventually zero: otherwise its dimensions would eventually stabilize at a positive value, and then the subspaces themselves would stabilize, contradicting the zero intersection. Choosing a vector at each of the k dimension drops gives a basis with the asserted distinct orders. A nonzero linear combination has the order of its lowest-order basis term.
Write b_\ell=\beta_\ell z^{a_\ell}+\cdots, with \beta_\ell\ne0. Factoring z^{a_\ell} from column \ell and z^{-j} from row j in the Laurent-series field, the remaining constant determinant is
Here (a)_0=1 and (a)_j=a(a-1)\cdots(a-j+1); these are monic polynomials of successive degrees, so their determinant is the Vandermonde determinant. It is nonzero in characteristic zero. The factorization remains valid when a_\ell<j: the corresponding falling factorial vanishes and the remaining entry is still a power series. This proves (10). A change of basis over F multiplies the Wronskian by the nonzero determinant of the constant change-of-basis matrix, proving the remaining assertions.
The bound below is the specialization of Moura’s estimate to the present degree assumptions. In its complex formulation, recalled in [12, Section 2, Theorem 1], the bound is m-1+\binom m2(\sigma-2), where \sigma is the sum of pole orders of the matrix differential form (P/q)\,dz on the projective line. The finite poles contribute at most n, and infinity contributes at most one. The case P=0 is immediate, since every solution is constant. The argument below proves the stated bound formally and follows the same derivative-row and Wronskian method.
Theorem 4.2 (Multiplicity estimate of Moura). Let F be a field of characteristic zero, and let n,m\ge1. Suppose that q\in F[z] has degree n and q(0)\ne0, that P\in\operatorname{Mat}_m(F[z]) has entries of degree at most n-1, and that
For a constant row u\in F^{1\times m} and a constant column v\in F^{m\times1}, if y=uGv is nonzero, then
Proof. Put h=uG, and let V be the F-span of its m component series. Since y\ne0, its dimension k satisfies 1\le k\le m. We compare Wronskians of these components with minors of a rational matrix whose numerator degrees are controlled.
Define rational rows
Then h^{(j)}=R_jG. Writing R_j=Z_j/q^j, the recurrence becomes
Induction shows that Z_j is a polynomial row with entries of degree at most j(n-1). This includes n=1, when every Z_j is constant. Every R_j is regular at zero, because q(0)\ne0.
Let B be the k\times m matrix with rows R_0,\ldots,R_{k-1}, and put S=\binom{k}{2}. The rows of BG are h,h',\ldots,h^{(k-1)}. Some k components of h form a basis of V, so Lemma 4.1 gives a nonzero k\times k minor of BG. Since G is invertible, B also has a nonzero k\times k minor. Every such minor has denominator q^S and polynomial numerator of degree at most (n-1)S. As q(0)\ne0, the minimum order \delta among the nonzero k\times k minors of B satisfies
The minimum order of the k\times k minors of BG is also \delta. Indeed, Cauchy–Binet expresses every such minor as an F[[z]]-linear combination of the minors of B, so its order is at least \delta. Applying the same argument to B=(BG)G^{-1} gives the reverse inequality, because G^{-1} also has power-series entries. Equivalently, multiplication by G preserves the ideal generated by these minors in F[[z]].
A nonzero minor of BG attaining this minimum is a Wronskian of k components of h. Those components are linearly independent over F, and hence form a basis of V. Replace them by a basis of distinct orders a_1<\cdots<a_k as in Lemma 4.1. Its Wronskian still has order \delta, so
Every summand is nonnegative. Since y\in V is nonzero, the same Lemma and (12) give
For the formula systems of the preceding section, q(z)=\prod_{i=1}^n(z+i) and G(0)=I, so every hypothesis of Theorem 4.2 holds. Word-series independence makes uGv nonzero for a nonzero formula polynomial; the theorem bounds the number of Taylor coefficients needed to detect it. We now realize these coefficients by finite rational matrices.
5 The rational hitting point
We now turn the integration operators into finite matrices and prove Theorem 1.1. The hitting matrices depend only on the size parameters; the representation of a polynomial is used to prove that they detect it.
5.1 Taylor coefficients as a matrix space
For d\ge1 and a characteristic-zero field F, let
This identifies F[[z]]/(z^d) with the column space having ordered basis 1,z,\ldots,z^{d-1}. The operator \mathcal J_i(a)=\int_0^z a(t)/(t+i)\,dt increases vanishing order, so it induces a linear map on this quotient. Its matrix T_i\in\Mat_d(\Q) is
Indeed,
Every denominator in the nonzero case is nonzero, since r\ge1 and i\ge1. Discarding terms of degree at least d before applying \mathcal J_i does not change any retained coefficient. Thus, for every a\in F[[z]],
Let e_0=\pi_d(1). For a word w=i_1\cdots i_k, repeated application of (14) gives
The rightmost matrix acts first, exactly as in h_w=\mathcal J_{i_1}\cdots\mathcal J_{i_k}(1). For the empty word both products are identities. Consequently, for every f=\sum_w f_wx_w\in F\langle x_1,\ldots,x_n\rangle,
This identity also accounts for constant terms, since a scalar is evaluated as a scalar matrix.
5.2 Detection and construction cost
Suppose first that ns\ge2, and set d=2ns^2 in (13). Let F have characteristic zero, and let f\in\mathsf{Form}_{n,s}(F) be nonzero. By Lemma 2.1, its series h_f is nonzero. Proposition 3.2 represents this series as uGv in a system of dimension m\le2s satisfying the hypotheses of Theorem 4.2. Hence
The last inequality follows from
Therefore \pi_d(h_f)\ne0. Equation (15) supplies a nonzero first column of f(T_1,\ldots,T_n), proving detection.
When n=s=1, a formula of size at most one is a single scalar or variable leaf. The one-by-one tuple T_1=[1] detects every nonzero polynomial in this class. This gives dimension one in the remaining case.
For completeness, we give the bit cost of constructing the tuple. With d=2ns^2, put
Every nonzero entry in (13) has numerator 1 or -1 and positive denominator r i^{r-q}, of bit length at most B. These fractions are already in lowest terms. For each i, precompute i,i^2,\ldots,i^{d-1} by repeated multiplication, then form each denominator by multiplying one of these powers by r. There are O(nd^2) such integer operations on O(B)-bit integers. Schoolbook multiplication gives total bit cost O(nd^2B^2), with output length O(nd^2B). Both bounds are polynomial in n,s, and the stated entry bound in Theorem 1.1 follows by substituting d=2ns^2. The branch n=s=1 has constant output and cost. This completes the proof of Theorem 1.1.
5.3 Acyclic path programs
The formula-to-path conversion is the only step that uses the tree model. The remaining argument applies to any strictly upper triangular coefficient representation, with its number of states in place of the formula-size bound.
Proposition 5.1. For every pair of integers n,m\ge1,the matrices in (13), with
form a rational hitting point for the following class over every characteristic-zero field F: nonzero polynomials f=\sum_w f_wx_w\in F\langle x_1,\ldots,x_n\rangle whose coefficients admit a representation f_w=uB_wv, where u\in F^{1\times m}, v\in F^{m\times1}, and B_1,\ldots,B_n\in\Mat_m(F) are strictly upper triangular. The tuple depends only on n,m and can be constructed in time polynomial in n,m, measured in bit operations.
Proof. For such a representation, define G=\sum_{|w|<m}B_wh_w. Strict upper triangularity makes all longer products zero. As in Proposition 3.2, this gives G(0)=I_m and
Thus G is invertible over F[[z]], and the system has the denominator and numerator degrees in (8). The series h_f is nonzero by Lemma 2.1. Theorem 4.2 gives \ord_0 h_f\le d-1, so (15) proves detection. The preceding entry and output cost calculation applies to this value of d as well, and d is polynomial in n,m.
In particular, an acyclic path program on m vertices with scalar- or variable-labelled edges has such a representation by the scalar-edge elimination in Lemma 3.1. The same vertex bound holds for the affine-linear edge labels allowed in an algebraic branching program. To see this, order its vertices topologically and write each edge label as c_0+\sum_{i=1}^n c_i x_i. Let E_{ab} sum the coefficients c_0 over edges from a to b, and let (N_i)_{ab} sum their coefficients c_i. Both E and each N_i are strictly upper triangular. Expanding the ordered path products and putting Q=(I_m-E)^{-1} gives, for source \sigma and sink \rho,
For the empty word the right side is e_\sigma^{\mathsf T}Qe_\rho. Thus u=e_\sigma^{\mathsf T}Q, B_i=N_iQ, and v=e_\rho give the required representation without adding vertices.
References
- [1]V. Arvind, Abhranil Chatterjee, and Partha Mukhopadhyay. Black-Box Identity Testing of Noncommutative Rational Formulas of Inversion Height Two in Deterministic Quasipolynomial Time. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2022), pages 23:1–23:22, Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 2022. doi:10.4230/LIPIcs.APPROX/RANDOM.2022.23.
- [2]V. Arvind, Abhranil Chatterjee, and Partha Mukhopadhyay. Black-box identity testing of noncommutative rational formulas in deterministic quasipolynomial time. SIAM Journal on Computing, 2026. Published online 1 June 2026. Numbered citations refer to author version arXiv:2309.15647v4 (11 July 2025). doi:10.1137/24M1689508.
- [3]Andrej Bogdanov and Hoeteck Wee. More on Noncommutative Polynomial Identity Testing. In 20th Annual IEEE Conference on Computational Complexity, pages 92–99, IEEE Computer Society, 2005. doi:10.1109/CCC.2005.13.
- [4]Alin Bostan and Philippe Dumas. Wronskians and linear independence. American Mathematical Monthly, 117(8):722–727, 2010. Numbered citations refer to the author version, arXiv:1301.6598v1. doi:10.4169/000298910X515785.
- [5]Kuo-Tsai Chen. Iterated path integrals. Bulletin of the American Mathematical Society, 83(5):831–879, 1977. doi:10.1090/S0002-9904-1977-14320-6.
- [6]Matthieu Deneufchâtel, Gérard H. E. Duchamp, Vincel Hoang Ngoc Minh, and Allan I. Solomon. Independence of hyperlogarithms over function fields via algebraic combinatorics. In Franz Winkler, editor, Algebraic Informatics, pages 127–139, Springer, 2011. Numbered citations refer to author version arXiv:1101.4497v3 (2017). doi:10.1007/978-3-642-21493-6_8.
- [7]Michael A. Forbes and Amir Shpilka. Quasipolynomial-time identity testing of non-commutative and read-once oblivious algebraic branching programs. In 54th Annual IEEE Symposium on Foundations of Computer Science, pages 243–252, IEEE Computer Society, 2013. Numbered citations refer to the full author version, arXiv:1209.2408v2. doi:10.1109/FOCS.2013.34.
- [8]Hoang Ngoc Minh, Michel Petitot, and Joris van der Hoeven. Shuffle algebra and polylogarithms. Discrete Mathematics, 225(1–3):217–230, 2000. Numbered citations refer to the FPSAC 1998 author version. doi:10.1016/S0012-365X(00)00155-2.
- [9]Foram Lakhani and Partha Mukhopadhyay. Hitting point for sparse noncommutative polynomials. Technical Report TR26-120, Electronic Colloquium on Computational Complexity, 2026. Revision 2, 20 July 2026. https://eccc.weizmann.ac.il/report/2026/120/.
- [10]Foram Lakhani and Nitin Saxena. Matrix identities are hard: Fast blackbox PIT for noncommutative exponential-size constant-depth homogeneous circuits. Technical Report TR26-173, Electronic Colloquium on Computational Complexity, 2026. https://eccc.weizmann.ac.il/report/2026/173/.
- [11]Claire Moura. Bounds for the Vanishing Order for Solutions of a Linear Differential System. Journal of Dynamical and Control Systems, 9(1):73–88, 2003. doi:10.1023/A:1022155217548.
- [12]Claire Moura. On the multiplicity of the hyperelliptic integrals. 2003. arXiv:math/0312323. arXiv:math/0312323, https://arxiv.org/abs/math/0312323.
- [13]Noam Nisan. Lower Bounds for Non-Commutative Computation (Extended Abstract). In Proceedings of the Twenty-Third Annual ACM Symposium on Theory of Computing, pages 410–418, ACM, 1991. doi:10.1145/103418.103462.
- [14]OpenAI. Polynomial Hitting Lists for Noncommutative Rational Formulas. OpenAI Math Release preprint PDF, 2026. Reading view on this site: Polynomial Hitting Lists for Noncommutative Rational Formulas.
- [15]Ran Raz and Amir Shpilka. Deterministic polynomial identity testing in non-commutative models. Computational Complexity, 14(1):1–19, 2005. Numbered citations refer to the author manuscript, https://www.cs.tau.ac.il/~shpilka/publications/RazShpilka_PIT.pdf. doi:10.1007/s00037-005-0188-8.