% Section 6 (continued). Signatures from the Hodge--Riemann relations on surfaces, and the comparison with characteristic p. \subsection{Signatures in characteristic zero and in characteristic $p$}\label{ss:comp-signatures} The source (P$\infty$) computes signatures. On surfaces it gives the classical formula, and the comparison with the supersingular surfaces of \S\ref{ss:hasse-k3} shows in numbers what is lost when the archimedean place is not available. \begin{proposition}[Hodge index for complex surfaces]\label{prop:hr-surfaces} Let $S$ be a smooth projective complex surface with geometric genus $p_g$ and Hodge number $h^{1,1}$. The cup product on $H^{2}(S,\R)$ has signature $(2p_g+1,h^{1,1}-1)$, and its restriction to the N\'eron--Severi space $NS(S)_\R$ has signature $(1,\rho-1)$, $\rho$ the Picard number. \end{proposition} \begin{proof} Let $L$ be ample. $H^{2}(S,\R)=\R L\oplus P$ orthogonally, $P$ the primitive part, and $\int L^{2}>0$. On $P$, \cref{prop:source-hodge} with $d=2$, $i=1$ gives the positive definite form $h(x,y)=Q(Cx,y)$ with $Q(x,y)=-\int x\wedge y$. The real part of $H^{2,0}\oplus H^{0,2}$, of dimension $2p_g$, is primitive (a holomorphic $2$-form wedged with $L$ is of type $(3,1)$, hence zero), and there $C=\mathrm i^{\pm2}=-1$, so $-Q(x,x)=\int x^{2}>0$. On the primitive part of $H^{1,1}$, of dimension $h^{1,1}-1$, $C=1$ and $Q(x,x)>0$, that is $\int x^{2}<0$. The three pieces are orthogonal, which gives the first signature. The N\'eron--Severi space lies in $H^{1,1}$ and contains $L$, so its signature is $(1,\rho-1)$. \end{proof} \Cref{tab:surface-signatures} compares the signatures of $H^{2}$ in characteristic zero with those of the N\'eron--Severi lattice of the supersingular surfaces of the same type in characteristic $p$, where every class of $H^{2}$ is algebraic. \begin{table}[ht] \caption{Signatures of the cup product on $H^{2}$: a complex surface, and a supersingular surface of the same type with $\rho=b_2$.} \label{tab:surface-signatures} \small \begin{tabular}{@{}lccccc@{}} \toprule type & $p_g$ & $h^{1,1}$ & $H^{2}$ over $\C$ & $NS$, $\rho=b_2$ & $S$ over $\C$ / in char.~$p$\\\midrule abelian surface & $1$ & $4$ & $(3,3)$ & $(1,5)$ & $\{3\}$ / $\{1,5\}$\\ K3 surface & $1$ & $20$ & $(3,19)$ & $(1,21)$ & $\{3,7,\dots,19\}$ / $\{1,5,\dots,21\}$\\ \bottomrule \end{tabular} \end{table} In both rows the difference is $2p_g=2$ positive directions, the real part of $H^{2,0}\oplus H^{0,2}$. In characteristic zero these directions are transcendental and positive by the Hodge--Riemann relations; in characteristic $p$ they are absorbed into the algebraic classes and become negative by the Hodge index theorem. The local datum at $p$ changes accordingly (\cref{prop:k3-alien}, \cref{rem:abelian-surface-alien}), and the admissible strata move by $2$ modulo $4$. This is the simplest instance of the missing archimedean place of \S\ref{ss:tides-dream}: the positivity that characteristic zero obtains from the Weil operator $C$ on $H^{2,0}\oplus H^{0,2}$ has no counterpart on the algebraic classes in characteristic $p$, and the Hodge index theorem replaces it by a positivity of the opposite sign on the primitive algebraic part, which by \cref{cor:hodge-index-local} no finite place can see.