% Section 8. The general principles: the sign law in rank two, the decidability dichotomy, the discriminant field, % the one-bit reduction and the anchor. \section{General principles}\label{sec:principles} This section proves the general statements on which the case analysis of \cref{part:summit} rests. As in \cref{sec:walls}, $m$ is even; $q=p^a$ with $p$ odd. \subsection{The sign law in rank two}\label{ss:rank2} \begin{theorem}[Sign law]\label{thm:sign-law} Let $B$ be a binary Tate block of $\MotAH$ and $p$ odd. Suppose that for every prime $\ell\ne p$ the realisation $B_\ell$ is isometric to $\form{a,b}\otimes\Ql$, where $a,b\in\Q^\times$ have the same sign $s\in\{\pm1\}$ and $p\nmid ab$. Let $z$ be an algebraic class of $B$ with $r=\langle z,z\rangle\ne0$. Then \[ r>0\iff\hilb{r}{-ab}{p}=s. \] \end{theorem} \begin{proof} For $\ell\ne p$, $B_\ell$ represents $r$, so $\hilb{r}{-ab}{\ell}=\hilb{a}{b}{\ell}$ by \cref{lem:binary-rep}. Since $a$ and $b$ are units at $p$, $\hilb{a}{b}{p}=1$, and $\hilb{a}{b}{\infty}=s$; reciprocity for $(a,b)$ gives $\prod_{\ell\ne p}\hilb{a}{b}{\ell}=s$, the product over the finite places other than~$p$. Reciprocity for $(r,-ab)$ gives \[ \hilb{r}{-ab}{\infty}=\hilb{r}{-ab}{p}\prod_{\ell\ne p}\hilb{a}{b}{\ell}=\hilb{r}{-ab}{p}\,s. \] As $-ab<0$, the left side is $-1$ exactly when $r<0$. \end{proof} \lean{AlienHodgePrinciples.rank2_sign_law,AlienHodgePrinciples.sign_core} \AHMkeep{5} \begin{corollary}\label{cor:odd-even} In the situation of \cref{thm:sign-law}: \begin{enumerate}[label=\textup{(\roman*)},leftmargin=2.2em] \item if $a,b<0$ \textup{(}the \emph{odd} case, for instance a block of Betti type $(m+1,m-1)+(m-1,m+1)$ with $m$ even\textup{)}, then $r>0$ if and only if $\hilb{r}{-ab}{p}=-1$; \item if $a,b>0$ \textup{(}the \emph{even} case, for instance Betti type $(2m,0)+(0,2m)$\textup{)}, then $r>0$ if and only if $\hilb{r}{-ab}{p}=1$. \end{enumerate} \end{corollary} \begin{proof} This is \cref{thm:sign-law} with $s=-1$ and $s=1$. For the examples: by \eqref{eq:hr-sign} the type $(m\pm1,m\mp1)$ has sign $(-1)^{m+1}=-1$ for $\langle\,,\rangle$ when $m$ is even, and the type $(2m,0)+(0,2m)$ has sign $(-1)^{2m}=1$; a definite rational binary form of sign $s$ is isometric to $\form{a,b}$ with $a,b$ of sign~$s$. \end{proof} \lean{AlienHodgePrinciples.rank2_odd,AlienHodgePrinciples.rank2_even} Thus on a binary block whose $\ell$-adic realisations come from a definite rational form, $\Hdg$ is equivalent to one $p$-adic parity: the $p$-adic Hilbert symbol of the algebraic class against $-ab$ must equal the Betti sign of the block. In the odd case, this asks that the algebraic classes at $p$ be represented by a $\Q_p$-plane with Hasse invariant opposite to that of $\form{a,b}\otimes\Q_p$. For a plane of discriminant $-ab$ that is a unit nonsquare, such a plane is anisotropic; this is the role of the non-neutral Tate modules of supersingular K3 crystals (\cref{prop:ogus}). The criterion is the class-by-class form of the Hodge parity that Ancona establishes for orthogonal motives of rank two when their numerical classes span a plane \cite[\S\S8--13]{Ancona2021}, and that Ancona and Marmora compute in general for CM lifts \cite{AnconaMarmora2025}. \subsection{The decidability dichotomy}\label{ss:dichotomy} \begin{theorem}[Decidability in rank at most three]\label{thm:decide} Let $f$ be a rational quadratic form of rank at most three, and suppose that at every prime $\ell$ the form $f\otimes\Ql$ has the discriminant and the Hasse invariant of a positive definite rational form $g$ of the same rank. Then $f$ is positive definite. \end{theorem} \begin{proof} By \cref{lem:real}, $s_-(f)\equiv s_-(g)=0\pmod 4$. Since $0\le s_-(f)\le3$, $s_-(f)=0$. \end{proof} \lean{AlienHodgePrinciples.decide_le3,GaiMua.Base.ModFour.window_definite} \begin{corollary}\label{cor:decide-blocks} An orthogonal sum of rational forms, each of rank at most three and each satisfying the hypothesis of \cref{thm:decide}, is positive definite. \end{corollary} \begin{proof} Each summand is positive definite by \cref{thm:decide}, and an orthogonal sum of positive definite forms is positive definite. \end{proof} \lean{AlienHodgePrinciples.decide_blocks} \begin{proposition}[Blindness in rank four]\label{prop:blind} The rational forms $\form{1,1,1,1}$ and $\form{-1,-1,-1,-1}$, of signatures $(4,0)$ and $(0,4)$, have the same discriminant and the same Hasse invariant at every prime. \end{proposition} \begin{proof} The discriminants are $1$. At a prime $\ell$, $\ve_\ell(\form{-1,-1,-1,-1})=\hilb{-1}{-1}{\ell}^6=1=\ve_\ell(\form{1,1,1,1})$. \end{proof} \lean{AlienHodgePrinciples.blind_rank4} \Cref{thm:decide} and \cref{prop:blind} describe exactly what the local data of the realisations can decide. A Tate part that splits, by algebraic correspondences, into orthogonal pieces of rank at most three whose local invariants are known is decided by them: its algebraic classes form a positive definite space as soon as they have the local invariants of one. A piece of rank four or more is not decided by its finite local invariants, whatever they are. In the motives of \cref{part:summit} the Levelt involution brings the Tate part to pieces of rank one and two; the frontier in rank seven (\cref{sec:rank7}) is a piece of rank four. \subsection{The discriminant field of an even block}\label{ss:disc-field} Let $B$ be a Betti block of even rank $n$, that is, a $\Q$-subspace of the Betti lift $V_{\mathrm B}$ cut out by an algebraic correspondence defined over $\Q$, and let $\phi_B$ be the Frobenius at a good prime $q$ on its $\ell$-adic realisation. Its determinant $\det\phi_B=\pm1$ is the value at $\Frob_q$ of a quadratic character of $\Gal(\Qbar/\Q)$. \begin{lemma}\label{lem:antipalindromic} If $\phi\in\Orth(B_\ell)$ with $n$ even and $\det\phi=-1$, then the characteristic polynomial of $\phi$ vanishes at $1$ and at $-1$. Hence $B$ contains two orthogonal potentially Tate lines $L_+$ and $L_-$, on which $\phi$ acts by $+1$ and $-1$. \end{lemma} \begin{proof} The characteristic polynomial $c(x)=\sum_kc_kx^k$ of an orthogonal map with determinant $-1$ satisfies $x^nc(1/x)=-c(x)$, that is, $c_{n-k}=-c_k$. Summing gives $c(1)=0$; summing with the signs $(-1)^k$, which satisfy $(-1)^{n-k}=(-1)^k$ for $n$ even, gives $c(-1)=0$. The eigenspaces for $1$ and $-1$ are orthogonal, since $\phi$ is an isometry. \end{proof} \lean{AlienHodgeDiscriminant.antipalindromic_one,AlienHodgeDiscriminant.antipalindromic_neg_one} \begin{definition}[Discriminant field]\label{def:disc-field} The \emph{discriminant field} of an even Betti block $B$ of rank $n$ with Gram determinant $d_B$ is $F_B=\Q\bigl(\sqrt{(-1)^{n/2}d_B}\bigr)$. \end{definition} For the whole middle cohomology of a smooth projective variety of even dimension over $\Q$, the determinant of Frobenius on $\ell$-adic cohomology is the quadratic character attached to the de Rham discriminant, by a theorem of T.~Saito \cite{Saito1994}; compare also Elsenhans and Jahnel \cite{ElsenhansJahnel2011} for the value of the characteristic polynomial at $-1$. For a rank-two block with complex multiplication the analogous statement is elementary (\cref{lem:cm-det}), and with the Betti discriminant in place of the de Rham one it gives the walls of the three motives of \cref{part:summit}. In rank four we only know that the prediction $\det\phi_B=\chi_{F_B}(q)$ agrees with the data (\cref{sec:rank7}). \subsection{One bit and the anchor}\label{ss:one-bit} \begin{proposition}[The two lines have the same sign]\label{prop:same-sign} Let $B=L_+\oplus L_-\oplus U$ be an orthogonal decomposition of an even Betti block at a prime where $\det\phi_B=-1$, with $U$ a non-Tate binary block, and suppose $d_B>0$. If $z_\pm\in L_\pm$ are algebraic classes with squares $x_\pm\ne0$, then $x_+x_->0$. Hence the form on the algebraic classes of $L_+\oplus L_-$ is definite, and it is positive definite if and only if $x_+>0$. \end{proposition} \begin{proof} At every $\ell\ne p$ the plane $L_+\oplus L_-$ has discriminant $x_+x_-$, and also $d_B/d(U)\equiv d_B(4-t_U^2)$ by \cref{lem:disc-binary}, where $x^2-t_Ux+1$ is the characteristic polynomial on $U$. The rational number $d_B(4-t_U^2)$ is positive. By \cref{lem:square-class}, $x_+x_->0$. \end{proof} \lean{AlienHodgeDiscriminant.lines_same_sign,AlienHodgeDiscriminant.rank4_wall_bit} \begin{theorem}[The anchor principle]\label{thm:anchor} Let $f$ be a rational form of rank at most three satisfying the hypothesis of \cref{thm:decide}, and $x_0>0$. Then $\form{x_0}\oplus f$ is positive definite. Without the class $x_0$ of known sign, the finite local invariants of a block of rank four do not determine its signature \textup{(}\cref{prop:blind}\textup{)}. \end{theorem} \begin{proof} By \cref{thm:decide}, $f$ is positive definite, and so is its orthogonal sum with the positive line $\form{x_0}$. For the second statement, the forms $\form{1}\oplus\form{1,1,1}$ and $\form{-1}\oplus\form{-1,-1,-1}$ of \cref{prop:blind} have the same finite invariants and opposite signatures; they are distinguished by the sign of one vector of the line, which is what the class $x_0$ supplies. \end{proof} \lean{AlienHodgeOverF.anchor_principle,AlienHodgeOverF.anchor_necessary} \Cref{prop:same-sign} reduces a Tate part $L_+\oplus L_-$ of a rank-four wall to one sign, and \cref{thm:anchor} says that one algebraic class of known sign settles it. When the block $B$ carries real multiplication by a real quadratic field $F$, the two lines are the traces of one $F$-line, the product formula over $F$ sees only the product of the two real signs, and the missing sign is the sign at one real place of $F$. We record the elementary fact behind this. \begin{lemma}\label{lem:trace-form} For $D>0$ the form $(x_1,x_2)\mapsto x_1^2+Dx_2^2$, which is half the trace form $x\mapsto\Tr_{F/\Q}(x^2)$ of $F=\Q(\sqrt D)$ written in the basis $1,\sqrt D$, is positive definite. If $s_1,s_2\in\{\pm1\}$ are the signs of a definite $F$-quadratic form at the two real places and their product $P$ is known, then $s_2=s_1P$. \end{lemma} \begin{proof} For $x=x_1+x_2\sqrt D$ with $x_1,x_2\in\Q$, $x^2=x_1^2+Dx_2^2+2x_1x_2\sqrt D$, so $\Tr(x^2)/2=x_1^2+Dx_2^2$, a form with positive coefficients. The second statement is $s_1s_2=P$ and $s_1^2=1$. \end{proof} \lean{AlienHodgeOverF.trace_form_pos,AlienHodgeOverF.real_place_count}