% Appendix G. The Weil conjectures on the route of Grothendieck and Serre: the implication, a positivity criterion, the % counting barrier, and the proof of Deligne's bound after Alpoge, in relation to the results of the paper. \section{The Weil conjectures}\label{app:weil} The Weil conjectures were proved by Deligne \cite{Deligne1974,Deligne1980}. Grothendieck proposed to derive them from the standard conjectures, following Serre's K\"ahlerian analogue \cite{Serre1960,Grothendieck1969}; in his words, the standard conjectures imply ``all of Weil's conjectures'' \cite{Grothendieck1969}. This appendix records the place of the results of this paper on that route. It contains no new result on the Weil conjectures. \subsection{From the standard conjectures to the Riemann hypothesis}\label{ss:weil-route} Let $X$ be a variety of dimension $d$ over $\F_q$ and $\phi$ its Frobenius. Kleiman showed that $\Lef(X)$ and $\HSC(X\times X)$ imply that the eigenvalues of $\phi$ on $H^n(X_{\bar\F_q})$ have absolute value $q^{n/2}$ \cite{Kleiman1968}. The argument restricts the Hodge-type form of $X\times X$ to the algebraic classes generated by the graph of $\phi$ and its transpose, where it becomes a positive trace form on the algebra of correspondences, and uses the Rosati-type involution $\Gamma\mapsto \Lambda\circ\Gamma^{\mathsf t}\circ L$ \cite{Kleiman1968,Kleiman1994}. Weil's proof for curves is the case $d=1$, where $\HSC(X\times X)$ is the Hodge index theorem on the surface $X\times X$ \cite{Weil1948,Grothendieck1958}. \subsection{A positivity criterion}\label{ss:weil-criterion} \begin{proposition}\label{prop:weil-criterion} Let $V$ be a finite-dimensional complex vector space, $\phi$ an endomorphism of $V$ and $q>0$. The following are equivalent: \textup{(a)} $\phi$ is semisimple and all its eigenvalues have absolute value $q^{1/2}$; \textup{(b)} there is a positive definite hermitian form $h$ on $V$ with $h(\phi x,\phi y)=q\,h(x,y)$ for all $x,y$. \end{proposition} \begin{proof} (a)$\Rightarrow$(b): take an eigenbasis and declare it orthonormal. (b)$\Rightarrow$(a): $q^{-1/2}\phi$ is unitary for $h$, hence semisimple with eigenvalues on the unit circle; explicitly, for an eigenvector $v$ with eigenvalue $\alpha$, $\abs\alpha^2h(v,v)=h(\phi v,\phi v)=q\,h(v,v)$ and $h(v,v)>0$. \end{proof} The proposition says that the Riemann hypothesis for a semisimple Frobenius is the existence of a definite form for which Frobenius is a similarity. On the route of Grothendieck the form is the Hodge-type form of $X\times X$ on the algebra generated by Frobenius, and its definiteness is the content. The present paper constructs definite forms on algebraic classes from characteristic zero; it does not construct them on all of $H^n$, which is what (b) needs. \subsection{The counting barrier}\label{ss:weil-counting} \begin{remark}\label{rem:counting-barrier} A correspondence of degree $D$ that is self-adjoint for a positive counting form has its spectrum in $[-D,D]$; that is all that counting gives. The Ramanujan bound $2(D-1)^{1/2}$, or the bound $2q^{1/2}$ for Hecke operators of degree $q+1$, is smaller than the trivial bound as soon as $D>2$: for $D=3$ one has $3>2\sqrt2$, and for $q=3$ one has $4>2\sqrt3$. The trivial bound is attained: the all-ones matrix of size three is symmetric of degree three and has the eigenvalue $3$. Positivity and degree do not imply the Ramanujan bound, and an additional input is needed. \end{remark} In \cref{prop:seed} the additional input is the Hodge index theorem on a surface over which the Hecke correspondence is realised by intersections of Goren--Oort divisors, and it gives the Ramanujan bound at inert primes for the forms of \cref{mt:F}(i). \subsection{The proof of Deligne's bound after Alp\"oge}\label{ss:weil-alpoge} Alp\"oge sketched a proof of Deligne's bound for the weights of Frobenius on the cohomology of lisse sheaves \cite{Zhang2026}, whose expanded form uses the formalism of \'etale cohomology, the weak Lefschetz theorem and the Cauchy--Schwarz inequality. We describe its structure as presented by Zhang \cite{Zhang2026}. On the $k$-fold power of an affine variety one considers a hypersurface coupling consecutive factors by a non-degenerate bilinear form. A remainder term, the difference between a power of the trace on the original variety and a scaled trace on the hypersurface, is, up to a sign $(-1)^{D-1}$ fixed by the dimension, a trace on a direct sum of cohomology groups with no cancellation; a Parseval-type bound controls it, and a lemma on power sums then bounds every eigenvalue, giving the weight bound as $k\to\infty$. The sign $(-1)^{D-1}$ is a positivity statement, and the mechanism uses non-product subvarieties of powers of a variety. In the language of \cref{sec:information}, the information principle shows that formal operations on the tensor powers of the algebraic classes of a variety give no sign, and that the Riemann hypothesis for a variety gives no direction on its Tate classes (\cref{ss:info-frobenius}). Whether the cycles of the argument after Alp\"oge can serve as targets in the sense of \cref{def:transfer-datum} is \cref{prob:weil}. \subsection{Quaternionic Shimura varieties}\label{ss:weil-shimura} For the compact quaternionic Shimura varieties $X_S$ of \cref{sec:ladder} at an inert prime, the cohomology in the middle degree is, by Matsushima's formula and a comparison of traces, a sum of tensor-induced representations attached to the forms $\pi$, and the eigenvalues of Frobenius on the $\pi$-part are products of the Satake parameters of $\pi$ at $\pp$. By \cref{mt:F}(i) those have absolute value $\Nm\pp^{1/2}$. A proof of the Riemann hypothesis for $X_S$ at inert primes along these lines would require the comparison of traces to be carried out without the purity of the cohomology, and we have not checked that it can be; we do not state it as a result.