% Section 6c. Proof of Theorem B for families: the cohomology of compact quaternionic Shimura varieties with S_infty % empty, a finite criterion for genericity (Kronecker), a criterion for freeness, the Lefschetz conjecture, and the proof. \section{Compact quaternionic Shimura varieties of even dimension}\label{sec:family} This section proves \cref{thm:Bfamily}. The argument is that of \cref{ss:B-proof}, with three additions: a description of the cohomology outside the cuspidal part when the narrow class group is not trivial, a criterion for the genericity condition~(b) that can be checked on the characteristic polynomial of one Brandt matrix, and a criterion for the freeness condition~(a) in terms of a finite set of CM extensions. Throughout, $F$ is totally real of even degree $g$, $p>2$ is inert in $F$, $\pp=p\OO_F$, and $B$ is a quaternion algebra over $F$ split at all real places and at $\pp$ and ramified at a nonempty, necessarily even, set $S_f$ of finite places. We put $G=\Res_{F/\Q}B^\times$ and $X_K=\Sh_K(G)$ for an open compact $K=K^pK_p\subset G(\Af)$ with $K_p$ hyperspecial; so $d=g$ and $S_\infty=\emptyset$ in the notation of \cref{ss:conventions}. \subsection{Cohomology}\label{ss:fam-cohomology} Let $C_K=F^\times_+\backslash\mathbb A_{F,f}^\times/\mathrm{nrd}(K)$, a finite abelian group, and $\pi_0(X_{K,\Qbar})\to C_K$ the map of \cref{ss:bg-shimura}, a bijection since $d=g>0$. \begin{proposition}\label{prop:fam-cohomology} Let $K$ be such that $X_K$ is smooth and projective (for instance $K$ sufficiently small). Then \[ H^\bullet(X_{K,\Qbar},\Ql)=\mathcal T_K\oplus\bigoplus_\pi H^g(X_{K,\Qbar},\Ql)[\pi], \] where the sum is over the cuspidal automorphic representations $\pi$ of $\GL_2(\mathbb A_F)$ of parallel weight two which are discrete series at $S_f$ and occur at level $K$, each $H^g[\pi]$ is concentrated in degree $g$, and $\mathcal T_K$ is spanned by the classes \[ e_I\cdot[Z],\qquad I\subset\Sigma_\infty,\quad Z\in\pi_0(X_{K,\Qbar}), \] where $e_I=\prod_{\tau\in I}e_\tau$ is a product of the first Chern classes of the partial Hodge line bundles and $[Z]\in H^0$ is the class of the connected component $Z$. In particular $H^{\mathrm{odd}}=0$, every class of $\mathcal T_K$ is the class of an algebraic cycle defined over a finite extension of $\Q$, and the same holds after reduction at $p$ for the special fibre, compatibly with the specialisation isomorphism. \end{proposition} \begin{proof} By Matsushima's formula the cohomology with complex coefficients is $\bigoplus_\Pi m(\Pi)\,\Pi_f^K\otimes H^\bullet(\mathfrak g,K_\infty;\Pi_\infty)$ over the automorphic representations $\Pi$ of $B^\times(\mathbb A_F)$. The one-dimensional ones are $\chi\circ\mathrm{nrd}$ with $\chi$ a character of $C_K$; for them $H^\bullet(\mathfrak g,K_\infty;\Pi_\infty)$ is the cohomology of the compact dual $(\PP^1)^g$, spanned by the classes of the invariant forms $\omega_{\tau_1}\wedge\dots\wedge\omega_{\tau_k}$, which are the Chern forms of the partial Hodge line bundles; summing over $\chi$ replaces the characters of $C_K$ by the indicator functions of the components. The infinite-dimensional ones are the Jacquet--Langlands transfers of the cuspidal $\pi$ (\cref{thm:bg-jl}); since $B$ is split at every real place, $\Pi_\infty$ is a discrete series at every real place and contributes only in degree $g$ \cite{BrylinskiLabesse1984}. The Chern classes and the components are algebraic and defined over the field of definition of the canonical model and of the components, a finite abelian extension of $\Q$. The partial Hodge line bundles extend to the smooth projective integral model \cite[\S2]{TianXiao2016}, so their Chern classes specialise to those on the special fibre; the components specialise to components because the model is smooth and proper. The Hecke operators prime to $p$ act compatibly on the generic and special fibres, so the decomposition holds on $X_{K,\Fpbar}$. \end{proof} \subsection{A finite criterion for genericity}\label{ss:fam-generic} \begin{lemma}\label{lem:fam-kronecker} Let $\pi$ be as above, unramified at $\pp$, with Hecke eigenvalue $a_\pp(\pi)$. Then $\pi$ satisfies \Gen{} if and only if $a_\pp(\pi)^2/\Nm\pp$ is not an algebraic integer. \end{lemma} \begin{proof} If $\alpha_\pi/\beta_\pi=\zeta$ is a root of unity, then $a_\pp^2/\Nm\pp=(\alpha_\pi+\beta_\pi)^2/(\alpha_\pi\beta_\pi)=2+\zeta+\zeta^{-1}$ is an algebraic integer (\cref{rem:generic-ramanujan}). Conversely suppose that $b=a_\pp(\pi)^2/\Nm\pp-2$ is an algebraic integer. It lies in the Hecke field of $\pi$, which is totally real, and its conjugates are the numbers $a_\pp(\pi^\sigma)^2/\Nm\pp-2$ for the Galois conjugates $\pi^\sigma$, which are cuspidal of the same kind. By the Ramanujan conjecture for each $\pi^\sigma$ \cite{Blasius2006}, $a_\pp(\pi^\sigma)^2\le4\Nm\pp$, so every conjugate of $b$ lies in $[-2,2]$. By Kronecker's theorem \cite{Kronecker1857}, an algebraic integer all of whose conjugates are real and lie in $[-2,2]$ is of the form $\zeta+\zeta^{-1}$ for a root of unity $\zeta$. Then $\alpha_\pi/\beta_\pi+\beta_\pi/\alpha_\pi=b=\zeta+\zeta^{-1}$, so $\alpha_\pi/\beta_\pi\in\{\zeta,\zeta^{-1}\}$ is a root of unity. \end{proof} \begin{corollary}\label{cor:fam-generic-check} Let $B'$ be the totally definite quaternion algebra over $F$ ramified at $S_f\cup\Sigma_\infty$ (an even set, since $g$ is even), $\OO'$ an Eichler order of the level corresponding to $K^p$, and $\chi(x)\in\Z[x]$ the characteristic polynomial of the Brandt matrix of $\pp$ on the orthogonal complement of the one-dimensional representations. Let \[ R(y)=\mathrm{Res}_x\bigl(\chi(x),\,x^2-\Nm\pp\,y\bigr)\in\Z[y]. \] Condition~(b) of \cref{thm:Bfamily} holds if and only if no monic irreducible factor of $R(y)/\mathrm{lc}(R)$ over $\Q$ has integer coefficients. \end{corollary} \begin{proof} The roots of $\chi$ are the $a_\pp(\pi)$, by the Jacquet--Langlands correspondence and the identification of the Brandt module with automorphic forms on $B'^\times$ (\cref{ss:bg-brandt}); the roots of $R$ are the numbers $a_\pp(\pi)^2/\Nm\pp$, with multiplicities. An algebraic number is an algebraic integer exactly when its monic minimal polynomial has integer coefficients. Apply \cref{lem:fam-kronecker}. \end{proof} For the fourfold of \cref{thm:Bprecise} at $p=3$, $\chi(x)=(x+8)^2(x+16)^2$, and $R(y)$ has the roots $\tfrac{64}{81}$ and $\tfrac{256}{81}$, which are not integers; this is \cref{lem:generic-integral} in the form of the corollary. The criterion is effective: it requires the Brandt matrix of one prime and a resultant. \subsection{A criterion for freeness}\label{ss:fam-free} Let $\mathcal E_F$ be the set of quadratic extensions $E/F$ inside a fixed algebraic closure of one of the following two kinds: \begin{enumerate}[label=(\alph*)] \item $E=F(\zeta)$ for a root of unity $\zeta$ with $[F(\zeta):F]=2$; \item $E=F(\sqrt{-\delta})$ for a totally positive $\delta\in F^\times$ whose fractional ideal is a square. \end{enumerate} Both kinds consist of CM fields. The set is finite: there are finitely many roots of unity of degree two over $F$, and the classes of $\delta$ in (b) modulo $F^{\times2}$ form a group which is an extension of the $2$-torsion of the class group by $\OO_F^{\times,+}/\OO_F^{\times2}$, both finite. \begin{proposition}\label{prop:fam-free} Let $K=\widehat\OO_B^\times$ for a maximal order $\OO_B$, and suppose that there is a place $\qq\in S_f$ which splits in every $E\in\mathcal E_F$. Then for every normal subgroup $K'\subset K$ of finite index with $K'_p=K_p$, the group $K/K'$ acts freely on the complex points of $X_{K'}$, and condition~(a) of \cref{thm:Bfamily} holds. \end{proposition} \begin{proof} A point of $X_{K'}(\C)$ is the class of $(z,x)$ with $z\in\mathfrak H^g$ and $x\in G(\Af)$, and $k\in K$ fixes its image modulo $K'$ if and only if there is $\gamma\in B^\times$ with $\gamma z=z$ and $\gamma xk\in xK'$. If $\gamma\in F^\times$, then $k\in F^\times K'$, so $k=ck'$ with $c\in F^\times\cap K=\OO_F^\times$, and $k$ acts as the identity on $X_{K'}$; the statement concerns the quotient of $K/K'$ that acts effectively, and we may assume $\gamma\notin F^\times$. At a real place $\tau$ the algebra $F(\gamma)\otimes_{F,\tau}\R$ embeds in $B\otimes_{F,\tau}\R=M_2(\R)$, so the image of $\gamma$ in $M_2(\R)$ is not scalar; since it fixes a point of $\mathfrak H$, it is elliptic, with non-real eigenvalues. Hence $E=F(\gamma)$ is a quadratic extension of $F$ with $E\otimes_F\R\cong\C^g$: a CM field. The stabiliser of $z$ in $B^\times\cap xKx^{-1}\mathbb A_{F,f}^\times$, modulo $F^\times$, is finite, so $\gamma^m\in F^\times$ for some $m\ge1$. Let $c$ be complex conjugation of $E$ and $\varepsilon=\gamma/c(\gamma)=\gamma^2/\mathrm{nrd}(\gamma)$. Then $\varepsilon^m=\gamma^m/c(\gamma)^m=1$, so $\varepsilon$ is a root of unity of $E$. If $\varepsilon\neq\pm1$, then $E=F(\varepsilon)$ is of kind (a). The case $\varepsilon=1$ is excluded since $\gamma\notin F$. If $\varepsilon=-1$, then $\gamma^2=-\mathrm{nrd}(\gamma)$ and $E=F(\sqrt{-\delta})$ with $\delta=\mathrm{nrd}(\gamma)$, totally positive as a norm from a CM field; and since $\gamma\in xKx^{-1}\mathbb A_{F,f}^\times$, its reduced norm lies in $\widehat\OO_F^\times\mathbb A_{F,f}^{\times2}$, so that the fractional ideal of $\delta$ is a square: $E$ is of kind (b). In all cases $E\in\mathcal E_F$, and $E$ embeds in $B$, hence in the division algebra $B_\qq$; so $E\otimes_F F_\qq$ is a field and $\qq$ does not split in $E$, a contradiction. The free action on the geometric points of the special fibre follows by the argument of \cref{lem:torsion-free}(iii): a fixed point gives an automorphism of the corresponding abelian variety with its additional structure, of finite order modulo the centre, whose action on the $\qq$-adic Tate module produces an element of $B_\qq^\times$ of the same kind, and the argument above applies in $B_\qq$. \end{proof} For $F=\Q(\zeta_{16})^+$ the set $\mathcal E_F$ is $\{F(i),F(\sqrt{-3})\}$: the class number is one and every totally positive unit is a square (\cref{lem:B-field}), so the fields of kind (b) are $F(\sqrt{-1})=F(i)$, and those of kind (a) are $F(i)$ and $F(\zeta_3)$. \Cref{prop:fam-free} with $\qq=\qq_1$ is then \cref{lem:torsion-free}. \subsection{The Lefschetz conjecture}\label{ss:fam-lefschetz} \begin{proposition}\label{prop:fam-lef} Let $Y$ be either $X_{K,\C}$ or $X_{K,\Fpbar}$, for $K$ such that $X_K$ has a smooth projective model at $p$. Then all the K\"unneth components of the diagonal of $Y$ are algebraic, and for every ample class $L$ and every $j0$ unless $x=0$, the intersection number being the same in both fibres. \item If $2i=g$, write $x=x_{\mathcal T}+\sum_\pi x_\pi$. Multiplication by $L'$ kills each $x_\pi$, so $x_{\mathcal T}$ is primitive, and the decomposition is orthogonal by Hecke equivariance. The term $x_{\mathcal T}$ is treated as in the previous case. For the cuspidal terms, the projector onto the sum of the $\pi$-parts in a Galois orbit of Hecke eigensystems is defined over $\Q$, and the projector onto a single $\pi$-part over the Hecke field of $\pi$, a totally real field; fixing a real embedding, each $x_\pi$ is a real linear combination of classes $\Gys_af$ with $f$ real. On the real span of these classes $(-1)^{g/2}x\cdot y$ is positive definite by \cref{thm:AQ}, whose hypothesis \Gen{} is~(b), for every $\dim W_\pi$ by \cref{prop:kronecker}. Summing, $(-1)^{g/2}x\cdot x>0$ unless $x=0$. \end{itemize} By \cref{lem:descent} the same holds on $X_{K,\Fpbar}$ for $L$. \emph{Lefschetz conjecture.} This is \cref{prop:fam-lef}. \emph{Numerical and homological equivalence.} By $\Lef$, the operator $\Lambda$ and the Lefschetz decomposition preserve algebraic classes, so the space of algebraic classes of codimension $i\le g/2$ modulo homological equivalence is the orthogonal sum, for the form $(-1)^kx\cdot y\cdot L^{g-2i}$ on the $k$-th piece, of the primitive parts $L^{i-k}P^k$, $k\le i$; each piece is positive definite by the Hodge-type conjecture, so the form is nondegenerate, and a class numerically equivalent to zero is homologically equivalent to zero. For $i>g/2$ apply $L^{2i-g}$, an isomorphism on algebraic classes by $\Lef$. This is the standard argument \cite{Kleiman1994}. \qed \subsection{Construction of further examples}\label{ss:fam-search} \Cref{thm:Bfamily,cor:fam-generic-check,prop:fam-free} turn the search for compact quaternionic Shimura varieties over finite fields with all the standard conjectures into a computation with three steps, each finite. \begin{enumerate}[label=(\arabic*)] \item Choose $F$ totally real of even degree, a nonempty even set $S_f$ of finite places, and an inert prime $p$. Compute $\mathcal E_F$ and check that some $\qq\in S_f$ splits in all its members (\cref{prop:fam-free}). \item Compute the Brandt module of the totally definite algebra $B'$ ramified at $S_f\cup\Sigma_\infty$, by the method of \cref{prop:brandt}, together with the mass formula as a check of completeness (\cref{prop:bg-mass}). \item Compute the characteristic polynomial of the Brandt matrix of $\pp$ on the cuspidal part and apply \cref{cor:fam-generic-check}. \end{enumerate} The third step fails exactly at the primes at which some $\pi$ has $\alpha_\pi/\beta_\pi$ a root of unity; the possible values of $T_\pi^2=a_\pp^2/\Nm\pp$ are then the totally real algebraic integers $2+\zeta+\zeta^{-1}$ lying in the Hecke field. For a Hecke field of degree two the excluded values are $0,1,2,3,4,\tfrac{5\pm\sqrt5}2,\tfrac{3\pm\sqrt5}2,2\pm\sqrt2,2\pm\sqrt3$, and one expects, by the Sato--Tate philosophy, that they occur at a set of inert primes of density zero among the inert primes; we have not tried to prove this. \begin{remark}\label{rem:fam-dimension} Nothing in the proof uses $g=4$. For $g=2$ the conclusion includes the Hodge index theorem and is classical; for $g=6,8,\dots$ it gives smooth projective varieties of dimension $g$ over finite fields satisfying the Tate conjecture and all the standard conjectures, whose middle-degree cuspidal Tate classes are spanned by Goren--Oort cycles, provided the finite conditions~(a) and~(b) are verified. In dimension $g$ the positivity rests on the spin-chain identity of \cref{thm:spin} for $d=g$, which is proved for all even $d$. \end{remark}