\ifdefined\pdftrailerid\pdftrailerid{}\fi \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,microtype} \usepackage[margin=0.87in]{geometry} \usepackage[title]{appendix} \usepackage[colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue,pdfauthor={Peter Graham},pdftitle={Freeness and first relations for deformed Newton sums}]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem*{corollary}{Corollary} \newcommand{\C}{\mathbb C} \newcommand{\Hilb}{\operatorname{Hilb}} \newcommand{\Sym}{\mathfrak S} \title{Freeness and first relations for deformed Newton sums} \author{Peter Graham\\ \small\url{https://orcid.org/0009-0007-8493-1505}} \date{First published December 2, 2026; revised December 3, 2026\\[2pt] \small Zenodo archive: \url{https://doi.org/10.5281/zenodo.24744384}\\ \small \href{https://github.com/6/clank-lab/tree/deformed-newton-sums-v2/results/deformed-newton-sums/checks}{Exact checks}} \begin{document} \maketitle \begin{abstract} For two lists of $r,s\ge1$ variables and nonzero complex $q,t$ that are not roots of unity, form the deformed Newton sums $P_j=\frac{q^j-1}{1-t^j}\sum_{i=1}^r x_i^j+\sum_{i=1}^s y_i^j$ for $j\ge1$. Their algebra is free of finite rank over $\mathbb C[P_1,\ldots,P_{r+s}]$, with the dimension in degree $k$ counting partitions $\lambda$ of $k$ with $\lambda_{r+1}\le s$, exactly when $q^m\ne t^{\pm n}$ for $1\le m\le r$, $1\le n\le s$. This confirms an expectation of Etingof and Rains, who proved it for $r=s=1$ and for generic parameters. The dimensions change exactly when $q^mt^n=1$ in this range. For the least positive solution $(m,n)$, the least degree of a relation is $nr+ms+1-(m-1)(n-1)$, with $P_j$ of degree $j$, and that relation is unique up to scale. An exact complex proves freeness, Macdonald operator eigenvalues bound the degree, and reversing polynomials gives a relation attaining it. On these curves the algebra is a polynomial ring if $(m,n)=(1,1)$. For other least pairs except $(1,2),(2,1)$ it fails Serre's condition $S_2$, so it is not Cohen--Macaulay, and Sergeev and Veselov's shifted-diagonal algebra is its $S_2$-ification. At $(1,2)$ the algebra is free when $r=1$, at $(2,1)$ when $s=1$, and in every case computed; freeness in all ranks remains open. This work has not yet been reviewed by experts. The proofs, computations, code and text were produced by AI models from OpenAI and Anthropic, working under the author's direction. \end{abstract} \medskip \noindent\textit{2020 Mathematics Subject Classification.} 05E05, 13H10. \section{Introduction} Let $X=(x_1,\ldots,x_r)$ and $Y=(y_1,\ldots,y_s)$ with $r,s\ge1$, and write $p_j(X)=\sum_i x_i^j$, with the same convention for $Y$. Give each variable degree one. For $q,t\in\mathbb C^\times$ of infinite order, take Sergeev and Veselov's deformed Newton sums~\cite[(12)]{SV} in Etingof and Rains's coordinates: \[ a_j=\frac{q^j-1}{1-t^j},\qquad P_j=a_jp_j(X)+p_j(Y),\qquad A=\C[P_1,P_2,\ldots],\qquad S=\C[P_1,\ldots,P_{r+s}]. \] Put $\Lambda=\C[p_1,p_2,\ldots]$, with $p_j$ of weight (degree) $j$, and let $R=\C[X,Y]^{\Sym_r\times\Sym_s}$ be the ring of separately symmetric polynomials. Define the graded algebra map $\Phi:\Lambda\to R$ by \[ \Phi(p_j)=P_j/a_j=p_j(X)-g_jp_j(Y),\qquad g_j=(1-t^j)/(1-q^j). \] Its kernel is the ideal of relations among these normalized sums. Rescaling each generator by $a_j\ne0$ gives the corresponding relations among the $P_j$. Write $\Phi_k$ for the restriction to degree $k$. A first relation is a nonzero homogeneous relation of least degree. The fat hook consists of the partitions $\lambda$ whose diagrams fit in the union of the first $r$ rows and the first $s$ columns. Its counting series is $h_{r,s}(u)=\sum_{\lambda_{r+1}\le s}u^{|\lambda|}$. A positive integer pair $(m,n)$ is \emph{bounded} if $m\le r$ and $n\le s$, and \emph{unbounded} otherwise. We call $q^m=t^n$ a direct equality and $q^mt^n=1$ an inverse equality. Two independent vectors in the lattice $\{(v,w)\in\mathbb Z^2:q^vt^w=1\}$ would force both parameters to be roots of unity by elimination. Thus if a positive solution exists, every positive solution is a multiple of its least pair $(m,n)$. These two integers need not be coprime. \begin{theorem}\label{thm} The algebra $A$ is finite free over $S$ with Hilbert series $h_{r,s}$ if and only if $q^m\ne t^{\pm n}$ for every bounded pair. The Hilbert series alone equals $h_{r,s}$ if and only if no bounded pair satisfies $q^mt^n=1$. If there is a bounded pair with $q^mt^n=1$, let $(m,n)$ be the least such pair. Then $\ker\Phi_k=0$ for $kq$ with $3\le p\le s$, $q\le r$, and at the inverses in transposed ranks~\cite[Prop.~4.7]{BCES}, and noted Cohen--Macaulayness at $a=1,2,1/2$~\cite[Rem.~4.9]{BCES}, which at $a=2$ is Etingof, Gorsky and Losev's theorem~\cite[Prop.~3.11]{EGL}. These are the rational analogues of the non-Cohen--Macaulay assertion of Theorem~\ref{thm:cm}(ii) for coprime $(m,n)$ and, at $a=2$, of the open case above. \paragraph{Outline of the proof.} Lemma~\ref{lem:K} resolves $K$ by an exact complex. This gives its series everywhere and freeness in the absence of bounded direct equalities. A minor of the Macdonald scalar product in Lemma~\ref{lem:hook} proves $A=K$ even when an inverse equality falls outside the rank bounds. On the bounded inverse locus, matching Macdonald eigenvalues gives a lower bound on the first degree and at most one relation attaining it (Lemma~\ref{lem:lower}). A finite alphabet gives a relation when $m=1$ or $n=1$. For $m,n>1$, reversing two factor polynomials in Lemma~\ref{lem:upper} supplies it. For Theorem~\ref{thm:cm}(ii), Lemma~\ref{lem:codimone} shows that $A=K$ in codimension one, so an $S_2$ algebra $A$ would equal $K$. \section{The shifted-diagonal conditions}\label{sec:shift} Write $X'=(x_1,\ldots,x_{r-1})$ and $Y'=(y_1,\ldots,y_{s-1})$. Sergeev and Veselov's shifted-diagonal algebra~\cite[\S5]{SV} in Etingof and Rains's coordinates~\cite[Prop.~3.5]{ER} is \[ K=\ker(\Delta_z:R\to\C[X',Y',z]),\qquad \Delta_z f=f(X',z;Y',z)-f(X',tz;Y',qz). \] The identity $a_j(t^j-1)+(q^j-1)=0$ gives $\Delta_zP_j=0$, hence $A\subseteq K$. \begin{lemma}\label{lem:K} For all nonzero $q,t$ of infinite order, $\Hilb K=h_{r,s}$. If $q^m\ne t^n$ for $1\le m\le r$, $1\le n\le s$, then $S$ is polynomial and $K$ is a finite free graded $S$-module. \end{lemma} \begin{proof} For $0\le k\le b=\min(r,s)$ retain the first $r-k,s-k$ variables of the two lists, denoted $X^{(k)},Y^{(k)}$. Use $k$ additional variables for pairs that have already been evaluated. Put \[ C^k=\C[X^{(k)}]^{\Sym_{r-k}}\otimes \C[Y^{(k)}]^{\Sym_{s-k}}\otimes (z_1\cdots z_k)\C[z_1,\ldots,z_k]^{\rm alt}, \] where the last superscript means alternating polynomials. For $f\in C^k$ set \[ (\delta f)(X^{(k+1)},Y^{(k+1)};z_1,\ldots,z_{k+1})= \sum_{i=1}^{k+1}(-1)^{i-1}\Delta_{z_i}f(\cdot;z_1,\ldots,\widehat z_i,\ldots,z_{k+1}). \] Here $\Delta_{z_i}$ inserts $(z_i,z_i)$ and $(tz_i,qz_i)$ into the last available pair of slots and subtracts. It vanishes at $z_i=0$. Distinct insertions commute, so $\delta^2=0$. The kernel in $C^0$ is $K$. Multiplication by $P_j$ evaluated on the unmarked variables and the $k$ pairs $(z_i,z_i)$ commutes with $\delta$. We claim that in degree $w$ this is the dual of a strand of a Koszul complex. Use variables $u_0,\ldots,u_w$ of bidegree $(1,0)$ and $v_0,\ldots,v_w$ of bidegree $(0,1)$, each of weight its index. Take the strand of bidegree $(r,s)$ and weight $w$ on the forms \[ F_l=\sum_{i+j=l}(1-t^iq^j)u_iv_j,\qquad 1\le l\le w. \] The exterior generator for $F_l$ has bidegree $(1,1)$ and weight $l$. A monomial in the $u_i,v_j$ records the exponents, including zeros, on the two lists of unmarked variables. Pair it with their coefficient in $f$. An increasing exterior product records the positive exponents on the marked variables in order. Symmetry and alternation make these coefficient pairings perfect. Inserting a pair with exponents $i,j$ contributes $1-t^iq^j$ to the coefficient at $z^{i+j}$. Deleting the corresponding exterior generator has the same sign as the insertion, proving the claim. The forms are a regular sequence. A wholly zero list gives codimension at least $w+1$. For two nonzero lists the first nonzero indices $\alpha,\beta$ define finitely many locally closed strata. Put $l=\alpha+\beta$. There are already $l$ initial zeros. If $l\le w$, then $t^\alpha q^\beta=1$ by the first coefficient (automatic at $l=0$). For $l>0$ this requires both indices positive. In succession $F_{l+j}$ solves for $v_{\beta+j}$ with coefficient $u_\alpha(1-q^j)\ne0$, for $1\le j\le w-l$. This gives codimension at least $w$, attained on $u_0v_0\ne0$. The polynomial ring is Cohen--Macaulay, so height $w$ gives regularity. Exactness of the Koszul complex in positive degrees now gives \[ 0\longrightarrow K\longrightarrow C^0\longrightarrow \cdots\longrightarrow C^b\longrightarrow0 . \] Removing $\prod_i z_i\prod_{i0$~\cite{SV}. To include the unbounded curves, first suppose no $q^it^j=1$ has $i\ge1$ and $1\le j\le s$. In the Hall-orthonormal Schur basis the matrix of $G$ is the inverse of the Macdonald Gram matrix $M$ with parameters $q,t$. This follows from the diagonal power-sum formula for the scalar product. In each weight put $E=\{\lambda:\ell(\lambda)\le s\}$. Jacobi's complementary-minor identity and Macdonald's norm formula give \[ \det G_{E,E}=\frac{\det M_{E^c,E^c}}{\det M} =\prod_{\lambda\in E}\prod_{\square\in\lambda} \frac{1-q^{a(\square)}t^{l(\square)+1}} {1-q^{a(\square)+1}t^{l(\square)}} , \] where $a,l$ are arm and leg lengths~\cite[VI, (4.7), (6.19)]{Mac}. In fact $E^c$ is downward closed in dominance order, so the unitriangular orthogonal Macdonald basis gives the norm product on that subspace over $\C(q,t)$. The displayed identity specializes because $l+1\le s$ and every factor is nonzero. Thus $\pi_sG$ is injective on $V_s$. In a relation among the hook images, choose a top partition $\mu$ of greatest size among those with nonzero coefficients. The Schur functions $s_\mu(X)$ separate all such partitions in~\eqref{head}. For fixed $\mu$, the remaining diagrams give distinct $s_{\eta'}\in V_s$. Injectivity forces every coefficient with these top rows to vanish. Thus the hook images are independent, and $A\subseteq K$ and Lemma~\ref{lem:K} give equality in each weight. If a positive inverse relation exists, every such pair is a multiple of its least pair. Outside the bounded rectangle either its second entry exceeds $s$, as above, or its first exceeds $r$. In the latter case exchange $(X,r,q)$ and $(Y,s,t)$, which rescales each $\Phi(p_j)$ by a nonzero scalar. The hook series is symmetric in $r,s$ by diagram transposition. Comparing dimensions with $K$ again gives the assertion. \end{proof} \begin{lemma}\label{lem:lower} Suppose $(m,n)$ is the least positive solution of $q^mt^n=1$ and $m\le r$, $n\le s$. For $d=nr+ms+1-(m-1)(n-1)$, there is no relation in degree $ks$. We claim that any two such partitions satisfy \begin{equation}\label{eq:count} \ell_\alpha\ge n,\qquad j\ge m(\ell_\beta-\ell_\alpha)+\ell_\alpha. \end{equation} A match in rows $i,i'$ gives $(\alpha_i-\beta_{i'},i'-i)\in\mathbb Z(m,n)$. Thus matches stay in each residue class $c$ modulo $n$. Number its rows $i=c+(h-1)n$ by $h=1,2,\ldots$, with $1\le c\le n$. In that class the multisets of $\alpha_i+mh$ and $\beta_i+mh$ coincide. Subtracting the same sum of $mh$ shows that the class has the same total number of boxes in the two diagrams. If $\ell_\alphav_c$. The last positive row of $\beta$ gives a value greater than $mv_c$. Its partner in $\alpha$ must occur at $h\le u_c$ and has at least $m(v_c-u_c)+1$ boxes. The other $u_c-1$ rows have at least one box each. Summing over the classes proves~\eqref{eq:count}. Since $d<(r+1)(s+1)$, every diagram in degree $k\le d$ lies in the hook. In a nonzero relation choose top rows $\mu$ of maximum size and put $\ell_0=\mu_r$. For these top rows the transposed remaining diagrams in~\eqref{head} give a nonzero vector of $V_{\min(\ell_0,s)}$ killed by $\pi_sG$. Its degree is $j=k-|\mu|$. The spectral bound supplies $\alpha,\beta$ as above. Since $|\mu|\ge r\ell_0$, \eqref{eq:count} gives \[ k\ge r\ell_0+m(\ell_\beta-\ell_\alpha)+\ell_\alpha =d+r(\ell_0-\ell_\alpha)+(r-m+1)(\ell_\alpha-n)+m(\ell_\beta-s-1). \] Every term after $d$ is nonnegative. At equality $\mu=(n^r)$, $\ell_\alpha=n$ and $\ell_\beta=s+1$. Now $u_c=1$ and the sole part in class $c$ must be $m(v_c-1)+1$. The first $s+1$ rows determine every $v_c$, hence at most one $\alpha$ can contribute. The kernel for these fixed top rows has dimension at most one. Projection to their coefficients is injective on relations of degree $d$, since any nonzero relation must include these same top rows. This gives the multiplicity bound. \end{proof} \section{Existence by polynomial reversal}\label{sec:reversal} Put $N=nr+ms$. For each $j\ge1$ multiply $\Phi(p_j)$ by $\sum_{i=0}^{n-1}t^{ij}\ne0$. Using $q^m=t^{-n}$ gives the ordinary $j$th power sum of $N$ entries, \[ t^i x_k\quad(0\le i1$, the required degree is smaller. \begin{lemma}\label{lem:upper} Suppose $(m,n)$ is the least positive solution of $q^mt^n=1$, with $1\varepsilon$, while $(B_{\rm loc})_{\varepsilon}$ has one more dimension than $B_{\varepsilon}$. The substitutions $c_i\mapsto t^{-1}/c_i$ and $b_j\mapsto q^{-1}/b_j$ define a grading-reversing involution $\iota$ of the separately symmetric polynomial ring localized at $e_n(c)e_m(b)$. For example, $e_j(c)$ goes to $t^{-j}e_{n-j}(c)/e_n(c)$. Reversal of the polynomials in~\eqref{wheel}, followed by division by their common leading coefficient, interchanges the two sides for the new alphabets. Thus the substitution preserves the localized coefficient ideal and descends to $B_{\rm loc}$. The map $Z\iota$ identifies $(B_{\rm loc})_{\varepsilon}$ with $(B_{\rm loc})_d$. Since $N\ge2mn>2\varepsilon$, we obtain \begin{equation}\label{diff} \dim B_d=\dim B_{\varepsilon}+1 . \end{equation} Logarithms of~\eqref{wheel} give $p_h(b)=-g_hp_h(c)$. Newton's identities now show that the $p_h(c)$ generate $B$. The tensor \[ U_d=[z^d]\exp\left(-\sum_{h\ge1}p_h(c)p_h z^h/h\right) =\sum_{\rho\vdash d}(-1)^{\ell(\rho)}p_\rho(c)p_\rho/z_\rho \] induces an injection $B_d^*\to\Lambda_d$ by contraction, since its coefficients span $B_d$. Here $z_\rho=\prod_i i^{\nu_i}\nu_i!$ for part multiplicities $\nu_i$. Applying $\Phi$ to the exponential gives the polynomial \[ \prod_{i,k}(1-c_i x_kz)\prod_{j,l}(1-b_j y_lz). \] Its coefficient at $d=N-\varepsilon$ is the product of its top coefficient $(-1)^NZ(\prod_k x_k)^n(\prod_l y_l)^m$ and the coefficient at $\varepsilon$ in the product with inverse roots and variables. To see where each coefficient in $X,Y$ lies, first form that degree-$\varepsilon$ coefficient using $tc_i,qb_j$ and $x_k^{-1},y_l^{-1}$. Its Laurent monomial coefficients belong to $B_{\varepsilon}$ by homogeneity. On the split alphabets $\iota(tc_i)=1/c_i$ and $\iota(qb_j)=1/b_j$, so applying $\iota$ to the coefficients gives the inverse roots. Thus the coefficients after $\Phi$ lie in $Z\iota(B_{\varepsilon})$ in $(B_{\rm loc})_d$. The inclusion $B_d\subset (B_{\rm loc})_d$ is injective. The composite $B_d^*\to\Lambda_d\to R_d$ has rank at most $\dim B_{\varepsilon}$, so~\eqref{diff} gives a relation. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm}] If $q^m\ne t^{\pm n}$ for all bounded pairs, Lemma~\ref{lem:hook} gives $A=K$ and Lemma~\ref{lem:K} makes it free over $S$ with series $h_{r,s}$. If a bounded pair satisfies $q^m=t^n$, finite generation fails, as in the proof of the corollary. If a bounded pair satisfies $q^mt^n=1$, Lemma~\ref{lem:lower} excludes earlier relations and gives multiplicity at most one in degree $d$. The rescaled $e_{N+1}$ above supplies one when $m=1$ or $n=1$, and Lemma~\ref{lem:upper} supplies one otherwise. All partitions of $d$ lie in the hook because $d<(r+1)(s+1)$. The relation therefore makes $\dim A_d$ smaller than the coefficient of $u^d$ in $h_{r,s}$. This proves necessity for both criteria. Lemma~\ref{lem:hook} gives sufficiency for the Hilbert-series criterion even at a direct equality. \end{proof} \section{Cohen--Macaulayness on the inverse curves}\label{sec:cm} Throughout this section $(m,n)$ is the least positive solution of $q^mt^n=1$, with $m\le r$, $n\le s$, and $N=nr+ms$. Then $R$ is finite over $S$ (Lemma~\ref{lem:K}), since a bounded direct equality would make $q,t$ roots of unity. By Section~\ref{sec:reversal}, $\sum_{ir+s$. So they write each $e_k$ with $k>r+s$ as a nonzero multiple of $P_k$ plus an $S$-combination of $1,P_{r+s+1},\ldots,P_{k-1}$. This change and its triangular inverse both preserve, for each $k$, the $S$-span of the products of at most $k$ factors of index above $r+s$. So the stated monomials and the corresponding monomials in the $e_k$ have the same $S$-span. The $e_k$ are polynomials in the elementary symmetric functions of $X$ and $Y$, which generate a polynomial ring free of rank $\binom{r+s}{r}$ over $S$. For general $(X,Y)$ the only ratios $t$ between distinct entries are those of the $r$ pairs $(x_i,tx_i)$, so the entries have exactly one decomposition into $r$ pairs of ratio $t$ and $s$ single entries. Thus the map $\mu$ of Section~\ref{sec:cm}, defined in the same way when the pair is unbounded, is generically injective, hence birational in characteristic zero, and $A$ has the same rank $\binom{r+s}{r}$ over $S$ as $R$. The Singular program \texttt{checks/pair\_strings.sing} computes coordinates over $\mathbb Q$ as before; scalars extend to $\C$ as in Proposition~\ref{prop:module}. For $r+s\le4$, run by \texttt{sh checks/inverse\_curves.sh}, it verifies that the monomials in $e_{r+s+1},\ldots,e_N$ of total degree at most $s$ have no syzygy and span an $S$-module closed under multiplication by $e_{r+s+1},\ldots,e_N$, which is therefore $A$. For $(r,s)=(3,2)$, run by \texttt{LARGE=1 sh checks/inverse\_curves.sh}, the full Gr\"obner basis of the module is too large, and the program checks spanning but not independence. There it truncates the Gr\"obner basis computation once, at the largest degree of the tested products, and reduces every product against the result. Singular warns that a truncated list need not be a standard basis, but each zero remainder still writes the product in the span, since every reducer lies in the module. The $\binom{r+s}{r}$ monomials then span the torsion-free module $A$ of rank $\binom{r+s}{r}$, so they are independent and form a basis. On $q^2t=1$ the entries are $x_i$, $ty_l$ and $tqy_l$, so the same computation applies with $q$ in place of $t$. \end{proof} For $r=s=2$ the numerator of the Hilbert series over $\prod_{j\le4}(1-u^j)$ is $1+u^5+u^6+u^{10}+u^{11}+u^{12}$. It first differs from the fat-hook numerator in degree $7$, the degree $d$ of Theorem~\ref{thm}. For $r=2$ and every $s\ge2$, the Hilbert series that this basis predicts on $qt^2=1$ agrees at a generic parameter with the one given by the two-pair ideal $I_N$ of Kasatani, Miwa, Sergeev and Veselov. Put $N=s+4$, $x=u^{N-1}$, $y=u^N$ and $D_k=\prod_{j=1}^k(1-u^j)$. Their formula for the character of $I_N$~\cite[(61)]{KMSV} gives $D_N\,\mathrm{ch}\,I_N=1-(1-x)(1-y)\sum_{i+j\le s}x^iy^j$, with $i,j\ge0$. So the image, whose coordinate ring is the quotient by $I_N$, has Hilbert series $1/D_N-\mathrm{ch}\,I_N=\sum_{i+j\le s}x^iy^j/D_{N-2}$. This comparison does not show that the monomials span, and it does not reach individual parameters. On $qt^2=1$, Theorem~\ref{thm:cm}(iii) proves freeness for $r=1$; for $s=1$ the pair $(1,2)$ is unbounded and Theorem~\ref{thm} gives freeness, with series $h_{r,1}$. Pointwise freeness for $r,s\ge2$, outside the cases of Proposition~\ref{prop:free}, remains open, and so does the transposed question on $q^2t=1$. We also ask, for all $r,s\ge1$ on $qt^2=1$, whether the monomials $\prod_{j=1}^{N-r-s}P_{r+s+j}^{\alpha_j}$ with $\sum_j\alpha_j\le s$ form a basis over $S$. The bound is on the number of factors, not on the degree. Theorem~\ref{thm:cm}(iii) gives this basis for $r=1$ and $s\ge2$, and Etingof and Rains's basis $1,P_3$ gives it for $r=s=1$. For $s=1$ and every $r$, multiplying $h_{r,1}$ (Appendix~\ref{app:euler}) by $D_{r+1}$ gives $1+u^{r+2}+\cdots+u^{2r+1}$, the Hilbert series of $A/S_+A$. Here $A$ is generated by $P_1,\ldots,P_{2r+1}$, and a product of two generators of index above $r+1$ has degree at least $2(r+2)$, so in each of these degrees $P_j$ alone spans $A/S_+A$. By graded Nakayama and the rank, $1,P_{r+2},\ldots,P_{2r+1}$ is a basis over $S$, as asked. The transposed case follows in the same way. On $q^2t=1$ the question is the same with $\sum_j\alpha_j\le r$. \section{The Euler sum for the hook}\label{app:euler} Write $(a;u)_r=\prod_{i=0}^{r-1}(1-au^i)$ and use the subscript $\infty$ for the infinite product. Sum the Euler expression in Lemma~\ref{lem:K} against $v^rz^s$ for $r,s\ge0$. The three sums over $r-k,s-k,k$ respectively give $1/(v;u)_\infty$, $1/(z;u)_\infty$ and $(uvz;u)_\infty$ by the formal $q$-binomial theorem. For the hook expression, fixing $\lambda_{r+1}=i$ leaves $r$ unrestricted top row increments and a partition of width at most $i$ below row $r+1$. Thus \[ h_{r,s}(u)=\frac{1}{(u;u)_r}\sum_{i=0}^s\frac{u^{(r+1)i}}{(u;u)_i}. \] Summing over $s$ with weight $z^s$ gives $1/[(u;u)_r(1-z)(zu^{r+1};u)_\infty]$. Since $(zu^{r+1};u)_\infty=(zu;u)_\infty/(zu;u)_r$, the remaining sum over $r$ is \[ \frac{1}{(z;u)_\infty}\sum_{r\ge0}\frac{(zu;u)_rv^r}{(u;u)_r} = \frac{(uvz;u)_\infty}{(z;u)_\infty(v;u)_\infty} \] by a second application of the $q$-binomial theorem. \section{Conventions and earlier first relations}\label{app:credit} Etingof and Rains's Proposition~3.1 and Theorem~3.2(i) give Sergeev and Veselov's finite-generation criterion~\cite[Thm.~5.1, Lem.~5.2]{SV} for $A$. Sergeev and Veselov identified the relations and proved $A=K$ when $q^it^j\ne1$ for all $i,j>0$~\cite[Thms.~5.6, 5.8]{SV}. With their parameters $(t^{-1},q)$ and alphabets $(X/t,Y)$, Sergeev and Veselov's map sends $p_j$ to $t^{-j}\Phi(p_j)$, so the two maps have the same kernel in each degree. Their non-special parameter hypothesis becomes $q^it^j\ne1$ for all $i,j>0$. Their kernel has basis their Macdonald functions $P_\lambda(\,\cdot\,;t^{-1},q)$ outside the hook, beginning with its missing rectangle~\cite[Thm.~5.6]{SV}. Their notation inverts the second parameter of Macdonald's~\cite[\S2]{SV}, so in the notation of~\cite{Mac}, used in Lemmas~\ref{lem:hook} and~\ref{lem:lower}, these are $P_\lambda(\,\cdot\,;t^{-1},q^{-1})$. For example, at $r=s=1$, $q=2$, $t=3$, the map $\Phi$ annihilates Macdonald's $P_{22}(\,\cdot\,;1/3,1/2)$ but not $P_{22}(\,\cdot\,;1/3,2)$. Their Theorem~5.8 identifies $A$ with the shifted-diagonal algebra $K$ of Section~\ref{sec:shift} under the same hypothesis. As printed, Etingof--Rains Proposition~3.5(i) assumes instead $q^i\ne t^j$ for all $i,j>0$. At $r=s=1$, $qt=1$, this condition holds, yet the preceding example gives $\dim A_3=2$ and Lemma~\ref{lem:K} gives $\dim K_3=3$. In these coordinates the exclusion in Sergeev and Veselov's theorem concerns the inverse equalities. Theorem~\ref{thm} and Lemmas~\ref{lem:K}--\ref{lem:hook} show that $A=K$ exactly when none is bounded. Yangcheng Li identifies the power sums of a multiplicative string in a sparse polynomial profile with our $P_j$ for $(r,s)=(\ell,1)$, $q=\theta^{-(D-1)}$, $t=\theta$, $D\ge3$~\cite[App.~B.1]{Li}. For $\ell\le D$, the saturated specialization of Li's flat graded lattice at a primitive $D$th root of unity has series $h_{\ell,1}$~\cite[\S6.6, (6.24)--(6.25), Prop.~6.9]{Li}. Each graded component has the same dimension in the generic fiber. We thus infer the series at the generic point of this curve. Sergeev and Veselov factor the sums through $N=r+ms$ variables when $q^mt=1$~\cite[remark after Cor.~5.7]{SV}. With $s=1$ and $r\ge m\ge2$, the basis of Feigin, Jimbo, Miwa and Mukhin for polynomials vanishing on one geometric progression implies a unique first relation in degree $N+1$ at the generic point~\cite[(2.10)--(2.11), Thm.~2.4]{FJMM}. For $s=m=2$, $r\ge2$, the basis for two such pairs of Kasatani, Miwa, Sergeev and Veselov gives the same conclusion~\cite[Thms.~2.2, 5.2, 7.1]{KMSV}. The rest of this appendix translates both finite-variable results. Kasatani treats related wheel submodules~\cite[Thm.~3.11]{Kas}. Halln\"as, Langmann, Noumi and Rosengren prove kernel identities for the deformed operators~\cite[Thm.~2.1]{HLNR}. For rational sums, Sergeev and Veselov conjectured generic freeness~\cite[\S4]{SVcm} and determined the Jack kernel~\cite[Thm.~2]{SVjack}. Suppose $q^mt=1$. Sergeev and Veselov's remark after Corollary~5.7~\cite{SV} factors the power-sum map through symmetric polynomials in $N=r+ms$ variables, followed by evaluation on $r$ free entries and $s$ geometric strings of length $m$. The coordinate change described above and the rescaled alphabet of Section~\ref{sec:reversal} multiply each free variable or string parameter by a unit. In the first map, from $\Lambda$ to $N$ variables, the first relation is $e_{N+1}$ and it is unique in its degree. To transfer that conclusion through the second map, it suffices that its finite-variable kernel vanish through degree $N+1$. For $s=1$, $r\ge m\ge2$, take the parameters $k=m-1$ and $r_{\rm F}=2$ of Feigin, Jimbo, Miwa and Mukhin~\cite[(2.10)--(2.11), Thm.~2.4]{FJMM}. Their vanishing condition is evaluation on one length-$m$ string. At the generic point the kernel has a basis indexed by partitions with $\lambda_i-\lambda_{i+k}\ge2$ for $i\le N-k$. Each such partition has size at least $2(N-k)=2(N-m+1)\ge N+2$, since $N=r+m\ge2m$. For $s=m=2$, $r\ge2$, evaluation uses two pairs $(y,qy)$ in $N=r+4\ge6$ variables. Kasatani, Miwa, Sergeev and Veselov give a graded partition basis for this Macdonald ideal and its Jack limit~\cite[Thms.~2.2, 5.2]{KMSV}. The least degree is $(N-1)(N-3)>N+1$~\cite[Thm.~7.1 and the paragraph following]{KMSV}. In both cases the earlier bases thus imply the unique first relation of degree $N+1$ for the power sums at a generic point of the curve. Exchanging the two lists gives the transposed cases. \section{Proof of Lemma~\ref{lem:codimone}}\label{app:codimone} Near a general point of a divisor the entries split into classes, each fed by at most two coordinates, whose numbers of $X$- and $Y$-coordinates are the same over the whole fiber unless $(m,n)$ is $(1,2)$ or $(2,1)$. Then the completions of $A$ and $K$ at that point split over the classes, and Lemma~\ref{lem:hook} gives $A=K$ in ranks at most two. Call $\{u,tu,\ldots,t^{n-1}u\}$ an $x$-string and $\{t^nv,t^nqv,\ldots,t^nq^{m-1}v\}$ a $y$-string. Each string determines its parameter $u$ or $v$, because $q$ and $t$ have infinite order. Thus the points of a fiber of $\mu$ correspond to the ways of writing the tuple as a union of $r$ $x$-strings and $s$ $y$-strings. Let $\Gamma=\{q^at^b\}\subset\C^\times$. The nonzero entries fall into $\Gamma$-cosets, which we call classes, and the zero entries form one more class. Every string lies in a single class. \begin{lemma}\label{lem:rigid} Suppose $(m,n)\notin\{(1,1),(1,2),(2,1)\}$. Let $(X,Y)$ be a point at which at most one of the following occurs: a coordinate vanishes, or two coordinates have their ratio in $\Gamma$. Then every decomposition of $\mu(X,Y)$ into $r$ $x$-strings and $s$ $y$-strings has, in each class, as many $x$-strings and as many $y$-strings as the decomposition given by $(X,Y)$. \end{lemma} \begin{proof}[Proof of Lemma~\ref{lem:rigid}] Two strings from $(X,Y)$ share a class exactly when the ratio of their coordinates lies in $\Gamma$. Hence all classes contain a single string except at most one, which contains two strings or is the zero class with one string. Call that class, when present, exceptional. Every other class is a nonzero class with a single string. Consider such a class, containing one $x$-string $\{t^iu\}$ with $u\ne0$, and a decomposition of it. Any two of its entries have ratio $t^j$ with $0<|j|