% Section 7 (continued). The smallest Shimura chart: supersingular elliptic curves, the Brandt module, and Grothendieck's % monodromy pairing as a counting pairing. \subsection{The smallest Shimura chart: supersingular elliptic curves}\label{ss:universe-supersingular} The Shimura chart of \cref{def:charts} uniformises a block by the Shimura set of a definite quaternion algebra. Over $\Q$ the smallest instance is classical, and it is worth seeing in full, because every structure of the fourfold appears in it in rank one. Let $p$ be a prime and $B=B_{p,\infty}$ the quaternion algebra over $\Q$ ramified exactly at $p$ and $\infty$. Fix a maximal order $\OO$ of $B$, and let $\Sh(B)=B^{\times}\backslash\widehat B^{\times}/\widehat\OO^{\times}$, the set of classes of locally principal right $\OO$-ideals. By Deuring's correspondence \cite{Deuring1941}, \cite[Ch.~42]{Voight2021}, the map that sends a supersingular elliptic curve $E$ over $\Fpbar$ to the class of $\Hom(E_0,E)$, for a fixed supersingular $E_0$ with $\End(E_0)=\OO$, is a bijection from the set of isomorphism classes of supersingular elliptic curves over $\Fpbar$ to $\Sh(B)$; under it $\End(E)$ is the left order of the ideal, and $\Aut(E)=\End(E)^{\times}$. Write $E_1,\dots,E_h$ for representatives, $j_i=j(E_i)\in\F_{p^{2}}$, and $w_i=\abs{\Aut(E_i)}/2$. Through the correspondence, the Brandt module of $p$ (\cref{def:brandt-module}) is the second-order motive $\Q[\Sh(B)]$ of the definite group $B^{\times}$, with its counting pairing and its Hecke operators. \begin{proposition}\label{prop:brandt-module}\leavevmode \begin{enumerate}[label=\textup{(\roman*)}] \item \textup{(Mass.)} $\sum_{i=1}^{h}1/w_i=(p-1)/12$. \item \textup{(Self-adjointness.)} $\Brandt(\ell)_{ik}\,w_k=\Brandt(\ell)_{ki}\,w_i$ for all $i,k$, so $T_\ell$ is self-adjoint for the counting pairing; the constant function is an eigenvector with eigenvalue $\ell+1$. \item \textup{(Eichler, Jacquet--Langlands.)} The characteristic polynomial of $T_\ell$ on $\Q[\Sh(B)]$ is $(x-\ell-1)$ times the characteristic polynomial of the Hecke operator $T_\ell$ on the space $S_2(\Gamma_0(p))$ of cusp forms of weight two. \item \textup{(Ramanujan.)} The eigenvalues of $T_\ell$ on the orthogonal complement of the constants are real and of absolute value at most $2\sqrt\ell$. \end{enumerate} \end{proposition} \begin{proof} (i) is the mass formula of Eichler \cite[Ch.~25]{Voight2021}, in the form $\sum_i1/\abs{\OO_i^{\times}}=(p-1)/24$. (ii) The dual isogeny gives a bijection between isogenies $E_i\to E_k$ of degree $\ell$ and isogenies $E_k\to E_i$ of degree $\ell$; the first set has $\Brandt(\ell)_{ik}\abs{\Aut(E_k)}$ elements, since an isogeny is determined by its kernel up to an automorphism of the target, and the second has $\Brandt(\ell)_{ki}\abs{\Aut(E_i)}$. The relation gives $\form{T_\ell f,f'}=\sum_{i,k}\Brandt(\ell)_{ik}f(E_k)f'(E_i)/w_i$, symmetric in $(f,f')$ because $\Brandt(\ell)_{ik}/w_i=\Brandt(\ell)_{ki}/w_k$. The row sums are $\ell+1$. (iii) is the case of weight two and prime level of the Jacquet--Langlands correspondence \cite{JacquetLanglands1970}, in the explicit form of Eichler's trace formula for Brandt matrices \cite[Ch.~41]{Voight2021}. (iv) The eigenvalues are real by (ii). By (iii) they are eigenvalues of $T_\ell$ on weight-two newforms of level $p$, and for those the bound is a consequence of the Eichler--Shimura relation and Weil's theorem on the modular curve $X_0(p)$ \cite{Weil1948,Deligne1971}. \end{proof} \Cref{tab:brandt} gives the data for six primes, computed from the modular polynomial $\Phi_2$ (\cref{app:computations}): the supersingular invariants are the roots of the Hasse polynomial in Legendre form, mapped to $j$; the Brandt matrix $\Brandt(2)$ is the matrix of multiplicities of the roots of $\Phi_2(j_i,Y)$; and (i), (ii) and (iii) are checked in exact arithmetic and (iv) numerically. \begin{table}[ht] \caption{Brandt modules at $\ell=2$: class number $h$, weights $w_i$, the factorization of the characteristic polynomial of $\Brandt(2)$ on the cuspidal part, and the largest absolute value of an eigenvalue (bound $2\sqrt2\approx2.828$).}\label{tab:brandt} \small \begin{tabular}{@{}rrlll@{}} \toprule $p$ & $h$ & weights & cuspidal characteristic polynomial & $\max\abs{\lambda}$\\\midrule $11$ & $2$ & $2,3$ & $x+2$ & $2$\\ $23$ & $3$ & $2,1,3$ & $x^{2}+x-1$ & $1.618$\\ $37$ & $3$ & $1,1,1$ & $x(x+2)$ & $2$\\ $43$ & $4$ & $2,1,1,1$ & $(x+2)(x^{2}-2)$ & $2$\\ $67$ & $6$ & $2,1,1,1,1,1$ & $(x-2)(x^{2}+x-1)(x^{2}+3x+1)$ & $2.618$\\ $101$ & $9$ & $3,1,\dots,1$ & $x\,(x^{7}-13x^{5}+2x^{4}+47x^{3}-16x^{2}-43x+14)$ & $2.763$\\ \bottomrule \end{tabular} \end{table} For $p=11$ the two supersingular invariants are $j=1728$ and $j=0$, with weights $2$ and $3$, and \[ \Brandt(2)=\begin{pmatrix}1&2\\3&0\end{pmatrix},\qquad \Brandt(2)\begin{pmatrix}2&0\\0&3\end{pmatrix}=\begin{pmatrix}2&6\\6&0\end{pmatrix}; \] the eigenvalues are $3$ and $-2$, and $-2$ is the coefficient $a_2$ of the newform of level $11$, the modular form of the elliptic curve $X_0(11)$. For $p=37$ the three invariants are $8$ and a pair of conjugates in $\F_{37^{2}}\smallsetminus\F_{37}$, all with weight $1$; the cuspidal eigenvalues $0$ and $-2$ are the coefficients $a_2$ of the two newforms of level $37$. \subsection{The counting pairing as Grothendieck's monodromy pairing}\label{ss:universe-monodromy} The Brandt module has a second geometric meaning, and it is one that Grothendieck himself introduced. The modular curve $X_0(p)$ has semistable reduction at $p$: its special fiber consists of two copies of the $j$-line meeting transversally at the supersingular points \cite{Ribet1990}. The Jacobian $J_0(p)$ therefore has purely toric reduction, and the character group $\mathsf X$ of the torus is the group of degree-zero divisors on the set of supersingular points, the homology of the dual graph of the special fiber. Grothendieck's monodromy pairing on $\mathsf X$ \cite[Exp.~IX]{SGA7} is, in this case, the restriction of the diagonal pairing $\form{[E_i],[E_k]}=w_i\,\delta_{ik}$ on divisors \cite{Ribet1990}. \begin{proposition}\label{prop:monodromy-counting} Under the isomorphism $\Z[\Sh(B)]\to\Q[\Sh(B)]$, $[E_i]\mapsto w_i\,\mathbf 1_{E_i}$, the diagonal pairing $\form{[E_i],[E_k]}=w_i\delta_{ik}$ corresponds to the counting pairing of \cref{def:brandt-module}, and the degree-zero divisors correspond to the orthogonal complement of the constant functions. In particular Grothendieck's monodromy pairing on the character group of $J_0(p)$ at $p$ is the counting pairing of the cuspidal part of the Brandt module; it is positive definite. \end{proposition} \begin{proof} $\form{w_i\mathbf 1_{E_i},w_k\mathbf 1_{E_k}}=w_iw_k\delta_{ik}/w_i=w_i\delta_{ik}$. A divisor $\sum n_i[E_i]$ maps to the function $f$ with $f(E_i)=w_in_i$, and $\form{f,\mathbf 1}=\sum_iw_in_i/w_i=\sum_in_i$ is its degree. \end{proof} This is the positivity of the second-order motive in its oldest form. The monodromy pairing of a semistable degeneration is positive definite on the character group because the dual graph carries a positive form, and the self-adjointness of the Hecke operators is the symmetry of isogenies under duality. In the theory of the present paper, the Shimura chart replaces the curve $X_0(p)$ by a Shimura variety of higher dimension whose basic locus is uniformised by a definite group, the character group by the space of Tate classes of the basic locus, and the diagonal pairing by the intersection form of the Goren--Oort cycles; the counting pairing persists, and \cref{thm:FT5} says that it governs the sign. The supersingular points of $X_0(p)$ are the basic locus of the modular curve, and the Brandt module plays for its toric part the role that the second-order motive plays for the Tate classes of the fourfold.