betaFeedback

WorksMathematics

Second Moments of Hecke Traces and Vertical Sato–Tate

Abstract

We relate sums of squared Hecke traces to the distribution of Frobenius traces of elliptic curves over Fp\mathbf{F}_p. For every fixed 1/6≤a<1/21/6\le a<1/2, the sum of squared normalized traces at level one up to weight K=paK=p^a is asymptotic to K2/48K^2/48 on a density-one set of primes. In the same range, fixed-level limits hold on sets of relative density one in the relevant prime classes, with constants that factor over prime powers. We compute the mixed moments between newform spaces at different levels and between character spaces at odd prime level. The connection comes from tossing a coin whose bias is determined by the trace of a uniformly chosen nonsingular Weierstrass equation. The Sato–Tate predictor's excess log loss tends to zero exactly when T=o(p)T=o(p). For T=⌊λK2⌋T=\lfloor\lambda K^2\rfloor with fixed λ>0\lambda>0 it is asymptotic to T/(96p)T/(96p) on the level-one prime set. When T/p→c>0T/p\to c>0, we compute the limiting losses along prime subsequences whose residues stabilize modulo each fixed integer. The two nonzero classes modulo 33 can give different limits. At level one we compute the leading variances across prime intervals for the normalized trace sum and the normalized chi-square divergence.

Introduction

For a prime pp, let τk(p)\tau_k(p) be the trace of TpT_p on Sk(SL2(Z))S_k(\mathrm{SL}_2(\mathbb{Z})) divided by p(k−1)/2p^{(k-1)/2}. We prove that for each fixed 1/6≤a<1/21/6 \le a < 1/2 there is a density-one set of primes on which, with K=paK = p^a,

∑4≤k≤Kk even∣τk(p)∣2∼K248.\sum_{\substack{4 \le k \le K \\ k\ \mathrm{even}}} |\tau_k(p)|^2 \sim\frac{K^2}{48}.

The sum has the same leading term as the total dimension, since dim⁡Sk(SL2(Z))=k/12+O(1)\dim S_k(\mathrm{SL}_2(\mathbb{Z})) = k/12 + O(1) at even weights. At fixed level the full and newform moments are products of local factors that can depend on the residue of pp. Distinct squarefree newform levels have zero limiting mixed moment. At odd prime level we also separate the character components.

Jung and Sardari [18 Theorem 1.3] bound the trace square sum on newspaces of fixed squarefree level N>1N > 1 at k≍pk \asymp\sqrt{p}. At that scale Bober et al. [4 Theorem 1.1] and Kuan and Lesesvre [26 Theorem 1] study signed first moments under GRH, the latter with Petersson weights. Petrow [33 Theorem 1.1] bounds individual traces for k≥p3/10+ηk \ge p^{3/10+\eta} at fixed level. At fixed weight, averaging over primes gives the diagonal dimension by Rankin–Selberg orthogonality [19 Theorems 2.5–2.6]. In a residue class the prime average can pair forms related by a Dirichlet twist. Our asymptotic concerns a sharp cutoff K=pa=o(p)K = p^a = o(\sqrt{p}) at individual primes in sets of relative density one, with explicit mixed constants at every fixed level.

Binomial smoothing supplies the weight cutoff. For a uniform nonsingular short Weierstrass equation EE over Fp\mathbf{F}_p, toss a coin TT times with bias ft=1/2+t/(4p)f_t = 1/2 + t/(4\sqrt{p}), where t=p+1−#E(Fp)t = p + 1 - \#E(\mathbf{F}_p). Write PTP_T for the count law and QTQ_T for its analogue under the Sato–Tate prior Beta⁡(3/2,3/2)\operatorname{Beta}(3/2,3/2). The expected extra log loss is DKL(PT∥QT)D_{\mathrm{KL}}(P_T\mathbin{\|}Q_T). The chi-square divergence sums squared Chebyshev moments with weights that decay past T\sqrt{T}. Kaplan and Petrow’s formula [20] identifies these moments with normalized Hecke traces. Varying TT recovers the sharp sum.

We call 1/2+(4p)−1Z1/2+(4\sqrt{p})^{-1}\mathbb{Z} the trace lattice. In the interior the sampling error T−1/2T^{-1/2} reaches its spacing at T≍pT\asymp p, where the limiting losses reflect the residues of pp. At shorter lengths the main term comes from squared Fourier coefficients. Averaging over primes controls the products at distinct frequencies. At a=1/6a=1/6 the proof also uses the quadratic functional equation and additive reciprocity. The short-interval estimates of David, Koukoulopoulos and Smith [9 Theorem 1.3] control the likelihood ratios.

For the short-length results, put K=paK=p^a and T=⌊λK2⌋T=\lfloor\lambda K^2\rfloor with fixed 1/6≤a<1/21/6\le a<1/2 and λ>0\lambda>0.

ResultConclusionPrime coverage
Level-one traces∑4≤k≤K, k even∣τk∣2∼K2/48\sum_{4\le k\le K,\ k\ {\rm even}}|\tau_k|^2\sim K^2/48Density one
Fixed-level tracesLocal products in units of K2/48K^2/48Relative density one
Level-one varianceExplicit multiples of Xa−1/2log⁡XX^{a-1/2}\log X for a≥3/8a\ge3/8Average over X<p≤2XX<p\le2X
Short-length lossespχ2/T→1/48, pDKL/T→1/96p\chi^2/T\to1/48,\ pD_{\mathrm{KL}}/T\to1/96 at level one. Local multiples for fixed trace classes.Relative density one
Loss thresholdDKL→0D_{\mathrm{KL}}\to0 exactly when T=o(p)T=o(p)All primes
Critical profilesExplicit χ2\chi^2 and KL limits when T/p→c>0T/p\to c>0Fixed limiting residues

Table 2.

§ 5 derives the Fourier profile at the threshold. § 6 uses it to prove the trace asymptotics. The supplement lists the proof dependencies.

The trace asymptotics and leading variance are unconditional. The second terms for the prime means use Alpöge’s Dirichlet theorem, released in Lean on 20 November 2026 and accepted by independent kernels. A full written proof by Alpöge has yet to appear [2, 39]. Its quadratic case also gives the sharper bounds in § 7 and S1.

Prediction loss for binary mixtures

For word laws AA and BB, the chain rule gives the expected excess log loss of using BB as DKL(A∥B)=EAlog⁡(A/B)D_{\mathrm{KL}}(A\mathbin{\|}B)=\mathbb{E}_A\log(A/B), with natural logarithms. We also use χ2(A∥B)=EB[(A/B−1)2]\chi^2(A\mathbin{\|}B)=\mathbb{E}_B[(A/B-1)^2]. Draw θ∈[0,π]\theta\in[0,\pi] once, then draw bits independently with bias f=(1+cos⁡θ)/2f=(1+\cos\theta)/2. Write Aν(T)A_\nu^{(T)} for the word law with f∼νf\sim\nu. The likelihood ratio depends only on the count of ones, so either divergence can be computed from the count laws.

The reference Ba,b(T)B_{a,b}^{(T)} uses a Beta⁡(a,b)\operatorname{Beta}(a,b) prior (a,b>0)(a,b>0) and predicts a one with probability (k+a)/(j+a+b)(k+a)/(j+a+b) after kk ones in jj bits. The choices a=b=1/2a=b=1/2 and a=b=3/2a=b=3/2 give the uniform and Sato–Tate angle laws, respectively. The first is the Krichevsky–Trofimov predictor [24].

A coefficient formula for prediction

Proposition 2.1. Let PmP_m be the orthonormal polynomials for the Beta⁡(a,b)\operatorname{Beta}(a,b) law of ff, with P0=1P_0=1. With

κm(T)=∏j=0m−1T−jT+a+b+j,\kappa_m(T)=\prod_{j=0}^{m-1}\frac{T-j}{T+a+b+j},

one has

χ2(Aν(T)∥Ba,b(T))=∑m=1Tκm(T)(∫Pm dν)2.\chi^2(A_\nu^{(T)}\mathbin{\|}B_{a,b}^{(T)})=\sum_{m=1}^{T}\kappa_m(T)\left(\int P_m\,\mathrm{d}\nu\right)^2.

For a=b=1/2a=b=1/2, Pm=2cos⁡(mθ)P_m=\sqrt{2}\cos(m\theta) for m≥1m\ge1. For a=b=3/2a=b=3/2, Pm=Um(cos⁡θ)P_m=U_m(\cos\theta), where UmU_m is the Chebyshev polynomial of the second kind. In both cases κm(T)≤e−m(m+a+b−1)/(2T+2)\kappa_m(T)\le e^{-m(m+a+b-1)/(2T+2)}.

Proof. Under the beta-binomial reference, the conditional expectations from count to bias and from bias to count are adjoints. Binomial factorial moments and the Beta⁡(a+k,b+T−k)\operatorname{Beta}(a+k,b+T-k) posterior moments show that both maps preserve polynomial degree. By orthogonality, each map therefore sends a degree-mm orthonormal polynomial to a scalar multiple of its counterpart. From the leading coefficients, the composition multiplies by

T(T−1)⋯(T−m+1)∏j<m(T+a+b+j)=κm(T).\frac{T(T-1)\cdots(T-m+1)}{\prod_{j<m}(T+a+b+j)}=\kappa_m(T).

In particular, the coefficient of the actual count density relative to the reference in the degree-mm basis is κm(T)∫Pm dν\sqrt{\kappa_m(T)}\int P_m\,d\nu, up to the choice of signs. Parseval gives the identity. The two special polynomial families follow by the change f=(1+cos⁡θ)/2f=(1+\cos\theta)/2. For the bound, use

T−jT+a+b+j≤exp⁡(−2j+a+b2T+2),j<m≤T,\frac{T-j}{T+a+b+j}\le\exp\left(-\frac{2j+a+b}{2T+2}\right),\qquad j<m\le T,

for a+b∈{1,3}a+b\in\{1,3\}, and multiply.

The beta-binomial diagonalization is classical [11 Propositions 4.1 and 4.2]. Its weights decay rapidly beyond degree T\sqrt{T}. Jensen’s inequality gives DKL≤log⁡(1+χ2)D_{\mathrm{KL}}\le\log(1+\chi^2).

Lemma 2.2 (Finite support). For a=b∈{1/2,3/2}a=b\in\{1/2,3/2\}, if ν\nu has at most NN atoms, then

DKL(Aν(T)∥Ba,b(T))≥12log⁡(T+1)−log⁡N−O(1).D_{\mathrm{KL}}(A^{(T)}_\nu\mathbin\Vert B^{(T)}_{a,b})\ge\frac{1}{2}\log(T+1)-\log N-O(1).

Proof. The divergence of the count mixture is the mean of the divergences of its individual binomial laws minus the mutual information between the count and the atom. The latter is at most log⁡N\log N. For a binomial count kk of bias ff, put v=Tf(1−f)v=Tf(1-f). Uniformly in ff, its entropy H(k)H(k) is 12log⁡(1+v)+O(1)\frac{1}{2}\log(1+v)+O(1). The upper bound follows by adding an independent uniform variable of length one and applying the Gaussian entropy bound [7]. For the lower bound, Fourier inversion and ∣1−f+feit∣T≤e−2vsin⁡2(t/2)\lvert1-f+fe^{it}\rvert^T\le e^{-2v\sin^2(t/2)} give a maximum count mass O((1+v)−1/2)O((1+v)^{-1/2}).

References

  1. [1]M. C. Abbott and B. B. Machta, A scaling law from discrete to continuous solutions of channel capacity problems in the low-noise limit, J. Stat. Phys. 176 (2019), 214–227.DOI
  2. [2]L. Alpöge, announcement of a formal proof of the Riemann hypothesis and of its analogue for Dirichlet L-functions, 20 November 2026, https://alpo.ge/remark.pdf.
  3. [3]A. O. L. Atkin and W.-C. W. Li, Twists of newforms and pseudo-eigenvalues of W-operators, Invent. Math. 48 (1978), 221–243.DOI
  4. [4]J. Bober, A. R. Booker, M. Lee and D. Lowry-Duda, Murmurations of modular forms in the weight aspect, Algebra Number Theory 20 (2026), 299–332.arxiv.org/abs/2310.07746
  5. [5]D. A. Burgess, The character sum estimate with r = 3, J. London Math. Soc. (2) 33 (1986), 219–226.DOI
  6. [6]T. Cochrane and C. Pinner, Using Stepanov’s method for exponential sums involving rational functions, J. Number Theory 116 (2006), 270–292.DOI
  7. [7]T. M. Cover and J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley, 2006.
  8. [8]D. A. Cox, Primes of the Form x² + ny², 2nd ed., Wiley, 2013.
  9. [9]C. David, D. Koukoulopoulos and E. Smith, Sums of Euler products and statistics of elliptic curves, Math. Ann. 368 (2017), 685–752.DOI
  10. [10]P. Deligne, La conjecture de Weil. II, Publ. Math. Inst. Hautes Études Sci. 52 (1980), 137–252.DOI
  11. [11]P. Diaconis, K. Khare and L. Saloff-Coste, Gibbs sampling, exponential families and orthogonal polynomials, Statistical Science 23 (2008), 151–178.DOI
  12. [12]L. Fu and D. Wan, L-functions for symmetric products of Kloosterman sums, J. reine angew. Math. 589 (2005), 79–103.
  13. [13]E.-U. Gekeler, Frobenius distributions of elliptic curves over finite prime fields, Int. Math. Res. Not. (2003), no. 37, 1999–2018.DOI
  14. [14]D. R. Heath-Brown, A mean value estimate for real character sums, Acta Arith. 72 (1995), 235–275. doi:10.4064/aa-72-3-235-275.
  15. [15]B. Huang, J. Liu and Z. Rudnick, Gaussian primes in almost all narrow sectors, Acta Arith. 193 (2020), 183–192.arxiv.org/abs/1903.04005
  16. [16]H. Iwaniec and E. Kowalski, Analytic Number Theory, AMS Colloquium Publications 53, American Mathematical Society, 2004.
  17. [17]Y. Jiang and Y.-K. Lau, Mixed moments of arithmetic functions and Kloosterman sums, preprint, arXiv:2610.10372 (2026).arxiv.org/abs/2610.10372
  18. [18]J. Jung and N. Talebizadeh Sardari, Asymptotic trace formula for the Hecke operators, with an appendix by S. Marshall, Math. Ann. 378 (2020), 513–557.arxiv.org/abs/1808.04015
  19. [19]I. Kaneko and J. Thorner, Highly uniform prime number theorems, Ann. Inst. Fourier 75 (2025), 1901–1923.DOI
  20. [20]N. Kaplan and I. Petrow, Elliptic curves over a finite field and the trace formula, Proc. Lond. Math. Soc. 115 (2017), 1317–1372.
  21. [21]N. M. Katz, Gauss Sums, Kloosterman Sums, and Monodromy Groups, Annals of Mathematics Studies 116, Princeton University Press, 1988.
  22. [22]N. M. Katz, 2, 3, 5, Legendre: ± trace ratios in families of elliptic curves, Experimental Mathematics 19 (2010), 267–277.DOI
  23. [23]D. Koukoulopoulos, Primes in short arithmetic progressions, Int. J. Number Theory 11 (2015), 1499–1521. doi:10.1142/S1793042115400035.DOI
  24. [24]R. E. Krichevsky and V. K. Trofimov, The performance of universal encoding, IEEE Trans. Inform. Theory 27 (1981), 199–207.DOI
  25. [25]E. Kowalski and T. Untrau, Wasserstein metrics and quantitative equidistribution of exponential sums over finite fields, arXiv:2505.22059.arxiv.org/abs/2505.22059
  26. [26]C. I. Kuan and D. Lesesvre, Murmurations using Petersson trace formula, arXiv:2507.11418.arxiv.org/abs/2507.11418
  27. [27]B. Lee, Quantitative Sato–Tate in near-square-root prime intervals under symmetric-power GRH, preprint, version 3.0, 2026. doi:10.5281/zenodo.22112048.
  28. [28]H. W. Lenstra, Jr., Factoring integers with elliptic curves, Ann. of Math. (2) 126 (1987), 649–673.
  29. [29]Z. Y. Ma, Refinements on vertical Sato–Tate, Acta Arith. 216 (2024), 63–97.arxiv.org/abs/2310.08791
  30. [30]G. Martin, Dimensions of the spaces of cusp forms and newforms on Γ₀(N) and Γ₁(N), J. Number Theory 112 (2005), 298–331.
  31. [31]H. L. Montgomery, The analytic principle of the large sieve, Bull. Amer. Math. Soc. 84 (1978), 547–567.DOI
  32. [32]H. L. Montgomery and R. C. Vaughan, The large sieve, Mathematika 20 (1973), 119–134.
  33. [33]I. Petrow, Bounds for traces of Hecke operators and applications to modular and elliptic curves over a finite field, Algebra Number Theory 12 (2018), 2471–2498.DOI
  34. [34]I. Petrow and M. P. Young, The fourth moment of Dirichlet L-functions along a coset and the Weyl bound, Duke Math. J. 172 (2023), 1879–1960.DOI
  35. [35]A. M. Rahimi, Wasserstein rates of all orders for the Sato–Tate law of Kloosterman sums, arXiv:2610.16169v2.arxiv.org/abs/2610.16169
  36. [36]C. S. Rajan, Distribution of values of Hecke characters of infinite order, Acta Arith. 85 (1998), 279–291.DOI
  37. [37]E. Ross, Newspaces with nebentypus: an explicit dimension formula and classification of trivial newspaces, J. Number Theory 278 (2026), 317–352.arxiv.org/abs/2407.08881
  38. [38]J. H. Silverman, The Arithmetic of Elliptic Curves, 2nd ed., Graduate Texts in Mathematics 106, Springer, 2009.
  39. [39]A. V. Sutherland, RH Lean proof: verification files, https://math.mit.edu/~drew/grh/, as updated 21 November 2026.
  40. [40]D. Zagier, Modular forms whose Fourier coefficients involve zeta-functions of quadratic fields, in Modular Functions of One Variable VI, Lecture Notes in Math. 627, Springer, 1977, 105–169.DOI

Paper details

vlnc:W_jra5d4d2
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents