\chapter{Background Theory} \label{app:lib-overview} The readable edition contains the background theory for the proof in \texttt{src/Lib/}. This appendix gives a topical account of the main inputs used in the book, cites the corresponding classical literature, and links to the Lean declarations in footnotes. The linked declarations specify the exact hypotheses and scope of each result. \section{Adelic unitary groups and trace formulas} The finite level and the archimedean discrete series type of the unitary group determine the space of automorphic forms used in \chapref{chap:spanning}. Given a cuspidal test function and a large-gap archimedean parameter, the simple trace formula compares traces on unitary groups of different signatures. It gives equality of dimensions and multiplicities for spaces of good forms on inner forms. For the simple trace formula and base change for unitary groups, see Arthur and Clozel~\cite{ArthurClozel1989}, Harris and Labesse~\cite{HarrisLabesse2004}, and Labesse~\cite{Labesse2011}.\leanfn{Lean source: \leansourcelink{src/Lib/Adelic/TraceFormula/TraceComparison.lean}{665}.} \section{Analytic number theory} Poisson summation gives the modulus inversion formula for the Dirichlet character theta series used in the final analytic argument~\cite{Davenport2000,IwaniecKowalski2004,MontgomeryVaughan2007}. See Heath-Brown~\cite{HeathBrown1995} for zero-density estimates for quadratic twists and mean-value estimates for character sums. Titchmarsh~\cite{Titchmarsh1986} gives classical background on the distribution of the zeros of $\zeta(s)$ and $L$-functions.\leanfn{Lean source: \leansourcelink{src/Lib/Analytic/DirichletTheta.lean}{1}; \leansourcelink{src/Lib/Analytic/PrimeNumberTheorem/Tauberian.lean}{319}.} \chapref{chap:reduction} also uses the error term in the prime number theorem for arithmetic progressions with a fixed modulus~\cite{MontgomeryVaughan2007} to bound the remainder at the second scale $x_1$. The accompanying Tauberian estimate compares bounds on Taylor coefficients of the Laplace transform with averages of the remainder against a Gamma density. \section{Complex multiplication and formal groups} The readable edition develops the theory of periods of CM elliptic curves, normalized theta functions, and the integrality of local formal parameters. The Chowla--Selberg formula~\cite{SelbergChowla1967} normalizes the CM period. Local formal groups of Lubin--Tate type~\cite{LubinTate1965} and the calculation of exponents in the $p$-adic power series of algebraic theta functions~\cite{BannaiKobayashi2010} support the higher jet divisibility estimates of \chapref{chap:derivatives}.\leanfn{Lean source: \leansourcelink{src/Lib/CM/ChowlaSelberg.lean}{1}; \leansourcelink{src/New/Derivatives/FormalGroup/Exponent.lean}{1}.} \section{Class field theory and counting cocycles} The local congruence conditions in \chapref{chap:congruences} are expressed using Hecke characters and Galois cocycles. When the selected split places satisfy the Frobenius detection conditions and suitable central elements exist, a Greenberg--Wiles arithmetic duality formula controls the number of cocycles subject to local triviality conditions. For global class field theory and duality in Galois cohomology, see Serre~\cite{Serre1997} and Neukirch, Schmidt, and Wingberg~\cite{NSW2008}.\leanfn{Lean source: \leansourcelink{src/Lib/ClassField/GreenbergWiles/CocycleCounts.lean}{707}.} \section{Estimates for the odd part over cyclotomic fields} The bound for the length of the module of odd cocycles uses Stickelberger elements over cyclotomic fields and a Kolyvagin Euler-system argument. Classical sources are Mazur and Wiles~\cite{MazurWiles1984} and Rubin~\cite{Rubin2000}. Before using the bound to control congruence errors, \chapref{chap:congruences} verifies the required ramification and coprimality conditions.\leanfn{Lean source: \leansourcelink{src/Lib/Cyclotomic/OddSha.lean}{645}.} \section{Cohomology of functors of points and fixed-point formulas} The background library constructs cohomology of functors of points for Galois representations~\cite{Milne1980} and proves a Woods Hole trace formula for varieties with charts, following Atiyah and Bott~\cite{AtiyahBott1968}. The proof uses a vanishing consequence. If a linear combination of the correspondence maps acts by zero on a specified Hodge--Tate component, then the local terms of the corresponding weight at the coincidence points sum to zero.\leanfn{Lean source: \leansourcelink{src/Lib/Cohomology/WoodsHole.lean}{214}.} \section{Integral Shimura models and Galois representations} The background library constructs integral models of the relevant unitary Shimura varieties and establishes congruence relations at split places. The $\ell$-adic Galois representations attached to algebraic automorphic forms on definite unitary groups satisfy local compatibility at spherical places. See Shin~\cite{Shin2011}, Chenevier and Harris~\cite{ChenevierHarris2013}, and Barnet-Lamb, Gee, Geraghty, and Taylor~\cite{BLGGT2014} for the classical constructions. The hypotheses for attaching these representations in \chapref{chap:congruences} are given by the formal definitions in the readable edition.\leanfn{Lean source: \leansourcelink{src/Lib/GaloisRep/Main/AllRanks.lean}{465}.} \section{Period rings and Breuil--Kisin modules} The quantitative analysis of local crystalline conditions uses $p$-adic period rings and Breuil--Kisin comparison theory~\cite{Kisin2006,BhattScholze2023}. The frame theorem gives nine structural properties of selected lattices on Kummer charts. These are used to lift crystalline extension classes and control local losses in the maximal-weight case.\leanfn{Lean source: \leansourcelink{src/Lib/PadicHodge/Kisin/FrameTheorem.lean}{735}.} \section{The Weil representation and theta inner product formulas} The adelic Weil representation~\cite{Weil1964,Howe1989} gives the group action used to construct theta kernels. When the target rank is strictly greater than twice the source rank and the test data satisfy the sharpness conditions, the readable edition proves a Rallis-type formula for the relevant Petersson pairing. For the classical versions, see Li~\cite{Li1992}, Kudla and Rallis~\cite{KudlaRallis1994}, and Gan, Qiu, and Takeda~\cite{GQT2014}. If the source data satisfy the appropriate edge conditions, the same result gives injectivity of the theta lift on the specified type space.\leanfn{Lean source: \leansourcelink{src/Lib/SiegelWeil/RallisInner/SharpData.lean}{367}.} \chapter{The Readable and Compact Editions} \label{app:edition-comparison} The upstream repository's \href{https://github.com/lsernau/grh-lean/tree/72fead102f663d5c7a407964a13dc0cf9d977207/grh}{readable edition \texttt{grh/}} and \href{https://github.com/lsernau/grh-lean/tree/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact}{compact edition \texttt{grh-compact/}} formalize and prove the same five public theorems. Table~\ref{tab:app-editions} lists the main objects with corresponding roles in the two editions. Their exact definitions appear in the respective Lean sources. \begin{table}[htbp] \centering \caption{Notation and proof steps in the readable and compact editions} \label{tab:app-editions} \small \begin{tabular}{@{}>{\raggedright\arraybackslash}p{0.23\textwidth} >{\raggedright\arraybackslash}p{0.31\textwidth} >{\raggedright\arraybackslash}p{0.37\textwidth}@{}} \toprule Object & Readable edition & Compact edition\\ \midrule Basic and cyclotomic moduli & $q_0,q_1$ & $N_0,N_1$\\ Selected sets of infinite places & \hyperref[def:a-places]{$\Phi_a$}, \hyperref[def:admissible-data]{$\Phi_b$} & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Data/AdmissibleData.lean\#L127}{tops}, \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Data/AdmissibleData.lean\#L26}{thick}\\ Source and target forms & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/UpperBound/Objects/Columns.lean\#L760}{SourceForm}, \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/UpperBound/Objects/Rows.lean\#L296}{targetForms} & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Columns/ColumnDefs.lean\#L71}{Column}, \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Trace/GoodIdempotent.lean\#L118}{rows}\\ Main amount and total two-scale remainder & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/PrimeSums.lean\#L62}{mainAmount}, \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/PrimeSums.lean\#L73}{totalRemainder} & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Endgame/ShortAndEnough.lean\#L32}{mainHeight}, \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Endgame/ShortAndEnough.lean\#L42}{remainder}\\ Error unit & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Data/AdmissibleData.lean\#L255}{errorUnit} & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Data/AdmissibleData.lean\#L143}{budget}\\ Weighted prime remainder & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Zeros/PrimeError.lean\#L65}{primeRemainder} & \leanlink{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Endgame/PrimeError.lean\#L38}{primeError}\\ Second-scale error & Prime number theorem in progressions of fixed modulus & One-sided Laplace transform estimate in a specified window\\ \bottomrule \end{tabular} \end{table} The two editions decouple the two-scale remainder in slightly different ways. The readable edition chooses a second scale $x_1$ satisfying the scale constraints and directly applies the prime number theorem in arithmetic progressions for a fixed modulus there. See \secref{sec:one-sided-bound}. The compact edition uses a window lemma to choose $\log x_1$ in $[t,t^2]$, so that the difference of the two relevant remainders is bounded above uniformly by $e^{-t}$.\leanfn{Lean source: \leansourcelink{src/New/Reduction/OneSidedBound.lean}{1}. See also \href{https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh-compact/src/New/Main.lean\#L149}{The one-sided bound in the compact edition}.} \input{appendixC} \begin{thebibliography}{80} \providecommand{\natexlab}[1]{#1} \providecommand{\url}[1]{\texttt{#1}} \expandafter\ifx\csname urlstyle\endcsname\relax \providecommand{\doi}[1]{doi: #1}\else \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi \bibitem[Alp{\"o}ge(2026)]{Alpoge2026} L.~Alp{\"o}ge. \newblock A note on the {Riemann} hypothesis and its generalization to {Dirichlet} {$L$}-functions, 2026. \newblock URL \url{https://alpo.ge/remark.pdf}. \bibitem[Ankeny(1952)]{Ankeny1952} N.~C. Ankeny. \newblock The least quadratic non residue. \newblock \emph{Ann. of Math. (2)}, 55:\penalty0 65--72, 1952. \bibitem[Arthur and Clozel(1989)]{ArthurClozel1989} J.~Arthur and L.~Clozel. \newblock \emph{Simple Algebras, Base Change, and the Advanced Theory of the Trace Formula}. \newblock Number 120 in Ann. of Math. Stud. Princeton Univ. Press, 1989. \bibitem[Atiyah and Bott(1968)]{AtiyahBott1968} M.~F. Atiyah and R.~Bott. \newblock A {Lefschetz} fixed point formula for elliptic complexes: {II}. {Applications}. \newblock \emph{Ann. of Math. (2)}, 88:\penalty0 451--491, 1968. \bibitem[Bach(1990)]{Bach1990} E.~Bach. \newblock Explicit bounds for primality testing and related problems. \newblock \emph{Math. Comp.}, 55:\penalty0 355--380, 1990. \bibitem[Bannai and Kobayashi(2010)]{BannaiKobayashi2010} K.~Bannai and S.~Kobayashi. \newblock Algebraic theta functions and the {$p$}-adic interpolation of {Eisenstein}--{Kronecker} numbers. \newblock \emph{Duke Math. J.}, 153:\penalty0 229--295, 2010. \bibitem[Barnet-Lamb et~al.(2014)Barnet-Lamb, Gee, Geraghty, and Taylor]{BLGGT2014} T.~Barnet-Lamb, T.~Gee, D.~Geraghty, and R.~Taylor. \newblock Potential automorphy and change of weight. \newblock \emph{Ann. of Math. (2)}, 179:\penalty0 501--609, 2014. \bibitem[Behrend(1946)]{Behrend1946} F.~A. Behrend. \newblock On sets of integers which contain no three terms in arithmetical progression. \newblock \emph{Proc. Natl. Acad. Sci. USA}, 32:\penalty0 331--332, 1946. \bibitem[Bhatt and Scholze(2023)]{BhattScholze2023} B.~Bhatt and P.~Scholze. \newblock Prismatic {$F$}-crystals and crystalline {Galois} representations. \newblock \emph{Camb. J. Math.}, 11:\penalty0 507--562, 2023. \bibitem[Bloch and Kato(1990)]{BlochKato1990} S.~Bloch and K.~Kato. \newblock {$L$}-functions and {Tamagawa} numbers of motives. \newblock In \emph{The Grothendieck Festschrift, Vol.~I}, number~86 in Progr. Math., pages 333--400. Birkh{\"a}user, 1990. \bibitem[Bombieri(1974)]{Bombieri1974} E.~Bombieri. \newblock Counting points on curves over finite fields. \newblock In \emph{S{\'e}minaire Bourbaki, vol.~1972/73}, number 383 in Lecture Notes in Math., pages 234--241. Springer-Verlag, 1974. \newblock URL \url{https://www.numdam.org/item/SB_1972-1973__15__234_0/}. \newblock Expos{\'e} 430. \bibitem[Bombieri(2000)]{Bombieri2000} E.~Bombieri. \newblock Problems of the {Millennium}: {The} {Riemann} {Hypothesis}. \newblock Clay Mathematics Institute, 2000. \bibitem[Bombieri and Gubler(2006)]{BombieriGubler2006} E.~Bombieri and W.~Gubler. \newblock \emph{Heights in Diophantine Geometry}. \newblock Number~4 in New Math. Monogr. Cambridge Univ. Press, 2006. \bibitem[Bombieri and Vaaler(1983)]{BombieriVaaler1983} E.~Bombieri and J.~D. Vaaler. \newblock On {Siegel}'s lemma. \newblock \emph{Invent. Math.}, 73:\penalty0 11--32, 1983. \bibitem[Borwein et~al.(2008)Borwein, Choi, Rooney, and Weirathmueller]{BorweinEtAl2008} P.~Borwein, S.~Choi, B.~Rooney, and A.~Weirathmueller, editors. \newblock \emph{The Riemann Hypothesis: A Resource for the Afficionado and Virtuoso Alike}. \newblock CMS Books Math. Springer, 2008. \bibitem[Bosch et~al.(1984)Bosch, G{\"u}ntzer, and Remmert]{BGR1984} S.~Bosch, U.~G{\"u}ntzer, and R.~Remmert. \newblock \emph{Non-Archimedean Analysis}. \newblock Number 261 in Grundlehren Math. Wiss. Springer, 1984. \bibitem[Broughan(2017{\natexlab{a}})]{Broughan2017a} K.~Broughan. \newblock \emph{Equivalents of the Riemann Hypothesis, Vol.~1: Arithmetic Equivalents}. \newblock Number 164 in Encyclopedia Math. Appl. Cambridge Univ. Press, 2017{\natexlab{a}}. \bibitem[Broughan(2017{\natexlab{b}})]{Broughan2017b} K.~Broughan. \newblock \emph{Equivalents of the Riemann Hypothesis, Vol.~2: Analytic Equivalents}. \newblock Number 165 in Encyclopedia Math. Appl. Cambridge Univ. Press, 2017{\natexlab{b}}. \bibitem[Broughan(2023)]{Broughan2023} K.~Broughan. \newblock \emph{Equivalents of the Riemann Hypothesis, Vol.~3: Further Steps towards Resolving the Riemann Hypothesis}. \newblock Number 187 in Encyclopedia Math. Appl. Cambridge Univ. Press, 2023. \bibitem[Chenevier and Harris(2013)]{ChenevierHarris2013} G.~Chenevier and M.~Harris. \newblock Construction of automorphic {Galois} representations, {II}. \newblock \emph{Camb. J. Math.}, 1:\penalty0 53--73, 2013. \bibitem[Conrey(2003)]{Conrey2003} J.~B. Conrey. \newblock The {Riemann} {Hypothesis}. \newblock \emph{Notices Amer. Math. Soc.}, 50\penalty0 (3):\penalty0 341--353, 2003. \bibitem[Conway and Sloane(1988)]{ConwaySloane1988} J.~H. Conway and N.~J.~A. Sloane. \newblock Low-dimensional lattices. {IV}. {The} mass formula. \newblock \emph{Proc. Roy. Soc. London Ser. A}, 419:\penalty0 259--286, 1988. \newblock \doi{10.1098/rspa.1988.0107}. \bibitem[Conway and Sloane(1999)]{ConwaySloane1999} J.~H. Conway and N.~J.~A. Sloane. \newblock \emph{Sphere Packings, Lattices and Groups}. \newblock Number 290 in Grundlehren Math. Wiss. Springer-Verlag, 3rd edition, 1999. \bibitem[Davenport(2000)]{Davenport2000} H.~Davenport. \newblock \emph{Multiplicative Number Theory}. \newblock Number~74 in Grad. Texts in Math. Springer, 3rd edition, 2000. \bibitem[Deligne(1971)]{Deligne1971} P.~Deligne. \newblock Formes modulaires et repr{\'e}sentations {$\ell$}-adiques. \newblock In \emph{S{\'e}minaire Bourbaki, vol.~1968/69}, number 179 in Lecture Notes in Math., pages 139--172. Springer-Verlag, 1971. \newblock Expos{\'e} 355. \bibitem[Deligne(1974)]{Deligne1974} P.~Deligne. \newblock La conjecture de {Weil}. {I}. \newblock \emph{Publ. Math. Inst. Hautes {\'E}tudes Sci.}, 43:\penalty0 273--307, 1974. \newblock \doi{10.1007/BF02684373}. \bibitem[Edwards(1974)]{Edwards1974} H.~M. Edwards. \newblock \emph{Riemann's Zeta Function}. \newblock Number~58 in Pure Appl. Math. Academic Press, 1974. \bibitem[Erez(2024)]{Erez2024} Y.~Erez. \newblock Morphisms of global theta lifts of non-trivial automorphic characters of orthogonal groups, 2024. \newblock URL \url{https://arxiv.org/abs/2401.13469}. \newblock arXiv:2401.13469. \bibitem[Flensted-Jensen(1980)]{FlenstedJensen1980} M.~Flensted-Jensen. \newblock Discrete series for semisimple symmetric spaces. \newblock \emph{Ann. of Math. (2)}, 111:\penalty0 253--311, 1980. \bibitem[Gan et~al.(2014)Gan, Qiu, and Takeda]{GQT2014} W.~T. Gan, Y.~Qiu, and S.~Takeda. \newblock The regularized {Siegel}--{Weil} formula (the second term identity) and the {Rallis} inner product formula. \newblock \emph{Invent. Math.}, 198:\penalty0 739--831, 2014. \newblock URL \url{https://arxiv.org/abs/1207.4709}. \newblock arXiv:1207.4709. \bibitem[Green(1955)]{Green1955} J.~A. Green. \newblock The characters of the finite general linear groups. \newblock \emph{Trans. Amer. Math. Soc.}, 80:\penalty0 402--447, 1955. \bibitem[Gross(1999)]{Gross1999} B.~H. Gross. \newblock Algebraic modular forms. \newblock \emph{Israel J. Math.}, 113:\penalty0 61--93, 1999. \newblock \doi{10.1007/BF02780173}. \bibitem[Hardy(1940)]{Hardy1940} G.~H. Hardy. \newblock \emph{Ramanujan: Twelve Lectures on Subjects Suggested by His Life and Work}. \newblock Cambridge Univ. Press, 1940. \newblock URL \url{https://archive.org/details/pli.kerala.rare.37877}. \bibitem[Harris and Labesse(2004)]{HarrisLabesse2004} M.~Harris and J.-P. Labesse. \newblock Conditional base change for unitary groups. \newblock \emph{Asian J. Math.}, 8:\penalty0 653--684, 2004. \bibitem[Harris et~al.(1996)Harris, Kudla, and Sweet]{HKS1996} M.~Harris, S.~S. Kudla, and W.~J. Sweet. \newblock Theta dichotomy for unitary groups. \newblock \emph{J. Amer. Math. Soc.}, 9:\penalty0 941--1004, 1996. \bibitem[Heath-Brown(1995)]{HeathBrown1995} D.~R. Heath-Brown. \newblock A mean value estimate for real character sums. \newblock \emph{Acta Arith.}, 72:\penalty0 235--275, 1995. \bibitem[Howe(1979)]{Howe1979} R.~Howe. \newblock {$\theta$}-series and invariant theory. \newblock In \emph{Automorphic Forms, Representations and $L$-Functions}, volume 33, Part~1 of \emph{Proc. Sympos. Pure Math.}, pages 275--285. Amer. Math. Soc., 1979. \bibitem[Howe(1989)]{Howe1989} R.~Howe. \newblock Transcending classical invariant theory. \newblock \emph{J. Amer. Math. Soc.}, 2:\penalty0 535--552, 1989. \bibitem[Ivi{\'c}(1985)]{Ivic1985} A.~Ivi{\'c}. \newblock \emph{The Riemann Zeta-Function: Theory and Applications}. \newblock Wiley, 1985. \newblock Reprinted by Dover, 2003. \bibitem[Iwaniec and Kowalski(2004)]{IwaniecKowalski2004} H.~Iwaniec and E.~Kowalski. \newblock \emph{Analytic Number Theory}. \newblock Number~53 in Amer. Math. Soc. Colloq. Publ. Amer. Math. Soc., 2004. \bibitem[Jacobi(1828)]{Jacobi1828} C.~G.~J. Jacobi. \newblock Suite des notices sur les fonctions elliptiques. \newblock \emph{J. Reine Angew. Math.}, 3:\penalty0 303--310, 1828. \newblock \doi{10.1515/crll.1828.3.303}. \bibitem[Jacobi(1829)]{Jacobi1829} C.~G.~J. Jacobi. \newblock \emph{Fundamenta nova theoriae functionum ellipticarum}. \newblock Borntr{\"a}ger, K{\"o}nigsberg, 1829. \newblock \doi{10.3931/e-rara-3926}. \bibitem[Kisin(2006)]{Kisin2006} M.~Kisin. \newblock Crystalline representations and {$F$}-crystals. \newblock In \emph{Algebraic Geometry and Number Theory}, number 253 in Progr. Math., pages 459--496. Birkh{\"a}user, 2006. \bibitem[Kudla(1984)]{Kudla1984} S.~S. Kudla. \newblock Seesaw dual reductive pairs. \newblock In \emph{Automorphic Forms of Several Variables}, number~46 in Progr. Math., pages 244--268. Birkh{\"a}user, 1984. \newblock URL \url{https://wiki.epfl.ch/waldspurger/documents/1984%20kudla.pdf}. \bibitem[Kudla(1986)]{Kudla1986} S.~S. Kudla. \newblock On the local theta-correspondence. \newblock \emph{Invent. Math.}, 83:\penalty0 229--255, 1986. \newblock \doi{10.1007/BF01388961}. \bibitem[Kudla and Rallis(1994)]{KudlaRallis1994} S.~S. Kudla and S.~Rallis. \newblock A regularized {Siegel}--{Weil} formula: the first term identity. \newblock \emph{Ann. of Math. (2)}, 140:\penalty0 1--80, 1994. \bibitem[Labesse(2011)]{Labesse2011} J.-P. Labesse. \newblock Changement de base {CM} et s{\'e}ries discr{\`e}tes. \newblock In \emph{On the Stabilization of the Trace Formula, Vol.~1}, pages 429--470. Int. Press, 2011. \bibitem[Lagarias(2002)]{Lagarias2002} J.~C. Lagarias. \newblock An elementary problem equivalent to the {Riemann} hypothesis. \newblock \emph{Amer. Math. Monthly}, 109:\penalty0 534--543, 2002. \bibitem[Lagarias et~al.(1990)Lagarias, Lenstra, and Schnorr]{LLS1990} J.~C. Lagarias, H.~W. Lenstra, Jr., and C.~P. Schnorr. \newblock {Korkin}--{Zolotarev} bases and successive minima of a lattice and its reciprocal lattice. \newblock \emph{Combinatorica}, 10:\penalty0 333--348, 1990. \bibitem[Li(2023)]{Li2023} C.~Li. \newblock From sum of two squares to arithmetic {Siegel}--{Weil} formulas. \newblock \emph{Bull. Amer. Math. Soc. (N.S.)}, 60:\penalty0 327--370, 2023. \newblock \doi{10.1090/bull/1786}. \newblock URL \url{https://arxiv.org/abs/2110.07457}. \bibitem[Li(1992)]{Li1992} J.-S. Li. \newblock Non-vanishing theorems for the cohomology of certain arithmetic quotients. \newblock \emph{J. Reine Angew. Math.}, 428:\penalty0 177--217, 1992. \bibitem[Lubin and Tate(1965)]{LubinTate1965} J.~Lubin and J.~Tate. \newblock Formal complex multiplication in local fields. \newblock \emph{Ann. of Math. (2)}, 81:\penalty0 380--387, 1965. \bibitem[Mazur and Wiles(1984)]{MazurWiles1984} B.~Mazur and A.~Wiles. \newblock Class fields of abelian extensions of {$\mathbb{Q}$}. \newblock \emph{Invent. Math.}, 76:\penalty0 179--330, 1984. \bibitem[Miller(1976)]{Miller1976} G.~L. Miller. \newblock {Riemann}'s hypothesis and tests for primality. \newblock \emph{J. Comput. System Sci.}, 13:\penalty0 300--317, 1976. \bibitem[Milne(1980)]{Milne1980} J.~S. Milne. \newblock \emph{{\'E}tale Cohomology}. \newblock Number~33 in Princeton Math. Ser. Princeton Univ. Press, 1980. \bibitem[Montgomery and Vaughan(2007)]{MontgomeryVaughan2007} H.~L. Montgomery and R.~C. Vaughan. \newblock \emph{Multiplicative Number Theory I. Classical Theory}. \newblock Number~97 in Cambridge Stud. Adv. Math. Cambridge Univ. Press, 2007. \bibitem[Neukirch et~al.(2008)Neukirch, Schmidt, and Wingberg]{NSW2008} J.~Neukirch, A.~Schmidt, and K.~Wingberg. \newblock \emph{Cohomology of Number Fields}. \newblock Number 323 in Grundlehren Math. Wiss. Springer, 2nd edition, 2008. \bibitem[Piltz(1884)]{Piltz1884} A.~Piltz. \newblock \emph{{{\"U}ber} die {H{\"a}ufigkeit} der {Primzahlen} in arithmetischen {Progressionen} und {\"u}ber verwandte {Gesetze}}. \newblock Habilitationsschrift, Universit{\"a}t Jena, 1884. \bibitem[Ribet(1976)]{Ribet1976} K.~A. Ribet. \newblock A modular construction of unramified {$p$}-extensions of {$\mathbb{Q}(\mu_p)$}. \newblock \emph{Invent. Math.}, 34:\penalty0 151--162, 1976. \bibitem[Riemann(1859)]{Riemann1859} B.~Riemann. \newblock Ueber die {Anzahl} der {Primzahlen} unter einer gegebenen {Gr{\"o}sse}. \newblock \emph{Monatsber. K{\"o}nigl. Preu{\ss}. Akad. Wiss. Berlin}, pages 671--680, 1859. \bibitem[Robin(1984)]{Robin1984} G.~Robin. \newblock Grandes valeurs de la fonction somme des diviseurs et hypoth{\`e}se de {Riemann}. \newblock \emph{J. Math. Pures Appl. (9)}, 63:\penalty0 187--213, 1984. \bibitem[Rubin(2000)]{Rubin2000} K.~Rubin. \newblock \emph{Euler Systems}. \newblock Number 147 in Ann. of Math. Stud. Princeton Univ. Press, 2000. \bibitem[Schoenfeld(1976)]{Schoenfeld1976} L.~Schoenfeld. \newblock Sharper bounds for the {Chebyshev} functions {$\theta(x)$} and {$\psi(x)$}. {II}. \newblock \emph{Math. Comp.}, 30:\penalty0 337--360, 1976. \bibitem[Selberg and Chowla(1967)]{SelbergChowla1967} A.~Selberg and S.~Chowla. \newblock On {Epstein}'s zeta-function. \newblock \emph{J. Reine Angew. Math.}, 227:\penalty0 86--110, 1967. \bibitem[Serre(1997)]{Serre1997} J.-P. Serre. \newblock \emph{Galois Cohomology}. \newblock Springer, 1997. \bibitem[Shapira(2006)]{Shapira2006} A.~Shapira. \newblock {Behrend}-type constructions for sets of linear equations. \newblock \emph{Acta Arith.}, 122:\penalty0 19--33, 2006. \bibitem[Shin(2011)]{Shin2011} S.~W. Shin. \newblock {Galois} representations arising from some compact {Shimura} varieties. \newblock \emph{Ann. of Math. (2)}, 173:\penalty0 1645--1741, 2011. \bibitem[Siegel(1935)]{Siegel1935} C.~L. Siegel. \newblock {{\"U}ber} die analytische {Theorie} der quadratischen {Formen}. \newblock \emph{Ann. of Math. (2)}, 36:\penalty0 527--606, 1935. \bibitem[SIY.Z(2026)]{SIYZ2026} SIY.Z. \newblock Why did {OpenAI} not prove the {Riemann} hypothesis first? {Evidence} and timeline (in {Chinese}). \newblock Zhihu Column, 2026. \newblock URL \url{https://zhuanlan.zhihu.com/p/2108103185042781935}. \bibitem[Snitz(2007)]{Snitz2007} K.~Snitz. \newblock Theta correspondence of automorphic characters. \newblock \emph{J. Number Theory}, 122:\penalty0 429--465, 2007. \bibitem[Stepanov(1969)]{Stepanov1969} S.~A. Stepanov. \newblock On the number of points of a hyperelliptic curve over a finite prime field. \newblock \emph{Math. USSR-Izv.}, 3\penalty0 (5):\penalty0 1103--1114, 1969. \newblock \doi{10.1070/IM1969v003n05ABEH000834}. \bibitem[Tao(2026)]{Tao2026SiegelComment} T.~Tao. \newblock A sketch of the proof of non-existence of {Siegel} zeroes (comment of 19 {October} 2026). \newblock What's New (blog), 2026. \newblock URL \url{https://terrytao.wordpress.com/2026/10/19/a-sketch-of-the-proof-of-non-existence-of-siegel-zeroes/#comment-698421}. \bibitem[Taylor and Wiles(1995)]{TaylorWiles1995} R.~Taylor and A.~Wiles. \newblock Ring-theoretic properties of certain {Hecke} algebras. \newblock \emph{Ann. of Math. (2)}, 141:\penalty0 553--572, 1995. \bibitem[Titchmarsh(1986)]{Titchmarsh1986} E.~C. Titchmarsh. \newblock \emph{The Theory of the Riemann Zeta-Function}. \newblock Oxford Univ. Press, 2nd edition, 1986. \newblock Revised by D.~R.~Heath-Brown. \bibitem[von Koch(1901)]{vonKoch1901} H.~von Koch. \newblock Sur la distribution des nombres premiers. \newblock \emph{Acta Math.}, 24:\penalty0 159--182, 1901. \bibitem[Wang(2025)]{Wang2025} B.~P.~J. Wang. \newblock Global theta lifting and automorphic periods associated to nilpotent orbits. \newblock \emph{J. Number Theory}, 271:\penalty0 122--149, 2025. \newblock \doi{10.1016/j.jnt.2024.11.004}. \bibitem[Weil(1964)]{Weil1964} A.~Weil. \newblock Sur certains groupes d'op{\'e}rateurs unitaires. \newblock \emph{Acta Math.}, 111:\penalty0 143--211, 1964. \bibitem[Weil(1965)]{Weil1965} A.~Weil. \newblock Sur la formule de {Siegel} dans la th{\'e}orie des groupes classiques. \newblock \emph{Acta Math.}, 113:\penalty0 1--87, 1965. \bibitem[Weil(1982)]{Weil1982} A.~Weil. \newblock \emph{Adeles and Algebraic Groups}. \newblock Number~23 in Progr. Math. Birkh{\"a}user, 1982. \bibitem[Wolsey(1982)]{Wolsey1982} L.~A. Wolsey. \newblock An analysis of the greedy algorithm for the submodular set covering problem. \newblock \emph{Combinatorica}, 2:\penalty0 385--393, 1982. \end{thebibliography}