% Section 8b. Positivity and the Riemann hypothesis, from Weil to the present paper: Weil's proof for curves through the % Castelnuovo--Severi inequality, the modular curve, and the comparison with the converse theorem of Layer II. \section{Positivity and the Ramanujan bound}\label{sec:weil} The positivity that the Hodge-type conjecture asserts was discovered as the tool that proves the Riemann hypothesis for curves. This section recalls Weil's argument in the form of the Hodge index theorem on a surface, follows it to the Ramanujan bound for modular forms of weight two, and compares it with the converse theorem of \cref{sec:converse}, which deduces the same kind of bound from positivity on the special fibre of a Shimura surface. The comparison shows the two places at which positivity can be applied to bound a Satake parameter, and explains why the second is visible only in characteristic $p$. \subsection{Weil's theorem}\label{ss:weil-curves} \begin{theorem}[Weil \cite{Weil1948}; Mattuck--Tate \cite{MattuckTate1958}, Grothendieck \cite{Grothendieck1958}]\label{thm:weil} Let $C$ be a smooth projective geometrically connected curve of genus $g$ over $\Fq$. Then $\abs{\#C(\Fq)-q-1}\le2g\sqrt q$, and every eigenvalue of Frobenius on $H^1(C_{\Fqbar},\Ql)$ has absolute value $q^{1/2}$. \end{theorem} \begin{proof} On the surface $S=C\times C$ over $\Fqbar$, let $f_1=\{x\}\times C$ and $f_2=C\times\{x\}$ be the two fibre classes, so that $f_1^2=f_2^2=0$ and $f_1\cdot f_2=1$, and $h=f_1+f_2$, an ample class with $h^2=2$. For a divisor $D$ put $d_1=D\cdot f_1$ and $d_2=D\cdot f_2$; then $D'=D-d_2f_1-d_1f_2$ satisfies $D'\cdot f_1=D'\cdot f_2=0$, so $D'\cdot h=0$, and the Hodge index theorem on $S$ \cite{Grothendieck1958} gives $D'^2\le0$, that is \begin{equation}\label{eq:weil-cs} D^2\le2d_1d_2, \end{equation} the inequality of Castelnuovo and Severi. Apply it to $D=r\Delta+s\Gamma$, where $\Delta$ is the diagonal and $\Gamma$ the graph of the $q$-power Frobenius $F$, for integers $r,s$. One has $\Delta^2=2-2g$, $\Gamma^2=q(2-2g)$, $\Delta\cdot\Gamma=N=\#C(\Fq)$, and $(d_1,d_2)=(1,1)$ for $\Delta$, $(1,q)$ for $\Gamma$ in a suitable order. Hence \[ r^2(2-2g)+2rsN+s^2q(2-2g)\le2(r+s)(r+qs), \] that is $g r^2+(q+1-N)rs+gqs^2\ge0$ for all integers $r,s$. The discriminant of this binary quadratic form is therefore nonpositive, $(q+1-N)^2\le4g^2q$, which is the bound. Applied to $C$ over the extensions $\F_{q^m}$, it gives $\abs{\sum_i\alpha_i^m}\le2gq^{m/2}$ for the Frobenius eigenvalues $\alpha_i$ on $H^1$, for every $m$, and the generating function $\sum_m(\sum_i\alpha_i^m)t^m$ then has radius of convergence at least $q^{-1/2}$, so $\abs{\alpha_i}\le q^{1/2}$; the functional equation, $\alpha_i\mapsto q/\alpha_i$, gives equality. \end{proof} The proof uses positivity on the surface $C\times C$, through the Hodge index theorem, and applies it to the classes of two correspondences, the diagonal and the graph of Frobenius. Its general form is the argument of Grothendieck, Serre and Kleiman (\cref{prop:dream-rh}), which applies the Hodge-type conjecture on $X\times X$ to the graph of Frobenius. In the language of \cref{sec:products}, it is the statement that the form is positive on the span of the classes $\Delta^{(i)}$ obtained from the powers of Frobenius, which is equivalent to $\abs z=1$ for the normalised eigenvalue (\cref{prop:prod-diagonal}). \subsection{The modular curve}\label{ss:weil-modular} Let $f$ be a cuspidal newform of weight two and level $N$, with Hecke eigenvalues $a_\ell(f)$. By the Eichler--Shimura relation, for $\ell\nmid N$ the reduction modulo $\ell$ of the Hecke correspondence $T_\ell$ on the modular curve $X_0(N)$ is the sum of the Frobenius and its transpose, so that $a_\ell(f)=\alpha+\bar\alpha$ for an eigenvalue $\alpha$ of Frobenius on the $f$-part of $H^1(X_0(N)_{\bar\F_\ell})$. By \cref{thm:weil}, $\abs\alpha=\ell^{1/2}$, and \[ \abs{a_\ell(f)}\le2\ell^{1/2}, \] the Ramanujan bound in weight two. The positivity used lives on $X_0(N)_{\bar\F_\ell}\times X_0(N)_{\bar\F_\ell}$, and the classes to which it is applied are the diagonal and the graph of Frobenius. \subsection{The Hilbert modular surface}\label{ss:weil-hilbert} Let now $F$ be real quadratic, $p$ inert, $B$ as in \cref{cor:conv-surface}, and $\pi$ a cuspidal representation of parallel weight two. The bound $\abs{a_\pp(\pi)}\le2p$ can be obtained in two ways. \begin{enumerate}[label=(\alph*)] \item \emph{By Weil's route.} The $\pi$-part of $H^2$ of the special fibre $X$ of the quaternionic Shimura surface is the tensor induction of $\rho_\pi$, with $\Frob_p^2$ acting through $\rho_\pi(\Frob_\pp)\otimes\rho_\pi(\Frob_\pp)$ after the identification of the two factors (\cref{ss:go-tate}); so the eigenvalues of $\Frob_{p^2}$ include $\alpha_\pi^2$. The Riemann hypothesis for $X$ \cite{Deligne1974} gives $\abs{\alpha_\pi^2}=p^2$, hence $\abs{\alpha_\pi}=p$ and the bound (\cref{rem:conv-weil}). This uses positivity on $X\times X$, or Deligne's theorem in its place. \item \emph{By the converse of Layer~II.} The two Goren--Oort divisors of the $\pi$-part have intersection matrix congruent to $-G_2(T_\pi)$ times a positive factor, and the Hodge index theorem on $X$ itself gives $\abs{T_\pi}\le2$ (\cref{cor:conv-surface}). This uses positivity on $X$ alone, in codimension one. \end{enumerate} The second route needs the formula of Tian and Xiao for the intersection numbers, which is a computation on the special fibre, and the existence of the Goren--Oort divisors, which are a phenomenon of characteristic $p$. It does not need the Riemann hypothesis for $X$ or for $X\times X$. \subsection{Comparison of the two arguments}\label{ss:weil-weaker} In both routes the bound is a consequence of positivity, but of positivity on different spaces. \begin{itemize}[leftmargin=2em] \item Weil's route uses positivity on the self-product, in the middle codimension of $X\times X$, on the span of the graphs of the powers of Frobenius. For $X$ of dimension $d$ this is the Hodge-type conjecture in codimension $d$ on the $2d$-fold $X\times X$; for $d=1$ it is the Hodge index theorem on a surface, for $d\ge2$ it is open in general, and the Riemann hypothesis was proved by Deligne without it. \item The route of Layer~II uses positivity on $X$ itself, in the middle codimension $d/2$, on the span of the basic-locus cycles. For $d=2$ it is the Hodge index theorem on the surface $X$; for $d\ge4$ it is \cref{thm:AQ}, whose proof uses the Ramanujan bound, so the converse (\cref{thm:conv-quat}) is a statement of equivalence rather than a new proof of the bound. \end{itemize} In dimension two the second route proves the Ramanujan bound at inert primes from the Hodge index theorem on the Shimura surface, a statement about divisors. In this precise sense the Hodge index theorem on the special fibre of a Shimura surface, applied to the classes that the basic locus provides, plays the role that the Hodge index theorem on $C\times C$, applied to the graph of Frobenius, plays for curves. \begin{table}[ht] \caption{Two routes from positivity to the Ramanujan bound.}\label{tab:weil} \small \begin{tabular}{@{}>{\raggedright\arraybackslash}p{.24\textwidth}>{\raggedright\arraybackslash}p{.34\textwidth}>{\raggedright\arraybackslash}p{.34\textwidth}@{}} \toprule & Weil (curves, modular curves) & converse of Layer II (Shimura surfaces) \\ \midrule variety & $C\times C$, $C$ the curve & $X$, the special fibre of the surface \\ classes & diagonal, graph of Frobenius & the two Goren--Oort divisors \\ positivity & Hodge index on $C\times C$ & Hodge index on $X$ \\ bound obtained & $\abs{\alpha}=q^{1/2}$ for Frobenius on $H^1$ & $\abs{a_\pp(\pi)}\le2\Nm\pp^{1/2}$ at inert $\pp$ \\ link to Hecke eigenvalue & Eichler--Shimura relation & formula of Tian and Xiao \\ exists in characteristic $0$ & yes (Serre's K\"ahler analogue) & no: the divisors are Goren--Oort strata \\ \bottomrule \end{tabular} \end{table} \subsection{Relation to the present paper}\label{ss:weil-place} Grothendieck designed the Hodge-type conjecture so that, with the Lefschetz conjecture, it would give the Riemann hypothesis by Weil's route. The present paper uses the same positivity in the opposite direction and on a different space: the Ramanujan conjecture, which Deligne's theorem and its automorphic extensions supply, gives the positivity of the intersection form on basic-locus classes. The two directions meet on the Shimura surface, where both are the Hodge index theorem. In higher dimension the first direction requires positivity on $X\times X$, which is open, and the second gives positivity on $X$, which is the content of \cref{thm:AQ,thm:AU}. On the classes of $X\times X$ obtained from Frobenius, the two are again equivalent (\cref{prop:prod-diagonal}): positivity there is the statement $\abs{z_\pi}=1$.