\section{The integral vacuum and standard data}\label{sec:vacuum} The theta functions whose derivatives enter the argument are those of vectors of the adelic Weil representation of hermitian spaces over $E$. This section fixes the scale at which their Taylor series are taken, constructs an integral multiple $\theta^\circ$ of the vacuum, defines the \emph{standard data} (integral combinations of translates of $\theta^\circ$), and proves that their derivatives are integral (\cref{thm:jet-integrality}) and have the divisibility of \cref{thm:count} at the non-split primes (\cref{thm:standard-divisibility}). We fix the parameters and $s$, and write $E=E(s)$. \subsection{The Weil representation}\label{ss:weil-rep} We recall the objects of the adelic Weil representation in the form in which they are used; the construction is reviewed in \cref{ss:B-weil}. Let $\Ad=\C^\Phi\times\Ad_{\mathrm f}$, one copy of $\C$ for each infinite place, so that $\Ad$ is the adele ring of $E$. A \emph{hermitian space with a point} $V$ of rank $n$ over $E$ consists of a hermitian matrix $J\in\GL_n(E)$ and $x\in\GL_n(\Ad)$ such that $x^*Jx$ is the diagonal matrix of signs $\ve\in\{\pm1\}^n$ at the infinite places and the identity at the finite places. It is \emph{standard} if all signs are $+1$ and $J=x=1$. \begin{enumerate}[label=\textup{(W\arabic*)}] \item The Weil data of \cref{prop:weil-data-E} define a Heisenberg bicharacter on $\Ad^n$ and a \emph{vacuum function}: a Gaussian at the infinite places times a function of modulus one on the lattice $\alpha\widehat\OO_E^{\,n}$ (zero off it). The space $\mathcal S(V)$ of \emph{data} is the corresponding reproducing model, a Banach space on which $\Ad^n$ acts by Heisenberg operators $\varrho(x)$ and the adelic unitary group of $V$ acts by the Weil representation $\omega$; it carries an inner product $\langle\cdot,\cdot\rangle$, and the vacuum $\mathrm{vac}\in\mathcal S(V)$ is a unit vector. \item A \emph{theta functional} is a bounded linear form on $\mathcal S(V)$ invariant under the Heisenberg operators of rational vectors and normalised so that $\abs{\theta(\varrho(x)\mathrm{vac})}^2$ has mean $1$ over $\Ad^n$ modulo rational vectors. It exists and is unique up to a factor of modulus one; we fix one, $\theta_V$, compatibly with orthogonal sums. For $f\in\mathcal S(V)$ and $x\in\Ad^n$ we write $f(x)=\theta_V(\varrho(x)f)$, the \emph{theta function} of $f$. The inner product $\langle f,f\rangle$ is the mean of $\abs{f(x)}^2$. \item For a finite adelic vector $x$ let $\mathrm{fin}(x)$ be the adelic vector with finite part $\alpha x$ and archimedean part $0$, and for $\gamma\in E^n$ let $\gamma^{\mathrm f}=\alpha^{-1}\gamma$; thus $\mathrm{fin}(\gamma^{\mathrm f})$ is the finite part of the rational vector $\gamma$. The \emph{finite Heisenberg operator} of $x$ is $\varrho(\mathrm{fin}(x))$ times a root of unity, the value of a semicharacter of the lattice. The \emph{finite part} $\mathcal S(V)^{\mathrm f}$ is the span of the images of the vacuum under the finite Heisenberg operators. The lattice $\mathfrak a_0^n$ consists of the $\gamma\in E^n$ with $\gamma^{\mathrm f}$ integral. \item For standard $V$ and $f\in\mathcal S(V)$, the function $\vartheta_f(w)=f(w)\exp(\abs w^2/2)$ of $w\in\C^{\Phi\times n}$ (the archimedean coordinates of $\Ad^n$ in Fock's normalisation) is entire if $f\in\mathcal S(V)^{\mathrm f}$. A function $F$ on $\C^{\Phi\times n}$ is a \emph{theta function for a lattice $Y\subseteq E^n$} if it is entire and fixed by the signed translations along the real images of the elements of $Y$. Translation of $f$ by the finite image of $\gamma\in E^n$ acts on $\vartheta_f$ as the twisted translation by minus the real image of $\gamma$, whose $(\tau,i)$-coordinate is $\sqrt{2\pi/\sqrt d}\;\Phi_\tau(\gamma_i)$. \item The \emph{jet series} of $f$ at the scale $a\in\C$ is the series $J_a(f)$ in variables $z_{\tau,i}$ whose coefficient of $z^k$ is $a^{\abs k}/k!$ times $\theta_V(v_{z^k}\otimes f)$, where $v_{z^k}$ is the Fock vector of the monomial $z^k$ and $\otimes$ integrates the real Heisenberg action. For a homogeneous polynomial $Q$ of degree $l$, $Q(\partial)J_a(f)(0)=a^l\, \theta_V(v_Q\otimes f)$; and $J_{ab}(f)(z)=J_b(f)(az)$. \item \emph{(Fourier inversion.)} Let $\delta\in\widehat\OO_E$ with $\delta\bar\delta=N\ne0$. If $V$ is standard, every theta function for $\bar\delta\mathfrak a_0^n$ is $\vartheta_F$ for some $F\in\mathcal S(V)^{\mathrm f}$; and if $\theta_V(F)=1$, a nonzero multiple of the vacuum is a sum of $N^{f\cdot n}$ finite Heisenberg translates of one translate $\varrho(\mathrm{fin}(b))F$. If the values of $\varphi\in\mathcal S(V)$ at the points $\mathrm{fin}(x)$ are integral at $p$, so are those of such a multiple of the vacuum. \end{enumerate} \lean{New.WeilData, New.SplittingChar, New.chiFin, New.Space, New.𝒮, New.Space.ϱ, New.Space.ω, New.Space.vacElem, New.Space.dataInner, New.Space.IsThetaFunctional, New.Space.exists_isThetaFunctional, New.Space.θ, New.Space.theta_boxProd, New.finVec, New.finiteImage, New.Space.finHeisenbergOp, New.Space.finitePart, New.idealLattice, New.stdLattice, New.Space.IsStd, New.stdSpace, New.Space.entireTheta, New.IsThetaFunction, New.signedShift, New.realImage, New.entireTheta_translate_finiteImage, New.Space.jetSeries, New.Space.integrated, New.Fock.polyVector, New.Space.exists_entireTheta_eq_of_isThetaFunction, New.Space.fourier_inversion, New.Space.norm_mul_vacElem_le_one_of_eq_sum, New.Space.omega_rho} \subsection{The scale}\label{ss:vacuum-scale} Fix a nonzero $\Omega_0\in\C$ and a CM lattice $\mathcal E_0$ for $d$ whose lattice is $\Omega_0\OO_K$, the \emph{CM curve}. By the formula of Chowla and Selberg (\cref{thm:B-chowla-selberg}) there is $u\in\C^\times$, a unit at every $p$-adic place of $\C$, such that for every automorphism $\sigma$ of $\C$ over $K$ the conjugate lattice $\mathcal E_0^\sigma$ has area \[ \mathrm{area}(\mathcal E_0^\sigma)\,\abs{\sigma(u)}^2=\pi\,e^{c_K}\,\frac{2\pi}{\sqrt d},\qquad c_K=\gamma-\re\frac{L'}L(1,\chiK). \] Put \[ a_{\mathrm{ar}}=\sqrt{2\pi/\sqrt d},\qquad \varrho_0=\frac{s_0}u,\qquad \mathsf a=\frac{\varrho_0\,a_{\mathrm{ar}}}{\Omega_0}, \] the \emph{area scale}, the \emph{period factor} and the \emph{jet scale}; $s_0$ is the vacuum root of \cref{def:vacuum-root}. \lean{New.Parameters.cmCurve, New.Parameters.cmPeriod, New.Parameters.latticeModule_cmCurve, New.Parameters.chowlaSelbergUnit, New.Parameters.norm_iota_chowlaSelbergUnit, New.Parameters.area_mul_norm_chowlaSelbergUnit_sq, New.Parameters.areaScale, New.Parameters.periodFactor, New.Parameters.jetScale, New.CMLattice.chowla_selberg, New.chowlaSelbergConst} \begin{proposition}\label{prop:jet-scale} \begin{enumerate}[label=\textup{(\alph*)}] \item $\abs{\mathsf a}^2=\Omega^{-1}$, with $\Omega$ as in \eqref{eq:Omega}. More generally, if $\mathrm{area}(\mathcal E_0^\sigma)=\abs{\Omega_\sigma}^2\sqrt d/2$, then $\abs{\sigma(\varrho_0)a_{\mathrm{ar}}/\Omega_\sigma}^2=\Omega^{-1}$. \item At a $p$-adic place $\iota_p$ and $\tau\in\Phi$, $\abs{\varrho_0}=\abs{s_0}$ equals the inverse of the absolute value of $\alpha$ at the place of the embedding $y\mapsto\iota_p(\Phi_\tau(\bar y))$. In particular $\abs{\varrho_0}=1$ if $p\nmid q_1$. \item For $y\in\mathfrak a_0$, $\abs{\varrho_0\overline{\Phi_\tau(y)}}\le1$ at every $p$-adic place. More generally, if $y\in E^n$ has $y^{\mathrm f}$ integral at the places above $p$, then the coefficients of the linear form $\varrho_0\,y^\dagger$ are integral at $\iota_p$. \end{enumerate} \end{proposition} \lean{New.Parameters.norm_jetScale_sq, New.Parameters.norm_gal_periodFactor_div_mul_areaScale_sq, New.Parameters.norm_iota_vacuumRoot, New.Parameters.span_vacuumRoot_eq, New.Parameters.norm_iota_periodFactor, New.Parameters.norm_iota_periodFactor_eq_one, New.Parameters.norm_periodFactor_mul_conj_le_one, New.Parameters.norm_periodFactor_mul_daggerForms_le_one, New.Parameters.adeleExtension_alpha, New.Parameters.exists_norm_adeleExtension_alpha_mul_eq_one, New.norm_adeleExtension_le_one_iff, New.CMLattice.area_eq_of_a₁_eq, New.Parameters.bigOmega_pos, New.Parameters.jetScale_ne_zero} \begin{proof} (a) The area of $\Omega_\sigma\OO_K$ is $\abs{\Omega_\sigma}^2\sqrt d/2$, since $\OO_K$ has covolume $\sqrt d/2$. By \cref{prop:vacuum-root} and the Chowla--Selberg formula, \[ \Bigl|\frac{\sigma(\varrho_0)a_{\mathrm{ar}}}{\Omega_\sigma}\Bigr|^2 =\frac{\mathrm{rd}_E}{\sqrt d}\cdot\frac{2\pi}{\sqrt d}\cdot\frac{\sqrt d/2}{\pi e^{c_K}2\pi/\sqrt d} =\frac{\mathrm{rd}_E}{2\pi e^{c_K}}=\Omega^{-1}. \] For $\sigma=1$ use $\Omega_1=\Omega_0$. (b) Let $\varphi_\tau(y)=\iota_p(\Phi_\tau(\bar y))$. All conjugates of $P'(\zeta)$ over $K$ have the same absolute value under $\iota_p$ (\cref{lem:alpha}(a)), so $\abs{\varphi_\tau(\alpha)}$ does not depend on $\tau$. The number $\chi_{\mathrm f}(\alpha)$ is algebraic, and by the description of the algebraic values of the splitting character (\cref{thm:B-splitting-character}(c)) its absolute value at $\iota_p$ is $\prod_\tau\abs{\varphi_\tau(\alpha)}$. Hence $\abs{s_0}^f=\abs{\chi_{\mathrm f}(\alpha)}^{-1}= \prod_\tau\abs{\varphi_\tau(\alpha)}^{-1}=\abs{\varphi_\tau(\alpha)}^{-f}$. As $u$ is a unit, $\abs{\varrho_0}=\abs{s_0}$. If $p\nmid q_1$, then $\alpha$ is a unit above $p$. (c) $\abs{\varphi_\tau(y)}=\abs{\varphi_\tau(\alpha^{-1}y)}\,\abs{\varphi_\tau(\alpha)}$, and $\abs{\varphi_\tau(\alpha^{-1}y)}\le1$ when $\alpha^{-1}y$ is integral at the place of $\varphi_\tau$. \end{proof} \begin{lemma}\label{lem:jet-homogeneous} For standard $V$, $f\in\mathcal S(V)^{\mathrm f}$ and $a\in\C$: the Taylor series at $0$ of $t\mapsto\vartheta_f(a\,t\,v)$ is $J_a(f)$ restricted to the line spanned by $v$; $J_a(f)=0$ with $a\ne0$ implies $f=0$; and if $\vartheta_f(cz)=\prod_iG_i(\mu_i\cdot z)$ for entire $G_i$ and linear forms $\mu_i$, then $\theta_V(f)=\prod_iG_i(0)$ and $J_c(f)=\prod_iT_0(G_i)(\mu_iz)$, where $T_0$ is the Taylor series at $0$. \end{lemma} \lean{New.Space.iteratedDeriv_integral_exp_mul_realVac, New.Space.taylor_line_eq_subst_jetSeries, New.Space.eq_zero_of_jetSeries_eq_zero, New.taylorAtZero_prod_comp_mul, New.mvPowerSeries_eq_of_forall_line, New.Space.entireTheta_zero, New.Space.theta_eq_prod_of_entireTheta_smul, New.Space.jetSeries_eq_prod_of_entireTheta_smul, New.Space.jetSeries_eq_prod, New.jet_rescale, New.Space.jet_jetSeries_of_isHomogeneous} \begin{proof} \emph{The line.} In Fock's model the theta function of $f$ is an integral of $f$ against the real Gaussian kernel. On the line through $av$ this gives \[ \vartheta_f(a\,t\,v)=\int\exp\bigl(t\,L(w)\bigr)\,g(w)\,dw \] for a conjugate-linear form $L$ on the archimedean coordinates and an integrable function $g$ built from $f$ and the Gaussian vacuum. Expand the exponential. The partial sums of $\sum_kt^kL(w)^kg(w)/k!$ are dominated by \[ \exp\bigl(\abs t\,\norm L\,\norm w\bigr)\,\abs{g(w)}, \] which is integrable because $g$ decays like a Gaussian. By dominated convergence the integral is the power series $\sum_kt^k\int L(w)^kg(w)\,dw/k!$, so its $k$-th derivative at $0$ is $\int L(w)^kg(w)\,dw$. By (W5) this is $a^k\,\theta_V(v_{Q_k}\otimes f)$ for the polynomial $Q_k=(v\cdot z)^k$, that is, the jet of $J_a(f)$ along $Q_k$. Hence the Taylor series on the line is the restriction of $J_a(f)$ to the line. \emph{Vanishing.} If $J_a(f)=0$ with $a\ne0$, then on every line through $0$ the entire function $\vartheta_f$ has Taylor series $0$, so it vanishes on the line, hence everywhere; and $f$ is determined by its theta function, hence by its values at the real points. \emph{Products.} A power series is determined by its restrictions to the lines through $0$: the homogeneous component of degree $n$ evaluated at $v$ is the coefficient of $t^n$ of the restriction to the line of $v$, and a polynomial over $\C$ is determined by its values. If $\vartheta_f(cz)=\prod_iG_i(\mu_i\cdot z)$, then on the line spanned by $v$ both $J_c(f)$ and $\prod_iT_0(G_i)(\mu_iz)$ restrict to the Taylor series of $t\mapsto\prod_iG_i((\mu_i\cdot v)t)$, by the first part; so they agree. At $z=0$, $\theta_V(f)=\vartheta_f(0)=\prod_iG_i(0)$. \end{proof} \subsection{Tight frames}\label{ss:tight-frames} \begin{definition}\label{def:tight-frame} A \emph{tight frame of length $M$} is a finite family $w_i\in\mathfrak a_0$ with multiplicities $m_i\in\N$ such that \[ \sum_im_i\,\Phi_\sigma(w_i)\overline{\Phi_\tau(w_i)}=M\,\delta_{\sigma\tau}\qquad(\sigma,\tau\in\Phi). \] A vector $y\in E$ has a \emph{unit linear form} at $p$ if $\abs{\iota_p(\varrho_0\overline{\Phi_\tau(y)})} =1$ for all $\tau$. \end{definition} \lean{New.IsTightFrame, New.Parameters.HasUnitLinearForm} \begin{lemma}\label{lem:a0} \begin{enumerate}[label=\textup{(\alph*)}] \item $\mathfrak a_0$ is an $\OO_E$-module stable under $\Gal(E/K)$, with $\OO_E\subseteq\mathfrak a_0$ and $q_1\mathfrak a_0\subseteq\OO_E$; $y\in\mathfrak a_0$ if and only if $P'(\zeta)y$ is integral at the places containing $\beta$ and $y$ is integral elsewhere. \item For $x,y\in\mathfrak a_0$, $\sum_\tau\Phi_\tau(x)\overline{\Phi_\tau(y)}\in\OO_K$; in particular $\sum_\tau\abs{\Phi_\tau(y)}^2\in\N$. If $zP'(\zeta)$ is integral, then $\Tr_{E/K}(z)\in\OO_K$. \item For each embedding $\varphi\colon E\to\Cp$ there is $y$ with $\alpha y$ integral and $\abs{\varphi(\alpha y)}=1$. \end{enumerate} \end{lemma} \lean{New.finiteImage_add_mem, New.finiteImage_mul_mem, New.Parameters.finiteImage_mem_iff, New.Parameters.valuation_galOfPlace, New.Parameters.finiteImage_galOfPlace_mem, New.Parameters.finiteImage_coe_mem, New.Parameters.coe_trace_eq_sum, New.Parameters.finiteImage_id_eq_inv_alpha_mul, New.Parameters.exists_coe_eq_trace_of_isIntegral, New.Parameters.sum_mul_conj_mem_quadInt, New.Parameters.exists_natCast_eq_sum_norm_sq, New.QuadField.exists_algebraMap_eq_of_star_eq, New.exists_eq_intCast_of_mem_quadInt_of_conj_eq, New.sum_mul_conj_eq_ofReal_iff, New.Parameters.exists_norm_adeleExtension_alpha_mul_eq_one, New.Parameters.eq_of_phi_eq_of_isPrimitiveRoot, New.Parameters.phi_betaKInE} \begin{proof} (a) By \cref{def:alpha}, $y\in\mathfrak a_0$ means that $\alpha_w^{-1}y$ is integral at every finite $w$, where $\alpha_w^{-1}$ is $P'(\zeta)$ at the places containing $\beta$ and $1$ elsewhere; this is the stated criterion, and it is preserved by sums and by multiplication by $\OO_E$. As $\alpha^{-1}$ is integral (\cref{lem:alpha}(b)), $\OO_E\subseteq\mathfrak a_0$; as $q_1\alpha$ is integral, $q_1y=(q_1\alpha)(\alpha^{-1}y)$ is integral for $y\in\mathfrak a_0$. Stability under $g_v$: $g_v$ permutes the places containing $\beta$, because $\beta\in K$ is fixed by $g_v$, and it maps $P'(\zeta)$ to another generator of the different of $E/K$ (\cref{prop:different}(b)), so it preserves the order of $P'(\zeta)$ at these places. (b) The trace maps the inverse different $(P'(\zeta))^{-1}$ of $E/K$ into $\OO_K$. For $x,y\in\mathfrak a_0$, $x\bar yP'(\zeta)=(\alpha\bar\alpha P'(\zeta))(\alpha^{-1}x)\overline{(\alpha^{-1}y)}$ is integral by \cref{lem:alpha}(b), so $\Tr_{E/K}(x\bar y)=\sum_\tau\Phi_\tau(x)\overline{\Phi_\tau(y)}$ lies in $\OO_K$. For $x=y$ it is real and nonnegative; a real element of $\OO_K$ is a rational integer, since the real subfield of $K$ is $\Q$. For the last statement apply the first argument to $z$: if $zP'(\zeta)$ is integral, $z$ lies in the inverse different of $E/K$, which the trace maps into $\OO_K$. (c) Let $w$ be the place of $\varphi$. As $E$ is dense in the finite adeles, some $y\in E$ lies in the open set of the $x$ with $\alpha x\in1+\mathfrak m_w$ at $w$ and $\alpha x$ integral at all other places. Then $\alpha y$ is integral and is a unit at $w$, so $\abs{\varphi(\alpha y)}=1$. \end{proof} \begin{lemma}[Frames from roots of unity]\label{lem:frames-zeta} \begin{enumerate}[label=\textup{(\alph*)}] \item The powers $\zeta^i$, $0\le i0}$ is a vector $F$ of the finite part whose translates have theta values and jet series \[ \theta_V\bigl(\varrho(\mathrm{fin}(\gamma^{\mathrm f}))F\bigr)=\prod_{k