% Section 3b. The quaternionic Shimura surface in full: the two Goren--Oort divisors, their intersection numbers from the % formula of Tian and Xiao, the gauge, the determinant, and the three readings of the sign. \section{Quaternionic Shimura surfaces}\label{sec:surface} The case $d=g=2$ of \cref{thm:AQ} is the Hodge index theorem, and nothing is new in it. We work it out completely because every step of the general proof appears in it in its simplest form: the cycles, the formula of Tian and Xiao, the gauge, the determinant, the unitary model and the deficit. It also shows how the general formula specialises to the one computed by Tian and Xiao in their introduction \cite[Ex.~1.8(1)]{TianXiao2019}. \subsection{The Goren--Oort divisors}\label{ss:sf-divisors} Let $F$ be real quadratic with real places $\tau_1,\tau_2$, $p$ inert, $B$ a quaternion algebra over $F$ split at both real places and ramified at a nonempty set $S$ of finite places, and $X$ the special fibre at $p$ of the quaternionic Shimura surface, for a sufficiently small level. The two partial Hasse invariants $h_{\tau_1}$, $h_{\tau_2}$ vanish on the Goren--Oort divisors $Y_1$, $Y_2$, and each $Y_i$ is a $\PP^1$-bundle over the Shimura set of the definite algebra $B'=B_{S\cup\{\tau_1,\tau_2\}}$ \cite[Ex.~1.4(1)]{TianXiao2019}: a disjoint union of projective lines indexed by the points of $\Sh(B')$. In the notation of semi-meanders, $\mathcal B_2$ has the two elements $a_1$ (the arc from node $1$ to node $2$) and $a_2$ (the arc from node $2$ to node $1$, crossing the seam), and $X_{a_i}=Y_i$. The intersection $Y_1\cap Y_2$ is the superspecial locus, a finite set of points, each lying on one line of each family. \subsection{The intersection numbers}\label{ss:sf-numbers} For $f,h\in W_\pi$ the intersection numbers are given by \cref{lem:adjoint}, \[ \langle\Gys_af,\Gys_bh\rangle=\Pet(f,\Res_a\Gys_bh), \] and \cref{thm:tx-formula}, with $\ell(a_1)=\ell(a_2)=1$, gives the following. \begin{itemize}[leftmargin=2em] \item For $a=b$, $D(a,a)$ has one contractible loop, so $\Res_a\Gys_a=-2p\,\eta^\star_{a,a}$ and $\eta^\star_{a,a}$ is the identity: on the $\pi$-part, the lines of $Y_i$ have self-intersection $-2p$ relative to the counting pairing. \item For $a\neq b$, $D(a_1,a_2)$ has one loop around the cylinder, so $\Res_{a_1}\Gys_{a_2}=p\,(T_\pp/p)\,\eta^\star_{a_1,a_2}$, a Hecke operator at $\pp$ composed with a normalised link morphism: a line of $Y_2$ meets the lines of $Y_1$ indexed by the Hecke neighbours at $\pp$ of its own index. \end{itemize} On the $\pi$-part, $T_\pp$ acts by $a_\pp(\pi)=\alpha_\pi+\beta_\pi$, with $\alpha_\pi\beta_\pi=\Nm\pp=p^2$. Tian and Xiao record the resulting matrix, in a suitable basis, in \cite[Ex.~1.8(1)]{TianXiao2019}: its diagonal entries are $-2p$ and its determinant is, up to sign, $p^2(\alpha_\pi-\beta_\pi)^2/(\alpha_\pi\beta_\pi)$. In a basis in which the link morphisms act as the identity, which exists by the gauge lemma below, the matrix is \[ \begin{pmatrix}-2p&\alpha_\pi+\beta_\pi\ \alpha_\pi+\beta_\pi&-2p\end{pmatrix}=p\,G_2(T_\pi),\qquad T_\pi=\frac{\alpha_\pi+\beta_\pi}p, \] of determinant $4p^2-(\alpha_\pi+\beta_\pi)^2=-(\alpha_\pi-\beta_\pi)^2=-p^2(\alpha_\pi-\beta_\pi)^2/(\alpha_\pi\beta_\pi)$, in agreement with the determinant of \cite[Ex.~1.8(1)]{TianXiao2019}. \subsection{The gauge}\label{ss:sf-gauge} For $d=2$ the gauge lemma (\cref{lem:gauge}) has a one-line proof. The only cycle of semi-meanders of length two is $(a_1,a_2)$, and the composite $\Res_{a_1}\Gys_{a_2}\circ\Res_{a_2}\Gys_{a_1}$ acts on $W_\pi$ by $p^2T_\pi^2$ (\cref{prop:tx-cycle}); so the scalars $c_{a_1a_2}$, $c_{a_2a_1}$ by which the link morphisms act satisfy $c_{a_1a_2}c_{a_2a_1}=1$, and the symmetric matrix of intersection numbers is $\diag(1,c)\,p\,G_2(T_\pi)\,\diag(1,c)^{-1}$ with $c=c_{a_2a_1}$. Its symmetry forces $c^2=1$ when $T_\pi\neq0$, so the matrix is $p\,G_2(T_\pi)$ up to the sign of the second basis vector, a congruence. \subsection{Three proofs of the sign}\label{ss:sf-readings} \begin{enumerate}[label=(\alph*)] \item \emph{Hodge index.} The classes $\Gys_{a_i}f$ are orthogonal to every Hecke-invariant ample class, so the Hodge index theorem says that $-x\cdot y$ is positive semidefinite on their span, and definite when the classes are independent. Hence $-G_2(T_\pi)$ is positive semidefinite: $\abs{T_\pi}\le2$. This is \cref{cor:conv-surface}. \item \emph{Spin chain.} $-G_2(z+z^{-1})=V(z)V(z)^*$ with $V(z)$ the matrix of the vectors $e_{\uparrow\downarrow}-e_{\downarrow\uparrow}$ and $z\,e_{\downarrow\uparrow}-z^{-1}e_{\uparrow\downarrow}$ (\cref{ss:se-d2}). The form is positive because the two vectors are vectors of a hermitian space, and definite because $\det V(z)=z-z^{-1}\neq0$ for $z\neq\pm1$. \item \emph{Layer~I.} The rational form $-G_2(T)$, for $T$ rational, is $\form{2,\,2-T^2/2}$ after one step of elimination; its discriminant is the class of $4-T^2$, positive for $\abs T<2$, and the product of its finite Hasse invariants is $1$, so the sign law (\cref{thm:l1-signlaw}) gives positive definiteness. \end{enumerate} The three readings agree, as they must. What distinguishes the surface from higher dimension is that all three are available: in dimension four (a) is the Hodge-type conjecture, which is what is to be proved, (c) is blind (\cref{ss:Bn-layer1}), and only (b) survives. \subsection{Degenerate Satake parameters}\label{ss:sf-degenerate} At $T_\pi=\pm2$, that is $\alpha_\pi=\pm\beta_\pi$, the matrix $G_2(\pm2)$ has rank one: the two divisors span a line in the Tate classes of the $\pi$-part, which then has dimension four, all of $H^2[\pi]$ being Tate. Tian and Xiao observe this and use the Hodge index theorem to conclude that the contribution of the divisors is one-dimensional \cite[\S1]{TianXiao2019}; the remaining Tate classes are not known to be algebraic. At $T_\pi=0$, that is $\alpha_\pi=-\beta_\pi$, the matrix is $-2\,\mathrm{Id}$: the two divisors are orthogonal on the $\pi$-part, the gauge argument degenerates, and \cref{prop:ng-positive} applies directly. Off the interval, $\abs{T_\pi}>2$ would make $-G_2(T_\pi)$ indefinite, of signature $(1,1)$, which the Hodge index theorem excludes.