% =========================================================================== \section{Local analysis at a root of unity}\label{sec:local} % =========================================================================== Fix a primitive $d$-th root of unity $\zeta$, $d\ge2$, and let $e=e(\zeta)$. Put $\varpi=\tau-\zeta$, $\cK=\QQ(\zeta)((\varpi))$, $\cO=\QQ(\zeta)[[\varpi]]$ and $v=\ord_\varpi$. Let \[ z=d\log(\tau/\zeta)=d\log(1+\varpi/\zeta)\in\varpi\cO,\qquad v(z)=1, \] so that $\tau=\zeta e^{z/d}$. For $a\in\ZZ$ the node $r_a=\tau^{-2a}$ equals $\omega_ae^{z\kappa_a}$ with $\omega_a=\zeta^{-2a}$ and $\kappa_a=-2a/d$. Two nodes have the same $\omega$ iff $a\equiv a'\pmod e$; the possible values of $\omega_a$ form the set $\Omega$ of $e$-th roots of unity, the \emph{cluster points}. \subsection{Weighted order} Let $\xi$ be a new indeterminate. For $\omega\in\Omega$ let $\cK[s]_{\mathrm{loc}}$ be the ring obtained from $\cK[s]$ by inverting the elements $s-r_a$, $a\ne0$. The substitution $s\mapsto\omega e^{z\xi}$ is a ring homomorphism $\cK[s]_{\mathrm{loc}}\to\cK[[\xi]]$: if $\omega_a\ne\omega$, then $\omega e^{z\xi}-r_a$ has the unit constant term $\omega-\omega_a+O(\varpi)$; if $\omega_a=\omega$, then \begin{equation}\label{eq:node} \omega e^{z\xi}-r_a=\omega e^{z\kappa_a}\,z(\xi-\kappa_a)\,u_a,\qquad u_a=\sum_{i\ge0}\frac{(z(\xi-\kappa_a))^i}{(i+1)!}, \end{equation} where $u_a$ is a unit of $\cO[[\xi]]$, and $\xi-\kappa_a$ is invertible in $\QQ[[\xi]]$ because $\kappa_a\ne0$. For $g\in\cK[s]_{\mathrm{loc}}$ let $\wt_\omega(g)$ be the largest $n\in\ZZ\cup\{\infty\}$ with $g(\omega e^{z\xi})\in\varpi^n\cO[[\xi]]$ (if there is one). \begin{lemma}\label{lem:wt} \textup{(W1)} $\wt_\omega(gh)\ge\wt_\omega(g)+\wt_\omega(h)$ and $\wt_\omega(\theta g)\ge\wt_\omega(g)-1$. \textup{(W2)} $\wt_\omega(s-r_a)\ge1$ and $\wt_\omega((s-r_a)^{-1})\ge-1$ if $\omega_a=\omega$; both are $\ge0$ if $\omega_a\ne\omega$. \textup{(W3)} For a constant $c\in\cK$, $\wt_\omega(c)=v(c)$. \end{lemma} \begin{proof} (W1): the substitution is multiplicative, and $\frac{d}{d\xi}g(\omega e^{z\xi})=z\,(\theta g)(\omega e^{z\xi})$, while $\frac d{d\xi}$ preserves $\varpi^n\cO[[\xi]]$. (W2) is \eqref{eq:node}, and (W3) is clear. \end{proof} \subsection{The functional} For a polynomial $q=\sum_kq_ks^k\in\cK[s]$ put $L(q)=\sum_kq_k\nu_k$, with $\nu_k$ expanded in $\cK$. \begin{lemma}\label{lem:V} Let $q\in\cK[s]$ and $n\le\min_{\omega\in\Omega}\wt_\omega(q)$. \begin{itemize} \item[(a)] If $d$ is even, then $v(L(q))\ge n-2$. \item[(b)] If $d$ is odd, then $L(q)=L_{\mathrm{loc}}(q)+z^{-1}J(q)$ with $v(L_{\mathrm{loc}}(q))\ge n-2$ and \[ J(q)=-d\sum_{k:\ d\mid 2k+1}\frac{k(k+1)}{2k+1}\,q_k . \] \item[(c)] If $q\in\cO[s]$, then $v(L(q))\ge0$ for $d$ even; for $d$ odd, $v(L_{\mathrm{loc}}(q))\ge0$, $v(J(q))\ge0$, and $J(q)=0$ if $\deg q<(d-1)/2$. \end{itemize} \end{lemma} \begin{proof} Let $\mathfrak h=\theta(\theta+1)q=\sum_kk(k+1)q_ks^k$ and $f(y)=y\,\mathfrak h(y^2)=\sum_kk(k+1)q_ky^{2k+1}$. With $\ell(u)=u/(1-u)$ we have $L(q)=\sum_kk(k+1)q_k\ell(\tau^{2k+1})=\sum_{n'}f_{n'}\ell(\tau^{n'})$, the sum over odd $n'$. Group the exponents by $N\equiv n'\pmod d$ and put \[ R_N(x)=\sum_{n'\equiv N}f_{n'}e^{n'x}=\frac1d\sum_{\sigma\bmod d}\zeta^{-\sigma N}f(\zeta^\sigma e^x). \] Since $\tau^{n'}=\zeta^Ne^{n'z/d}$: If $\zeta^N\ne1$, then $\ell(\zeta^Ne^y)=\sum_{i\ge0}A_{N,i}y^i/i!$ with $A_{N,i}\in\QQ(\zeta)$, and \[ \sum_{n'\equiv N}f_{n'}\ell(\tau^{n'})=\sum_{i\ge0}\frac{A_{N,i}}{i!\,d^i}\,z^i\,R_N^{(i)}(0), \] a convergent series in $\cK$. If $\zeta^N=1$, i.e.\ $d\mid n'$, which forces $d$ odd, then $\ell(e^y)=-y^{-1}-\tfrac12-\sum_{i\ge1}B_{2i}y^{2i-1}/(2i)!$, and the term $-y^{-1}$ contributes $-\frac dz\sum_{d\mid n'}f_{n'}/n'=z^{-1}J(q)$; the remaining terms are of the same form as above. It remains to bound $v(z^iR_N^{(i)}(0))$. We have $f(\zeta^\sigma e^x)=\zeta^\sigma e^x\,\mathfrak h(\zeta^{2\sigma}e^{2x})$, and $\zeta^{2\sigma}\in\Omega$. Substituting $x=z\xi/2$ and using (W1) twice, $\mathfrak h(\zeta^{2\sigma}e^{z\xi})\in\varpi^{n-2}\cO[[\xi]]$; also $e^{z\xi/2}\in\cO[[\xi]]$. So $R_N(z\xi/2)=\sum_iR_N^{(i)}(0)z^i\xi^i/(2^ii!)\in\varpi^{n-2}\cO[[\xi]]$, i.e.\ $v(z^iR_N^{(i)}(0))\ge n-2$ for all $i$. This proves (a) and (b). (c) If $d\nmid2k+1$, then $1-\tau^{2k+1}$ is a unit of $\cO$ and $\nu_k\in\cO$. If $d\mid2k+1$, then $\nu_k=k(k+1)\ell(e^{(2k+1)z/d})=-\frac{d\,k(k+1)}{(2k+1)z}+(\text{element of }\cO)$. So $L(q)-z^{-1}J(q)\in\cO$ and $J(q)\in\cO$ for $q\in\cO[s]$. The least $k$ with $d\mid2k+1$ is $(d-1)/2$. \end{proof} \subsection{Entries} Let $F(s)=\prod_{a=1}^K(s-r_a)$ as in Section~\ref{sec:badic}; then $D_K=(-1)^K\tau^{K(K+1)}F$, and $\tau$ is a unit of $\cO$. We call $\varphi_0,\dots,\varphi_{K-1}$ an \emph{admissible basis} if $\varphi_i=\prod_{a\in Z_i}(s-r_a)$ for subsets $Z_i\subseteq\{1,\dots,K\}$, $\deg \varphi_i