% Section 7. Cubic fourfolds (Theorem B): the variety of lines in every characteristic, the Beauville--Donagi isomorphism, % the proof, the explicit constant, and supersingular cubic fourfolds. \section{Cubic fourfolds}\label{sec:cubic} In this section $k$ is an algebraically closed field of characteristic $p>0$ and $X\subset\PP^5_k$ is a smooth cubic fourfold, with hyperplane class $h$. We prove \cref{mt:B} twice: from \cref{mt:A}, and directly from an explicit identity between the intersection form of $X$ and that of its variety of lines. \subsection{The variety of lines}\label{ss:cubic-lines} Let $G=G(2,6)$ be the Grassmannian of lines in $\PP^5$, with tautological subbundle $\mathcal S$ of rank two. A cubic form $f$ defines a section $s_f$ of $\Sym^3\mathcal S^\vee$, a bundle of rank four, and the scheme of lines $\Fano(X)$ is its zero scheme. The universal line $P\subset\Fano(X)\times X$ is a $\PP^1$-bundle over $\Fano(X)$, with projections $p\colon P\to\Fano(X)$ and $q\colon P\to X$. \begin{lemma}\label{lem:lines-smooth} For every smooth cubic hypersurface $X\subset\PP^{n+1}_k$ with $n\ge2$, over an algebraically closed field of any characteristic, the scheme $\Fano(X)$ is smooth of dimension $2n-4$ at each of its points; it is not empty. \end{lemma} \begin{proof} This is due to Altman and Kleiman \cite{AltmanKleiman1977}; we give the argument. Let $\ell\subset X$ be a line. The tangent space of $\Fano(X)$ at $[\ell]$ is $H^0(\ell,N_{\ell/X})$, and $\Fano(X)$ is smooth of dimension $\chi(N_{\ell/X})$ at $[\ell]$ if $H^1(\ell,N_{\ell/X})=0$. The normal bundle sits in an exact sequence $0\to N_{\ell/X}\to N_{\ell/\PP^{n+1}}\to N_{X/\PP^{n+1}}|_\ell\to0$, that is $0\to N_{\ell/X}\to\OO(1)^{n}\to\OO(3)\to0$. Hence $N_{\ell/X}$ has rank $n-1$ and degree $n-3$, and it splits as $\bigoplus_a\OO(e_a)$ with $e_a\le1$, being a subbundle of $\OO(1)^n$. If some $e_a\le-2$, the sum of the others is at most $n-2$ and the total degree at most $n-4$, a contradiction. Hence $e_a\ge-1$ for all $a$, $H^1(\ell,N_{\ell/X})=0$, and $\dim_{[\ell]}\Fano(X)=h^0(N_{\ell/X})=(n-3)+(n-1)=2n-4$. For non-emptiness, let $\Pi\subset\PP^{n+1}$ be a linear subspace of dimension three. The lines in $X\cap\Pi$ form the zero scheme of a section of $\Sym^3\mathcal S^\vee$ on $G(2,4)$, a bundle of rank four whose top Chern class has degree $27$; a section of a bundle with nonzero top Chern class has a zero, so $X\cap\Pi$, and hence $X$, contains a line. \end{proof} \begin{lemma}\label{lem:cubic-lift} Let $W(k)$ be the ring of Witt vectors. There is a smooth cubic fourfold $\mathcal X\subset\PP^5_{W(k)}$ with special fibre $X$, and for every such lift the scheme of lines $\Fano(\mathcal X)$ is smooth and projective over $W(k)$ of relative dimension four, with special fibre $\Fano(X)$; the universal line is a closed subscheme $\mathcal P\subset\Fano(\mathcal X)\times_{W(k)}\mathcal X$, flat over $W(k)$. \end{lemma} \begin{proof} Lift the coefficients of an equation of $X$ arbitrarily to $W(k)$. The singular locus of the resulting cubic $\mathcal X$ is closed in $\PP^5_{W(k)}$ and its image in $\Spec W(k)$ is closed and does not contain the closed point, so it is empty: $\mathcal X$ is smooth. The scheme $\Fano(\mathcal X)$ is the zero scheme of a section of the rank-four bundle $\Sym^3\mathcal S^\vee$ on the smooth $W(k)$-scheme $G_{W(k)}$ of relative dimension eight. At a point $x$ of the special fibre the local ring $\OO=\OO_{G_{W(k)},x}$ is regular of dimension nine, and the four local equations of $\Fano(\mathcal X)$, followed by $p$, cut out $\Fano(X)$, which has dimension four at $x$ by \cref{lem:lines-smooth}. Five elements of a regular local ring of dimension nine that cut out a quotient of dimension four form a regular sequence, since $\OO$ is Cohen--Macaulay; hence $p$ is a non-zero-divisor on $\OO/(s_1,\dots,s_4)$, and $\Fano(\mathcal X)$ is flat over $W(k)$ at $x$. Its special fibre is smooth by \cref{lem:lines-smooth}, so $\Fano(\mathcal X)$ is smooth over $W(k)$ along the special fibre. Since $\Fano(\mathcal X)$ is projective over $W(k)$, its non-smooth locus is closed with closed image in $\Spec W(k)$ missing the closed point, hence empty. The universal line is a $\PP^1$-bundle over $\Fano(\mathcal X)$, so it is flat over $W(k)$. \end{proof} \subsection{The Beauville--Donagi isomorphism}\label{ss:cubic-bd} Over $\C$, the correspondence $\alpha=p_*q^*\colon H^4(X)(2)\to H^2(\Fano(X))(1)$ given by the universal line is the Abel--Jacobi map of Beauville and Donagi. They proved that $\Fano(X)$ is a hyperk\"ahler fourfold deformation equivalent to the Hilbert square of a K3 surface, and that $\alpha$ is an isomorphism of Hodge structures that maps $h^2$ to the Pl\"ucker class $g$ and the primitive part $H^4_{\prim}(X)$ isometrically, up to the sign $-1$, onto the primitive part of $H^2(\Fano(X))$ for the Beauville--Bogomolov form \cite{BeauvilleDonagi1985}; see also \cite[Ch.~6]{Huybrechts2023}. We use only the following consequence. \begin{proposition}\label{prop:bd-injective} For a smooth cubic fourfold $X$ over an algebraically closed field of characteristic zero, $\alpha\colon H^4_{\prim}(X)(2)\to H^2(\Fano(X))(1)$ is injective. \end{proposition} \begin{proof} Choose a field of definition of $X$ embedded in $\C$. By the comparison isomorphism, compatible with the action of correspondences, it is enough to prove injectivity on Betti cohomology over $\C$, where it is part of the theorem of Beauville and Donagi \cite{BeauvilleDonagi1985}. \end{proof} \subsection{Proof of \texorpdfstring{\cref{mt:B}}{Theorem B}}\label{ss:cubic-proof} \begin{lemma}\label{lem:cubic-cohomology} For a smooth cubic fourfold $X$ over an algebraically closed field of characteristic $p\ne\ell$, $H^{n}(X)=0$ for $n$ odd, $H^{2j}(X)(j)=\Ql h^j$ for $j\in\{0,1,3,4\}$, $\int_Xh^4=3$, and $H^4(X)(2)=\Ql h^2\oplus H^4_{\prim}(X)(2)$ with $\dim H^4_{\prim}(X)=22$. The primitive projector $\varpi=\Delta-\tfrac13\,h^2\times h^2$ is an algebraic symmetric idempotent correspondence defined over any base over which $X$ is defined. \end{lemma} \begin{proof} The cohomology of a smooth hypersurface outside the middle degree is that of projective space, by the weak Lefschetz theorem and Poincar\'e duality \cite[Exp.~XI]{SGA7II}, and $\int h^4=\deg X=3$. The middle Betti number of a smooth cubic fourfold is $23$, by the comparison with characteristic zero (smooth proper base change applied to a lift, \cref{lem:cubic-lift}) and the Hodge numbers $1,21,1$ of the primitive part over $\C$, which give $22$. The class $h^2\times h^2$ acts by $x\mapsto(\int x\cdot h^2)\,h^2$, so $\varpi$ fixes the classes with $x\cdot h^2=0$ and kills $h^2$; it is symmetric and idempotent. \end{proof} \begin{theorem}[Cubic fourfolds; \MTback{B}]\label{thm:mainB} \MainB \end{theorem} \begin{proof}[Proof of \cref{thm:mainB} \textup{(Theorem~B)}] By \cref{lem:cubic-lift} choose a lift $\mathcal X\subset\PP^5_{W(k)}$, and put $\mathcal Y=\Fano(\mathcal X)$, smooth projective over $\Rr=W(k)$ of relative dimension four, with the Pl\"ucker class $g$, and $\Gamma=\mathcal P$, the universal line, a cycle of codimension three on $\mathcal X\times_{\Rr}\mathcal Y$ inducing $\Gamma_*=\alpha\colon H^4(X)(2)\to H^2(Y)(1)$. With $\varpi$ the primitive projector of \cref{lem:cubic-cohomology}, defined over $\Rr$, this is a divisorial transfer datum (\cref{def:transfer-datum}). By \cref{prop:bd-injective} it is injective on $H^4_{\prim}$ of the geometric generic fibre. \Cref{thm:mainA}, case (ii), shows that $x\cdot y$ is positive definite on the real span of the primitive algebraic classes of $X$ modulo homological equivalence. Hence $x\cdot x>0$ for every primitive algebraic class $x$ that is not homologically trivial, and a primitive algebraic class that is numerically trivial is homologically trivial; in particular $x\cdot x>0$ when $x$ is not numerically trivial. The remaining conjectures follow from \cref{lem:cubic-cohomology}. Every ample class is a positive rational multiple of $h$ in $H^2(X)(1)=\Ql h$, and the conjectures are unchanged by such a multiple. In codimensions $0$ and $1$ the primitive parts are $\Ql$ and $0$, so $\HSC_0$ and $\HSC_1$ hold, and $\HSC_2$ was just proved. The operator $\Lambda$ is zero on $H^0$, maps $h^j$ to a rational multiple of $h^{j-1}$, and vanishes on $H^4_{\prim}$; so it is induced by a rational combination of the classes $h^a\times h^b$ on $X\times X$, which are algebraic, and $\Lef(X)$ holds. In codimensions $0,1,3,4$ the cohomology is spanned by the algebraic classes $h^j$, so homological and numerical equivalence agree. In codimension two, $\Ahom^2(X)=\Q h^2\oplus P^2_{\hom}(X)$, orthogonally, with $h^2\cdot h^2=3\ne0$; the intersection form is therefore non-degenerate on $\Ahom^2(X)$, and a class in $\Ahom^2(X)$ that is numerically trivial is zero. \end{proof} \subsection{The explicit constant}\label{ss:cubic-explicit} The second proof avoids the spectral root and uses the Beauville--Bogomolov form directly. \begin{proposition}\label{prop:cubic-explicit} For every smooth cubic fourfold $X$ over an algebraically closed field of any characteristic and all $x,y\in H^4_{\prim}(X)(2)$, \[ \int_{\Fano(X)}g^2\cdot\alpha(x)\cdot\alpha(y)=-6\,x\cdot y,\qquad\int_{\Fano(X)}g^3\cdot\alpha(x)=0 . \] \end{proposition} \begin{proof} In characteristic zero this is the computation of \cref{ex:cubic-scalar}: for primitive $x,y$, the Fujiki relation and $q(g)=6$ give $\int g^2\alpha(x)\alpha(y)=6\,q(\alpha x,\alpha y)=-6\,x\cdot y$, and $\int g^3\alpha(x)=3q(g,g)q(g,\alpha x)=0$ because $\alpha(x)$ is $q$-orthogonal to $g$. Both sides are intersection numbers of classes defined by cycles on a lift (\cref{lem:cubic-lift}), so by \cref{prop:sp-correspondence} and the compatibility of cospecialisation with cup products and traces, the identities hold on the special fibre, for all $x,y$ in $H^4_{\prim}(X_k)(2)=\spe^{-1}H^4_{\prim}(X_{\etabar})(2)$. \end{proof} \begin{proof}[Second proof of the positivity in \cref{thm:mainB}] Let $x$ and $y$ be real linear combinations of primitive algebraic classes on $X$. Then $\alpha(x)$ and $\alpha(y)$ are real combinations of divisor classes on $\Fano(X)$, and they are primitive for $g$ by \cref{prop:cubic-explicit}. By the Hodge index theorem (\cref{lem:div-positive} with the first term zero) the form $D\mapsto\int g^2D^2$ is negative semidefinite on their span. By \cref{prop:cubic-explicit} this form is $-6(s^2x\cdot x+2st\,x\cdot y+t^2y\cdot y)$ on $D=s\alpha(x)+t\alpha(y)$. Hence $x\cdot x\ge0$, and if $x\cdot y\ne0$ for some algebraic primitive $y$ then $x\cdot x>0$ by \cref{lem:semidef-def}. \end{proof} The constant $-6$ is the product of $q(g)=6$ and of the sign $-1$ in the Beauville--Donagi isometry; the comparison operator of the proof in \cref{ss:cubic-proof} is the scalar $6$. The second proof needs the isometry; the proof by transfer needs only the injectivity of $\alpha$. \subsection{Supersingular cubic fourfolds}\label{ss:cubic-supersingular} \begin{example}\label{ex:cubic-supersingular} Let $p\equiv2\pmod3$ and let $X$ be the Fermat cubic fourfold $\sum_{a=0}^5x_a^3=0$ over $\bar{\F}_p$. It is supersingular, and its cohomology in degree four is spanned by algebraic classes \cite{ShiodaKatsura1979}. The space of primitive algebraic classes has dimension $22$, and by \cref{thm:mainB} the intersection form on it is positive definite: its signature is $(22,0)$. On any lift to characteristic zero the primitive cohomology carries the form of signature $(20,2)$ on its real points, with the two negative directions of type $(3,1)+(1,3)$, and only the classes of type $(2,2)$, of dimension at most $20$ in the primitive part, can be algebraic. Thus the rational quadratic space of primitive algebraic classes in characteristic $p$ is not the specialisation of a rational quadratic space of algebraic classes in characteristic zero: it has two more dimensions, and its real signature differs from that of the Betti form. Ancona proved the standard conjectures for this particular fourfold by $p$-adic Hodge theory \cite[Prop.~A.9]{Ancona2021}. \end{example} \begin{remark}\label{rem:cubic-hasse} Compare the two rational quadratic spaces of dimension twenty-two in \cref{ex:cubic-supersingular}: the primitive algebraic classes of $X$, and the primitive Betti cohomology of a lift. They become isometric over $\Q_\ell$ for every $\ell\ne p$, both being identified with the primitive $\ell$-adic cohomology by cospecialisation, so their discriminants agree. At the infinite place the Betti form has Hasse invariant $(-1)^{s(s-1)/2}=-1$ for $s=2$, and the algebraic form has Hasse invariant $+1$. By the product formula their Hasse invariants also differ at $p$. This is the alien switch of \cite[\S14]{Liu2026AHM}. The third paper of this series proved that no invariant at the finite places determines the signature of a block of rank at least four \cite[Thm.~5.3]{Liu2026AHMIII}; here the block has rank twenty-two, and its signature is determined by the Hodge index theorem on $\Fano(X)$. \end{remark} \begin{remark}\label{rem:cubic-tate} For a smooth cubic fourfold over a finite field of characteristic different from $2$ and $3$, the Tate conjecture for cycles of codimension two holds, even integrally \cite{CharlesPirutka2015}, so the algebraic classes of $X$ over $\bar\F_p$ are the Tate classes. \Cref{thm:mainB} does not use this. It shows that the intersection form is positive definite on the primitive algebraic classes whatever their number, which varies with $X$ between $0$ and $22$. \end{remark} \subsection{Characteristics two and three}\label{ss:cubic-small} \Cref{thm:mainB} holds in every positive characteristic, including $2$ and $3$, where the Tate conjecture of \cref{rem:cubic-tate} is not available. The three inputs of the proof do not depend on the characteristic: smooth cubic fourfolds lift to smooth cubic fourfolds over the Witt vectors (\cref{lem:cubic-lift}); the scheme of lines of a smooth cubic fourfold is smooth of dimension four in every characteristic, by the theorem of Altman and Kleiman \cite{AltmanKleiman1977}, so that the universal line lifts with it; and the Hodge index theorem holds for surfaces in every characteristic. Smooth cubic fourfolds exist over every algebraically closed field, by Bertini's theorem applied to the cubic Veronese embedding of $\PP^5$. The Fermat cubic shows how different the two small characteristics are. In characteristic $3$ it is not smooth: $\sum_ax_a^3=(\sum_ax_a)^3$, a triple hyperplane. In characteristic $2$ it is smooth, its partial derivatives $x_a^2$ having no common zero, and it is the Hermitian cubic fourfold of \cref{sec:hermitian}: over $\F_4$ it contains $891$ planes, of which $405$ are the reductions of the planes of \cref{ss:fermat-planes}; the classes of these $405$ span a lattice of rank $21$, and the other $486$ planes contribute two more dimensions, of classes that are not specialisations of algebraic classes of the Fermat cubic over the Witt vectors. By \cref{prop:leech} the $891$ planes span a positive definite lattice of rank $23$ and determinant $4$, which is the lattice of all algebraic classes \cite{Shimada2018}; \cref{thm:mainB} gives the positivity of that lattice by a different route, without the planes. \begin{remark}\label{rem:cubic-small-lattice} In characteristic $2$ the conclusions of \cref{prop:ss-lattice} hold for the Fermat cubic, with $\sigma=1$: its lattice of algebraic classes is positive definite of rank $23$, determinant $2^2$ and discriminant group $(\Z/2)^2$ \cite{Shimada2018}. The proof of \cref{prop:ss-lattice} uses the integral Tate conjecture of Charles and Pirutka, which is stated for $p\ge5$; for $p=2$ the integral structure is supplied instead by the explicit lattice of planes. For supersingular cubic fourfolds in characteristic $3$ we know neither the lattice of algebraic classes nor an explicit generating set. \end{remark} \subsection{Cubic fourfolds containing a plane: a K3 surface as target}\label{ss:cubic-plane} The target in \cref{thm:mainB} is a hyperk\"ahler fourfold. For cubic fourfolds containing a plane a K3 surface can serve instead, and the positivity then comes from the Hodge index theorem on a surface. Let $k$ have characteristic $p\ne2$, and let $X\subset\PP^5_k$ be a smooth cubic fourfold containing a plane $P$. Projection from $P$ makes the blow-up $\tilde X=\mathrm{Bl}_PX$ a fibration $\tilde X\to\PP^2$ in quadric surfaces, whose discriminant is a sextic curve $C\subset\PP^2$. The lines in the fibres form a family over the double cover $S\to\PP^2$ branched along $C$: over a smooth fibre there are two rulings, interchanged by the covering involution. If $C$ is smooth, $S$ is a K3 surface of degree two, and the family of lines is a $\PP^1$-bundle $\mathcal F\to S$ with a map $\mathcal F\to X$ through the universal line \cite[\S1]{Voisin1986}; we write $\Gamma$ for the resulting correspondence from $X$ to $S$, with $\Gamma_*\colon H^4(X)(2)\to H^2(S)(1)$. Let $K\subset H^4(X)(2)$ be the orthogonal complement of $h^2$ and $[P]$. Over $\C$, Voisin proved that $\Gamma_*$ maps $K$ isomorphically onto a sublattice of index two of the primitive cohomology $H^2(S,\Z)_{\prim}(1)$, up to sign \cite[\S1, Prop.~2]{Voisin1986}; in particular $\Gamma_*$ is injective on $K$. \begin{proposition}\label{prop:cubic-plane} Let $X$ be a smooth cubic fourfold over an algebraically closed field of characteristic $p\ne2$, containing a plane $P$ whose associated discriminant sextic is smooth. Then the intersection form is positive definite on the algebraic classes of $X$ orthogonal to $h^2$ and $[P]$, and the transfer of \cref{mt:A} realises this positivity through the Hodge index theorem on the K3 surface $S$. The form on the span of $h^2$ and $[P]$ is positive definite, with Gram matrix $\left(\begin{smallmatrix}3&1\\1&3\end{smallmatrix}\right)$. \end{proposition} \begin{proof} Lift the equation of $X$ to the Witt vectors so that the lift contains a lift of $P$, for instance by choosing coordinates with $P=\{x_0=x_1=x_2=0\}$ and lifting the coefficients of an equation in the ideal $(x_0,x_1,x_2)$. The lift $\mathcal X$ is smooth, as in \cref{lem:cubic-lift}; its discriminant sextic lifts the discriminant of $X$ and is smooth over $W(k)$, so the double cover $\mathcal S$ of $\PP^2_{W(k)}$ branched along it is a smooth K3 surface over $W(k)$, since $p\ne2$. The cycle $\Gamma$ on the generic fibre specialises (\cref{def:liftable}). Let $\varpi$ be the orthogonal projector onto $K$; it is induced by a rational combination of $\Delta$ and of products of the classes $h^2$ and $[P]$, which are defined over $W(k)$, because the Gram matrix of $h^2$ and $[P]$ is invertible. Its image is contained in the primitive part. With the divisorial target form on $\mathcal S$ this is a divisorial transfer datum, injective by Voisin's theorem, and \cref{thm:mainA}(ii) gives positivity on $\varpi(\Ahom^2(X)_\R)$, which is the space of algebraic classes orthogonal to $h^2$ and $[P]$. Finally $h^2\cdot h^2=3$, $h^2\cdot[P]=\deg P=1$ and $[P]\cdot[P]=3$: by the self-intersection formula $[P]\cdot[P]=\deg c_2(N_{P/X})$, and $c(N_{P/X})=(1+H)^6(1+3H)^{-1}(1+H)^{-3}=1+0\cdot H+3H^2$ on $P\cong\PP^2$. \end{proof} By \cref{prop:cubic-plane} and the positivity of $\langle h^2,[P]\rangle$, the intersection form is positive on all algebraic classes of $X$, as \cref{thm:mainB} asserts; the two proofs use different targets. The K3 surface $S$ is the target of the smallest dimension that appears in this paper. Its Hodge index theorem is the classical one for surfaces, and the positivity of all primitive algebraic classes of codimension two on such a cubic fourfold is reduced to it.