\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,booktabs,microtype} \usepackage[margin=1in]{geometry} \usepackage[colorlinks=true,urlcolor=blue,linkcolor=black,citecolor=black]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\D}{\mathcal D} \newcommand{\U}{\mathbb T} \setlength{\emergencystretch}{2em} \setlength{\parindent}{1.2em} \setlength{\parskip}{2pt} \hypersetup{pdftitle={Duursma's Riemann hypothesis for extremal weight enumerators in the four classical Gleason rings},pdfauthor={Christopher D. Long}} \title{Duursma's Riemann hypothesis for extremal weight enumerators in the four classical Gleason rings} \author{Christopher D. Long\thanks{ORCID \href{https://orcid.org/0009-0002-7614-381X}{0009-0002-7614-381X}.}} \date{December 4, 2026} \begin{document} \maketitle \begin{abstract} We prove that every zero of Duursma's zeta polynomial of an extremal virtual weight enumerator in any of the four classical Gleason rings has modulus $q^{-1/2}$. The proof covers every admissible length and allows negative weight coefficients. For the binary rings, a change of variable takes the critical circle to the real line and factors a beta integral into Euler differential operators. Explicit bounds on their shifts preserve real-rootedness. For the ternary ring, a circle-zero count leaves at most one reciprocal pair, which an integral estimate excludes. The same count treats the three quaternary length classes uniformly. We also certify that the zeta zeros are simple whenever the extremal weight enumerator has nonnegative coefficients. \end{abstract} \noindent\textit{2020 Mathematics Subject Classification.} 94B05, 11T71, 26C10.\\ \textit{Keywords.} Extremal weight enumerators, self-dual codes, zeta polynomials, real-rootedness. \section{Introduction} A linear code and its dual have weight enumerators related by the MacWilliams transform. Duursma attached a zeta polynomial to a weight enumerator. His Open Problem~4.2 \cite[p.~119]{problem} reads ``Prove or disprove that all extremal weight enumerators have the RH property.'' We answer this question for the four classical Gleason rings, including their virtual elements at lengths where no code realizes the extremal enumerator. Write $W(x,y)=x^n+\sum_{w=d}^n A_w x^{n-w}y^w$, with $A_d\ne0$. The type fixes the alphabet size $q$, the weight divisor $b$, and the graded ring of homogeneous polynomials invariant under the normalized MacWilliams transform and $y\mapsto e^{2\pi i/b}y$ \cite{gleason,mms,sloane,harada}. The table gives the positive admissible lengths (multiples of the length step) and the period $h$ of the classical extremal bound \cite{mallows,du03,chiimam}. We follow Duursma \cite[Sec.~1.1]{du03} in calling a weight enumerator extremal when it attains the corresponding Mallows--Sloane bound. Section~\ref{sec:coeff} gives the unique normalized element at each length, with \[ d=b\bigl(\lfloor n/h\rfloor+1\bigr). \] \begin{center} \begin{tabular}{lrrrr}\toprule Type & Field size $q$ & Weight divisor $b$ & Length step & Period $h$\\\midrule I & 2 & 2 & 2 & 8 \\ II & 2 & 4 & 8 & 24 \\ III & 3 & 3 & 4 & 12 \\ IV & 4 & 2 & 2 & 6 \\\bottomrule \end{tabular} \end{center} A virtual enumerator may have negative coefficients. A code is formally self-dual if it and its dual have the same weight enumerator. By the MacWilliams identity, a formally self-dual code with the weight divisibility in the table has its enumerator in the corresponding ring. It is covered whenever it attains the displayed bound. For Type I we use this ring bound throughout. Binary shadow bounds for self-dual codes give a different extremality convention \cite{rains}. Chinen's divisible formal weight enumerators include polynomials that change sign under the MacWilliams transform. His extremal examples with off-circle zeros belong to a different class \cite{chinen}. The zeta polynomial $P$, of degree at most $n-d$, is determined by Duursma's identity \begin{equation} [T^{n-d}]\frac{P(T)(xT+y(1-T))^n}{(1-T)(1-qT)} =\frac{W(x,y)-x^n}{q-1}.\label{def} \end{equation} Its degree is $2g=n+2-2d$, and $P(T)=q^gT^{2g}P(1/(qT))$ \cite{du01}. The Riemann hypothesis for $W$ asserts that all zeros of $P$ have modulus $q^{-1/2}$. \begin{theorem}\label{main} Every extremal virtual weight enumerator of Type I, II, III or IV satisfies Duursma's Riemann hypothesis. Thus every zero of its zeta polynomial has modulus $q^{-1/2}$, at every admissible positive length. \end{theorem} \begin{theorem}\label{finite} If the normalized extremal enumerator in one of the four classical rings has nonnegative coefficients, every zero of its zeta polynomial is simple. \end{theorem} \paragraph{Previous work.} Duursma's coefficient formula covers all three Type IV length classes \cite[Thm.~6]{du03}. His explicit ultraspherical zero calculation in Section~5.2 takes $\nu=0$, hence $n=6k$, and his conclusion states the Type IV assertion in general. His separate account gives the length condition as $n=3m+3$ with $m$ odd \cite[Thm.~2]{results}. Nocon proves the $6k-2$ case in the same invariant ring and reports computations through length 500 for $6k+2$ \cite[Thm.~7.3, Cor.~7.3.1 and Sec.~7.1]{nocon}. Okuda also proves the $6k-2$ reduction \cite[Thm.~5.1]{okuda}. Joyner and Shaska state the all-length conclusion \cite[Sec.~5.2, Prop.~3]{joyshaska}. Chinen and Imamura list $6k+2$ as open \cite[p.~67]{chiimam}. The coefficient identity itself yields the full Type IV assertion by classical Grace--Szeg\H{o} convolution, as we show in Sections~\ref{sec:circle} and~\ref{sec:nonbinary}. For Types I, II and III, Harada and Tagami report numerical tests through degrees 212, 304 and 220, respectively \cite[Sec.~3.2]{harada}. \paragraph{Method.} We recover Duursma's coefficient transform from the defining identity. In the binary cases a Cayley substitution converts its beta integral into a rational function whose numerator has only real zeros. The two residual Type II classes give a quadratic and a quartic in the Euler shifts. For the ternary family the circle-zero count leaves at most two zeros off the circle. Positivity at one point excludes the remaining possibility. These arguments and the explicit initial polynomials prove Theorem~\ref{main} at all lengths. Theorem~\ref{finite} follows from a squarefreeness calculation over one finite field. A separate count by certified signs checks the same finite list. \section{A zero count under multiplication by a linear factor}\label{sec:circle} For a polynomial $f(z)=\sum_{j=0}^N f_jz^j$ of degree $N$ and an integer $m\ge0$, put \[ \D_{m,N} f(z)=\sum_{j=0}^N(m+j)!\,(m+N-j)!\,f_jz^j . \] Up to an overall scalar, this divides the $j$th coefficient by $\binom{2m+N}{m+j}$. In particular, the operator commutes with scaling the variable. Write $\U=\{z:|z|=1\}$. A polynomial is self-inversive if $R(z)=\lambda z^N\overline{R(1/\bar z)}$ for some $|\lambda|=1$. \begin{lemma}\label{rolle} Suppose $f$ is self-inversive and has nonzero constant term. If $\D_{m,N}f$ has $r$ zeros on $\U$, counted with multiplicity, then $\D_{m,N+1}[(1+cz)f]$ has at least $r+1$ zeros on $\U$ for every $|c|=1$. \end{lemma} \begin{proof} Set $R=\D_{m,N}f$ and $E=z\,d/dz$. Direct comparison of coefficients gives \[ \D_{m,N+1}[(1+cz)f]=(m+N+1-E)R+cz(m+1+E)R. \] The factorial multiplier is symmetric in $j,N-j$, so $R$ is self-inversive as well. Set $z=e^{2ix}$, $c=e^{-2i\alpha}$ and $R(e^{2ix})=\kappa e^{iNx}h(x)$, where the constant phase $\kappa$ makes $h$ real. After removing its phase, the new polynomial equals \[ L\cos(x-\alpha)h(x)+\sin(x-\alpha)h'(x),\qquad L=2m+N+2. \] On $(\alpha,\alpha+\pi)$ this is the derivative of $\sin^L(x-\alpha)h(x)$ divided by $\sin^{L-1}(x-\alpha)$. The differentiated function vanishes at both endpoints. If $h$ has $s$ distinct interior zeros, Rolle's theorem gives one new zero in each of the $s+1$ intervening intervals. An interior zero of multiplicity $v$ also contributes $v-1$ zeros there. A zero of multiplicity $v$ at $\alpha$ keeps multiplicity $v$ in the displayed expression, since its leading term acquires the nonzero factor $L+v$. The two endpoints represent the same point of $\U$. This counts at least $r+1$ zeros. \end{proof} Starting with $f=1$ gives an immediate consequence. If all the linear factors of $f$ have their zeros on $\U$, then all zeros of $\D_{m,N}f$ lie on $\U$. More generally one can start with a self-inversive factor of degree two and then insert $N-2$ unit-circle factors. The output has at most two zeros off the circle. This last conclusion allows a ternary factor whose own zeros have unequal absolute values. The all-circle preservation statement also follows from Grace--Szeg\H{o} convolution \cite[Cor.~4]{lamprecht}. Indeed the binomial symbol of $\D_{m,N}$ is \[ \sum_{j=0}^N \binom Nj (m+j)!(m+N-j)!\,z^j =N!(m!)^2 z^{N/2} C_N^{m+1}\!\left(\frac{1+z}{2\sqrt z}\right). \] This identity follows by taking the coefficient of $t^N$ in $(1-t)^{-m-1}(1-zt)^{-m-1}$. The zeros of the Gegenbauer polynomial $C_N^{m+1}$ lie in $(-1,1)$, so the symbol has all its zeros on $\U$. The multiplicity count in Lemma~\ref{rolle} also applies when some input zeros lie off $\U$. \section{The coefficient transform from the defining identity}\label{sec:coeff} Write $M=q^{-1/2}\bigl(\begin{smallmatrix}1&q-1\\1&-1\end{smallmatrix}\bigr)$ and $J=\operatorname{diag}(1,\omega)$, with $\omega$ a primitive $b$th root of unity. The classical Gleason ring consists of invariants of $M,J$. We derive the coefficient transform in Duursma's Theorem~6 \cite{du03} directly from \eqref{def}. In the table, $L$ is a differential symbol in $X,Y$, $A$ is a form in $x,y$, $s=\deg L$, and $e$ is an index shift. The first basic invariant is denoted by $\phi$. \[ \begin{array}{c|l|l|cc|l} &L(X,Y)&A(x,y)&s&e&\phi(x,y)\\\hline \mathrm I&XY(X^2-Y^2)&xy(x^2-y^2)&4&1&x^2+y^2\\ \mathrm {II}&XY(X^4-Y^4)&xy(x^4-y^4)&6&1&x^8+14x^4y^4+y^8\\ \mathrm {III}&Y(8X^3-Y^3)&y(x^3-y^3)&4&0&x^4+8xy^3\\ \mathrm {IV}&Y(9X^2-Y^2)&y(x^2-y^2)&3&0&x^2+3y^2 \end{array} \] For completeness, the normalized extremal element exists at every admissible degree. Put $Y=y^b$ and specialize $x=1$. In type order the two generators are $G(Y)$ and $Y(1-Y)^\ell$, where \[ (G,\ell)=(1+Y,2),\quad (1+14Y+Y^2,4),\quad (1+8Y,3),\quad (1+3Y,2). \] Let $r=h/\deg\phi$, $e_0=n/\deg\phi=rk+\nu$, $0\le\nu0 . \] Indeed $G'$ has positive constant term and the last factor has positive coefficients. This proves uniqueness, the claimed value of $d$, and the nonvanishing used below. Suppose $m=d+e-s\ge0$. Write $n=hk+\nu\deg\phi$ with $h$ the degree of the second basic invariant and $0\le\nud$). The second coordinate of $MJ^j(x,y)$ is $(x-\omega^j y)/\sqrt q$. Covariance transfers the divisibility by $y^m$ to each $(x-\omega^j y)^m$. In the binary cases $x+y$ is among these factors and composition with $M$ also gives $x$. These are all the distinct factors of $A$, so $A^m\mid H$. Since $m\equiv-1\pmod b$, $H/A^m$ is invariant and its degree is $n-s-m\deg A=\nu\deg\phi0$. For each real $a$ with $00$, gives \begin{equation} \frac{R(z)}{(L+1)!} =\int_0^1[t(1-t)]^m(1-t)^N F(zt/(1-t))\,dt =z^{m+N+1}\int_0^\infty\frac{v^m F(v)}{(v+z)^{L+2}}\,dv . \label{intbinary} \end{equation} Put $L_+(v)=1+\eta v$, $L_-(v)=1+\bar\eta v$, and $u=L_+(v)/L_-(v)$. Direct expansion gives \[ L_+^4-L_-^4=4i\sqrt2\,vU(v),\qquad L_+L_-=V(v),\qquad L_+^8+14L_+^4L_-^4+L_-^8=16B(v). \] Thus $v^mF(v)$ is proportional to $L_-(v)^L H(u)$, where \[ H(u)=u^{b_0}(1-u^4)^m(1+14u^4+u^8)^\nu. \] The transformed endpoints are $1,i$. The transformed pole and its reciprocal coordinate are \[ w=\frac{1-\eta z}{1-\bar\eta z},\qquad x=\frac\eta w=\frac{\eta-z}{1-\eta z}. \] The map $z\mapsto x$ takes $|z|=1$ bijectively to $\mathbb{RP}^1$. For example its inverse is $z=(\eta-x)/(1-\eta x)$, whose modulus is one precisely for real $x$, including infinity. Substitution into \eqref{intbinary} gives the rational identity \begin{equation} R(z)\ \propto\ z^{m+N+1}(1-\eta z)^{-(L+2)}S(x),\qquad S(x)=\int_1^i\frac{H(u)}{(1-\bar\eta x u)^{L+2}}\,du .\label{edge} \end{equation} Indeed $du/dv=(\eta-\bar\eta)/L_-^2$ and $(v+z)/L_-=(1-\bar\eta z)(u-w)/(\eta-\bar\eta)$. Since $\deg H\le L$, the differential in \eqref{edge} has zero residue at its only possible finite pole. Its primitive in $u$ is rational for $x\ne0$. Thus the contour can be changed with the endpoints fixed while avoiding the pole, and the identity extends rationally from positive $z$. The zeros can also be tracked in the projective coordinate without dividing by $z$. Put $K=m+N+1$. Substitution of the inverse map into \eqref{edge} gives \begin{equation} D(x)^K S(x)\ \propto\ (1-\eta x)^N R\!\left(\frac{\eta-x}{1-\eta x}\right). \label{projective} \end{equation} Indeed $D(x)=(x-\eta)(x-\bar\eta)$ and $2K-(L+2)=N$. The right side is the degree-$N$ homogenization of $R$ evaluated at $(\eta-x,1-\eta x)$. At $x=\eta,\bar\eta$ its values are nonzero by the constant and leading coefficients of $R$. Every other finite nonreal $x$ is an ordinary point of \eqref{projective}. The point $x=\infty$ corresponds to $z=\bar\eta$ on the circle. Thus it is enough to show that the finite zeros of $S$ are real. \subsection{The multiplier for the two radial integrals} For $|x|<1$, integrate from $1$ to $0$ and then from $0$ to $i$. The coefficient of $x^j$ in $S$ is, up to a nonzero constant independent of $j$, \[ \sin((b_0+j+1)\pi/4)\binom{L+1+j}{j} \int_0^1 r^{b_0+j}(1-r^4)^m(1+14r^4+r^8)^\nu\,dr . \] Here the phase follows from $\bar\eta^j(i^{b_0+j+1}-1)$. Write $y=(j+b_0+1)/4$, $b_\ell=[v^\ell](1+14v+v^2)^\nu$, and $(y)_l=y(y+1)\cdots(y+l-1)$. Changing variables to $r^4$ gives the integral as $\tfrac{m!}{4}\sum_{\ell=0}^{2\nu} b_\ell/(y+\ell)_{m+1}$. Clearing its common denominator $(y)_{m+1+2\nu}$ leaves \[ M_\nu(y)=\sum_{\ell=0}^{2\nu} b_\ell (y)_\ell (y+m+1+\ell)_{2\nu-\ell}. \] All factors in the common denominator cancel distinct factors of the binomial numerator. Define \[ J=\{1,\ldots,L+1\}\setminus \{b_0+1+4r:0\le r\le m+2\nu\}. \] For Type I the last removed integer is $4m+1=L+1$. For Type II it is $5m+8\nu+1\le L+1$. Since $E$ acts on $x^j$ by $j$, the coefficient identity becomes an identity of rational functions \begin{equation} S(x)\ \propto\ M_\nu\big((E+b_0+1)/4\big) \prod_{h\in J}(E+h)\,s(x),\qquad s(x)=\begin{cases}1/D(x)&\text{in Type I},\\x/D(x)&\text{in Type II}.\end{cases} \label{multipliers} \end{equation} Indeed the Taylor coefficients of $1/D$ and $x/D$ are proportional to $\sin((j+1)\pi/4)$ and $\sin(j\pi/4)$, respectively. In Type II, $b_0+1=4k$, so the latter sine has the required phase up to sign. Write $s(x)=\sum_{h\ge1} c_h x^{-h}$ at infinity. Substitution of $1/x$ into the Taylor series gives the exact coefficients \[ c_h=\frac{1}{\sin(\pi/4)} \begin{cases} \sin((h-1)\pi/4)&\text{in Type I},\\ \sin(h\pi/4)&\text{in Type II}. \end{cases} \] Apply the integer factors in increasing order. Just before the factor $E+h$, the coefficient of $x^{-j}$ is \[ c_j\prod_{\substack{t\in J\\tL+1$ with $c_j\ne0$ because none of the factors $t-j$ can then vanish. In Type I, $L=4m$, giving $d_*=L+2$. In Type II, $L=6m+8\nu\equiv2\pmod4$, giving $d_*=L+3$. The integer factors alone finish Type I and Type II with $\nu=0$ since $M_0=1$. \subsection{The two remaining Type II residues} It remains to locate every shift $a$ in the factorization into operators $E+a$. By \eqref{multipliers} these shifts are the zeros of $G_\nu(a)=M_\nu((m+1-a)/4)$. For $\nu=1$, expansion of the rising-factorial formula gives \[ G_1(a)=(a-3m-5)^2-(3m^2+13m+14). \] The subtracted quantity is positive and smaller than $4(m+2)^2$, with difference $(m+1)(m+2)$. Both shifts therefore satisfy $|a-3m-5|<2(m+2)$. For $\nu=2$, put $t=(a-3m-9)^2$. The same expansion gives \begin{align*} G_2(a)&=Q(t)=t^2-2At+C,\\ A&=3m^2+21m+38,\qquad C=3(m+2)(m+3)(m+4)(3m+11). \end{align*} Set $B_*=4(m+4)^2$. We have $A>0$ and $B_*-A=m^2+11m+26>0$. The following three values locate both zeros of $Q$. \begin{align*} Q(0)&=C>0,\\ Q(A)&=-2(6m^3+69m^2+261m+326)<0,\\ Q(B_*)&=(m+1)(m+2)(m+3)(m+4)>0 . \end{align*} There is one zero in $(0,A)$ and one in $(A,B_*)$. Each gives two distinct real shifts satisfying $|a-3m-9|<2(m+4)$. In both cases every shift therefore satisfies \[ m+10$ will finish the proof. By the beta integral, $R(-1)/(2m+N+1)!$ is the integral over $0\le t\le1$ of \[ [u(1-Au)]^m(1-2u)(1-Bu),\qquad u=t(1-t),\quad A=2+\sqrt3,\quad B=2+4/\sqrt3. \] This follows by expanding $(1-t)^N F(-t/(1-t))$ and integrating against $u^m$. The base $u(1-Au)$ is nonnegative throughout. On $[1/8,1/4]$ and its reflection about $1/2$, one has $7/64\le u\le3/16$. Since $A<15/4$, concavity gives $u(1-Au)>1/20$ by checking the two endpoints. As $B<13/3$, the remaining factor is at least $(5/8)(3/16)=15/128$. These intervals have total length $1/4$. The negative part lies in $u>1/B>3/13$, hence in $1/40. \] For the remaining class use Okuda's reduction \cite[Sec.~6]{okuda}. Take $n=12k$, $d=3k+3$ and let \[ W^*=\frac{(n-4)!}{n!}(\partial_x^4+\partial_x\partial_y^3)W. \] The symbol $X^4+XY^3$ is fixed under $M^{\mathsf T}$ and $J^{\mathsf T}$ from Section~\ref{sec:coeff}, as direct substitution with $q=b=3$ shows. Thus $W^*$ lies in the Type III ring. Its leading term is $x^{n-4}$ since $d\ge6$. Its minimum weight is $d-3$, with nonzero coefficient proportional to $(n-d)d(d-1)(d-2)A_d$. This attains the extremal bound for $n-4$, so $W^*$ is the unique normalized extremal element there. Applying the same differential operator, with the same normalization, to \eqref{def} multiplies its integrand by \[ T^4+T(1-T)^3=T(1-3T+3T^2) \] and lowers the power of $xT+y(1-T)$ from $n$ to $n-4$. Since $(n-4)-(d-3)=n-d-1$, coefficient extraction absorbs the first $T$. Uniqueness in \eqref{def} now gives \[ P_{12k-4}(T)=(1-3T+3T^2)P_{12k}(T). \] The quadratic has conjugate roots of modulus $1/\sqrt3$. This covers the whole class, including length eight. At length four, $P$ is constant. \paragraph{Type IV.} Write $n=6k+2\nu$, $m=2k-1$, $0\le\nu\le2$. The corresponding identity for $k\ge1$ is \[ (1+z)P(z/2)\ \propto\ \D_{m,m+2\nu}\big[(1+z)^m(1+z+z^2)^\nu\big]. \] Both $1+z$ and $1+z+z^2$ have all roots on the unit circle. Thus the Grace--Szeg\H{o} consequence in Section~\ref{sec:circle}, or Lemma~\ref{rolle} directly, proves the assertion for $\nu=0,1,2$. This gives the all-length deduction from Duursma's coefficient identity. At lengths two and four the zeta polynomials are proportional to $1$ and $1-2T+4T^2$, respectively. This proves Theorem~\ref{main}. \section{Simplicity for nonnegative extremal enumerators}\label{sec:simple} Zhang \cite{zhang} proved negativity of a weight coefficient at and beyond each of the following cutoffs. The 777 pairs below them include every candidate for nonnegativity. Some already have negative coefficients. For example, in Type III at length 72 one has $A_{72}=-115728$. For $n=hi+s\nu$ with period $h$ and length step $s$ as in the introduction, the table gives the first excluded $i$ in order of increasing $\nu$. Each remaining positive length determines a unique extremal polynomial in its ring. \begin{center} \begin{tabular}{lrrrr}\toprule Type & First excluded indices & Pairs checked & Largest $n$ & Zeros counted\\\midrule I & $4,5,6,7$ & 21 & 54 & 242\\ II & $154,159,164$ & 476 & 3928 & 604368\\ III & $70,75,78$ & 222 & 932 & 49194\\ IV & $17,20,22$ & 58 & 130 & 1126\\\midrule All & & 777 & & 654930\\\bottomrule \end{tabular} \end{center} The programs build $W(1,y)$ over the integers or a prime field by triangular elimination in the Gleason basis of Section~\ref{sec:coeff}. The $j$th basis element begins with $Y^j$ of coefficient one, so successive subtraction eliminates all weights below $d$. For an independent computation of $P$ directly from \eqref{def}, write $P(T)/(1-qT)=\sum_i u_iT^i$. Then \begin{equation} u_i=\frac{[v^{n-d-i}]W_y(1+v,1)} {(q-1)n\binom{n-1}{d+i-1}},\qquad 0\le i\le 2g.\label{direct} \end{equation} To see this, differentiate \eqref{def} in $y$, cancel the factor $1-T$, and substitute $x=1+v,\ y=1$. Comparing the coefficient of $v^{n-d-i}$ gives \eqref{direct}. For the squarefreeness certificate, multiply $P$ by $(q-1)n!$. The multiplier clears the denominator in \eqref{direct} by replacing binomial division with multiplication by $(d+i-1)!(n-d-i)!$. The resulting polynomial has integral coefficients. The program \texttt{verify\_simple.py} carries out these operations modulo the prime $p=2^{31}-1>3928$. At each of the 777 pairs it finds degree $2g$ and greatest common divisor one with the derivative. A repeated characteristic-zero factor would force a zero resultant modulo $p$ at positive degree. Constants are checked directly. This proves Theorem~\ref{finite}. For an independent check, \texttt{verify.py} computes $P$ over the rationals, scales it to $P(0)=1$, and verifies reciprocity coefficient by coefficient. For $\theta\in[0,\pi]$, the function $e^{-ig\theta}P(e^{i\theta}/\sqrt q)$ is real. A discrete Fourier transform with Arb interval arithmetic \cite{arb} evaluates its Laurent expansion at dyadic angular mesh points. Only strict signs from intervals excluding zero count. In each case there are $g$ changes of sign, giving $g$ distinct open upper-semicircle zeros and their $g$ conjugates. They exhaust the degree and are simple. For $g=0$ the program checks that $P$ is constant. A related sign count on the critical circle for higher-rank curve zeta functions appears in \cite{weng}. The companion program \texttt{verify\_binary.py} checks the two residual multipliers and the quartic discriminant identically in $m$. It also compares the full rational transform in \eqref{edge}--\eqref{multipliers} with a direct Gleason computation of $P$ in Type I at $8k$ and Type II at $24k,24k+8,24k+16$, for $1\le k\le6$. These 24 polynomial comparisons are exact over $\mathbb Q(i)$ in the coordinate $x/\eta$. A separate check in \texttt{audit\_binary.py} constructs $P$ by matching the coefficient of $x^{n-d-i}y^{d+i}$ directly in \eqref{def}. It then writes $P(T)=T^g H(2T+1/T)$ using reciprocity. A rational Sturm count places all $g$ zeros of $H$ in $(-r,r)$ with $r=2828427/10^6<2\sqrt2$. Each gives two distinct critical-circle zeros of $P$ by solving $2T^2-xT+1=0$. This certifies 614 zeros at all 35 even Type I lengths through 70 and 1788 zeros at all 26 Type II lengths through 208, independently of the integral and the Euler operators. \paragraph{Reproducibility and provenance.} The source archive includes the four Python programs above. They use \texttt{python-flint} version 0.9.0. The manuscript, code, and revision history are available in the \href{https://github.com/long-mathematics/duursma-extremal-enumerators}{public research repository}. Under Christopher D. Long's direction, OpenAI ChatGPT and Codex developed the arguments, wrote the manuscript and programs, and audited the proofs. Anthropic Claude supplied additional mathematical and bibliographic review. At submission, no part of the contribution has been checked and understood by a human. \begin{thebibliography}{99}\small \bibitem{chinen} K. Chinen, \href{https://doi.org/10.1016/j.disc.2019.111601}{Divisible formal weight enumerators and extremal polynomials not satisfying the Riemann hypothesis}, Discrete Math. 342 (2019), article 111601. \bibitem{chiimam} K. Chinen and Y. Imamura, \href{https://doi.org/10.55937/sut/1622825731}{On the Riemann hypothesis for self-dual weight enumerators of genera three and four}, SUT J. Math. 57 (2021), 55--75. \bibitem{problem} I. Duursma, \href{https://doi.org/10.1090/dimacs/056/09}{A Riemann hypothesis analogue for self-dual codes}, in \emph{Codes and Association Schemes}, A. Barg and S. Litsyn (eds.), DIMACS Ser. Discrete Math. Theoret. Comput. Sci. 56, Amer. Math. Soc., 2001, 115--124. \bibitem{du01} I. Duursma, \href{https://doi.org/10.1016/S0166-218X(00)00344-9}{From weight enumerators to zeta functions}, Discrete Appl. Math. 111 (2001), 55--73. \bibitem{du03} I. Duursma, \href{https://doi.org/10.1016/S0012-365X(02)00683-0}{Extremal weight enumerators and ultraspherical polynomials}, Discrete Math. 268 (2003), 103--127. \bibitem{results} I. M. Duursma, \href{https://arxiv.org/abs/math/0302172}{Results on zeta functions for codes}, arXiv:math/0302172 (2003), Thm.~2. \bibitem{gleason} A. M. Gleason, \href{https://www.mathunion.org/fileadmin/ICM/Proceedings/ICM1970.3/ICM1970.3.ocr.pdf}{Weight polynomials of self-dual codes and the MacWilliams identities}, in \emph{Actes du Congr\'es International des Math\'ematiciens} (Nice, 1970), tome 3, Gauthier-Villars, Paris, 1971, 211--215. \bibitem{harada} T. Harada and M. Tagami, \href{https://doi.org/10.1016/j.disc.2006.11.016}{A Riemann hypothesis analogue for invariant rings}, Discrete Math. 307 (2007), 2552--2568. \bibitem{arb} F. Johansson, \href{https://doi.org/10.1109/TC.2017.2690633}{Arb: Efficient arbitrary-precision midpoint-radius interval arithmetic}, IEEE Trans. Comput. 66 (2017), 1281--1292. \bibitem{joyshaska} D. Joyner and T. Shaska, \href{https://doi.org/10.1090/conm/703/14138}{Self-inversive polynomials, curves, and codes}, in \emph{Higher Genus Curves in Mathematical Physics and Arithmetic Geometry}, Contemp. Math. 703, Amer. Math. Soc., 2018, 189--208. \bibitem{lamprecht} M. Lamprecht, \href{https://doi.org/10.1007/s40315-015-0151-x}{Suffridge's convolution theorem for polynomials with zeros in the unit disk}, Comput. Methods Funct. Theory 16 (2016), 433--455. See also \href{https://arxiv.org/abs/1405.3682}{arXiv:1405.3682}, Cor.~4. \bibitem{weng} C. D. Long, \href{https://hexagonmath.org/2612.00486v1}{The Riemann hypothesis for pure higher-rank zeta functions of curves of genus at least three}, Hexagon preprint 2612.00486v1 (2026). \bibitem{mms} F. J. MacWilliams, C. L. Mallows and N. J. A. Sloane, \href{https://doi.org/10.1109/TIT.1972.1054898}{Generalizations of Gleason's theorem on weight enumerators of self-dual codes}, IEEE Trans. Inform. Theory 18 (1972), 794--805. \bibitem{mallows} C. L. Mallows and N. J. A. Sloane, \href{https://doi.org/10.1016/S0019-9958(73)90273-8}{An upper bound for self-dual codes}, Information and Control 22 (1973), 188--200. \bibitem{nocon} E. G. Nocon, \href{https://doi.org/10.2206/kyushujm.63.209}{Zeta polynomials of Type IV codes over rings of order four}, Kyushu J. Math. 63 (2009), 209--237. \bibitem{okuda} T. Okuda, \href{https://www.kurims.kyoto-u.ac.jp/~kenkyubu/bessatsu/open/B20/pdf/B20_005.pdf}{Relation between zeta polynomials and differential operators on some invariant rings}, RIMS K\^oky\^uroku Bessatsu B20 (2010), 57--69. \bibitem{rains} E. M. Rains, \href{https://doi.org/10.1109/18.651000}{Shadow bounds for self-dual codes}, IEEE Trans. Inform. Theory 44 (1998), 134--139. \bibitem{sloane} N. J. A. Sloane, \href{https://arxiv.org/abs/math/0612535}{Gleason's theorem on self-dual codes and its generalizations}, arXiv:math/0612535 (2006), Thm.~3. \bibitem{zhang} S. Zhang, \href{https://doi.org/10.1016/S0166-218X(98)00131-0}{On the nonexistence of extremal self-dual codes}, Discrete Appl. Math. 91 (1999), 277--286. \end{thebibliography} \end{document}