\documentclass[11pt]{amsart} \usepackage[margin=1.16in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{indentfirst,mathtools,amssymb} \usepackage[colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \allowdisplaybreaks \raggedbottom \renewcommand{\keywordsname}{Keywords} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \DeclareMathOperator{\tr}{tr} \DeclareMathOperator{\rank}{rank} \DeclareMathOperator{\diag}{diag} \DeclareMathOperator{\im}{im} \DeclareMathOperator{\Spec}{Spec} \title{The L'vov--Kaplansky conjecture for matrices of sufficiently large order} \author{Qiyue Tang} \date{November 8, 2026} \subjclass[2020]{Primary 16R10. Secondary 15A24.} \keywords{L'vov--Kaplansky conjecture, multilinear polynomials, matrix algebras} \begin{document} \begin{abstract} For each positive degree, the L'vov--Kaplansky conjecture holds over arbitrary fields in all matrix sizes beyond a threshold depending only on the degree. In these sizes the image of a nonzero multilinear polynomial is the traceless subspace if every cyclic coefficient sum vanishes, and the full matrix algebra otherwise. \end{abstract} \maketitle \enlargethispage{4pt} \section{Introduction} For a field \(K\) and an integer \(n\geq 1\), write \(M_n(K)\) for the algebra of \(n\)-by-\(n\) matrices and \(\mathfrak{sl}_n(K)\) for the kernel of the usual matrix trace, the sum of the diagonal entries. Write \(I_n\) for the identity matrix, \(E_{ij}\) for the matrix unit in row \(i\) and column \(j\), and \(\overline K\) for an algebraic closure of \(K\). We use the full trace pairing \((P,A)\mapsto\tr(PA)\) on \(M_n(K)\) for orthogonal complements. The commutator \(AB-BA\) has trace zero. Shoda \cite[Satz~3]{shoda} proved that every traceless matrix over a field of characteristic zero is a commutator. Albert and Muckenhoupt \cite{albert-muckenhoupt} extended this to arbitrary fields. Thus the image of \(aX_1X_2+bX_2X_1\) is \(\mathfrak{sl}_n(K)\) if \(a+b=0\) and \(a\ne0\), since the polynomial is then a nonzero multiple of the commutator. If \(a+b\ne0\), setting \(X_2=I_n\) gives the full algebra. An ordinary homogeneous multilinear polynomial of degree \(d\) has the form \[ f(X_1,\ldots,X_d)=\sum_{\sigma\in S_d} c_\sigma X_{\sigma(1)}\cdots X_{\sigma(d)},\qquad c_\sigma\in K. \] Here \(S_d\) is the set of permutations of \(\{1,\ldots,d\}\). The image \(f(M_n(K)^d)\) consists of the individual matrices \(f(A_1,\ldots,A_d)\) with \(A_i\in M_n(K)\). Multilinearity gives closure under scalar multiplication by scaling one input. In Problem~1.98 of the fourth edition of the \emph{Dniester Notebook}, I.~V.~L'vov asked whether this image is a vector space \cite[Problem~1.98]{dnestr}. The question is also associated with Kaplansky \cite[Introduction]{kanel-two}. In his 1956 Shelter Island report Kaplansky asked for polynomials whose values on matrices of prescribed order are scalar, with at least one nonzero value \cite{kaplansky}. Formanek and Razmyslov constructed such polynomials \cite{formanek,razmyslov}. Polynomial identities give the zero image, and a multilinear central polynomial has image \(KI_n\) by scaling one input. The standard identity of Amitsur and Levitzki \cite{amitsur-levitzki} illustrates how the zero-image case depends on the matrix order. Kanel-Belov, Malev, and Rowen proved the image-linearity assertion for \(2\)-by-\(2\) matrices under the hypothesis that each nonconstant polynomial over \(K\) of degree at most \(2d\) has a root in \(K\) \cite[Theorem~2]{kanel-two}. Their work in order three distinguishes actual images, Zariski-dense subsets of linear spaces, and possible exceptional spectra \cite{kanel-three}. For trilinear polynomials, Dykema and Klep \cite{dykema-klep} proved image linearity over \(\mathbb C\) in even orders and in orders below \(17\). Their proof freezes inputs in a clock-and-shift basis and solves linear equations in the remaining input. Vitas \cite[Theorem~B]{vitas-cubic} proved image linearity in all orders for degree three over algebraically closed fields of characteristic zero. In degree four, Fagundes, de Mello, and dos Santos \cite{fagundes} corrected the proof of traceless containment in order at least three over algebraically closed fields of characteristic zero. They also proposed a degree-dependent threshold for traceless containment in the Mesyan conjecture. Recent preprints classify images of ordinary polynomials in degrees four through six over algebraically closed fields of characteristic zero \cite{tang-four,tang-five-six,pan}. Miah \cite[Theorem~1.1]{miah} treats the alternating standard polynomials in all orders and degrees over those fields. For arbitrary degree, Vitas \cite[Theorem~1.1]{vitas} proved that over an infinite field every traceless matrix of a prescribed order is a value of a given nonzero multilinear polynomial after embedding the target into a larger matrix algebra by adjoining a zero block. We study the image in the target's own matrix order and ask for a threshold uniform both in the coefficients and in the field. Two words are cyclically equivalent if one is obtained from the other by cyclic rotation of its letters. We call \(f\) formally traceless if the sum of its coefficients in each cyclic class is zero, and formally traceful otherwise. For instance, \(X_1X_2-X_2X_1\) is formally traceless over every field. We set \[ V_n= \begin{cases} \mathfrak{sl}_n(K),&f\text{ formally traceless},\\ M_n(K),&f\text{ formally traceful}. \end{cases} \] We write \(V_n(E)\) for the space given by the same rule after extending scalars to \(E\). \begin{theorem}\label{thm:main} For each \(d\geq2\) there is an integer \(B(d)\) such that for every field \(K\), every nonzero ordinary homogeneous multilinear polynomial \(f\) of degree \(d\) over \(K\), and every \(n\geq B(d)\), \[ f\bigl(\mathfrak{sl}_n(K)^d\bigr)=f\bigl(M_n(K)^d\bigr)=V_n. \] \end{theorem} For the zero polynomial the image is zero. In degree one a nonzero polynomial \(cX_1\) has image \(M_n(K)\) on unrestricted inputs. Cyclic invariance of trace gives the upper containment in \(V_n\). For \(n\ge d\), assign the letters of a word with nonzero cyclic coefficient sum to the successive units on the cycle \(1\to2\to\cdots\to d\to1\). A product has nonzero trace precisely when its edges follow the cycle from one of its vertices, so its word belongs to the chosen cyclic class and its trace is one. A directed path using \(E_{12},E_{23},\ldots,E_{d,d+1}\) isolates one chosen nonzero coefficient when \(n\geq d+1\). In each construction the inputs are off-diagonal matrix units. For the proof, fix \(K\), \(d\ge2\), and a nonzero \(f\) as in the theorem. Fix the free variable \(Y=X_d\). At order \(s\ge1\), freeze the other variables at \(B\in\mathfrak{sl}_s(K)^{d-1}\) and define \(L_B(y)=f(B_1,\ldots,B_{d-1},y)\) on \(\mathfrak{sl}_s(K)\) and \(N_B=(\im L_B)^\perp\). Write \(K^\times=K\setminus\{0\}\). The trace pairing is nondegenerate since \(\tr(PE_{ij})=P_{ji}\). For a rank-one matrix \(uv\), with \(u\) a column and \(v\) a row, its tangent space in the rank-one variety consists of \(uw+zv\) for arbitrary rows \(w\) and columns \(z\). We call \(uv\in W\subset M_s(K)\) transverse to the linear space \(W\) if this tangent space and \(W\) span \(M_s(K)\). Since \(\tr(P(uw+zv))=wPu+vPz\), transversality says that \(P=0\) is the only element of \(W^\perp\) with \(Pu=0\) and \(vP=0\). Write \([M_s(K),R]=\{AR-RA:A\in M_s(K)\}\). At a rank-one square-zero value \(R\), the sum \(\im L_B+[M_s(K),R]\) combines the variations in the original free slot and the variations by simultaneous conjugation. We will use the conductor formula for coprime positive integers \(a,b\). Each integer \(n\ge(a-1)(b-1)\) is a sum of nonnegative multiples of \(a,b\). To see this, take the coefficient of \(b\) in \(\{0,\ldots,a-1\}\) to match \(n\) modulo \(a\). The remaining multiple of \(a\) is at least \(1-a\) and hence is nonnegative. \setcounter{tocdepth}{1} \tableofcontents \section{Comparison factors and cyclic matrix slices} Label the letters in their original order. For a word \(w\) in these letters, let \(\nu(w)_{ij}\) for \(i1\) in this open group with \(a\) invertible in \(K\). For example take \(1+\ell^j\) in characteristic zero or \(1+p\ell^j\) in characteristic \(p>0\), with \(j\) large enough. Coordinatewise \(a\)-th powering acts on the indicated torsion points as a Galois automorphism fixing the equations of \(X\), so preserves their closure. The power map is finite and permutes the irreducible components of this closure. Replace \(a\) by a power fixing a given component and quotient the torus by the identity subtorus of its translation stabilizer. The component is the inverse image of a closed irreducible subvariety \(X'\) in the quotient, since the quotient map is open and the component is a union of fibers. The stabilizer of \(X'\) is finite. Compactify the quotient torus by a product of projective lines. On the closure of \(X'\), the degree of the map given by the \(a^j\)-th power is \(a^{j\dim X'}\). Indeed the map pulls back \(\mathcal O(1,\ldots,1)\) to its \(a^j\)-th tensor power, so the projection formula gives the degree after intersecting \(\dim X'\) times. In the torus the ambient power map is finite étale. Its preimage of \(X'\) is the union of the translates of \(X'\) by its kernel elements. Distinct translates meet in proper closed subsets. After removing their intersections over a dense open of \(X'\), restriction to the original component is therefore finite étale, and its degree counts the translates of a generic point by the kernel elements stabilizing \(X'\). This bounds the degree by the order of the finite stabilizer for every \(j\), forcing \(\dim X'=0\). Restoring the stabilizing subtorus gives a coset. Density of the original torsion points on each component gives the stated translating point. \end{proof} \begin{lemma}\label{lem:cores} There is an integer \(M(d)\) such that for every \(K,f\) as in Theorem~\ref{thm:main}, there are coprime integers \(r,t\) between \(\max(3,d+1)\) and \(M(d)\), invertible in \(K\), with the following property for each \(s=r,t\). For some shifts \(b_i\bmod s\) of total zero, let \(B_i=D_i V^{b_i}\), where the entries of \(D_i\) are independent indeterminates except for the constraint \(\tr D_i=0\) when \(b_i=0\). Over their rational parameter field, \[ N_B\subseteq \mathcal D+E, \] where \(\mathcal D\) is the diagonal space, \(E\) lies in at most \(c\) nonzero cyclic diagonals for some integer \(c\ge0\), \(\dim E\le c\), and every nonzero matrix of \(E\) over the algebraic closure has rank at least \(s/c\) if \(c>0\). We can take \(s\ge4096c^6\) when \(c>0\). For \(c=0\), take \(E=0\). \end{lemma} \begin{proof} Use Lemma~\ref{lem:shifts} over \(\overline K\). At the two freezes \(B_i=U^{a_i^{(j)}}V^{b_i}\) the original slot sends each \(U^uV^v\) to a fixed basis direction times a common nonzero scalar times \(P_j(\zeta,\zeta^u,\zeta^v)\). The commutation relation gives the exponent differences in Lemma~\ref{lem:shifts}. The output shift remains \(v\) since \(\sum b_i=0\). For sufficiently large \(s\), each frozen matrix is traceless by the nonzero \(a_i^{(j)}\). Restricting the free variable to traceless matrices deletes only the identity input, in shift zero. Choose a prime \(\ell\) different from the characteristic, avoiding the prime divisors of the orders of the nontrivial torsion constants of binomial divisors of the two \(P_j\). Also exclude the prime divisors of the denominators of all rational line intercepts and of the numerators of their nonzero differences, including differences from zero. At \(s=\ell^k\), Lemma~\ref{lem:torsion} describes the zeros of \(P_j(\zeta,\zeta^u,\zeta^v)\). A two-dimensional torsion coset corresponds to a binomial divisor, which gives a root-one line by the choice of \(\ell\). A coset with constant first coordinate disappears for large \(k\). A one-dimensional coset with first direction coordinate \(A\ne0\) contributes at most \(|A|\) points at a given \(\zeta\), and zero-dimensional cosets disappear. An exceptional one-dimensional coset with direction \((A,B,C)\) at one endpoint cannot meet the grade \(v=h/j\) of a nonzero line at the other endpoint for large \(k\). Here \(h/j\) is in lowest terms and denotes its residue modulo \(\ell^k\). On that grade \(y^j=q^h\). If the coset is parametrized by \((q_0 z^A,x_0 z^B,y_0 z^C)\), eliminating \(z\) from \(q=\zeta\) and \(y^j=q^h\) gives \(\zeta^{jC-hA}=q_0^{jC}y_0^{-jA}\). The right side has fixed order, whereas the left side has order tending to infinity since \(jC-hA\ne0\) by Lemma~\ref{lem:shifts}. A grade is bad for an endpoint if its restriction of \(L_B\) fails to be invertible, with the degree-zero grade allowed separately because of the trace restriction. Only grade zero can therefore be a common bad grade containing a whole line. Freeze each slot in the span of its two endpoint matrices. The original linear map preserves the cyclic grading, and a grade that is invertible at either endpoint remains generically invertible. Take the limit of the generic normal space in the Grassmannian along the line from the first endpoint to a generic tuple. This limit exists by properness of the Grassmannian over the discrete valuation ring at the endpoint. The orthogonality equations are closed, so the limit lies in the first endpoint normal. The pairing between opposite grades is nondegenerate and all other grades pair to zero. Consequently outside grade zero the limit is supported only in the negatives of the common bad grades. It lies there in at most \(c\) clock-shift basis directions, where \(c\) bounds the number of zeros from the first endpoint's one-dimensional cosets, independently of \(k\). Grade zero is the diagonal space. A nonzero combination of at most \(c\) clock-shift matrices has rank at least \(s/c\). Conjugation by the clock-shift basis multiplies the nonzero terms by distinct characters of \((\mathbb Z/s)^2\). Independence of the characters means that if there are \(c'\le c\) nonzero terms, some \(c'\) such conjugates have linearly independent coefficient vectors. One can express an individual term, which is invertible, as a linear combination of these conjugates. Rank subadditivity gives \(s\le c'\rank A\) for the original combination \(A\). Choose \(k\) large enough for \(s\ge4096c^6\). Repeat with a different prime \(\ell\) to obtain a coprime pair. Fix \(s\), the shifts, \(c\), and at most \(c\) permitted nonzero normal grades from the limit. Since the weighted maps are graded, the off-diagonal part of a normal space is a direct summand. On the generic rank stratum of the two-endpoint family its Grassmann limit at the first endpoint is off-diagonal and contained in the indicated at most \(c\) basis directions. Avoidance of projective matrices of rank \(0\). Suppose \(s\ge4096c^6\) if \(c>0\) and \(s\ge2\) otherwise. Then \((\mathcal D+E)^\perp\) has a basis of \(F\)-rational rank-one matrices transverse to it. \end{lemma} \begin{proof} First suppose \(E\ne0\). Work over \(\overline F\) to choose a partition of the coordinate indices into sets \(S,T\). In each support pattern of a nonzero element of \(E\otimes_F\overline F\), choose positions \((i,j)\) with mutually disjoint row and column indices, also disjoint across the two index sets, and with all cross entries zero. This can be done greedily. Upon choosing \((i,j)\), delete positions whose row lies in the support of column \(j\) or equals \(j\), or whose column lies in the support of row \(i\) or equals \(i\). At most \(2c(c+1)\) positions are deleted at each step. There are at least \(s/c\) nonzero entries, so at least \(s/(4c^3)\) positions are chosen. Every subset of the chosen positions forms a diagonal square submatrix after independently ordering its rows and columns. There are at most \((cs+1)^c\) support patterns. Indeed, the entries at the at most \(cs\) possible positions are nonzero linear forms on \(E\). At a nonzero vector, a basis among the vanishing forms determines all the vanishing forms and has size at most \(c-1\). Put each coordinate in \(S\) or \(T\) independently with probability \(1/2\). For any of the chosen sets of \(m\) positions, the number \(Z\) retained in \(T\times S\) is a sum of \(m\) independent Bernoulli variables of mean \(1/4\). With \(\mu=m/4\), Markov's inequality applied to \(2^{-Z}\) gives \[ \Pr(Z<\mu/2) \le 2^{\mu/2}(1-1/8)^m \le \exp(-\mu/8). \] The union bound is less than one since \(c\log(cs+1)2S>k\). A zero head compression already has the desired diagonal. For a nonscalar compression, the prescribed-diagonal argument works over any field. To prescribe the first entry \(\gamma\), choose \(x,Ax\) independent and begin a basis with \(x,Ax-\gamma x\). Its first column is \((\gamma,1,0,\ldots)^t\). In order at least three, conjugating by \(P=I+(1-A_{23})E_{13}\) in the convention \(P^{-1}AP\) preserves the first entry and changes its \((2,3)\)-entry by \((1-A_{23})A_{21}=1-A_{23}\), making the trailing compression nonscalar. The first diagonal entry stays fixed because \(A_{31}=0\). Induct on the order, with the last diagonal entry forced by the trace. Here the trace prescription is \((\tau,0,\ldots,0)\). The similarity used at most \(2S\) coordinates. Every mixed vertex among these can have at most \(2S-1\) neighbors inside and at most \(8S\) outside, since each old vertex had at most four neighbors. An outside vertex has at most four old outside neighbors and at most \(2S\) new neighbors. Hence the graph now has maximum degree at most \(10S-1\). If \(\tau\ne0\), greedily choose \(h\) independent vertices including the one carrying the trace, which is possible when \(m\ge10Sh\). This yields a distinguished diagonal block \(\tau E_{11}\) of order \(h\). Remove its vertices. If \(\tau=0\), keep the whole graph and use no distinguished block. A graph of maximum degree \(\Delta\) with sufficiently many vertices can be partitioned into independent sets of sizes \(S,S+1\). If the number of vertices is \(m'\ge30S^2\) and \(\Delta\le10S-1\), first partition into those sizes, using \(S\lfloor m'/S\rfloor\) and distributing the remainder by increasing individual sizes by one. Choose a partition minimizing the number of edges internal to a part. If \(v\) is incident to such an edge in a part \(J\), choose \(w\) outside \(J\), with no neighbor in \(J\setminus\{v\}\), and whose part contains no neighbor of \(v\). The excluded vertices are at most \(S+1+S\Delta+(S+1)\Delta<30S^2\). Swapping \(v,w\) removes at least one internal edge and creates none, a contradiction. Applying this to the remaining graph yields zero diagonal blocks of orders \(S,S+1\). In particular, every step is valid for \(\rho(T)\ge\max(10Sh,h+30S^2)\). On each zero diagonal block use an independent traceless frozen tuple and set its diagonal free input to zero. On the distinguished block use the fixed compatible source, scaled in its free slot by \(\tau\). All ordered mixed determinants are nonzero polynomials by the first paragraph and the choice of the distinguished tuple. Choose the independent tuples over \(K\) so that all these determinants are nonzero. In each off-diagonal rectangle the original free slot can then be solved uniquely for the corresponding target block. Since all frozen matrices are block diagonal, no rectangle influences any other block of the value. The resulting inputs are all traceless and realize a \(K\)-conjugate of \(T\). Finally let \(C\) be the preceding degree-dependent bound on geometric scalar rank. For \(n>2C\) and \(\rho(T)0\) and degree \(\delta\) over a field of size \(Q\), and \(Q>2(j+1)\delta^2\), then \[ \left|\# X(\mathbb F_Q)-Q^j\right| \leq (\delta-1)(\delta-2)Q^{j-1/2} +5\delta^{13/3}Q^{j-1}. \] If a polynomial \(G\) of degree \(g\) is nonzero on \(X\), then \[ \#(X\cap \{G=0\})(\mathbb F_Q)\leq \delta g Q^{j-1}. \] The first estimate is \cite[Theorem~7.1]{cafure-matera}. In the second, the sum of the degrees of the geometric components of \(X\cap\{G=0\}\) is at most \(\delta g\), and each has dimension at most \(j-1\). The estimate follows from \cite[Theorems~1.1 and~2.1]{lachaud-rolland}. We use the same degree inequality for components of intersections of several equations. \subsection{Strong tuples in two coprime orders} \begin{lemma}\label{fin:source} There are constants \(A_0\) and \(Q_0\), depending only on \(d\), with the following property. Over every finite field \(K\), for each nonzero \(f\) as in the main theorem, there are distinct primes \(a,b\leq A_0\), each at least \(\max(3,d+1)\) and different from \(\operatorname{char}K\), such that both orders admit strong tuples over every finite extension \(E/K\) of cardinality at least \(Q_0\). Both tuples use the same designated slot \(Y\). \end{lemma} \begin{proof} Take the two coprime core orders from Lemma~\ref{lem:cores}, and let \(M\) be their degree-only upper bound. For either core order \(s\), consider the affine incidence \[ f(B,y)=uv,\qquad B_i,y\in\mathfrak{sl}_s,\quad u\text{ a column of length }s,\quad v\text{ a row of length }s. \] By Lemma~\ref{inf:source-curve}, over \(F((z))\), for a purely transcendental extension \(F/K\), there is a point with \(uv\ne 0\) for which \[ \operatorname{im}L_B+\{u\,v'+u'\,v:\ u'\in F((z))^{s\times1},\ v'\in F((z))^{1\times s}\} =M_s(F((z))). \] If \(f\) is formally traceful, the point also has \(vu\ne0\). The displayed condition is exactly surjectivity of the relative Jacobian of the incidence over the affine space of frozen tuples. Thus the projection is smooth at the point. The Laurent series field \(F((z))\) contains no algebraic extension of \(K\): an element algebraic over \(K\) generates a finite field, and a nonzero element of a finite field in \(F((z))\) has valuation zero and is determined by its residue. Indeed an element of \(1+zF[[z]]\) of finite order prime to \(\operatorname{char}K\) is \(1\), by comparing its first nonzero term with that of its power. The residue is algebraic over \(K\) in \(F\), hence lies in \(K\). As \(K\) is perfect, \(F((z))/K\) is regular. Over the compositum of \(F((z))\) and \(\overline K\), the smooth point lies on a unique geometric irreducible component. Regularity allows each Galois automorphism of \(\overline K/K\) to act on this compositum fixing \(F((z))\). It fixes the point, hence fixes the component. Its defining ideal descends to \(K\), giving the required geometrically integral component. The smooth projection has open image near the point, so that component dominates the full frozen space. The Jacobian condition and, when required, \(vu\ne0\) hold on a nonempty open of the component. Its affine degree is at most \(d^{s^2}\), since the incidence has \(s^2\) equations of degree at most \(d\). Let \(A_0\) be the largest of the first three primes greater than \(\max(M^2,d+1)\). Two of those primes differ from \(\operatorname{char}K\). Denote them by \(a,b\). Each is a sum of at least two core orders, because the two core orders are coprime and their numerical semigroup contains all integers at least the product of their predecessors. For either order \(a\) or \(b\), write the chosen sum as \(\sum_{i=1}^{\ell}s_i\) and take the product of the corresponding incidence components. The product is geometrically integral, and its map to the independent frozen spaces is dominant. Hence all ordered mixed rectangle determinants from Lemma~\ref{lem:rectangles} can be required nonzero at once. Require also \(u_i v_i\ne0\) and the relative Jacobian condition on each block. If \(f\) is formally traceful, restrict further to \(v_i u_i\ne0\) and introduce nonzero scalars \(\lambda_i\) satisfying \[ \sum_{i=1}^{\ell}\lambda_i v_i u_i=0. \] Over the locus where each \(v_i u_i\) is nonzero this equation describes a vector bundle of rank \(\ell-1\). The condition that all \(\lambda_i\) are nonzero gives an open meeting every geometric fibre, because \(\ell\ge2\). Thus the resulting variety is still geometrically integral and dominant over the independent frozen spaces. If \(f\) is formally traceless use \(\lambda_i=1\). The closure of the variety has dimension and degree bounded in terms of \(d,A_0\). Indeed the product of the component degrees is at most \(d^{\sum_i s_i^2}\), and the additional equation has degree \(3\). The required open is obtained by removing one hypersurface of bounded degree. One can take the product of one nonzero relative Jacobian minor for each block, one nonzero coordinate of each \(u_i,v_i\), all mixed determinants, and, if \(f\) is formally traceful, the factors \(\lambda_i\) and \(v_i u_i\). These minors and determinants have bounded sizes and degrees since \(\sum_i s_i\le A_0\). The point estimates therefore give an \(E\)-point on the required open for every \(|E|\ge Q_0\), with \(Q_0\) depending only on \(d\). At such a point, concatenate the columns \(u_i\) and the rows \(\lambda_i v_i\) to obtain \(u\) and \(v\). Freeze block diagonal tuples with blocks \(B_i\). Take the diagonal blocks of the original free input to be \(\lambda_i y_i\), and solve for its off-diagonal blocks using the invertible mixed rectangle operators, so the value is \(R=uv\). This value is rank one and has trace zero. All inputs are traceless. For \eqref{fin:strong}, use the trace pairing. A matrix annihilating \(\operatorname{im}L_B\) and \([M_s(E),R]\), where \(s=\sum_i s_i\), is block diagonal by mixed invertibility and commutes with \(uv\). Thus its blocks \(P_i\) satisfy \(P_i u_i=\mu u_i\) and \(v_iP_i=\mu v_i\) with one common \(\mu\). If \(f\) is formally traceless, \(P_i-\mu I_{s_i}\) annihilates both the local image and the tangent space at \(u_i v_i\), so the relative Jacobian condition gives \(P_i=\mu I_{s_i}\). If \(f\) is formally traceful, annihilation of \(u_i v_i\) gives \(\mu v_i u_i=0\), hence \(\mu=0\). The same Jacobian condition now gives \(P_i=0\). The annihilator is therefore the scalar line or zero, respectively, which proves \eqref{fin:strong}. \end{proof} \subsection{Incidence with a conjugacy class} \begin{lemma}\label{fin:orbit} Suppose order \(s\) admits a strong tuple over a finite field \(E\). For every nonscalar \(S\in V_s(E)\), the incidence \[ gh=I_s,\qquad f(B,y)=gSh,\qquad B_i,y\in\mathfrak{sl}_s \] has a geometrically integral \(E\)-component dominating the frozen space. Its degree is at most \((2d)^{s^2}\). \end{lemma} \begin{proof} Conjugate the strong tuple so that its value is \(E_{12}\), and write \(B_0\) for its frozen tuple. The map \[ \mathrm{GL}_s\times\mathfrak{sl}_s\longrightarrow V_s,\qquad (g,y)\longmapsto g^{-1}L_{B_0}(y)g \] is smooth at the resulting source by \eqref{fin:strong}. Choose a basis over \(E\) in which \(S_{12}=c\ne0\). Such a basis exists because some vector \(x\) has \(Sx\notin Ex\). Take \(D(z)=\operatorname{diag}(1,z^2,z,\dots,z)\). Then \(c^{-1}z^2D(z)SD(z)^{-1}\) extends polynomially to \(z=0\) with value \(E_{12}\). Smoothness lifts this path to an \(E[[z]]\)-point through the source. Over \(E((z))\), absorb the invertible scalar into the linear input \(y\) and the conjugating \(D(z)\) into \(g\). This gives an incidence point over \(E((z))\), where the relative differential in \(y,g\) still surjects onto \(V_s\). When \(V_s=\mathfrak{sl}_s(E)\), the trace relation removes one value equation on the locus \(gh=I_s\). Thus the remaining equations satisfy the relative Jacobian criterion over the frozen space. Regularity of \(E((z))/E\) and uniqueness of the geometric component through this point give the asserted \(E\)-component, as in the preceding proof. Its projection is dominant by smoothness. The affine model uses \(s^2\) inverse equations of degree \(2\) and at most \(s^2\) value equations of degree at most \(d\), giving the stated degree bound. \end{proof} \subsection{Prescribing the traces of the diagonal blocks} Let \(A=\prod_i E_i\) be a finite product of finite separable field extensions \(E_i/K\). For an \(A\)-module \(W=\bigoplus_i E_i^{s_i}\), the \(A\)-linear part of a \(K\)-endomorphism \(T\) of \(W\) is obtained by retaining its diagonal embedding blocks after passing to a separable splitting field of \(A\). The projection descends to \(K\), since its block description is Galois invariant. Its diagonal factor in \(M_{s_i}(E_i)\) has ordinary \(E_i\)-matrix trace. Collect these traces into \(h_T\in A\). If \(\rho(\alpha)\) denotes multiplication by \(\alpha\in A\) on \(W\), then \begin{equation}\label{fin:moment} \operatorname{Tr}_{A/K}(\alpha h_T)=\operatorname{tr}_K(T\rho(\alpha)). \end{equation} Here \(\operatorname{Tr}_{A/K}\) is the sum of the field traces of the factors. The identity follows after splitting \(A\), and its pairing in \(\alpha\) is nondegenerate. \begin{lemma}\label{fin:relative-trace} Suppose \(A=\prod_i E_i\) is generated by one element over \(K\) and \(s_i\ge3\) for every \(i\). A nonscalar \(K\)-endomorphism \(T\) on a space of dimension \(\sum_i s_i[E_i:K]\) can be represented on \(\bigoplus_i E_i^{s_i}\) so that each diagonal factor of its \(A\)-linear part is nonscalar and \(h_T=h\), for any \(h\in A\) with \(\operatorname{Tr}_{A/K}(h)=\operatorname{tr}_K(T)\). \end{lemma} \begin{proof} Put \(e=\dim_K A\). First, for every \(1\le ke/2\), use the orthogonal complement of such a subspace of dimension \(e-k\) under the trace pairing. Commutativity gives the same stabilizer for a subspace and its orthogonal complement. Choose an \(e\)-dimensional subspace \(U\) containing a vector \(x_0\) but excluding \(Tx_0\), with \(Tx_0\notin Kx_0\), and a complement \(W'\) to \(U\). The lower block \(C:U\to W'\) of \(T\) is nonzero. We make \(U=A\) and give \(W'\) the required complementary \(A\)-module structure, with at least two regular summands. If \(k=\rank C0\) and write \(n=p^a m\) with \(p\nmid m\). Assume \(K\) contains a primitive \(\ell\)-th root of unity for each prime \(\ell\mid m\). If \(I_n\) belongs to the linear span of \(f(\mathfrak{sl}_n(K)^d)\), then \(I_n\) belongs to \(f(\mathfrak{sl}_n(K)^d)\). \end{lemma} \begin{proof} Index the matrix units by the abelian group \(G=P\times A\), where \(P=(\mathbb Z/p\mathbb Z)^a\) and \(A\) is the product, over the primes \(\ell\mid m\), of \(v_\ell(m)\) copies of \(\mathbb Z/\ell\mathbb Z\). Here \(v_\ell(m)\) is the exponent of \(\ell\) in \(m\). Give \(E_{xy}\) degree \(y-x\in G\). The degree-zero matrices are diagonal. This is an algebra grading, and \(\mathfrak{sl}_n(K)\) is the direct sum of its homogeneous pieces. Conjugation by a translation of \(G\) permutes matrix indices and preserves each piece. Its action on the diagonal is the regular permutation action. Project onto degree zero and then onto the \(A\)-invariant diagonal matrices by averaging over \(A\). The composite fixes \(I_n\), so some value of \(f\) has nonzero projection. Multilinearity gives such a value on homogeneous inputs of total degree zero. Because the exponent of \(A\) splits over \(K\) and is prime to \(p\), each input space decomposes into \(K\)-valued character spaces. Restricting to a suitable tuple of characters with trivial product gives a nonzero multilinear map with \(A\)-invariant diagonal values. Its input spaces are \(P\)-stable. The commuting translations of \(P\) act unipotently on each such space. They have a common triangular basis over \(K\): intersect fixed spaces successively to find a common fixed vector and use induction on the quotient. In these bases choose a tuple with nonzero value and minimal sum of indices. Translating every basis vector changes it by lower-index terms. All resulting terms of smaller total index vanish, so the chosen value is \(P\)-fixed by equivariance. Being also \(A\)-fixed and diagonal, it is a nonzero scalar multiple of \(I_n\). Scale one original input to obtain \(I_n\). \end{proof} The image span commutes with extension of scalars because it is spanned by values on input basis tuples. Over \(\overline K\), the span of the conjugates of a nonscalar matrix contains \(\mathfrak{sl}_n\). To see this, first choose a basis in which the matrix has an off-diagonal nonzero entry, using a vector \(x\) such that \(x,Ax\) are independent for the matrix \(A\) in question. Conjugating by \(\operatorname{diag}(t^{2^1},\ldots,t^{2^n})\) multiplies the \(ij\) entry by \(t^{2^i-2^j}\). The nonzero differences \(2^i-2^j\) for \(i\ne j\) are distinct, as seen from their sign and \(2\)-adic valuation. The corresponding Laurent monomials and the constant function are linearly independent on the infinite field \(\overline K\). Thus their evaluation vectors span the full coefficient space, and linear combinations of the conjugates isolate the matrix unit of a nonzero off-diagonal entry. Permutations give all off-diagonal units. Conjugation of \(E_{ij}\) by \(I_n+E_{ji}\) gives \(E_{ij}+E_{jj}-E_{ii}-E_{ji}\), so the span also contains every diagonal difference. A nonzero scalar value itself gives \(I_n\) in the image span. In its absence, if the image is nonzero and \(p\mid n\), the nonscalar argument gives \(\mathfrak{sl}_n\) and hence \(I_n\). If there is a value of nonzero trace, adjoining that value to \(\mathfrak{sl}_n\) gives \(M_n\). Membership in the span descends by linear algebra. \begin{proposition}\label{prop:positive-scalar} In positive characteristic, there is a bound depending only on \(d\) beyond which every scalar in \(V_n\) is attained on traceless inputs if \(f\) is nonzero and formally traceless. If \(f\) is formally traceful, the same holds in every fixed positive characteristic, with a bound depending only on \(d\) and that characteristic. \end{proposition} \begin{proof} Direct sums add the orders of identity values. We apply the conductor formula to coprime orders and to orders whose greatest common divisor is \(p\), after dividing by \(p\). A restriction of scalars from a finite extension \(L/K\) of degree \(e\) sends an identity value of order \(s\) to one of order \(es\). Indeed each matrix entry acts by multiplication on \(L\) in a \(K\)-basis. This substitution preserves products and sums, and the trace is the sum of the field traces of the original diagonal entries. In particular it preserves tracelessness. First assume \(f\) is formally traceless. A nonzero scalar can occur in \(V_n\) only if \(p\mid n\). Let \(a\) be the least \(p\)-power at least \(d+1\). The directed path witness and Lemma~\ref{lem:scalar-selection} give \(I_a\). For odd \(p\), take \(b\) to be the least power of two at least \((d+1)/p\), allowing \(b=1\). The same lemma gives \(I_{pb}\) since the order is at least \(d+1\) and the required roots are already in \(K\). The reduced orders \(a/p,b\) are coprime. If \(p\ge d+1\), \(a/p=1\). Otherwise \(a/pt\), the following implication holds for every \(e_1,\ldots,e_t\in\mathbb Z/\ell\mathbb Z\) and every primitive \(\ell\)-th root \(\zeta\) in an algebraic closure of \(K\): if \(\sum_i c_i\zeta^{e_i}=0\), then \(\sum_{i:e_i=r}c_i=0\) for every \(r\in\mathbb Z/\ell\mathbb Z\). \end{lemma} \begin{proof} For each exceptional prime choose a witnessing vector \((\zeta^{e_1},\ldots,\zeta^{e_t})\). All these vectors are in the hyperplane annihilated by \(c=(c_1,\ldots,c_t)\). If one lies in the span of vectors from distinct earlier primes, the same holds for all its cyclotomic conjugates. Indeed, the span condition is a rank condition over the compositum of the cyclotomic fields, and the automorphisms of the new prime cyclotomic field extend fixing the previous fields. This follows from multiplicativity of Euler's totient function on coprime conductors. If there are \(h\le t\) distinct exponents in the new vector, the conjugates span their \(h\) class indicator vectors. To see this, use representatives \(0\le r<\ell\). A linear relation among the \(h\) columns \((\zeta^{ar})_{1\le a<\ell}\) gives a polynomial of degree at most \(\ell-1\) with fewer than \(\ell\) possible terms that vanishes at all the nontrivial \(\ell\)-th roots. It is a multiple of \(1+X+\cdots+X^{\ell-1}\) and must be zero. The class indicator vectors would therefore all be annihilated by \(c\), contradicting the witness. Thus the witnessing vectors are independent and there are at most \(t-1\). \end{proof} \begin{lemma}\label{sc:empty} If every comparison factor has disconnected graph, Proposition \ref{sc:charzero} holds. \end{lemma} \begin{proof} Use the common tree of Lemma \ref{lem:comparisons}. Every connected component of a factor graph belongs to its canonical tree and hence lies inside a root child of the common tree. Thus each factor quotient at the root is empty. Let \(C\) be the root child containing \(Y\), and put \(I=C\setminus\{Y\}\) and \(B=\{1,\ldots,d\}\setminus C\), identifying each letter with its index. If there are no factors, the root children are singletons. In particular \(B\ne\varnothing\). Follow the path from \(Y\) to \(C\). At each node where some factor has a nonempty quotient, use each sibling of the child containing \(Y\) as one part. At each other node use the union of these siblings as one part. The resulting parts partition \(I\). In \(\mathbb Q^{d-1}\), with coordinates indexed by the letters other than \(Y\), let \(H\) be the subspace of \(b\) defined by \(\sum_{i\in A}b_i=0\) for each such part \(A\). The coordinates \(b_i\) for \(i\in B\) are free. For a difference of support words \(w-u\), let \(\epsilon_i\) be the difference of the indicators that \(i\) follows \(Y\). Let \(D\) be the comparison matrix defined in Section~2, with \(D_{ij}\) recording the difference of the indicators that \(i\) follows \(j\). Rotate each word so that \(Y\) is last and delete \(Y\). The comparison difference of the resulting words records precedence and gives the alternating matrix \[ R=-D+\epsilon\mathbf 1^{\mathsf T}-\mathbf 1\epsilon^{\mathsf T}, \qquad R=\begin{pmatrix} R_{II}&\epsilon_I\mathbf 1_B^{\mathsf T}\\ -\mathbf 1_B\epsilon_I^{\mathsf T}&R_{BB} \end{pmatrix}. \] Here \(\mathbf 1\) denotes the all-ones vector of the indicated size. The block formula holds because \(C\) is consecutive in each word. It follows that \(R=0\) exactly when \(w,u\) are cyclic rotations. Two consequences of the common block structure will be used. First, for a pair differing by a single factor flip, \(\epsilon^{\mathsf T}b=0\) on \(H\). The flip changes no comparison across root children. Its \(Y\)-comparison is constant on each sibling at a nonempty quotient, and zero on a union at an empty quotient. Second, for any rational linear combination of word differences with \(\epsilon_I=0\), \(D_{II}\) has no entries across the parts of \(I\). At distinct levels the outer sibling compares with the entire inner block as it compares with \(Y\). At a nonempty quotient, comparisons depend on one orientation for a complete quotient, or on the two orientations of a prime graph and its complement. Each orientation is detected by a comparison with the child containing \(Y\). Thus the cross-part comparison functions are affine linear functions of the \(Y\)-comparisons in \(I\). For any rational linear combination of word differences, if \(Rb=0\) on \(H\), varying \(b_B\) gives \(\epsilon_I=0\) and \(R_{BB}=0\). Now \(R_{II}=-D_{II}\) is block diagonal on the parts of \(I\), and each alternating block kills the sum-zero hyperplane on its part. Its rank is at most one and hence zero. Thus \(R=0\). If in addition \(\epsilon^{\mathsf T}b=0\) on \(H\), then \(\epsilon=0\), since \(b_B\) is free. For an unrestricted vector \(a\in\mathbb Q^{d-1}\) and \(b\in H\), assign to each word difference the pair of polynomials \[ A(a,b)=a^{\mathsf T}Rb,\qquad L(b)=\epsilon^{\mathsf T}b . \] Partition the support words into blocks whose coefficients sum to zero, and choose one anchor word in each block. Write \(A_j,L_j\) for the differences from the anchors to the other words. We claim that some nonzero polynomial in \(a,b\) precludes all equations \(A_j+sL_j=0\) simultaneously, for any \(s\). If all \(L_j=0\), each \(A_j\ne0\). Otherwise \(R_j=\epsilon_j=0\) by the preceding argument, which would identify distinct words. If some minor \(A_jL_k-A_kL_j\) is nonzero, it supplies the desired polynomial. Assume all minors are identically zero. When two slopes are independent, unique factorization applied to \((R_jb)L_k=(R_kb)L_j\) gives \(R_jb=vL_j\) for all \(j\), with a common rational vector \(v\). Write \(e_j=\epsilon_{j,I}^{\mathsf T}b_I\). The \(B\)-coordinates give \[ R_{j,BB} b_B-e_j\mathbf 1_B =v_B(e_j+\epsilon_{j,B}^{\mathsf T}b_B). \] If \(e_j\ne0\), comparison in \(b_I\) gives \(v_B=-\mathbf 1_B\). Comparison in \(b_B\) and the zero diagonal of \(R_{j,BB}\) then give \(\epsilon_{j,B}=0\). The \(I\)-coordinates, with \(b_B\) free, force \(\epsilon_{j,I}=0\), a contradiction. Thus all \(e_j=0\). Each \(R_{j,BB}=v_B\epsilon_{j,B}^{\mathsf T}\) has rank at most one and is alternating, so it is zero. Some \(\epsilon_{j,B}\ne0\), whence \(v_B=0\). The \(I\)-coordinates give \(\epsilon_{j,I}\mathbf 1_B^{\mathsf T}=v_I\epsilon_{j,B}^{\mathsf T}\). If \(v_I\ne0\), all \(\epsilon_{j,B}\) are multiples of \(\mathbf 1_B\), contrary to independence of two slopes. Hence \(v=0\) and every \(R_j=0\). Each balanced block would lie in a cyclic class. This would make \(f\) formally traceless. It remains to consider proportional slopes with one \(L_0\ne0\). Write \(L_j=q_jL_0\) with \(q_j\in\mathbb Q\). The vanishing minors and the faithfulness statement for \(R,\epsilon\) give \((R_j,\epsilon_j)=q_j(R_0,\epsilon_0)\). Distinct words force \(q_j\ne0\), and their indicator differences force \(q_j=\pm1\). Within a block, the indicator vectors lie on a line in a Boolean cube, which contains at most two Boolean points. Repeated indicator vectors would also give repeated comparison vectors. Each block therefore consists of two opposite coefficients, with the same full comparison difference up to sign. The symbol is divisible by \(1-z^v\), where \(v\) is that full difference and \(z^v\) denotes the Laurent monomial in the comparison coordinates. The vector \(v\) is primitive because its nonzero entries are \(\pm1\). But this factor has slope \(L_0\ne0\) on \(H\), contradicting the first consequence of the common tree. This proves the claim about the balanced partitions. Multiply one nonzero witness for each balanced partition by \((\sum_i b_i)\prod_i a_i\), with all indices \(i\) here different from \(Y\). The product is nonzero on \(\mathbb Q^{d-1}\times H\): the sum uses the free coordinates indexed by \(B\). Use integral coordinates on \(H\) by eliminating one coordinate in each part. For all sufficiently large primes \(\ell\) the product is a nonzero polynomial modulo \(\ell\) of total degree less than \(\ell\). The univariate root bound, applied successively in each coordinate, gives an \(\mathbb F_\ell\)-point where the product is nonzero. In particular \(\sum_i b_i\ne0\) and \(a_i\ne0\). Take \(\ell\) also outside the exceptional set of Lemma \ref{sc:cyclotomic}. Over an algebraic closure of \(K\), let \(Ue_j=\zeta^j e_j\) and \(Ve_j=e_{j+1}\), where \(j\in\mathbb Z/\ell\mathbb Z\) and \(\zeta\) is a primitive \(\ell\)-th root of unity. Freeze the input at each letter \(i\ne Y\) to \(U^{a_i}V^{b_i}\). In the free slot use \[ U^{-\sum_i a_i+s}V^{-\sum_i b_i},\qquad s\in\mathbb Z/\ell\mathbb Z . \] All word products are scalar multiples of \(U^s\). Since \(UV=\zeta VU\), the difference of the phases, written as exponents of \(\zeta\), is \(A(a,b)+sL(b)\). Indeed with free exponents \(u,v\), it is \(-a^{\mathsf T}Db+u\epsilon^{\mathsf T}b-v\epsilon^{\mathsf T}a\), and substitution gives the formula. If a multiplier of \(U^s\) were zero, Lemma \ref{sc:cyclotomic} would partition the words by equal phases into balanced blocks. The chosen point excludes this. The free linear map from \(\{D_0V^{-\sum_i b_i}:D_0\text{ diagonal}\}\) onto the diagonal space is therefore invertible. The displayed free inputs form a basis because \((\zeta^{sj})_{s,j}\) is invertible. To realize the inverse over \(K\), keep \(V\) and replace each frozen \(U^{a_i}\) by a diagonal matrix of parameters. Impose trace zero on this diagonal matrix when \(b_i=0\). These constraints contain the constructed specialization, since then \(a_i\ne0\) and \(\sum_{j=0}^{\ell-1}\zeta^{a_i j}=0\). For \(b_i\ne0\) the corresponding weighted shift is already traceless. The determinant of the free linear map is nonzero as a polynomial on the parameter space, and there is a \(K\)-point where it is nonzero because \(K\) is infinite. Solving for \(I_\ell\) gives a traceless free input since \(\sum_i b_i\ne0\). This works at two distinct primes, say \(\ell\) and \(\ell'\). Direct sums give \(I_n\) for every \(n\ge(\ell-1)(\ell'-1)\) by the conductor formula for two coprime integers. \end{proof} \subsection{Weighted shifts and comparison factors} We will substitute one matrix for the product on each consecutive block of original letters. For this purpose a block is treated as a single letter, and its degree is the number of original letters in it. Fix an integer step \(c_i\ne0\) for each of \(s\) such letters. On the standard basis \(e_0,\ldots,e_{n-1}\) use weighted shifts \(X_i e_j=x_{i,j}e_{j+c_i}\) if both indices are in range, and zero otherwise, with all available weights \(x_{i,j}\in K^\times\). Each \(X_i\) is similar to \(J_n^{|c_i|}\), where \(J_n\) is a nilpotent Jordan block. This follows by normalizing the weights along the chains of the shift. For an order \(v\) of the effective letters let \(r_i(v)\) be the sum of the steps strictly after \(i\) in \(v\). If the prefix sums, including the empty prefix, have minimum \(m_v\), maximum \(M_v\), and total \(h\), the surviving starting indices are \[ [M_v-h,n+m_v-h)\cap\mathbb Z . \] The entry from index \(j\) to \(j+h\) is \(\prod_i x_{i,j+r_i(v)}\) there. The formula follows by applying the letters right to left and testing whether each visited index lies in \(\{0,\ldots,n-1\}\). For any list of orders and any \(n\), let \(E\) have one row for each surviving monomial, indexed by \((v,j)\), and one column for each available shift edge. Its entry records whether that edge occurs in the monomial. Let \(M(T)=(T^{r_i(v)})_{i,v}\), with \(T\) an indeterminate. A row relation of \(E\) over any field, with coefficients \(a_{v,j}\) extended by zero to every integer \(j\), is equivalent to \[ M(T)\bigl(\textstyle\sum_j a_{v,j}T^j\bigr)_v=0. \] Indeed the coefficient at \(T^k\) in row \(i\) records the relation on edge \((i,k)\), and a surviving monomial uses only available edges. If \(M(T)\) has full column rank over \(\mathbb Q(T)\) and \(\mathbb F_p(T)\) for every prime \(p\), then \(E\) has full row rank over all these coefficient fields, so its integer Smith invariants are all one. More generally, if the rank of \(E\) over \(\mathbb Q\) and over every \(\mathbb F_p\) is the same, the nonzero Smith invariants are one. In this case one can prescribe arbitrary nonzero values of the monomials subject to the multiplicative relations given by the integer left kernel of \(E\). This is because the unimodular row and column operations in Smith reduction correspond to invertible monomial changes of coordinates on powers of \(K^\times\). After these changes the image consists of arbitrary entries in the nonzero Smith positions and ones elsewhere. To lift an effective letter on a common block to original inputs, take positive integers \(b_i\) indexed by the original letters in that block, with total \(h\ge1\). Given \(q_i\in K^\times\) put \(D(q_i)=\operatorname{diag}(1,q_i,\ldots,q_i^{n-1})\) and evaluate the original letter \(i\) at \(D(q_i)J_n^{b_i}\), using \(J_ne_j=e_{j-1}\) with \(J_ne_0=0\). For any word \(v\) on the block, let \(\beta_i(v)=\sum_{j\text{ preceding }i\text{ in }v}b_j\). Then the product is \[ \biggl(\prod_i q_i^{\beta_i(v)}\biggr) D\biggl(\prod_i q_i\biggr)J_n^h . \] For \(n>h\), simultaneous conjugation of the original matrices can replace the common right factor by any prescribed conjugate of \(J_n^h\). Suppose the selected global comparison factor flips internal comparisons in this block. Let \(v_0\) be the difference of the \(\beta\) vectors across a flip, independent of the base word. The vectors \((\beta_i(v)+b_i/2)_i\) all have the same squared norm for the inner product \(\langle x,y\rangle=\sum_i b_i x_i y_i\). Indeed their coordinates are midpoints of consecutive intervals partitioning \([0,h]\), and the squared norm is \(\int_0^h t^2\,dt-\sum_i b_i^3/12\). For each base word the equality of norms before and after the flip gives \(2\langle\beta+b/2,v_0\rangle+\langle v_0,v_0\rangle=0\). Subtracting this equality for two base words shows that their \(\beta\)-difference is orthogonal to \(v_0\). The \(\beta\)-vector determines the order because its coordinates strictly increase along the word. Consequently any two distinct base words have \(\beta\)-difference outside \(\mathbb Q v_0\), unless \(v_0=0\), in which case distinctness alone suffices. Take independent parameters \(u_j\in K^\times\) for the letters of the block. If \(v_0\ne0\), set \[ q_i=\prod_j u_j^{T_{ij}},\qquad T=\biggl(\sum_i b_i(v_0)_i^2\biggr)I -\operatorname{diag}(b_i)v_0v_0^{\mathsf T}. \] For \(v_0=0\) use \(q_i=u_i\). In the nonzero case \(v_0^{\mathsf T}T=0\), and for each difference \(\Delta\beta\) of distinct base words orthogonality gives \[ (\Delta\beta)^{\mathsf T}T= \biggl(\sum_i b_i(v_0)_i^2\biggr)(\Delta\beta)^{\mathsf T}\ne0. \] Hence the paired block products agree, and the coefficient functions for distinct base words on a block are distinct Laurent monomials. The prescribed matrix for the block can be held fixed by conjugating all its inputs together. These inputs remain nilpotent. \subsection{Connected factor graphs} Choose a connected factor graph of \(f\) and its canonical module tree. In each construction below, the matrices assigned to the blocks have the Jordan types required by the preceding construction. To see how the substitution recovers \(f\), choose the set \(\mathcal W\) of support words in one state of the selected factor and write \(f=\sum_{w\in\mathcal W}c_w(w-\widetilde w)\), where \(\widetilde w\) denotes the paired word. For each exposed block \(C\), let \(Z_C\) be its prescribed effective matrix and let \(\mu_C(w)\) be the Laurent monomial from the construction, with \(\mu_C(w)=\mu_C(\widetilde w)\). If \(\sigma\) is the order of the blocks in \(w\), write \(Z_\sigma\) for their ordered product and \(\widetilde\sigma\) for the order in \(\widetilde w\). The actual value is \[ \sum_\sigma \biggl(\sum_{\substack{w\in\mathcal W\\w\text{ has block order }\sigma}} c_w\prod_C\mu_C(w)\biggr)(Z_\sigma-Z_{\widetilde\sigma}). \] For a fixed \(\sigma\), distinct base words differ internally in a block. The block parameters are disjoint, so the bracketed coefficient is a nonzero Laurent polynomial whenever the corresponding set of base words is nonempty. This permits a specialization with a nonzero coefficient, since \(K\) is infinite. In the constructions using products of powers of a single nilpotent, one first prescribes the matrix of each block as the appropriate power and then uses the same substitution. For a complete root with at least three children, the effective pair is \(1\cdots s\) and its reversal. Choose steps \((c_1,\ldots,c_s)=(d,\ldots,d,-(s-1)d)\). The prefix ranges of the orders are \([0,(s-1)d]\) and \([-(s-1)d,0]\). The two columns of \(M(T)\) are independent over every field because their suffix differences in rows \(1,2\) are \(d,3d\). Thus the surviving monomials may be prescribed independently. When \(n\ge2(s-1)d\) the two supports cover all diagonal entries. Where both products survive, choose two nonzero entries with difference one, and where only one survives choose its entry to be \(1\) or \(-1\) as required. The paired difference is \(I_n\). The nonzero residual coefficient obtained by the original-input lift can be normalized by scaling one original input. At a prime root let \(w=1\cdots s\), let \(\pi\) be the paired order, and use the four orders \[ w,\quad \pi,\quad \operatorname{rev}(\pi),\quad \operatorname{rev}(w), \] where \(\operatorname{rev}\) reverses an order. The base orders \(w,\operatorname{rev}(\pi)\) have the same orientation of the selected factor graph and opposite orientations of its complement. Their partners are \(\pi,\operatorname{rev}(w)\), respectively. The paired suffix differences agree because \(r_i(\operatorname{rev}(v))=h-c_i-r_i(v)\) for total step \(h\). By Lemma \ref{lem:comparisons} the normalized permutation \(\pi\) is simple, meaning that no proper consecutive interval of positions of length at least two has consecutive values. The connected discrepancy graph implies that no proper prefix of \(w\) and \(\pi\) has the same set of letters. In the hyperplane \(\sum_i c_i=0\) there is an open cone on which all proper \(w\)-prefix sums are positive and all proper \(\pi\)-prefix sums are negative. For example \(c_i=\operatorname{pos}_{\pi}(i)-i\) belongs to it, where \(\operatorname{pos}_{\pi}(i)\) is the position of letter \(i\). For a \(w\)-prefix of length \(j\), the sum of the positions in \(\pi\) is greater than \(1+\cdots+j\), since equality would give a common prefix. Interchanging the two orders proves the negative inequality for the \(\pi\)-prefix. Suppose \(s\ge5\). Form the \(s\)-by-four matrix with \((i,v)\)-entry \(\prod_{j\text{ after }i\text{ in }v}x_j\) in the Laurent ring \(\mathbb Z[x_1^{\pm1},\ldots,x_s^{\pm1}]/(\prod_i x_i-1)\). It has a four-row minor with relatively prime integer coefficients. By the Schmerl--Trotter theorem for permutations \cite{BrignallVatter}, every simple permutation of length at least five contains a simple pattern of length five or six. In fact a simple permutation that is not a parallel alternation can be shortened by one, and a simple parallel alternation of length at least eight can be shortened by two. Setting the variables outside such a pattern to one specializes the selected rows to the corresponding minor for the pattern. The length-five and length-six checks are finite. In the pseudocode below, a coefficient table has exponent tuples as keys and integer coefficients as values. It computes the checks by signed determinant expansion, using the last variable to enforce the product-one relation. \begingroup\small \begin{verbatim} for s in (5, 6): good = total = 0 for p in permutations(1, ..., s): if any proper interval of length >= 2 has consecutive values: continue total += 1 words = ((1, ..., s), p, reverse(p), (s, ..., 1)) for row in combinations((1, ..., s), 4): C = empty coefficient table, default 0 for perm in permutations(0, 1, 2, 3): e = zero vector of length s - 1 for k in (0, 1, 2, 3): A = letters after row[k] in words[perm[k]] for j in (1, ..., s-1): e[j-1] += indicator(j in A) - indicator(s in A) C[tuple(e)] += sign(perm) if gcd of the entries of C is 1: good += 1 break assert (total, good) == ((6, 6) if s == 5 else (46, 46)) \end{verbatim} \endgroup Here \(\operatorname{sign}\) is the parity sign of the determinant permutation and the gcd of an all-zero table is zero. Relatively prime coefficients at the specialized minor imply relatively prime coefficients before specialization. Choose rational steps in the opposite-prefix cone avoiding all \(c_i=0\) and equalities between the exponents of distinct terms of this minor under \(x_i=T^{c_i}\). The excluded hyperplanes are proper on \(\sum_i c_i=0\) because the terms are distinct modulo the product-one relation. Clear denominators and scale so \(|c_i|\) meets each degree. The resulting minor is nonzero over every field since its coefficients remain relatively prime. Let the maximum \(w\)-prefix and minus the minimum \(\pi\)-prefix be \(A\) and \(B\). The four support intervals in order are \([A,n),[0,n-B),[B,n),[0,n-A)\). For \(n\ge A+B\), the rank-four monomial solve therefore permits simultaneous paired differences \(\alpha I_n,\beta I_n\) for any \(\alpha,\beta\in K^\times\). On overlaps one chooses nonzero entries with the prescribed difference, as above. The two residual coefficients after lifting can be made a nonzero pair, and then \(\alpha,\beta\) can be chosen so their contraction is nonzero. For \(s=4\) the two simple orders are \(2413\) and \(3142\). It suffices to treat \(2413\), since exchanging the graph with its complement exchanges the roles of the two available pairs. More explicitly the ordered pairs for \(3142\) are \((1234,3142),(2413,4321)\). Interchanging the labels by \(1\mapsto2,\ 2\mapsto4,\ 3\mapsto1,\ 4\mapsto3\) takes the \(2413\) pairs to these pairs in the opposite order. Choose an integer \(H\) at least the four child degrees. For \(n\ge3H+4\) let \(\varepsilon\in\{0,1\}\) have the parity of \(n-H-2\) and take steps \[ (a,b,c,-a-1) =\left(\frac{n-H-2-\varepsilon}{2},-H-\varepsilon, H+1+\varepsilon,-\frac{n-H-\varepsilon}{2}\right). \] The four supports are \([a+1,n),[0,a+1),[a+c,n),[0,a+c)\). In the order of these four words, the suffix-exponent matrix is \[ \begin{pmatrix} -a&c&-a-c&0\\ -a-b&-b&0&a\\ -a-b-c&0&-c&a+b\\ 0&a+c&b&a+b+c \end{pmatrix}. \] Their suffix matrix has kernel generated over the Laurent ring by \[ (T^{2a+b+c},-T^{a+b},-T^{a+c},1)^{\mathsf T}. \] Indeed substitution gives a kernel vector. The first three rows and columns have determinant \[ -T^{-2(a+b+c)}(T^{b+c}-1)(T^{a+b+c}-1), \] which is nonzero over every field. The last coordinate is one. Subtracting the four kernel exponents from the support intervals gives lower endpoints \(-a,-a-b,0,0\) and upper endpoints \(c,c,a+1,a+c\), using \(b+c=1\) and \(n=2a+c+1\). Their intersection is \([0,c)\). A supported row relation is thus the kernel vector multiplied by a polynomial supported on the integers from \(0\) to \(c-1\). This describes the integer left kernel and gives the same rank in every characteristic. Assign constants \(\alpha,-\alpha,\beta,-\beta\) to the surviving monomials of the four words respectively. Each translated relation holds multiplicatively, since \(\alpha(-\beta)=(-\alpha)\beta\). The Smith argument realizes the assignment and gives the two desired scalar channels simultaneously. It remains to consider a complete root with two children, denoted \(A,B\). If neither child has an internal comparison flip, the paired differences are commutators of words on \(A\) and \(B\) and \(f\) is formally traceless. Thus one child, say \(A\), has a nontrivial internal restriction. Since the children of a canonical complete root are the connected components of its complement graph, the canonical root of \(A\) is prime or empty. In the latter case retain one nonsingleton connected component \(C\) of the graph on \(A\). The other connected components \(D_1,\ldots,D_k\), with \(k\ge1\), occur in the orders allowed by the support of \(f\), and the selected factor preserves their order relative to \(C\). The retained component \(C\) has complete or prime root. We treat the three possibilities in turn. \subsubsection{A prime child of a binary root} Let \(w,\pi,\operatorname{rev}(\pi),\operatorname{rev}(w)\) be the four orders on the canonical children of \(A\). The full orders are \(wB,B\pi,\operatorname{rev}(\pi)B,B\operatorname{rev}(w)\). The first and third orders are paired with the second and fourth respectively. We will also use the following minor in the case of a retained prime component. For the internal words on a prime quotient, consider their four suffix columns in the variables \(x_i\), now without imposing \(\prod_i x_i=1\). The quotient contains a copy of \(2413\) or \(3142\) by the simple-permutation theorem. For a simple parallel alternation, two entries from each of its alternating halves can be retained to obtain such a pattern. Select the four rows of this pattern and set other variables to one. For \(2413\) the specialized matrix is \[ \begin{pmatrix} x_2x_3x_4 & x_3 & x_2x_4 & 1\\ x_3x_4 & x_1x_3x_4 & 1 & x_1\\ x_4 & 1 & x_1x_2x_4 & x_1x_2\\ 1 & x_1x_3 & x_2 & x_1x_2x_3 \end{pmatrix}. \] Its determinant is \[ (h-1)\left(h^2-h\sum_i x_i+\sum_{i0,\qquad \Delta\ge D,\qquad P=p+D,\qquad n=2u+D . \] For an order \(\sigma\) of \(C,D_1,\ldots,D_k\), let \(S\) be the sum of the sibling steps before \(C\), and write \(R=D-S\). The paired full words have the orders \[ W_\sigma=(D_{\mathrm{before}})UV(D_{\mathrm{after}})B,\qquad P_\sigma=B(D_{\mathrm{before}})VU(D_{\mathrm{after}}), \] where the products in parentheses are the ordered lists of siblings on either side of \(C\). The first prefix range is \([0,u+S]\), because \(u+S\ge p+D\). The second range is \([-(u+R),0]\). Their diagonal supports are therefore \([u+S,n)\) and \([0,u+S)\). Use unit edge weights on the siblings and on \(B\). On \(U\) use \(a(j)=(-1)^{\lfloor j/p\rfloor}\) for \(0\le j0\). The suffix positions of these positive-length components determine their order. Hence the paired scalar values have distinct Laurent coefficients for distinct \(\sigma\). Choose the inner block parameters so that at least one residual coefficient is nonzero. These outer Laurent monomials then give a nonzero scalar for some \(t,z_i\). For each large \(n\), take \(D\) equal to the sum of the sibling degrees or one more, choosing the parity of \(n\). This is achieved by increasing one sibling step if necessary. Take \(\Delta\) at least this sum plus one and at least the sum of the degrees of the collapsed children, independently of \(n\), and put \(u=(n-D)/2\). For all sufficiently large \(n\), the steps satisfy the above conditions and the required lower bounds for \(U,B\). The twisted \(V\) still has its prescribed Jordan type and hence can still be realized as the product of the collapsed children. \subsubsection{A retained prime component} On the children of \(C\), choose steps \(c_i\) with positive total \(p=\sum_i c_i\), positive proper \(w\)-prefix sums and negative proper \(\pi\)-prefix sums. Write \(A\) for the largest \(w\)-prefix sum and \(-\delta\) for the smallest \(\pi\)-prefix sum. The four internal prefix ranges in order are \[ [0,A],\quad[-\delta,p],\quad[0,p+\delta],\quad[p-A,p]. \] The admissible steps form a nonempty open cone in the full step space by perturbing the earlier sum-zero cone to small positive total. Choose a rational point avoiding all \(c_i=0\) and the collision hyperplanes for the primitive minor without the product-one relation, proved in the prime-child case. The internal four-column suffix matrix then has full rank in every characteristic. Require also that the two vectors \[ v=r(\pi)-r(w),\qquad v'=r(\operatorname{rev}(\pi))-r(w) \] be linearly independent over \(\mathbb Q\), where these suffix vectors are internal to \(C\). They are the images of the step vector under two alternating comparison matrices with disjoint nonempty supports. Each matrix has rank at least two. The two images cannot be dependent for every step vector. Indeed, if linear maps \(F,G\) always have dependent images on each vector and \(\operatorname{rank}F \ge2\), take two vectors with independent \(F\)-images and apply dependence to their sum. This forces the same proportionality factor on both vectors, and repeating with a vector in the kernel of \(F\) forces its \(G\)-image to be zero. Thus \(G\) would be a scalar multiple of \(F\). The independence condition therefore excludes only a proper algebraic set. Clear denominators to obtain a fixed integer choice of steps satisfying all these conditions. As in the complete component case, give positive steps \(d_i\) to the siblings, put \(D=\sum_i d_i\), \(P=p+D\), and give \(B\) step \(-P\). Require \(A-p\ge D\) and \(\delta\ge D\), and set \(n=P+A+\delta\). With \(S\) the total of the steps before \(C\), the first channel consists of the words \((D_{\mathrm{before}})w(D_{\mathrm{after}})B\) and \(B(D_{\mathrm{before}})\pi(D_{\mathrm{after}})\). The first has prefix range \([0,A+S]\) and the second has range \([-(P+\delta-S),0]\). The second channel uses \(\operatorname{rev}(\pi)\) and \(\operatorname{rev}(w)\) in place of \(w\) and \(\pi\), with ranges \([0,p+\delta+S]\) and \([-(P+A-p-S),0]\). These ranges follow by inserting the internal ranges between the positive sibling steps and the step \(-P\). In each pair the supports are disjoint and cover the diagonal. The separating index is \(A+S\) for the first channel and \(p+\delta+S\) for the second. By the rank-four monomial solve prescribe all surviving internal monomials of the four orders to be \(1,-1,1,-1\), respectively. This solve applies to the net step \(p\) since the incidence uses the starting indices of the monomials. Give unit weights to the siblings and \(B\). The paired differences are then \(I_n\) for both channels and every order of the siblings. Apply the same edge twist as above. Moving \(B\) from last to first adds \(P\) to every suffix, including its own. The internal change of order then adds \(v\) on \(C\) and zero elsewhere. Impose \(\prod_i q_i=1\) and \(\prod_{i\text{ in }C}q_i^{v_i}=1\). Explicitly parameterize \(q_i\) on \(C\) by the monomial exponent matrix \((v^{\mathsf T}v)I-vv^{\mathsf T}\), choose the siblings' parameters freely, and choose \(q_B\) to make the product one. The annihilator of this monomial map on rational exponent vectors is generated by \(\mathbf 1\) and the extension of \(v\) by zero. The difference of two base suffix vectors has \(B\)-coordinate zero. If all its parameter exponents vanish, the siblings have the same suffix positions. The sibling steps are positive, so sorting their suffix sums determines their relative order. After subtracting the steps of siblings to the right and the step of \(B\), each remaining suffix contribution is \(p\) if \(C\) lies to its right and zero otherwise. Since \(p>0\), this determines the position of \(C\). The only remaining difference could be between the two internal base states of \(C\). That difference is \(v'\) up to sign, and it does not belong to \(\mathbb Q v\). Thus the base scalar multipliers are distinct Laurent monomials. Their coefficients, after lifting the inner blocks, can be made a nonzero array, and evaluation of this Laurent polynomial followed by scaling gives \(I_n\). To see that every large \(n\) occurs, let \(Q_0=p+A+\delta\) for the fixed integer steps before scaling, and let \(D_0\) be the sum of the sibling degrees. Take \(k_0=\lfloor(n-D_0)/Q_0\rfloor\), multiply all internal steps by \(k_0\), and enlarge one sibling so that \(D=n-k_0Q_0\). Then \(D_0\le D