November 25, 2026
Fourier series of entire periodic functions. Quadratic Gauss sums: for an odd prime \(p\) and \(p \nmid a\), \(\sum_{t \bmod p} e^{2\pi\mathrm{i}a t^2/p} = \Bigl(\frac{a}{p}\Bigr)\varepsilon_p\sqrt p\), with \(\varepsilon_p = 1\) for \(p \equiv 1 \pmod 4\) and \(\varepsilon_p = \mathrm{i}\) for \(p \equiv 3 \pmod 4\) [Dav, Ch. 2]. From Chapter 12, Complex tori, theta functions and periods: Jacobi’s function and its quasi-periodicity (Section 12.2, Problem 12.2.1). From Chapter 6, The slope method: the Gaussian norm of Problem 6.4.4.
The theta lifts of later chapters are built from theta functions of many lattices at once, and a lift changes the lattice. How does a theta function of one lattice become a theta function of another, and what is lost when one does this twice? The answer is a finite sum of translation operators, and the loss is a root of unity given by a Gauss sum. We work in one complex variable, with \(\mathbb{Z}[\mathrm{i}]\) and its neighbours of index \(2\) and \(p\).
On \(V = \mathbb{C}\) let \(H(z,w) := z\bar w\) and \(E := \operatorname{Im} H\), so that \(E(x + \mathrm{i}y, x' + \mathrm{i}y') = y x' - x y'\) is a symplectic form. For \(x \in \mathbb{C}\) and a function \(G\) on \(\mathbb{C}\) put \[(U_x G)(z) := G(z + x)\, e^{-\pi H(z,x) - \frac\pi2 H(x,x)} .\] Let \(\mathcal{F}\) be the Fock space of entire functions with \(\lVert G\rVert^2 := \int_\mathbb{C}\lvert G(z)\rvert^2 e^{-\pi\lvert z\rvert^2}\, dA(z) < \infty\). The operators \(e^{\mathrm{i}s}U_x\) with \(s \in \mathbb{R}\) form a Heisenberg group, and \(\mathcal{F}\) is its Fock model [Fo, Ch. 1], [Pol, Ch. 2]; for theta functions in one variable from this point of view, see [Mu, Ch. I, §3].
Problem 13.1.1. Each \(U_x\) is a unitary operator on \(\mathcal{F}\), and \[U_x U_y = e^{-\pi\mathrm{i}E(x,y)}\, U_{x+y} .\]
Problem 13.1.2. The monomials \(z^n\) are orthogonal in \(\mathcal{F}\), with \(\lVert z^n\rVert^2 = n!/\pi^n\).
So \(f \mapsto f(\sqrt\pi\, z)\) is an isometry from \(\mathbb{C}[z]\) with the norm of Problem 6.4.4, where \(\lVert z^n\rVert^2 = n!\), into \(\mathcal{F}\).
The representation of the Heisenberg group on \(\mathcal{F}\) is irreducible, and by the Stone–von Neumann theorem it is the only irreducible unitary representation on which \(e^{\mathrm{i}s}\) acts by \(e^{\mathrm{i}s}\) [LV, Ch. 1], [Pol, Ch. 2]. A theta function is an entire function fixed by a maximal commutative subgroup that comes from a lattice.
A lattice \(\Lambda \subset \mathbb{C}\) is self-dual if \(E(\Lambda,\Lambda) \subset \mathbb{Z}\) and \(\mathbb{C}/\Lambda\) has area \(1\). A semicharacter of \(\Lambda\) is a function \(\alpha \colon \Lambda \to \{\pm1\}\) with \[\alpha(\lambda + \mu) = \alpha(\lambda)\alpha(\mu)(-1)^{E(\lambda,\mu)} \qquad (\lambda, \mu \in \Lambda) .\] For such a pair let \(\mathcal{T}(\Lambda,\alpha)\) be the space of entire functions \(G\) with \(\alpha(\lambda)U_\lambda G = G\) for all \(\lambda \in \Lambda\), that is, \[G(z + \lambda) = \alpha(\lambda)\, e^{\pi z\bar\lambda + \frac\pi2\lvert\lambda\rvert^2}\, G(z) .\] These are the classical theta functions of the line bundle on \(\mathbb{C}/\Lambda\) with Hermitian form \(H\) and semicharacter \(\alpha\) [Pol, Ch. 1]. Let \(\alpha_0(m + n\mathrm{i}) := (-1)^{mn}\) on \(\mathbb{Z}[\mathrm{i}]\).
Problem 13.1.3. The semicharacters of \(\mathbb{Z}[\mathrm{i}]\) are the four functions \((-1)^{mn + am + bn}\) with \(a, b \in \{0,1\}\). Exactly two of them, \(\alpha_0\) and \((-1)^{mn+m+n}\), are invariant under \(v \mapsto \mathrm{i}v\).
Problem 13.1.4. Let \(\alpha\) be a semicharacter of a self-dual \(\Lambda\). Then \(\lambda \mapsto \alpha(\lambda)U_\lambda\) is a homomorphism, and for \(w \in \mathbb{C}\) and \(G \in \mathcal{T}(\Lambda,\alpha)\), \[\alpha(\lambda)U_\lambda\,(U_w G) = e^{-2\pi\mathrm{i}E(\lambda,w)}\, U_w G \qquad (\lambda \in \Lambda) .\]
Problem 13.1.5. \(\mathcal{T}(\Lambda,\alpha) \cap \mathcal{F}= 0\).
So theta functions are not vectors of \(\mathcal{F}\). For \(G \in \mathcal{T}(\Lambda,\alpha)\) the function \(\lvert G(z)\rvert^2 e^{-\pi\lvert z\rvert^2}\) is \(\Lambda\)-periodic, and we use instead \[\lVert G\rVert_\Lambda^2 := \int_{\mathbb{C}/\Lambda} \lvert G(z)\rvert^2 e^{-\pi\lvert z\rvert^2}\, dA(z) .\]
How many theta functions does \(\mathbb{Z}[\mathrm{i}]\) carry? For \(\operatorname{Im}\tau > 0\) let \(\vartheta_\tau(z) := \sum_{n \in \mathbb{Z}} e^{\pi\mathrm{i}n^2\tau + 2\pi\mathrm{i}n z}\), the function \(\vartheta\) of Chapter 12, and let \[G(z) := e^{\pi z^2/2}\, \vartheta_\mathrm{i}(z) = e^{\pi z^2/2} \sum_{n \in \mathbb{Z}} e^{-\pi n^2 + 2\pi\mathrm{i}n z} .\]
Problem 13.2.1. \(\mathcal{T}(\mathbb{Z}[\mathrm{i}], \alpha_0) = \mathbb{C}G\).
Problem 13.2.2. \(G(\mathrm{i}z) = G(z)\).
Problem 13.2.3. \(\lVert G\rVert_{\mathbb{Z}[\mathrm{i}]}^2 = 2^{-1/2}\).
For \(t > 0\) let \(\Lambda_t := t\mathbb{Z}+ t^{-1}\mathrm{i}\mathbb{Z}\), a self-dual lattice, with the semicharacter \(\alpha_t(ta + t^{-1}b\mathrm{i}) := (-1)^{ab}\).
Problem 13.2.4. \(\mathcal{T}(\Lambda_t, \alpha_t) = \mathbb{C}\, e^{\pi z^2/2}\, \vartheta_{\mathrm{i}/t^2}(z/t)\).
In general, \(\mathcal{T}(\Lambda,\alpha)\) is a line for every self-dual \(\Lambda\) and every semicharacter \(\alpha\) of it; in \(g\) variables its dimension is the Pfaffian of \(E\) on \(\Lambda\) [Pol, Ch. 3]. Section 13.3 proves this for the lattices met below, from Problem 13.2.1.
Two pairs \((\Lambda_1,\alpha_1)\) and \((\Lambda_2,\alpha_2)\) as in Section 13.1 are compatible if \(\Lambda_1\) and \(\Lambda_2\) are commensurable and \(\alpha_1 = \alpha_2\) on \(\Lambda_{12} := \Lambda_1 \cap \Lambda_2\). Since both lattices have covolume \(1\), \(n_{12} := [\Lambda_2 : \Lambda_{12}]\) equals \([\Lambda_1 : \Lambda_{12}]\). The intertwiner is \[I_{12}\, G := n_{12}^{-1/2} \sum_{y \in \Lambda_2/\Lambda_{12}} \alpha_2(y)\, U_y G \qquad (G \in \mathcal{T}(\Lambda_1,\alpha_1)) .\] It is a finite sum of translation operators. The theory goes back to Weil [We]; see [Pol, Ch. 4] and [LV, Ch. 1]. We follow the presentation of Adriazola [Adr].
Problem 13.3.1. Each summand of \(I_{12}G\) depends only on the class of \(y\) modulo \(\Lambda_{12}\), and \(I_{12}\) maps \(\mathcal{T}(\Lambda_1,\alpha_1)\) into \(\mathcal{T}(\Lambda_2,\alpha_2)\).
Problem 13.3.2. \(I_{21} I_{12}\) is the identity of \(\mathcal{T}(\Lambda_1,\alpha_1)\).
Problem 13.3.3. \(\lVert I_{12}G\rVert_{\Lambda_2} = \lVert G\rVert_{\Lambda_1}\).
By Problems 13.2.1 and 13.3.2, \(\mathcal{T}(\Lambda,\alpha)\) is a line, spanned by \(I G\) for the intertwiner \(I\) from \(\mathbb{Z}[\mathrm{i}]\), whenever \((\Lambda,\alpha)\) is compatible with \((\mathbb{Z}[\mathrm{i}],\alpha_0)\).
Problem 13.3.4. Let \(p\) be a prime, and let \(I_{12}\) be the intertwiner from \((\mathbb{Z}[\mathrm{i}],\alpha_0)\) to \((\Lambda_{1/p}, \alpha_{1/p})\). Then \[I_{12}\, G = \sqrt p\; e^{\pi z^2/2}\, \vartheta_{p^2\mathrm{i}}(pz) ,\] and Problem 13.3.2 for this pair is the splitting of \(\vartheta_\mathrm{i}(z)\) according to the class of \(n\) modulo \(p\).
Is \(I_{23}I_{12}\) equal to \(I_{13}\)? Let \((\Lambda_i,\alpha_i)\), \(i = 1, 2, 3\), be pairwise compatible pairs, each compatible with \((\mathbb{Z}[\mathrm{i}],\alpha_0)\). Both \(I_{23}I_{12}\) and \(I_{13}\) map the line \(\mathcal{T}(\Lambda_1,\alpha_1)\) isomorphically onto the line \(\mathcal{T}(\Lambda_3,\alpha_3)\), so they differ by a constant \(\mu = \mu(\Lambda_1,\Lambda_2,\Lambda_3)\). For \(z \in \Lambda_3\) and \(y \in \Lambda_2\) with \(z + y \in \Lambda_1\) put \[\psi(z,y) := \alpha_3(z)\,\alpha_2(y)\,\alpha_1(z+y)\, e^{-\pi\mathrm{i}E(z,y)} .\]
Problem 13.4.1. Let \(S_2\) and \(S_3\) be sets of representatives of \(\Lambda_2/\Lambda_{12}\) and \(\Lambda_3/\Lambda_{23}\). Then \[I_{23} I_{12} = \mu\, I_{13}, \qquad \mu = \Bigl(\frac{n_{13}}{n_{12}\, n_{23}}\Bigr)^{1/2} \sum_{\substack{z \in S_3,\ y \in S_2 \\ z + y \in \Lambda_1}} \psi(z,y) .\]
Problem 13.4.2. \(\lvert\mu\rvert = 1\), \(\mu(\Lambda_1,\Lambda_2,\Lambda_1) = 1\), and \(\mu(\Lambda_1,\Lambda_3,\Lambda_2) = \overline{\mu(\Lambda_1,\Lambda_2,\Lambda_3)}\).
Problem 13.4.3. For four pairwise compatible pairs, each compatible with \((\mathbb{Z}[\mathrm{i}],\alpha_0)\), \[\mu(\Lambda_1,\Lambda_2,\Lambda_3)\,\mu(\Lambda_1,\Lambda_3,\Lambda_4) = \mu(\Lambda_2,\Lambda_3,\Lambda_4)\,\mu(\Lambda_1,\Lambda_2,\Lambda_4) .\]
Problems 13.3.2, 13.3.3, 13.4.1 and 13.4.2 prove the following. It is due to Weil [We]; the formula for \(\mu\) is that of [Adr, Lemma 7.3], where one semicharacter is defined on all lattices at once.
Theorem 13.4.1. The intertwiners are isometries, \(I_{21} = I_{12}^{-1}\), and \(I_{23}I_{12} = \mu\, I_{13}\) with \(\lvert\mu\rvert = 1\) given by the sum of Problem 13.4.1.
The constant \(\mu\) is a normalized quadratic Gauss sum. For the Weil representation, Lion and Vergne express the analogous constant through the Maslov index of three Lagrangian subspaces [LV, Ch. 1]; Gauss sums of integral quadratic forms are treated in [Pol, App. B]. The next section computes \(\mu\) in the smallest cases.
Odd index. Let \(R \subset \mathbb{Q}\) be the ring of fractions with odd denominator, so that \(R/2R = \mathbb{Z}/2\), and for \(r \in R\) let \((-1)^r := (-1)^n\) for any integer \(n \equiv r \pmod{2R}\). For \(v = x + \mathrm{i}y\) with \(x, y \in R\) put \(\alpha_R(v) := (-1)^{xy}\).
Problem 13.5.1. \(\alpha_R\) is a semicharacter of every self-dual lattice contained in \(R + R\mathrm{i}\). It equals \(\alpha_0\) on \(\mathbb{Z}[\mathrm{i}]\) and \(\alpha_{1/p}\) on \(\Lambda_{1/p}\) for \(p\) odd.
So all self-dual lattices in \(R + R\mathrm{i}\), with \(\alpha_R\), are pairwise compatible. Fix an odd prime \(p\), and let \(N := \mathbb{Z}+ p\mathbb{Z}\mathrm{i}\).
Problem 13.5.2. The self-dual lattices \(\Lambda\) with \(N \subset \Lambda\) are \(\Lambda^{(\infty)} := \mathbb{Z}[\mathrm{i}]\) and \(\Lambda^{(c)} := N + \mathbb{Z}(\frac1p + c\mathrm{i})\) for \(c \in \mathbb{Z}/p\). Moreover \(\Lambda^{(0)} = \Lambda_{1/p}\), and any two of these \(p + 1\) lattices intersect in \(N\).
Problem 13.5.3. For \(b \ne c\) in \(\mathbb{Z}/p\), with \(\bar 2 := (p+1)/2\), \[\mu(\Lambda^{(\infty)}, \Lambda^{(b)}, \Lambda^{(c)}) = \frac{1}{\sqrt p} \sum_{t \bmod p} e^{2\pi\mathrm{i}\, \bar2 (c-b) t^2/p} = \Bigl(\frac{2(c-b)}{p}\Bigr)\, \varepsilon_p .\] For \(p = 3\), \(b = 0\), \(c = 1\) this is \(-\mathrm{i}\).
Problem 13.5.4. For distinct \(a, b, c \in \mathbb{Z}/p\), \[\mu(\Lambda^{(a)}, \Lambda^{(b)}, \Lambda^{(c)}) = \Bigl(\frac{2(b-a)(c-b)(c-a)}{p}\Bigr)\, \varepsilon_p .\]
Index \(2\). Here \(\alpha_R\) is not available, and the semicharacters must be chosen. Let \(N_2 := \mathbb{Z}+ 2\mathbb{Z}\mathrm{i}\), let \(\Lambda' := \Lambda_{1/2} = \frac12\mathbb{Z}+ 2\mathbb{Z}\mathrm{i}\) with \(\alpha' := \alpha_{1/2}\), and let \(\Lambda'' := \mathbb{Z}(\frac12 + \mathrm{i}) + \mathbb{Z}\) with \(\alpha''(a(\frac12 + \mathrm{i}) + m) := (-1)^{am}\).
Problem 13.5.5. \(\mathbb{Z}[\mathrm{i}]\), \(\Lambda'\) and \(\Lambda''\) are the self-dual lattices containing \(N_2\), and any two of them intersect in \(N_2\). The pairs \((\mathbb{Z}[\mathrm{i}],\alpha_0)\), \((\Lambda',\alpha')\) and \((\Lambda'',\alpha'')\) are pairwise compatible, and each of \(\Lambda'\), \(\Lambda''\) has exactly two semicharacters compatible with \(\alpha_0\).
Problem 13.5.6. \(\mu(\mathbb{Z}[\mathrm{i}], \Lambda', \Lambda'') = 2^{-1/2}\sum_{t \bmod 2} e^{\pi\mathrm{i}t^2/2} = e^{\pi\mathrm{i}/4}\). If \(\alpha''\) is replaced by the other semicharacter compatible with \(\alpha_0\), then \(\mu = e^{-\pi\mathrm{i}/4}\).
So \(\mu\) is a fourth root of unity for neighbours of odd index and a primitive eighth root of unity for neighbours of index \(2\). The sign \(\Bigl(\frac{2}{p}\Bigr)\) in Problem 13.5.3 and the eighth root of Problem 13.5.6 come from the same place: the semicharacter, which is a \(2\)-adic datum.
Constants of the same kind appear when a lattice is moved by a unitary map \(\varrho\) of \(V\). If \(\varrho\) preserves \(\Lambda\) and \(\alpha\), as \(z \mapsto \mathrm{i}z\) does for \((\mathbb{Z}[\mathrm{i}],\alpha_0)\), then \(G \circ \varrho^{-1}\) lies in the same line; for \(z \mapsto \mathrm{i}z\) the constant is \(1\) by Problem 13.2.2. In general \(G \circ \varrho^{-1}\) is a Gauss sum times \(I_{\Lambda \to \varrho\Lambda}\,G\); this is Weil’s transformation law [We], in the form used in [Adr, and Lemma 7.8]. In the theta chain of [Adr] this is what makes the kernels covariant under the unitary groups. The constants \(\mu\) are, in lattice form, the constants that define Weil’s metaplectic double cover of \(\mathrm{Sp}_2 = \mathrm{SL}_2\) [We], which is the case \(n = 2\) of Kubota’s \(n\)-fold covers of \(\mathrm{SL}_2\).
\(\lvert(U_xG)(z)\rvert^2 e^{-\pi\lvert z\rvert^2} = \lvert G(z+x)\rvert^2 e^{-\pi\lvert z+x\rvert^2}\). For the product, compare exponents; \(H(x,y) - \operatorname{Re}H(x,y) = \mathrm{i}E(x,y)\).
Polar coordinates.
Two semicharacters differ by a character of \(\Lambda\) with values \(\pm1\). For \(\alpha_0\) check the identity on the basis \(1, \mathrm{i}\) and extend.
The first statement is the definition of a semicharacter together with Problem 13.1.1. For the second, commute \(U_\lambda\) past \(U_w\).
\(\lvert G\rvert^2 e^{-\pi\lvert z\rvert^2}\) is \(\Lambda\)-periodic.
For \(F \in \mathcal{T}(\mathbb{Z}[\mathrm{i}],\alpha_0)\), \(e^{-\pi z^2/2}F\) has period \(1\); expand it in a Fourier series and use the law under \(z \mapsto z + \mathrm{i}\) to relate consecutive coefficients.
Apply Problem 13.2.1 to \(G(\mathrm{i}z)\).
Integrate first over \(x \in [0,1]\); the remaining sum over \(n\) unfolds \([0,1]\) in \(y\) to \(\mathbb{R}\).
As in Problem 13.2.1, after the substitution \(z = tw\).
Write \(\alpha_2(y+\lambda)U_{y+\lambda}\) through \(\alpha_2(y)U_y\) and \(\alpha_2(\lambda)U_\lambda\), with \(\lambda \in \Lambda_{12}\); then use \(\alpha_1 = \alpha_2\) on \(\Lambda_{12}\). For the second statement, \(\alpha_2(w)U_w\) permutes the summands.
By Problem 13.1.4, \(\sum_{x \in \Lambda_1/\Lambda_{12}} \alpha_1(x)U_x\) multiplies \(U_yG\) by a character sum. The character \(x \mapsto e^{-2\pi\mathrm{i}E(x,y)}\) of \(\Lambda_1/\Lambda_{12}\) is trivial exactly when \(y \in \Lambda_1\), since \(\Lambda_1\) is self-dual.
Integrate over \(\mathbb{C}/\Lambda_{12}\), an \(n_{12}\)-fold cover of both tori. A cross term \(U_yG\,\overline{U_{y'}G}\,e^{-\pi\lvert z\rvert^2}\) with \(y \not\equiv y'\) is \(\Lambda_{12}\)-periodic and changes by a nontrivial character under \(\Lambda_1\).
Representatives \(s/p\), \(0 \le s < p\). Then \(\sum_s e^{2\pi\mathrm{i}ns/p}\) picks out \(p \mid n\).
Apply \(\sum_{x} \alpha_1(x)U_x\) to both sides of \(I_{23}I_{12}G = \mu\, I_{13}G\), with \(x\) running over \(\Lambda_1/(\Lambda_1 \cap \Lambda_2 \cap \Lambda_3)\), and use Problem 13.1.4.
For the modulus use Problem 13.3.3. Then compute \(I_{32}I_{23}I_{12}\) in two ways.
Compute \(I_{34}I_{23}I_{12}\) in two ways.
\((x+x')(y+y') - xy - x'y' - E(v,v') = 2xy'\).
The dual of \(N\) for \(E\) is \(N^\perp = \frac1p\mathbb{Z}+ \mathbb{Z}\mathrm{i}\), and \(N^\perp/N \cong (\mathbb{Z}/p)^2\). A self-dual \(\Lambda \supset N\) lies in \(N^\perp\) and corresponds to a line in \(N^\perp/N\).
Take \(z = t(\frac1p + c\mathrm{i})\) and \(y = -t(\frac1p + b\mathrm{i})\). Then \(z + y \in \mathbb{Z}[\mathrm{i}]\), and \(\psi(z,y)\) depends only on the classes of \(z\) and \(y\) modulo \(N\).
Problem 13.4.3 with \(\Lambda_1 = \mathbb{Z}[\mathrm{i}]\), and Problem 13.5.3.
As in Problem 13.5.2 with \(p = 2\). Note that \(\alpha_0 = 1\) on \(N_2\), and apply Problem 13.1.3’s argument to \(\Lambda'\) and \(\Lambda''\).
One term has \(z = y = 0\). In the other, \(z\) represents the nonzero class of \(\Lambda''/N_2\).
[Adr] J. Adriazola, The Alpöge proof of the Riemann hypothesis, manuscript, revised 24 November 2026, https://github.com/jimjamzola/RH-Alpoge-Reconstruction.
[Dav] H. Davenport, Multiplicative Number Theory, 3rd ed., Grad. Texts in Math. 74, Springer, 2000.
[Fo] G. B. Folland, Harmonic Analysis in Phase Space, Ann. of Math. Stud. 122, Princeton Univ. Press, 1989.
[LV] G. Lion and M. Vergne, The Weil Representation, Maslov Index and Theta Series, Progr. Math. 6, Birkhäuser, 1980.
[Mu] D. Mumford, Tata Lectures on Theta I, Progr. Math. 28, Birkhäuser, 1983.
[Pol] A. Polishchuk, Abelian Varieties, Theta Functions and the Fourier Transform, Cambridge Tracts in Math. 153, Cambridge Univ. Press, 2003.
[We] A. Weil, Sur certains groupes d’opérateurs unitaires, Acta Math. 111 (1964), 143–211.