% Version of 25 November 2026 (v9): names Watermark and Double Ladder restored, paragraph on the names, acknowledgement. \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[a4paper,margin=2.6cm]{geometry} \usepackage{amsmath,amssymb,amsthm} \usepackage{enumitem} \usepackage{url} \usepackage{cite} \usepackage{listings} \lstset{basicstyle=\ttfamily\footnotesize,columns=fullflexible,keepspaces=true,breaklines=false,xleftmargin=1em,aboveskip=0.6em,belowskip=0.6em,upquote=true,literate={ℕ}{{$\mathbb{N}$}}1 {ℤ}{{$\mathbb{Z}$}}1 {∨}{{$\vee$}}1 {∧}{{$\wedge$}}1 {≤}{{$\le$}}1 {∀}{{$\forall$}}1 {→}{{$\to$}}1 {⧸}{{$/$}}1 {≃}{{$\simeq$}}1 {×}{{$\times$}}1 {ι}{{$\iota$}}1 {ₗ}{{$_{l}$}}1} \usepackage[hidelinks,pdfusetitle]{hyperref} \hypersetup{pdfauthor={Rafael Amichis Luengo},pdftitle={The Watermark and Double Ladder Theorems},pdfsubject={The discriminant group of the Neron-Severi lattice of a Fermat surface of prime degree}} \setlist{itemsep=0.2em,topsep=0.3em} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\F}{\mathbb{F}} \newcommand{\C}{\mathbb{C}} \newcommand{\Pp}{\mathbb{P}} \newcommand{\NS}{\operatorname{NS}} \newcommand{\pb}{\operatorname{pb}} \newcommand{\fib}{\operatorname{fib}} \newcommand{\aug}{\operatorname{aug}} \newcommand{\SAT}{K_0} \newcommand{\one}{\mathbf{1}} \emergencystretch=2em \begin{document} \begin{center} {\LARGE\bfseries The Watermark and Double Ladder Theorems\par} \medskip {\large The discriminant group of the N\'eron--Severi lattice of a Fermat surface of prime degree\par} \bigskip {\large Rafael Amichis Luengo\par} \smallskip {\small Madrid, Spain $\cdot$ tretoef@gmail.com $\cdot$ ORCID 0009-0008-6252-675X $\cdot$ 25 November 2026\par} \end{center} \begin{abstract} Let $S_p\subset\Pp^3$ be the complex Fermat surface $x_0^p+x_1^p+x_2^p+x_3^p=0$ of prime degree $p\ge 5$. Its N\'eron--Severi lattice $\NS(S_p)$ is generated by the classes of the $3p^2$ lines on $S_p$ (Sch\"utt--Shioda--van Luijk, Degtyarev). We prove that \[ |\operatorname{disc}\NS(S_p)| = p^{3(p-3)^2}\qquad\text{(the Watermark Theorem)}, \] which answers formula (7.10) of Shioda's Question~7.4 (1987) for every prime $p\ge5$, and we determine the discriminant group itself: \[ \NS(S_p)^\ast/\NS(S_p)\;\cong\;\begin{cases}(\Z/p)^{3p^2-24p+59}\times(\Z/p^2)^{3p-16}, & p\ge 7,\\ (\Z/5)^{10}\times\Z/25, & p=5\end{cases} \] (the Double Ladder Theorem). The transcendental lattice of $S_p$ has the same discriminant group. The proofs work with the explicit integer intersection matrix $G$ of the lines and use elementary lattice arithmetic. For the order, $G$ acts by multiples of $p$ on functions pulled back along the $p+1$ pencils of parallel lines of $\F_p^2$, its kernel contains an explicit sublattice of index $p^{12}$, and two index computations conclude. For the group, an identity $GYG=6p^2G$ with an explicit integer matrix $Y$ bounds the exponent by $p^2$, and $G$ modulo $p$ factors through twelve functions of one variable, which gives its rank $12(p-3)$ ($26$ at $p=5$). On the level $\nu\le3$ of a filtration by vanishing moments of degree $<\nu$, the rank of the form modulo $p$ is $12(p-3)-3\nu(\nu+1)$ for $p\ge7$; this is not needed in the proofs. The lattice statements of both theorems are checked in Lean~4 with Mathlib; the identification of $G$ with the intersection matrix of the lines is proved by hand. \end{abstract} \section{Introduction} The N\'eron--Severi lattice of the Fermat surface has been a test case for the theory of algebraic cycles since Shioda's work on Fermat varieties \cite{Sh79,AS83,Sh87}. For $m\ge1$ let $S_m\subset\Pp^3(\C)$ be the Fermat surface $x_0^m+x_1^m+x_2^m+x_3^m=0$; for $m\ge3$ it contains exactly $3m^2$ lines. For $m\le 4$ or $\gcd(m,6)=1$ their classes span $\NS(S_m)\otimes\Q$ \cite{Sh82} (see \cite[\S3]{SSvL}), and for $\gcd(m,6)=1$ they generate $\NS(S_m)$ over $\Z$: Sch\"utt, Shioda and van Luijk proved this for $m\le 100$ \cite{SSvL}, and Degtyarev for every such $m$ \cite{Deg}. Shimada and Takahashi gave a general method for the primitive closure of the lattice generated by given curves on a surface, motivated by Shioda's question whether the lines generate $\NS(S_m)$, and applied it to cyclic coverings of $\Pp^2$ branched along four lines \cite[Theorems~1.2 and~1.4]{ST10}. From now on $p\ge5$ is a prime; then $\rho(S_p)=3(p-1)(p-2)+1$ \cite{Sh82,AS83}. At the end of \cite{Sh87} (\S7, pp.~133--134) Shioda asked whether $|\det\NS| = p^{3(p-3)^2}$ for the Fermat surface of prime degree $p$: in Question~7.2 for the surface over a field of characteristic $r\equiv 1\pmod p$, and in Question~7.4, formula (7.10), for the complex surface. Sch\"utt, Shioda and van Luijk computed the determinant of the intersection form on their basis of lines for every odd $m\le 81$ and found $m^{3(m-3)^2}$ \cite[end of \S4]{SSvL}. In 2015 Shioda still used the formula as expected, inside Conjecture~23 of \cite{Sh15}. Aljovin, Movasati and Villaflor computed by machine the elementary divisors of the lattice of the lines for $3\le m\le 14$ \cite[Table~1]{AMV}; for $p=5,7,11,13$ their rows are \[ 1^{26}\,5^{10}\,25,\qquad 1^{48}\,7^{38}\,49^{5},\qquad 1^{96}\,11^{158}\,121^{17},\qquad 1^{120}\,13^{254}\,169^{23}, \] whose products are $p^{3(p-3)^2}$. We did not find a proof of the formula for general prime $p$, nor a description of the group for general $p$, in the works we consulted; in particular Degtyarev \cite{Deg}, who proves that the lines generate, and Degtyarev--Shimada \cite{DS}, who study the same primitivity question for the standard subspaces of Fermat varieties of higher dimension by a different method (Pham polyhedra), do not compute the discriminant (\S\ref{sec:history}). \begin{theorem}[Watermark Theorem: the order of the discriminant]\label{thm:A} For every prime $p\ge5$, the lattice $V$ spanned by the classes of the $3p^2$ lines of $S_p$, with the intersection form, is free of rank $3(p-1)(p-2)+1$ and the Gram matrix of every $\Z$-basis of $V$ has determinant $p^{3(p-3)^2}$. Hence $|\operatorname{disc}\NS(S_p)|=p^{3(p-3)^2}$. \end{theorem} \begin{theorem}[Double Ladder Theorem: the discriminant group]\label{thm:B} For every prime $p\ge7$, \[ V^\ast/V\;\cong\;(\Z/p)^{3p^2-24p+59}\times(\Z/p^2)^{3p-16}, \] and $V^\ast/V\cong(\Z/5)^{10}\times\Z/25$ for $p=5$. Here $V^\ast=\operatorname{Hom}(V,\Z)$, and $V\subset V^\ast$ through the form. \end{theorem} Since $V=\NS(S_p)$, Theorem~\ref{thm:B} is the discriminant group of the N\'eron--Severi lattice; Theorem~\ref{thm:A} gives its order. The sign of the determinant in Theorem~\ref{thm:A} is $+$: the form has signature $(1,\rho-1)$ and $\rho-1=3(p-1)(p-2)$ is even.\footnote{The row $(2,7)$ of \cite[Table~1]{AMV} (arXiv:1711.02628v2) prints the sign $-$; the signature argument and a direct computation of the determinant both give the sign $+$, that is, the value $7^{48}$. The composite rows $(2,6)$, $(2,9)$ and $(2,12)$ of the same table also print the sign opposite to $(-1)^{r-1}$, $r$ the rank, which is the sign forced by the signature $(1,r-1)$ of the lattice of lines (it contains the class of a plane section); all the other rows $(2,m)$ of the table print the sign $(-1)^{r-1}$.} The four rows of \cite[Table~1]{AMV} quoted above are Theorem~\ref{thm:B} at $p=5,7,11,13$. \paragraph{Scope.} Theorem~\ref{thm:A} answers Shioda's Question~7.4, formula (7.10), for every prime $p\ge5$. We do not treat Question~7.2, in characteristic $r\equiv1\pmod p$: it would require that the lines generate the N\'eron--Severi group of the reduction of $S_p$ modulo $r$, which we do not prove; the lines of the reduction have the same intersection matrix $G$, so Theorem~\ref{thm:A} gives the discriminant of the lattice they span. (For $p=3$ formula (7.10) is classical, $|\det\NS(S_3)|=1$; formulas (7.12)--(7.13), on the product of two Fermat curves, are not treated.) \begin{corollary}\label{cor:T} For every prime $p\ge5$ the transcendental lattice $T_p=\NS(S_p)^\perp\subset H^2(S_p,\Z)$ has rank $(p-1)(p-3)^2$ and $T_p^\ast/T_p\cong V^\ast/V$; in particular $|\operatorname{disc}T_p|=p^{3(p-3)^2}$. \end{corollary} \begin{proof} $H^2(S_p,\Z)$ is torsion free and unimodular, since $S_p$ is simply connected (Lefschetz) and by Poincar\'e duality, and $\NS(S_p)=H^2(S_p,\Z)\cap H^{1,1}$ is a primitive sublattice, so the discriminant groups of $\NS(S_p)$ and of its orthogonal complement are isomorphic: for a primitive sublattice $M$ of a unimodular lattice $L$ the projections give $M^\ast/M\cong L/(M\oplus M^\perp)\cong(M^\perp)^\ast/M^\perp$ (cf.\ \cite[Prop.~1.6.1]{Nik}, stated there for even lattices; $\NS(S_p)$ is odd, since a line has self-intersection $2-p$). The second Betti number of a smooth surface of degree $p$ in $\Pp^3$ is $p^3-4p^2+6p-2$, and $p^3-4p^2+6p-2-(3p^2-9p+7)=(p-1)(p-3)^2$. \end{proof} \paragraph{The proofs.} Everything is proved for an explicit integer matrix $G$ of size $3p^2$, defined in \S\ref{sec:config}; that $G$ is the intersection matrix of the lines is the classical configuration, proved in \S\ref{sec:geometry}.\footnote{Both theorems were first obtained in June 2026 by a different route, through the characters of $(\Z/p)^3$ \cite{WM,DL}. Two steps of the June argument for Theorem~\ref{thm:A} (an inclusion of lattices and a rank) and four steps of the June argument for Theorem~\ref{thm:B} were checked by computer only, the latter at a few primes; the proof printed here does not use them. The proof printed here is the integral route along which the theorems were formalized in Lean. Earlier versions of this paper are in \cite{WMDLZenodo} (version 2, 14 October 2026) and on Hexagon, hexagon:2610.00231v1.} Theorem~\ref{thm:A} is proved in \S\S\ref{sec:pencils}--\ref{sec:proofA}. The kernel $K$ of $G$ contains an explicit sublattice $\SAT$ with $pK\subseteq\SAT$ and $[K:\SAT]=p^{12}$ (the number $12$ counts the relations modulo $p$ among the functions that build $\SAT$, Lemma~\ref{lem:C}); and $A=\Z^{3p^2}$ contains an explicit sublattice $F$, the orthogonal direct sum of $N_0$ (the indicator vector of the lines of one family) and $3(p-2)$ blocks, whose image in $V$ has index $p^{3(p^2+p+2)/2-12}$. Theorem~\ref{thm:B} is proved in \S\ref{sec:proofB}: the order is Theorem~\ref{thm:A}, the exponent divides $p^2$ by an identity $GYG=6p^2G$ with an explicit integer matrix $Y$ (\S\ref{sec:exp}), and the rank of $G$ modulo $p$ is $12(p-3)$ ($26$ at $p=5$). Proposition~\ref{prop:ladder} computes the same rank on the levels of a filtration by vanishing moments. \paragraph{Lean.} The lattice statements of Theorems~\ref{thm:A} and~\ref{thm:B}, for the matrix $G$ of \S\ref{sec:config}, are checked in Lean~4 with Mathlib (\S\ref{sec:lean}). The geometric identification of \S\ref{sec:geometry}, the equality $V=\NS(S_p)$ \cite{SSvL,Deg} and Corollary~\ref{cor:T} are not formalized. \paragraph{The names.} \emph{Watermark.} The degree is pressed into the whole intersection form: every non-zero eigenvalue of $G$ is a multiple of $p$ (they are $-p$, $-2p$ and $3p$; see the paragraph after Lemma~\ref{lem:GYG}), and so is every entry of the Gram matrix of the sublattice of full rank used in \S\ref{sec:proofA}. The rank of $V$ does not show it; the form does, as a watermark is seen only when the sheet is held against the light. Shioda knew that the mark is there, since the discriminant divides a power of the degree \cite[Added in proof]{Sh87}; Theorem~\ref{thm:A} reads how much of it the lattice keeps, $p^{3(p-3)^2}$, from the degree alone. \emph{Double Ladder.} The rank of $G$ modulo $p$, which with the order and the exponent fixes the group of Theorem~\ref{thm:B}, is the bottom rung of a ladder. On the subspace $M_\nu$ of the combinations modulo $p$ whose coefficient function in each family has vanishing moments of total degree $<\nu$, the form $x^{\mathsf T}Gy$ modulo $p$ has rank $12(p-3)-3\nu(\nu+1)$ for $p\ge7$ and $0\le\nu\le3$, and also for $\nu=4$ when $p\ge11$ (Proposition~\ref{prop:ladder}). Each rung imposes $3\nu$ new conditions and lowers the rank by twice that number, $6\nu$: the image of $M_\nu$ under the shadow map of \S\ref{sec:rank} loses $3\nu$ dimensions and the radical of the form gains $3\nu$. The name records this doubling, read on a ladder. The ladder is not used in the proof of Theorem~\ref{thm:B}; in the first proof \cite{DL} the rung $\nu=2$, of rank $12p-54$, entered the count of the factors $\Z/p^2$, and it was checked there by computer only, at a few primes. \paragraph{Notation.} Throughout, $p\ge5$ is prime, $\F_p=\Z/p$, and $P=\F_p^2$; its elements are written $(k,l)$. For a function $u:\F_p\to\Z$ write $\Sigma u=\sum_{x\in\F_p}u(x)$; $Z_0$ is the group of $u$ with $\Sigma u=0$, free of rank $p-1$. For a commutative ring $R$ and $u:\F_p\to R$ put $u^{\pm}(x)=u(x\pm1)$; for $c\in\F_p$, $\delta_c:\F_p\to\Z$ is the indicator of $c$. \section{The configuration and the lattice}\label{sec:config} The set of \emph{lines} is $I=\{0,1,2\}\times P$, so $|I|=3p^2$; the first coordinate is the \emph{family}. Let $A=\Z^I$ and define the symmetric matrix $G\in\Z^{I\times I}$ by the following entries, for lines ${\ell}=(j,k,l)$ and ${\ell'}=(j',k',l')$: \begin{itemize} \item same family ($j=j'$): $G_{\ell\ell}=2-p$; for $(k,l)\neq(k',l')$, $G_{\ell\ell'}=1$ if $k=k'$ or $l=l'$, and $0$ otherwise; \item families $0$ and $1$ ($j=0$, $j'=1$): $G_{\ell\ell'}=1$ if $k-l=k'-l'$, else $0$; \item families $1$ and $2$ ($j=1$, $j'=2$): $G_{\ell\ell'}=1$ if $k+l=k'+l'$, else $0$; \item families $0$ and $2$ ($j=0$, $j'=2$): $G_{\ell\ell'}=1$ if $k'-l'=k+l+1$, else $0$; \item the remaining entries by symmetry, $G_{\ell'\ell}=G_{\ell\ell'}$. \end{itemize} All equalities are in $\F_p$. Let $K=\ker G\subseteq A$ and $V=A/K$, with the form induced by $B(x,y)=x^{\mathsf T}Gy$ (by Corollary~\ref{cor:VNS} this is the lattice $V$ of Theorem~\ref{thm:A}); it is well defined because $G$ is symmetric. The group $V$ is torsion free (if $cx\in K$ with $c\neq0$ then $x\in K$), hence free. For $j\in\{0,1,2\}$ let $N_j\in A$ be the indicator of family $j$, and $\one=N_0+N_1+N_2$. For $x\in A$ write $x_j:P\to\Z$ for its restriction to family $j$ and $\aug(x_j)=\sum_{z\in P}x_j(z)$. \paragraph{Rows of $G$.} The row of $G$ at ${\ell}=(j,k,l)$ has $2-p$ at ${\ell}$, $1$ at the $2(p-1)$ lines of family $j$ that share $k$ or $l$ with ${\ell}$, and, in each other family $j'$, the value $1$ exactly on an \emph{incidence set} $S_{j'}({\ell})\subset P$: \[ \begin{array}{lll} \text{family of }{\ell} & & \\ 0: & S_1({\ell})=\{k'-l'=k-l\}, & S_2({\ell})=\{k'-l'=k+l+1\},\\ 1: & S_0({\ell})=\{k'-l'=k-l\}, & S_2({\ell})=\{k'+l'=k+l\},\\ 2: & S_0({\ell})=\{k'+l'=k-l-1\}, & S_1({\ell})=\{k'+l'=k+l\}. \end{array} \] Each incidence set is a ``$-$ set'' $\{k'-l'=c\}$ or a ``$+$ set'' $\{k'+l'=c\}$; it has $p$ points. \begin{lemma}\label{lem:N} $GN_j=p\one$ for every $j$, and $G\one=3p\one$. \end{lemma} \begin{proof} At a line of family $j$ the row sum over family $j$ is $(2-p)+2(p-1)=p$. At a line of another family the row meets family $j$ in an incidence set, of $p$ points. \end{proof} \section{The geometry}\label{sec:geometry} This section identifies $G$ with the intersection matrix of the lines on $S_p$ and $V$ with $\NS(S_p)$. It is not used in \S\S\ref{sec:pencils}--\ref{sec:proofB}. Put $\eta=e^{\pi i/p}$ and $\zeta=\eta^2=e^{2\pi i/p}$, so that $\eta^p=-1$. For $(a,b)\in\F_p^2$ the following lines lie on $S_p$: \[ \begin{array}{lll} \text{family }0: & x_0=\eta\zeta^a x_1, & x_2=\eta\zeta^b x_3;\\ \text{family }1: & x_0=\eta\zeta^a x_2, & x_1=\eta\zeta^b x_3;\\ \text{family }2: & x_0=\eta\zeta^a x_3, & x_1=\eta\zeta^b x_2. \end{array} \] For instance on a line of family $0$, $x_0^p+x_1^p=(\eta^p+1)x_1^p=0$ and likewise $x_2^p+x_3^p=0$. These are the $3p^2$ lines of $S_p$ \cite{SSvL}; the line of family $j$ with parameters $(a,b)$ is the line $(j,a,b)\in I$. \begin{proposition}\label{prop:geom} The intersection number of the lines $(j,a,b)$ and $(j',c,d)$ on $S_p$ is the entry of $G$. \end{proposition} \begin{proof} By adjunction a line $L$ on $S_p$ has $L^2=-2-K_{S_p}\cdot L=-2-(p-4)=2-p$. Two distinct lines on a smooth surface meet in at most one point, transversally, so their intersection number is $1$ if they meet and $0$ otherwise; they meet if and only if their four linear equations have a common non-zero solution. Two lines of one family meet if and only if they share $a$ or $b$: for instance the lines of family $0$ with the same $a$ and different $b$ meet at $(\eta\zeta^a:1:0:0)$, and if $a\ne a'$ and $b\ne b'$ the equations force $x=0$. For families $0$ and $1$, with parameters $(a,b)$ and $(c,d)$, a common point has $x_3\neq0$ (otherwise all coordinates vanish) and $x_0=\eta\zeta^a x_1=\eta^2\zeta^{a+d}x_3$, $x_0=\eta\zeta^c x_2=\eta^2\zeta^{c+b}x_3$; so the lines meet if and only if $a-b=c-d$. In the same way families $1$ and $2$, with $(c,d)$ and $(e,f)$, meet if and only if $c+d=e+f$. For families $0$ and $2$, with $(a,b)$ and $(e,f)$, again $x_3\neq0$ and $x_0=\eta\zeta^a x_1=\eta^2\zeta^{a+f}x_2=\eta^3\zeta^{a+f+b}x_3$ and $x_0=\eta\zeta^e x_3$, so the lines meet if and only if $\eta^2\zeta^{a+b+f}=\zeta^e$, that is, $e-f=a+b+1$. These are the entries of $G$; the $+1$ of the last case is $\eta^2=\zeta$. \end{proof} \begin{corollary}\label{cor:VNS} The lattice spanned by the classes of the lines in $H^2(S_p,\Z)$, with the intersection form, is isometric to $V$. For prime $p\ge5$ it is $\NS(S_p)$. \end{corollary} \begin{proof} The classes of the lines span $\NS(S_p)\otimes\Q$ for $\gcd(p,6)=1$ \cite{Sh82} (see \cite[\S3]{SSvL}), $H^2(S_p,\Z)$ is torsion free, as $S_p$ is simply connected, and the intersection form on $\NS(S_p)$ is non-degenerate (Hodge index theorem). So a combination $x\in A$ of lines has class $0$ if and only if it pairs to zero with every line, that is, $Gx=0$, by Proposition~\ref{prop:geom}. Hence the lattice of the lines is $A/\ker G=V$ with the form of $G$. For $\gcd(p,6)=1$ the lines generate $\NS(S_p)$ \cite{SSvL,Deg}. \end{proof} The proof of Proposition~\ref{prop:geom} was also checked by computer: for $p=5,7,11$ the lines were built numerically and every pair of distinct lines was tested for a common point (rank of a $4\times4$ complex matrix); all $2\,775$, $10\,731$ and $65\,703$ such pairs agree with $G$ (the diagonal entries $2-p$ come from adjunction), and the same test with $k+l-1$ in place of $k+l+1$ in the last case disagrees on $250$, $686$ and $2\,662$ pairs. \section{Pencils and pullbacks}\label{sec:pencils} For $t\in\F_p$ let $\pi_t(k,l)=k+tl$, and let $\pi_\infty(k,l)=l$. These are the $p+1$ \emph{pencils}: the linear forms on $P$ up to scalars. We call $\pi_0=k$ and $\pi_\infty=l$ the \emph{axis} pencils, $\pi_{1}=k+l$ and $\pi_{-1}=k-l$ the \emph{overlap} pencils, and the $p-3$ others the \emph{live} pencils. For a family $j$, a pencil $\pi$ and $u:\F_p\to\Z$, the \emph{pullback} $\pb_j^\pi(u)\in A$ is $u\circ\pi$ on family $j$ and $0$ elsewhere. For $y:P\to\Z$ the \emph{fibre sums} are $\fib_\pi(y)(v)=\sum_{\pi(z)=v}y(z)$. \begin{lemma}\label{lem:indep} Let $\pi\neq\pi'$ be pencils and $u,v:\F_p\to\Z$. Then $\sum_{z\in P}u(\pi(z))v(\pi'(z))=(\Sigma u)(\Sigma v)$ and $\sum_{z\in P}u(\pi(z))v(\pi(z))=p\sum_x u(x)v(x)$. In particular every fibre of $\pi$ meets every fibre of $\pi'$ in exactly one point. \end{lemma} \begin{proof} Two non-proportional linear forms on $\F_p^2$ give a bijection $z\mapsto(\pi(z),\pi'(z))$ of $P$ onto $\F_p^2$; every fibre of one pencil has $p$ points. \end{proof} \begin{lemma}[Fibre decomposition]\label{lem:R1} For every $y:P\to\Z$ and every family $j$, \[ p\cdot y\big|_{\text{family }j} \;=\;\sum_{\pi}\pb_j^\pi\big(\fib_\pi(y)\big)-\Big(\sum_{z}y(z)\Big)N_j , \] the sum running over the $p+1$ pencils (here $y|_{\text{family }j}\in A$ is $y$ on family $j$ and $0$ elsewhere). \end{lemma} \begin{proof} At $(j,z)$ the right side is $\sum_\pi\sum_{\pi(z')=\pi(z)}y(z')-\sum_{z'}y(z')$. A point $z'\neq z$ lies on the same fibre as $z$ for exactly one pencil, the one containing the direction $z'-z$; the point $z$ does so for all $p+1$. So the double sum is $(p+1)y(z)+\sum_{z'\ne z}y(z')$. \end{proof} \begin{lemma}[$G$ on pullbacks]\label{lem:G} Let $u\in Z_0$. \begin{enumerate}[label=(\alph*)] \item Axis pencils: $G\,\pb_j^{\pi_0}(u)=G\,\pb_j^{\pi_\infty}(u)=0$ for every $j$. \item Live pencils: $G\,\pb_j^{\pi_t}(u)=-p\,\pb_j^{\pi_t}(u)$ for $t\notin\{0,1,-1\}$ and every $j$. \item Overlap pencils: \begin{align*} G\,\pb_0^{\pi_{-1}}(u)&=-p\,\pb_0^{\pi_{-1}}(u)+p\,\pb_1^{\pi_{-1}}(u), & G\,\pb_1^{\pi_{-1}}(u)&=-p\,\pb_1^{\pi_{-1}}(u)+p\,\pb_0^{\pi_{-1}}(u),\\ G\,\pb_1^{\pi_{1}}(u)&=-p\,\pb_1^{\pi_{1}}(u)+p\,\pb_2^{\pi_{1}}(u), & G\,\pb_2^{\pi_{1}}(u)&=-p\,\pb_2^{\pi_{1}}(u)+p\,\pb_1^{\pi_{1}}(u),\\ G\,\pb_0^{\pi_{1}}(u)&=-p\,\pb_0^{\pi_{1}}(u)+p\,\pb_2^{\pi_{-1}}(u^-), & G\,\pb_2^{\pi_{-1}}(u)&=-p\,\pb_2^{\pi_{-1}}(u)+p\,\pb_0^{\pi_{1}}(u^+). \end{align*} \end{enumerate} \end{lemma} \begin{proof} Let $v=\pb_j^\pi(u)$ and look at $(Gv)({\ell'})$. \emph{Lines ${\ell'}=(j,k,l)$ of family $j$.} If $\pi$ is an axis pencil, say $\pi=\pi_0$, the entry is $(2-p)u(k)+(p-1)u(k)+\sum_{k'\neq k}u(k')=\Sigma u=0$; likewise for $\pi_\infty$. If $\pi=\pi_t$ with $t\neq0$, the row $\{k'=k\}$ and the column $\{l'=l\}$ each meet every fibre of $\pi$ once, so with $x=\pi(k,l)$ the entry is $(2-p)u(x)+2(\Sigma u-u(x))=-pu(x)$. \emph{Lines ${\ell'}$ of another family.} The entry is the sum of $u\circ\pi$ over an incidence set $S$. On a $-$ set $\{k'-l'=c\}$, $\pi_t$ takes the values $(1+t)l'+c$, a bijection onto $\F_p$ unless $t=-1$; on a $+$ set $\{k'+l'=c\}$, $\pi_t$ takes the values $(1-t)k'+tc$, a bijection unless $t=1$; $\pi_0=k'$ and $\pi_\infty=l'$ are bijections on both kinds. A bijection gives $\Sigma u=0$. In the two remaining cases ($\pi_{-1}$ on a $-$ set, $\pi_1$ on a $+$ set) $\pi$ is constant on $S$ and the entry is $p\,u(\text{value})$. Reading the value off the table of incidence sets gives the six formulas; for example, for $v=\pb_0^{\pi_1}(u)$ and ${\ell'}=(2,k,l)$ the set is $S_0({\ell'})=\{k'+l'=k-l-1\}$, so the entry is $p\,u(k-l-1)=p\,u^-(k-l)$; for $v=\pb_2^{\pi_{-1}}(u)$ and ${\ell'}=(0,k,l)$ it is $S_2({\ell'})=\{k'-l'=k+l+1\}$, giving $p\,u^+(k+l)$. \end{proof} The three \emph{overlap pairs} are $(\pb_0^{\pi_{-1}},\pb_1^{\pi_{-1}})$, $(\pb_1^{\pi_1},\pb_2^{\pi_1})$ and $(\pb_0^{\pi_1},\pb_2^{\pi_{-1}})$, the last one with a shift by one. \section{An explicit sublattice of the kernel}\label{sec:SAT} \begin{definition} Let $R$ be a commutative ring. A \emph{datum} over $R$ consists of functions $a_j,b_j:\F_p\to R$ ($j=0,1,2$), $w_0,w_1,w_2:\F_p\to R$, and scalars $\varepsilon_1,\varepsilon_2\in R$. It is \emph{admissible} if each of the nine functions $a_j,b_j,w_i$ has sum zero; the admissible data form a free $R$-module $\mathrm{Src}_R$ of rank $9(p-1)+2=9p-7$. The map $s_R:\mathrm{Src}_R\to R^I$ sends a datum to the vector with values \[ \begin{array}{ll} (0,k,l)\mapsto a_0(k)+b_0(l)+w_0(k-l)+w_2(k+l)+\varepsilon_1,\\ (1,k,l)\mapsto a_1(k)+b_1(l)+w_0(k-l)+w_1(k+l)+\varepsilon_2-\varepsilon_1,\\ (2,k,l)\mapsto a_2(k)+b_2(l)+w_1(k+l)+w_2(k-l-1)-\varepsilon_2 . \end{array} \] Put $\SAT=s_\Z(\mathrm{Src}_\Z)\subseteq A$. \end{definition} In terms of pullbacks, $s_\Z$ of a datum is \begin{multline*} \sum_j\big(\pb_j^{\pi_0}(a_j)+\pb_j^{\pi_\infty}(b_j)\big)+\big(\pb_0^{\pi_{-1}}+\pb_1^{\pi_{-1}}\big)(w_0)+\big(\pb_1^{\pi_1}+\pb_2^{\pi_1}\big)(w_1)\\ +\pb_0^{\pi_1}(w_2)+\pb_2^{\pi_{-1}}(w_2^-)+\varepsilon_1(N_0-N_1)+\varepsilon_2(N_1-N_2). \end{multline*} \begin{lemma}\label{lem:SATK} $\SAT\subseteq K$. \end{lemma} \begin{proof} By Lemma~\ref{lem:G}(a), $G$ kills the axis pullbacks. For the first overlap pair, Lemma~\ref{lem:G}(c) gives \[G\big(\pb_0^{\pi_{-1}}+\pb_1^{\pi_{-1}}\big)(w_0)=(-p+p)\,\pb_0^{\pi_{-1}}(w_0)+(p-p)\,\pb_1^{\pi_{-1}}(w_0)=0,\] and likewise for the second. For the third, $G\pb_0^{\pi_1}(w_2)=-p\pb_0^{\pi_1}(w_2)+p\pb_2^{\pi_{-1}}(w_2^-)$ and $G\pb_2^{\pi_{-1}}(w_2^-)=-p\pb_2^{\pi_{-1}}(w_2^-)+p\pb_0^{\pi_1}(w_2)$, since $(w_2^-)^+=w_2$; the sum is $0$. Finally $G(N_0-N_1)=G(N_1-N_2)=0$ by Lemma~\ref{lem:N}. \end{proof} \begin{lemma}[Relations modulo $p$]\label{lem:C} The kernel of $s_{\F_p}:\mathrm{Src}_{\F_p}\to\F_p^I$ has dimension $12$; hence its image has dimension $9p-19$. \end{lemma} \begin{proof} Let $\Theta$ be an admissible datum over $\F_p$ with $s_{\F_p}(\Theta)=0$, so that the three displayed functions of $(k,l)$ vanish identically. For $\Phi:P\to\F_p$ put $(\square\Phi)(k,l)=\Phi(k+1,l+1)-\Phi(k+1,l)-\Phi(k,l+1)+\Phi(k,l)$, and for $w:\F_p\to\F_p$ put $(\Delta^2w)(z)=w(z+2)-2w(z+1)+w(z)$. The operator $\square$ kills functions of $k$ alone, of $l$ alone, and constants, and a direct computation gives $\square[w(k-l)]=-(\Delta^2w)(k-l-1)$ and $\square[w(k+l)]=(\Delta^2w)(k+l)$. Applying $\square$ to the three identities gives, for all $k,l$: \begin{gather*} (\Delta^2w_2)(k+l)=(\Delta^2w_0)(k-l-1),\qquad (\Delta^2w_1)(k+l)=(\Delta^2w_0)(k-l-1),\\ (\Delta^2w_1)(k+l)=(\Delta^2w_2)(k-l-2). \end{gather*} Since $p$ is odd, $(k,l)\mapsto(k+l,k-l)$ is a bijection of $P$, so each of these says that both sides are one and the same constant. Hence $\Delta^2w_0=\Delta^2w_1=\Delta^2w_2=2c$ for one $c\in\F_p$. As $\Delta^2(x^2)=2$, the function $w_i-cx^2$ has zero second difference, so its first difference is a constant $\alpha_i$ and $w_i(x)=cx^2+\alpha_ix+\beta_i$ for all $x\in\F_p$. With these $w_i$ the cross terms cancel, $(k-l)^2+(k+l)^2=2k^2+2l^2$ and $(k+l)^2+(k-l-1)^2=2k^2+2l^2-2k+2l+1$, so each identity reads $a_j(k)+b_j(l)=\phi_j(k)+\psi_j(l)$ with explicit polynomials $\phi_j,\psi_j$ of degree $\le2$ (the constants $\beta_i$ and $\pm\varepsilon_1,\pm\varepsilon_2$ are absorbed into $\phi_j$ and $\psi_j$). Its solutions are exactly $a_j=\phi_j+t_j$, $b_j=\psi_j-t_j$ with $t_j\in\F_p$ (put $l=0$, then $k=0$). Conversely every such choice is admissible: each of $a_j=\phi_j+t_j$, $b_j=\psi_j-t_j$ and $w_i$ is a polynomial function of degree $\le2$ on $\F_p$, and such a function has sum zero (for the constant $t_j$, $\Sigma t_j=pt_j=0$), because $\sum_x1=p$, $\sum_xx=p(p-1)/2$ and $\sum_xx^2=(p-1)p(2p-1)/6$ vanish in $\F_p$ ($\gcd(p,6)=1$). So the kernel is the image of the injective linear map from $\F_p^{12}$ sending $(c,\alpha_0,\alpha_1,\alpha_2,\beta_0,\beta_1,\beta_2,\varepsilon_1,\varepsilon_2,t_0,t_1,t_2)$ to the datum just described. Injectivity: $c,\alpha_i,\beta_i$ are read off the $w_i$, $t_j$ off $a_j(0)$, and $\varepsilon_1,\varepsilon_2$ are coordinates of the datum. \end{proof} \begin{remark} At $p=3$ the count drops to $11$ because $\sum_{x\in\F_3}x^2\neq0$; this is one of the places where $p\ge5$ is used. \end{remark} \begin{lemma}\label{lem:lift} Reduction modulo $p$ maps $\mathrm{Src}_\Z$ onto $\mathrm{Src}_{\F_p}$, and $s_{\F_p}(\Theta\bmod p)=s_\Z(\Theta)\bmod p$ for $\Theta\in\mathrm{Src}_\Z$. \end{lemma} \begin{proof} The second statement holds because reduction is a ring map. For the first, lift a sum-zero $f:\F_p\to\F_p$ to any $y:\F_p\to\Z$; $p$ divides $\Sigma y$, and $y-(\Sigma y)\,\delta_0$ is a sum-zero lift of $f$ (it changes $y$ only at $0$, by a multiple of $p$). The scalars $\varepsilon_1,\varepsilon_2$ lift trivially. \end{proof} \section{The kernel}\label{sec:K} \begin{lemma}[Augmentations on the kernel]\label{lem:R2} For $x\in K$: $\aug(x_0)+\aug(x_1)+\aug(x_2)=0$, and $p$ divides each $\aug(x_j)$. \end{lemma} \begin{proof} By Lemma~\ref{lem:N}, $0=N_0^{\mathsf T}Gx=(GN_0)^{\mathsf T}x=p\sum_{\ell}x(\ell)$, which is the first statement. For the second, let $y$ be the indicator of the fibre $\{\pi_t=c\}$ of family $0$, so that $py=\pb_0^{\pi_t}(p\delta_c-1)+N_0$ with $p\delta_c-1\in Z_0$. By Lemmas~\ref{lem:G} and~\ref{lem:N}: \begin{align*} Gy&=2N_0+N_1+N_2-py && (t\notin\{0,\pm1\}),\\ Gy&=2N_0+N_1+p\chi-py && (t=1),\\ Gy&=2N_0+N_2+p\chi'-py && (t=-1), \end{align*} with $\chi,\chi'\in A$ fibre indicators. Pairing with $x\in K$ gives $0=y^{\mathsf T}Gx$, hence, with $s_j=\aug(x_j)$: $2s_0+s_1+s_2\equiv0$, $2s_0+s_1\equiv0$ and $2s_0+s_2\equiv0\pmod p$. A live pencil exists because $p\ge5$. Subtracting, $s_1\equiv s_2\equiv0$ and $2s_0\equiv0$, so $s_0\equiv0$ as $p$ is odd. \end{proof} \begin{lemma}[Fibre sums on the kernel]\label{lem:census} Let $x\in K$ and write $f_{j,\pi}=\fib_\pi(x_j)$. Then $f_{j,\pi_t}$ is constant for every $j$ and every live $t$, and the functions $f_{0,\pi_{-1}}-f_{1,\pi_{-1}}$, $f_{1,\pi_1}-f_{2,\pi_1}$ and $v\mapsto f_{0,\pi_1}(v)-f_{2,\pi_{-1}}(v+1)$ are constant. \end{lemma} \begin{proof} For every $w\in A$, $x^{\mathsf T}Gw=(Gx)^{\mathsf T}w=0$, and $x^{\mathsf T}\pb_j^\pi(u)=\sum_vu(v)f_{j,\pi}(v)$. A function $f:\F_p\to\Z$ with $\sum_vu(v)f(v)=0$ for every $u\in Z_0$ is constant (take $u=\delta_a-\delta_b$). Apply this with $w=\pb_j^{\pi_t}(u)$ for live $t$, and with $w=\pb_0^{\pi_{-1}}(u)$, $\pb_1^{\pi_1}(u)$, $\pb_0^{\pi_1}(u)$, using Lemma~\ref{lem:G}; in the last case $\sum_zu(z-1)f_{2,\pi_{-1}}(z)=\sum_vu(v)f_{2,\pi_{-1}}(v+1)$. \end{proof} \begin{proposition}\label{prop:mK} $pK\subseteq\SAT$. \end{proposition} \begin{proof} Let $x\in K$, put $\mu_j=\aug(x_j)/p\in\Z$ (Lemma~\ref{lem:R2}, which also gives $\mu_0+\mu_1+\mu_2=0$), and $\tilde f_{j,\pi}=f_{j,\pi}-\mu_j$; since $\Sigma f_{j,\pi}=\aug(x_j)$, each $\tilde f_{j,\pi}$ has sum zero. By Lemma~\ref{lem:R1}, \[ p\cdot x_j\big|_{\text{family }j}=\sum_\pi\pb_j^\pi(\tilde f_{j,\pi})+(p+1)\mu_jN_j-p\mu_jN_j=\sum_\pi\pb_j^\pi(\tilde f_{j,\pi})+\mu_jN_j . \] By Lemma~\ref{lem:census}, $\tilde f_{j,\pi_t}$ is constant with sum zero, hence $0$, for every live $t$; and the three overlap differences, constant with sum zero, vanish: $\tilde f_{0,\pi_{-1}}=\tilde f_{1,\pi_{-1}}$, $\tilde f_{1,\pi_1}=\tilde f_{2,\pi_1}$, $\tilde f_{2,\pi_{-1}}=\tilde f_{0,\pi_1}^-$. Hence $px=s_\Z(\Theta)$ for the admissible datum $\Theta$: $a_j=\tilde f_{j,\pi_0}$, $b_j=\tilde f_{j,\pi_\infty}$, $w_0=\tilde f_{0,\pi_{-1}}$, $w_1=\tilde f_{1,\pi_1}$, $w_2=\tilde f_{0,\pi_1}$, $\varepsilon_1=\mu_0$, $\varepsilon_2=-\mu_2$ (note $\varepsilon_2-\varepsilon_1=\mu_1$). \end{proof} \section{The sublattice \texorpdfstring{$F$}{F} and two indices}\label{sec:F} Let $F\subseteq A$ be spanned by $N_0$ and by the $3(p-2)$ \emph{blocks}: the $3(p-3)$ blocks $\pb_j^{\pi_t}(Z_0)$ for $j\in\{0,1,2\}$ and $t$ live, and the three blocks $\pb_0^{\pi_{-1}}(Z_0)$, $\pb_1^{\pi_1}(Z_0)$ and $\pb_0^{\pi_1}(Z_0)$ (one member of each overlap pair). \begin{lemma}\label{lem:Fgram} Distinct blocks are $B$-orthogonal, and $N_0$ is $B$-orthogonal to every block. Inside a block, $B(\pb u,\pb v)=-p^2\sum_xu(x)v(x)$; and $B(N_0,N_0)=p^3$. \end{lemma} \begin{proof} By Lemma~\ref{lem:G}, $G$ applied to a block vector is $-p$ times it, plus, for the three overlap members, $p$ times a pullback along an overlap pencil of another family: of family $1$ along $\pi_{-1}$, of family $2$ along $\pi_1$, and of family $2$ along $\pi_{-1}$. None of these three is a block of $F$, so that term pairs with a block of $F$ either through disjoint supports or through two different pencils of one family, which gives $(\Sigma u)(\Sigma v)=0$ by Lemma~\ref{lem:indep}. Two blocks of one family and different pencils are orthogonal for the same reason, and blocks of different families have disjoint supports. Inside a block, Lemma~\ref{lem:indep} gives $-p\cdot p\sum_xu(x)v(x)$. Finally $B(N_0,w)=(GN_0)^{\mathsf T}w=p\sum_{\ell}w(\ell)$, which is $0$ on pullbacks of sum-zero functions, and $p\cdot p^2$ for $w=N_0$. \end{proof} \begin{corollary}\label{cor:FK} $F\cap K=0$, and $F$ is free of rank $3(p-2)(p-1)+1$. \end{corollary} \begin{proof} Write $x\in F$ as $cN_0+\sum_\beta\pb(u_\beta)$, one term per block. If $x\in K$ then $0=B(x,\pb(u_\beta))=-p^2\sum u_\beta^2$, so every $u_\beta=0$, and $0=B(x,N_0)=cp^3$. The same argument shows that the blocks and $N_0$ are independent; each block is isomorphic to $Z_0$ because $\pi$ is surjective. \end{proof} Let $L_{\mathrm{fam}}\subseteq\Z^P$ be spanned by the constant $1$ and all $u\circ\pi$, $u\in Z_0$, $\pi$ a pencil; and let $L\subseteq A$ consist of the $x$ with $x_j\in L_{\mathrm{fam}}$ for every $j$. \begin{lemma}\label{lem:Lfam} $L_{\mathrm{fam}}$ has full rank in $\Z^P$ and $[\Z^P:L_{\mathrm{fam}}]=p^{(p^2+p+2)/2}$; hence $[A:L]=p^{3(p^2+p+2)/2}$. \end{lemma} \begin{proof} The $(p+1)(p-1)+1=p^2$ vectors $(\delta_x-\delta_0)\circ\pi$ ($x\neq0$, $\pi$ a pencil) and $1$ span $L_{\mathrm{fam}}$. By Lemma~\ref{lem:indep} their Gram matrix for the standard inner product is block diagonal: inside one pencil it is $p(I+J)$ of size $p-1$, with determinant $p^{p-1}\cdot p$; and $\langle1,1\rangle=p^2$. The Gram determinant is $(p^p)^{p+1}p^2=p^{p^2+p+2}\neq0$; so the vectors form a basis, and the index of the lattice they span is the square root of the Gram determinant ($p^2+p$ is even). \end{proof} \begin{lemma}\label{lem:FSAT} $F+\SAT=L$, and $F\cap\SAT=0$. \end{lemma} \begin{proof} Both $F$ and $\SAT$ lie in $L$. Conversely $L$ is spanned by the vectors $\pb_j^\pi(u)$, $u\in Z_0$, and $N_0,N_1,N_2$. Live blocks lie in $F$; axis pullbacks lie in $\SAT$; for an overlap pair, one member lies in $F$ and the sum of the pair lies in $\SAT$ (with a datum having one non-zero $w_i$; for the third pair, the vector $\pb_2^{\pi_{-1}}(v)$ is reached with $w_2=v^+$). Finally $N_0\in F$, and $N_0-N_1$, $N_1-N_2\in\SAT$. The intersection is $0$ because $F\cap K=0$ and $\SAT\subseteq K$. \end{proof} \begin{proposition}\label{prop:ranks} $\SAT$ and $K$ are free of rank $9p-7$, and $[K:\SAT]=p^{12}$. \end{proposition} \begin{proof} By Lemmas~\ref{lem:Lfam} and~\ref{lem:FSAT}, $F\oplus\SAT$ has finite index in $A$, so $\operatorname{rank}\SAT=3p^2-\operatorname{rank}F=9p-7$. Since $\SAT\subseteq K$ and $F\cap K=0$, also $9p-7\le\operatorname{rank}K\le3p^2-\operatorname{rank}F=9p-7$. By Proposition~\ref{prop:mK}, $K/\SAT$ is killed by $p$, so $[K:\SAT]=|K/pK|/|\SAT/pK|=p^{9p-7}/|\SAT/pK|$. Since $K=\ker G$, $K\cap pA=pK$, so $K/pK$ embeds in $A/pA=\F_p^I$; it maps $\SAT/pK$ onto the reduction of $\SAT$ modulo $p$, which by Lemma~\ref{lem:lift} is the image of $s_{\F_p}$, of dimension $9p-19$ (Lemma~\ref{lem:C}). Hence $[K:\SAT]=p^{(9p-7)-(9p-19)}=p^{12}$. \end{proof} \begin{corollary}\label{cor:index} $[A:F+K]=p^{3(p^2+p+2)/2-12}$. \end{corollary} \begin{proof} $L=F+\SAT\subseteq F+K\subseteq A$. The map $K\to(F+K)/(F+\SAT)$ is onto with kernel $K\cap(F+\SAT)=\SAT$: if $k=f+s$ then $f=k-s\in F\cap K=0$. So $[F+K:L]=[K:\SAT]=p^{12}$, and $[A:F+K]=[A:L]/p^{12}$. \end{proof} \section{Proof of Theorem~\ref{thm:A}}\label{sec:proofA} $V=A/K$ is free of rank $3p^2-(9p-7)=3(p-1)(p-2)+1$ (\S\ref{sec:config} and Proposition~\ref{prop:ranks}). The quotient map $\varphi:A\to V$ is injective on $F$ (Corollary~\ref{cor:FK}) and $V/\varphi(F)\cong A/(F+K)$, so $\varphi(F)$ is a sublattice of full rank and index $N=p^{3(p^2+p+2)/2-12}$ (Corollary~\ref{cor:index}). Let $c$ be the basis of $\varphi(F)$ formed by $\varphi(N_0)$ and, for each block, the images of $\pb(\delta_x-\delta_0)$, $x\neq0$. By Lemma~\ref{lem:Fgram} its Gram matrix is block diagonal, with $3(p-2)$ blocks $-p^2(I+J)$ of size $p-1$ and the block $(p^3)$; since $p-1$ is even, \[ \det\mathrm{Gram}_c=\big(p^{2(p-1)}\cdot p\big)^{3(p-2)}\cdot p^3=p^{3(p-2)(2p-1)+3}. \] For any basis $b$ of $V$, $\mathrm{Gram}_c=M^{\mathsf T}\mathrm{Gram}_bM$ with $|\det M|=N$, so \[ \det\mathrm{Gram}_b=p^{3(p-2)(2p-1)+3-3(p^2+p+2)+24}=p^{3p^2-18p+27}=p^{3(p-3)^2}. \] With Corollary~\ref{cor:VNS} this proves Theorem~\ref{thm:A}. \qed \section{Proof of Theorem~\ref{thm:B}}\label{sec:proofB} By Theorem~\ref{thm:A}, $D=V^\ast/V$ is a finite group of order $p^{3(p-3)^2}$. Its structure is fixed by two more facts: its exponent divides $p^2$ (\S\ref{sec:exp}), and the rank of $G$ modulo $p$ (\S\ref{sec:rank}) is known. \subsection{The exponent}\label{sec:exp} For a pencil $\pi$ let $P_\pi\in\Z^{I\times I}$ be the block-diagonal matrix with $(P_\pi)_{\ell\ell'}=1$ if ${\ell},{\ell'}$ lie in one family and $\pi({\ell})=\pi({\ell'})$, and $0$ otherwise. Put \[ Y=P_{\pi_0}+P_{\pi_\infty}+3P_{\pi_{-1}}+3P_{\pi_1}-6p\,I . \] \begin{lemma}\label{lem:GYG} $GYG=6p^2G$. \end{lemma} \begin{proof} By Lemma~\ref{lem:R1} (applied to the indicator of one point), $\Q^I$ is spanned over $\Q$ by the pullbacks $\pb_j^\pi(u)$, $u\in Z_0$, and the vectors $N_j$ (write $\delta_{\pi(z)}=(\delta_{\pi(z)}-\tfrac1p)+\tfrac1p$); we check the identity on these. By Lemma~\ref{lem:indep}, $P_\pi\pb_j^{\pi'}(u)$ is $p\,\pb_j^\pi(u)$ if $\pi'=\pi$ and $0$ otherwise, and $P_\pi N_j=pN_j$. So $Y$ acts by $-5p$ on axis pullbacks, by $-3p$ on overlap pullbacks, by $-6p$ on live pullbacks, and by $2p$ on the $N_j$. Now use Lemma~\ref{lem:G}. Axis: both sides vanish. Live: $(-p)(-6p)(-p)=-6p^3=6p^2\cdot(-p)$. Each overlap pair spans a $G$-stable plane on which $G=pE$, $E=\begin{pmatrix}-1&1\\1&-1\end{pmatrix}$ (for the third pair use the vectors $\pb_0^{\pi_1}(u)$ and $\pb_2^{\pi_{-1}}(u^-)$), and $Y=-3p$; as $E^2=-2E$, $pE(-3p)pE=6p^3E=6p^2\cdot pE$. On the span of $N_0,N_1,N_2$, $G=pJ_3$ (Lemma~\ref{lem:N}) and $Y=2p$; as $J_3^2=3J_3$, $pJ_3\cdot 2p\cdot pJ_3=6p^3J_3$. \end{proof} The proof shows that $G$ is diagonalizable over $\Q$ with eigenvalues $-p$ (multiplicity $3(p-1)(p-3)$: the live pullbacks), $-2p$ (multiplicity $3(p-1)$: one in each overlap plane), $3p$ (multiplicity $1$: the vector $\one$) and $0$ (multiplicity $9p-7$), so its minimal polynomial is $x(x+p)(x+2p)(x-3p)$; and $Y$ acts as $6p^2/\lambda$ on the $\lambda$-eigenspace for every $\lambda\neq0$; the integer $6$ is the least common denominator of $p^2/\lambda$ over $\lambda\in\{-p,-2p,3p\}$. \begin{corollary}\label{cor:exp} $p^2V^\ast\subseteq V$: the exponent of $D$ divides $p^2$. \end{corollary} \begin{proof} A functional on $V$ is given by a vector $f\in\Z^I$ orthogonal to $K=\ker G$; as $G$ is symmetric, $f=Gy$ with $y\in\Q^I$. By Lemma~\ref{lem:GYG}, $6p^2f=GYGy=G(Yf)$, which is the functional of the class of the integer vector $Yf$. So $6p^2V^\ast\subseteq V$. The order of $D$ is a power of $p$ and $\gcd(6,p)=1$, so $p^2V^\ast\subseteq V$. \end{proof} \subsection{The rank of \texorpdfstring{$G$}{G} modulo \texorpdfstring{$p$}{p}}\label{sec:rank} Use the four pencils $\pi_0,\pi_\infty,\pi_{-1},\pi_1$ (that is, $k$, $l$, $k-l$, $k+l$). For each family $j$ and each of them let $\mathrm{push}_{j,\pi}:\F_p^P\to\F_p^{\F_p}$ be the fibre sum, and let $\mathcal S:\F_p^I\to U=(\F_p^{\F_p})^{12}$ collect these twelve \emph{shadows}. Let $\Gamma$ be the symmetric matrix on $U$ that pairs each of the six axis slots $(j,\pi_0),(j,\pi_\infty)$ with itself by the identity, pairs $(0,\pi_{-1})$ with $(1,\pi_{-1})$ and $(1,\pi_1)$ with $(2,\pi_1)$ by the identity, and pairs $(0,\pi_1)$ with $(2,\pi_{-1})$ by the shift (the value $v$ of the first slot with the value $v+1$ of the second). Then $\Gamma^2=I$. \begin{lemma}\label{lem:shadow} $G=\mathcal S^{\mathsf T}\Gamma \mathcal S-pI$ over $\Z$ (with $\mathcal S$ and $\Gamma$ read as integer matrices). Hence $G\equiv \mathcal S^{\mathsf T}\Gamma \mathcal S\pmod p$ and $\operatorname{rank}_{\F_p}(G\bmod p)=\dim W-\dim(W\cap W^{\perp_\Gamma})$, where $W=\operatorname{im}\mathcal S$ and $W^{\perp_\Gamma}=\{w:\langle\Gamma w,W\rangle=0\}$. \end{lemma} \begin{proof} The entry of $\mathcal S^{\mathsf T}\Gamma \mathcal S$ at two lines of one family is $[k=k']+[l=l']$ (only the axis slots pair inside a family), which is $2$ on the diagonal; at a line of family $0$ and one of family $1$ it is $[k-l=k'-l']$; at families $1,2$ it is $[k+l=k'+l']$; at families $0,2$ it is $[k'-l'=k+l+1]$. Subtracting $pI$ gives $G$. For the rank: $\mathcal S^{\mathsf T}\Gamma \mathcal Sx=0$ if and only if $\Gamma \mathcal Sx\perp W$, i.e. $\mathcal Sx\in W\cap W^{\perp_\Gamma}$, so $\dim\ker=\dim\ker \mathcal S+\dim(W\cap W^{\perp_\Gamma})$. \end{proof} \begin{lemma}\label{lem:W} $\dim W=12p-18$. The annihilator $\mathcal R$ of $W$ (for the standard pairing) has dimension $18$; family by family it is spanned by the elements placing $c_\pi x^s$ in the slot $(j,\pi)$, with $s\in\{0,1,2\}$ and $\sum_\pi c_\pi\pi^s=0$ as a form on $P$. \end{lemma} \begin{proof} $W=\bigoplus_jW_j$. A tuple $(h_\pi)_\pi$ of functions annihilates $W_j$ if and only if $\sum_\pi h_\pi(\pi(k,l))=0$ as a function on $P$. Write each $h_\pi$ as a polynomial of degree $\le p-1$; the sum is a polynomial of total degree $\le p-1$, which vanishes as a function on $\F_p^2$ if and only if it vanishes as a polynomial, i.e. if and only if $\sum_\pi c_{\pi,s}\pi^s=0$ for each $s$, where $c_{\pi,s}$ is the coefficient of $x^s$ in $h_\pi$. For $3\le s\le p-1$ the four forms $\pi^s$ are linearly independent: writing $\pi=ak+bl$, the coefficient of $k^tl^{s-t}$ in $\pi^s$ is $\binom st a^tb^{s-t}$, the binomial coefficients are units ($sp-2$, that is, the only one for which $\sum_xx^4\ne0$ in $\F_p$ enters the count. The integer $6$ in Lemma~\ref{lem:GYG} is harmless because $\gcd(p,6)=1$. (The same condition appears, for reasons unrelated to the present proof, in the classical fact that the lines generate $\NS(S_m)$ if and only if $m\le4$ or $\gcd(m,6)=1$ \cite{Sh82,Deg}.) \end{remark} \section{Verification in Lean}\label{sec:lean} The lattice statements of Theorems~\ref{thm:A} and~\ref{thm:B} are proved in Lean~4 \cite{Lean} with the Mathlib library \cite{Mathlib}, toolchain \texttt{leanprover/lean4:v4.28.0}. The Lean definitions of the lines, of $G$ (as the case analysis of \S\ref{sec:config}), of $K=\ker G$, of $V=A/K$ with the induced form, and of $D=V^\ast/V$ (the dual of $V$ modulo the range of the form) are printed verbatim in the two certificates \cite{WMLean,DLLean} and compared there, line by line, with the June papers \cite{WM,DL}, whose definitions are those of \S\ref{sec:config}. The final theorems are: \begin{itemize} \item \texttt{Watermark.watermark\_theorem}: for every prime $p\ge5$,\\ $V$ is free of rank $3(p-1)(p-2)+1$, and for every $\Z$-basis $b$ of $V$ the Gram determinant is $p^{3(p-3)^2}$; \item \texttt{DoubleLadder.\allowbreak double\_ladder\_theorem}: for every prime $p\ge7$,\\ $D\cong(\Z/p)^{3p^2-24p+59}\times(\Z/p^2)^{3p-16}$ as abelian groups; \item \texttt{DoubleLadder.double\_ladder\_five}: $D\cong(\Z/5)^{10}\times\Z/25$ at $p=5$. \end{itemize} (The Lean namespaces carry the names of the two theorems, which are also the titles of the June papers \cite{WM,DL}.) The definitions on which the final theorems rest are the following (verbatim from the project, with comments and two line breaks removed; Lean's quotient sign, the big solidus U+29F8, is printed as $/$; Lean's \texttt{m} is our $p$, and its families \texttt{0}, \texttt{1}, \texttt{2} are those of \S\ref{sec:config}): \begin{lstlisting} abbrev Point (m : ℕ) : Type := ZMod m × ZMod m abbrev Line (m : ℕ) : Type := Fin 3 × Point m def gramUpper (m : ℕ) (p q : Line m) : ℤ := if p.1 = q.1 then (if p.2 = q.2 then 2 - (m : ℤ) else if p.2.1 = q.2.1 ∨ p.2.2 = q.2.2 then 1 else 0) else if p.1 = 0 ∧ q.1 = 1 then (if p.2.1 - p.2.2 = q.2.1 - q.2.2 then 1 else 0) else if p.1 = 1 ∧ q.1 = 2 then (if p.2.1 + p.2.2 = q.2.1 + q.2.2 then 1 else 0) else if p.1 = 0 ∧ q.1 = 2 then (if q.2.1 - q.2.2 = p.2.1 + p.2.2 + 1 then 1 else 0) else 0 def gram (m : ℕ) : Matrix (Line m) (Line m) ℤ := Matrix.of fun p q => if p.1 ≤ q.1 then gramUpper m p q else gramUpper m q p abbrev A (m : ℕ) : Type := Line m → ℤ noncomputable def gramLin (m : ℕ) [NeZero m] : A m →ₗ[ℤ] A m := (gram m).mulVecLin noncomputable def K (m : ℕ) [NeZero m] : Submodule ℤ (A m) := LinearMap.ker (gramLin m) abbrev V (m : ℕ) [NeZero m] : Type := A m ⧸ K m abbrev D (m : ℕ) [NeZero m] : Type := Module.Dual ℤ (V m) ⧸ LinearMap.range (formV m) \end{lstlisting} This is the case analysis of \S\ref{sec:config}: the four cases are the four bullet points there, and for families $0$ and $2$ the condition is \mbox{\texttt{q.2.1 - q.2.2 = p.2.1 + p.2.2 + 1}}; \texttt{gram} fills in the cases with $j>j'$ by symmetry. Here \texttt{formV m} is the form that $B(x,y)=x^{\mathsf T}Gy$ induces on $V$. The three final statements are (proofs omitted; \texttt{-} on $\mathbb N$ is truncated subtraction, which agrees with ordinary subtraction in the range of the theorems): \begin{lstlisting} theorem watermark_theorem [Fact m.Prime] (hm : 5 ≤ m) : Module.Free ℤ (V m) ∧ Module.finrank ℤ (V m) = 3 * (m - 1) * (m - 2) + 1 ∧ ∀ {ι : Type*} [Fintype ι] [DecidableEq ι] (b : Module.Basis ι ℤ (V m)), (LinearMap.BilinForm.toMatrix b (formV m)).det = (m : ℤ) ^ (3 * (m - 3) ^ 2) theorem double_ladder_theorem (m : ℕ) [Fact m.Prime] (hm : 7 ≤ m) : Nonempty (D m ≃+ ((Fin (3 * m ^ 2 + 59 - 24 * m) → ZMod m) × (Fin (3 * m - 16) → ZMod (m ^ 2)))) theorem double_ladder_five : Nonempty (D 5 ≃+ ((Fin 10 → ZMod 5) × ZMod 25)) \end{lstlisting} They depend only on the axioms \texttt{propext}, \texttt{Classical.choice} and \texttt{Quot.sound}; the project contains no \texttt{sorry}, no \texttt{admit} and no \texttt{native\_decide}. At $p=5$ the rank $26$ of $G$ modulo $5$ (lemma \texttt{rank\_gram\_map\_five}) is proved from two identities between explicit matrices modulo $5$, \texttt{hBC} and \texttt{hXY}: $G\equiv\texttt{matB}\cdot\texttt{matC}$, where \texttt{matB} has size $75\times26$ and \texttt{matC} has size $26\times75$, so the rank is at most $26$; and $G_{\mathrm{rows}}\cdot\texttt{matY}\equiv I_{26}$, where $G_{\mathrm{rows}}$ is the $26\times75$ matrix of the $26$ rows of $G$ listed in \texttt{fiveRows} and \texttt{matY} has size $75\times26$, so the rank is at least $26$. Every entry of both identities is checked by \texttt{decide +kernel}. The Lean proof follows \S\S\ref{sec:pencils}--\ref{sec:proofB} with a few differences of detail recorded in the certificates: for instance, the inclusion $\SAT\subseteq K$ is proved there for every positive integer in place of $p$ by a direct computation, the relations of Lemma~\ref{lem:W} are identified by mixed second differences instead of polynomials, and the structure of $D$ is obtained from $|D|$ and $|D/pD|$ instead of a Smith form. In the Lean project Lemmas~\ref{lem:R1}, \ref{lem:R2} and~\ref{lem:C} are called R.1, R.2 and C, and $\SAT$ is called \texttt{SAT}. Proposition~\ref{prop:ladder} is not formalized. The Lean proofs were written by the system Aristotle (Harmonic) \cite{Aristotle} from statements and proofs prepared by the author, then compiled and checked again on the author's machine, including a clean rebuild of the whole project. The project, the certificates and the logs are in the Zenodo record \cite{WMDLZenodo} and the repository \url{https://github.com/tretoef-estrella/watermark-theorem}. Not formalized: the geometry of \S\ref{sec:geometry} (Mathlib has no complex algebraic surfaces and no singular cohomology of them), the equality $V=\NS(S_p)$, which is cited \cite{SSvL,Deg}, and Corollary~\ref{cor:T}, which uses the unimodularity of $H^2(S_p,\Z)$ and \cite{Nik}. \section{What was known before, and what is new}\label{sec:history} We consulted \cite{Sh87,SSvL,Deg,DS,Sh15,AMV,Shi01,ST10} in the original; a search cannot prove that nothing else exists: it only records what we looked at. \begin{itemize} \item Shioda \cite{Sh87}, \S7, pp.~133--134, asks for the order of the discriminant, not for the group (Question~7.2, formula (7.8), and Question~7.4, formula (7.10), prime degree); Question~7.4 also asks, in (7.11), whether the lines generate $\NS$. In ``Added in proof'' he notes that the discriminant divides a power of $m$ for every degree $m$. Theorem~\ref{thm:A} answers (7.10) for prime $p\ge5$; Question~7.2 is not treated here. Degtyarev \cite{Deg} answers (7.11) (the lines generate $\NS$). \item Sch\"utt, Shioda and van Luijk \cite[end of \S4]{SSvL}: for every odd $m\le81$ the Gram determinant of their rational basis $\mathcal B$ of lines is $m^{3(m-3)^2}$, by computer, ``with exponent as conjectured''; $\mathcal B$ spans $\NS(S_m)$ when $\gcd(m,6)=1$ and $m<100$ (equivalently $m\le100$, as in \S1, since $100$ is even) \cite[Remark~4.5 and the proof of Theorem~1.1]{SSvL}; so Theorem~\ref{thm:A} was known, by computer, for $5\le p\le79$. \item Shioda \cite[\S6.5, Conjecture~23]{Sh15} still uses the formula as expected in 2015, for every $m$ prime to $6$; the present paper proves it for prime degree only. \item Aljovin, Movasati and Villaflor \cite[Table~1]{AMV}: the elementary divisors for $3\le m\le14$, by machine; for prime degree these are the rows quoted in \S1, that is, Theorem~\ref{thm:B} at $p=5,7,11,13$. They give no formula for general degree. \item Shimada \cite[Theorem~1.1]{Shi01}: in positive characteristic $\ell$, for the Fermat hypersurface of dimension $2n$ and degree $q+1$ ($q$ a power of $\ell$), the linear $n$-subspaces span the numerical lattice up to finite index, and the discriminant of the lattice they generate is a power of $\ell$. That setting is supersingular and of degree $q+1$, and no formula for the exponent is given there (for $\ell=q=2$ the primitive part of the lattice, that is, its part orthogonal to the class of a linear section, is $\Lambda_{22}$ in dimension $4$ and has discriminant $2^{16}\cdot3$ in dimension $6$ \cite[Theorems~1.5 and~1.6]{Shi01}). \end{itemize} \subsection{Degtyarev and Degtyarev--Shimada} Degtyarev proves that the quotient of $\operatorname{Pic}(S_m)$ by the subgroup generated by the lines has no torsion, for every $m$ \cite[Theorem~1.3]{Deg}; with the rational statement \cite{Sh82} this gives generation for $m\le4$ and for $\gcd(m,6)=1$ \cite[Theorem~1.2]{Deg}. The proof is topological. For a reduced curve $C$ on a simply connected surface $X$, \cite[Theorem~2.2]{Deg} identifies the torsion of $H_1(X\smallsetminus C)$ with the dual of the torsion of $\NS(X)$ modulo the components of $C$, and $H_1(X\smallsetminus C)$ modulo torsion with the dual of $\ker[H_2(C)\to H_2(X)]$, the lattice of relations among the components; Degtyarev applies this to $C=\bar L$, the union of the lines and of the plane section $\{x_0=0\}$; its lattice of relations has rank $9m-6$ for odd $m$ and contains our $K$, the relations among the lines alone (of rank $9p-7$ for prime $p$), with corank one. The torsion vanishes because the length of $H_1(S_m\smallsetminus\bar L)$, computed through an Alexander module of the covering $S_m\to\Pp^2$, $(x_i)\mapsto(x_i^m)$, does not exceed that rank \cite[(3.21), Lemma~4.4, \S4.2]{Deg}. The intersection form plays no role in the argument, which uses only an upper bound for the rank of the group generated by the lines \cite[Remark~4.15]{Deg}; Degtyarev notes that his theorem gives ``a complete description of $\operatorname{Pic}\Phi_m=\NS(\Phi_m)$, including the intersection form'' \cite[\S1]{Deg} (his $\Phi_m$ is our $S_m$), but no invariant of that form, determinant or discriminant group, is computed there. Degtyarev and Shimada \cite{DS} study the lattice $L(X)$ spanned by the standard $d$-dimensional subspaces of the Fermat variety of dimension $2d$. They reduce the torsion of $H_{2d}(X)/L(X)$ to the torsion of explicit modules over group rings \cite[Theorem~1.1]{DS}, compute the rank of $L(X)$ \cite[Theorem~1.4]{DS}, show that only primes dividing the degree can occur in that torsion \cite[Corollary~1.5]{DS}, and conjecture that $L(X)$ is primitive \cite[Conjecture~1.2]{DS}, which they verify by computer in dimension $4$ for $3\le m\le12$ and in the cases $(2d,m)=(6,3),(6,4),(6,5),(8,3)$ \cite[\S5]{DS}; for $d=1$ this is \cite{Deg}. The order and the structure of the discriminant group of $L(X)$ are not determined there. So what these works give about the discriminant of $\NS(S_p)$ is what we use: the lines generate $\NS(S_p)$, so that its discriminant is that of $V$. Its order and its group are the content of Theorems~\ref{thm:A} and~\ref{thm:B}. \subsection{What is standard and what is new} Standard: the counting in the affine plane $\F_p^2$ behind Lemmas~\ref{lem:indep} and~\ref{lem:R1}; the index of a sublattice from a Gram determinant; the isomorphism between the discriminant groups of a primitive sublattice of a unimodular lattice and of its orthogonal complement (cf.~\cite{Nik}); the vanishing of power sums over $\F_p$; and the assembly of a finite abelian $p$-group from its order, its exponent and the rank of a presentation matrix modulo $p$. New, as far as we could determine: the explicit sublattice $\SAT$ of the kernel, with $pK\subseteq\SAT$ and $[K:\SAT]=p^{12}$ read off from the relations modulo $p$ (Lemma~\ref{lem:C}, Proposition~\ref{prop:ranks}); the integral form, over $\Z$ and pencil by pencil, of the orthogonal decomposition of the lattice of lines: the pullbacks along the pencils (Lemma~\ref{lem:G}) and the vectors $N_j$, on which $G$ has eigenvalues $-p$, $-2p$, $3p$ and $0$, give the orthogonal block lattice $F$ and the exact index of Corollary~\ref{cor:index}; the identity $GYG=6p^2G$, which bounds the exponent; and the factorization of $G$ modulo $p$ through twelve shadows, with the rank of Proposition~\ref{prop:rank} and the ranks of Proposition~\ref{prop:ladder}. Over $\Z[\zeta]$ the decomposition is in Sch\"utt, Shioda and van Luijk \cite[\S3, (4)--(6)]{SSvL}, who sketch there the argument of \cite{Sh82}: the character sums $w_j(\alpha)$ of the lines of one family are orthogonal to the plane section, $w_j(\alpha)\cdot w_j(\beta)=0$ for $\beta\neq-\alpha$, and $w_j(\alpha)\cdot w_j(-\alpha)=-p^3$ (there for every degree $m$, with $-m^3$), which shows that the discriminant divides a power of $p$ \cite[Corollary~3.2]{SSvL}; since $w_j(-\alpha)$ is the complex conjugate of $w_j(\alpha)$, the decomposition is orthogonal for the Hermitian form $x\cdot\bar y$ (for the symmetric form, the planes spanned by $w_j(\alpha)$ and $w_j(-\alpha)$ are mutually orthogonal). A pullback $\pb_j^\pi(u)$ with $u\in Z_0$ is a linear combination, with coefficients in $\tfrac1p\Z[\zeta]$, of the $p-1$ character sums of its family that are constant on the fibres of the pencil; for the two axis pencils these sums are not among the $w_j(\alpha)$, and they vanish in $\NS(S_p)\otimes\Z[\zeta]$ by Lemma~\ref{lem:G}(a). The results new here are the formula $p^{3(p-3)^2}$ for every prime $p\ge5$ (known before, by computer, for $p\le79$ \cite{SSvL}, and with the group for $p\le13$ \cite{AMV}), the structure of the discriminant group for every prime $p\ge5$ with the exceptional value at $p=5$, and the verification of both lattice statements in Lean. Not done here: the discriminant bilinear form $b_V\colon D\times D\to\Q/\Z$ (we determine the group only; $V$ is an odd lattice, and the argument of Corollary~\ref{cor:T} would give $b_{T_p}\cong-b_V$), Question~7.2, and composite degrees. The determinant of the lattice of linear cycles of Fermat varieties of prime degree in every even dimension is treated, by other methods and modulo cited results, in \cite{WMEven}. \section*{Acknowledgements} The author thanks an anonymous referee for a careful preliminary report, which led to several improvements of this paper. \section*{Use of AI} This work was developed with extensive use of AI systems: Claude (Anthropic) for exploration, computation, writing and auditing, and Aristotle (Harmonic) for writing the Lean proofs. The first version of this text was read before release by a separate reader, also an AI system, and this revised version by further separate readers, also AI systems, working from the sources and the Lean files; their reports led to corrections, all of which are included here. The statements, the choice of what to claim and the responsibility for errors are the author's. \begin{thebibliography}{99}\raggedright \bibitem{AMV} E.~Aljovin, H.~Movasati, R.~Villaflor Loyola, \emph{Integral Hodge conjecture for Fermat varieties}, J. Symbolic Comput. \textbf{95} (2019), 177--184, doi:10.1016/j.jsc.2019.02.006. arXiv:1711.02628. \bibitem{DL} R.~Amichis Luengo, \emph{The Double Ladder Theorem}, version 4 (30 September 2026), in \cite{WMDLZenodo}. \bibitem{DLLean} R.~Amichis Luengo, \emph{The Double Ladder Theorem --- Lean certificate}, version 2 (30 September 2026), in \cite{WMDLZenodo}. \bibitem{WMDLZenodo} R.~Amichis Luengo, \emph{The Watermark and Double Ladder Theorems (Verified in Lean)}, Zenodo (2026), doi:10.5281/zenodo.23062529 (all versions). \bibitem{WMEven} R.~Amichis Luengo, \emph{The Watermark in Every Even Dimension: the Discriminant of the Hodge Lattice of a Fermat Variety of Prime Degree}, Zenodo (2026), doi:10.5281/zenodo.23091046. \bibitem{WM} R.~Amichis Luengo, \emph{The Watermark Theorem}, 4 June 2026, with the version note of 30 September 2026, in \cite{WMDLZenodo}. \bibitem{WMLean} R.~Amichis Luengo, \emph{The Watermark Theorem --- Lean certificate}, version 2 (30 September 2026), in \cite{WMDLZenodo}. \bibitem{AS83} N.~Aoki, T.~Shioda, \emph{Generators of the N\'eron--Severi group of a Fermat surface}, in: Arithmetic and Geometry, Vol.~I, Progr. Math. \textbf{35}, Birkh\"auser, Boston (1983), 1--12. \bibitem{Lean} L.~de~Moura, S.~Ullrich, \emph{The Lean 4 theorem prover and programming language}, in: Automated Deduction --- CADE 28, Lecture Notes in Comput. Sci. \textbf{12699}, Springer (2021), 625--635. \bibitem{Deg} A.~Degtyarev, \emph{Lines generate the Picard groups of certain Fermat surfaces}, J. Number Theory \textbf{147} (2015), 454--477. arXiv:1305.3073. \bibitem{DS} A.~Degtyarev, I.~Shimada, \emph{On the topology of projective subspaces in complex Fermat varieties}, J. Math. Soc. Japan \textbf{68} (2016), no.~3, 975--996. arXiv:1405.4683. \bibitem{Aristotle} Harmonic, \emph{Aristotle} (automated theorem prover), \url{https://aristotle.harmonic.fun}, accessed September 2026. \bibitem{Mathlib} The mathlib Community, \emph{The Lean mathematical library}, in: Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), ACM (2020), 367--381. \bibitem{Nik} V.~V.~Nikulin, \emph{Integral symmetric bilinear forms and some of their applications}, Math. USSR Izv. \textbf{14} (1980), 103--167. \bibitem{SSvL} M.~Sch\"utt, T.~Shioda, R.~van Luijk, \emph{Lines on Fermat surfaces}, J. Number Theory \textbf{130} (2010), no.~9, 1939--1963. arXiv:0812.2377. \bibitem{Shi01} I.~Shimada, \emph{Lattices of algebraic cycles on Fermat varieties in positive characteristics}, Proc. London Math. Soc. (3) \textbf{82} (2001), no.~1, 131--172. \bibitem{ST10} I.~Shimada, N.~Takahashi, \emph{Primitivity of sublattices generated by classes of curves on an algebraic surface}, Comment. Math. Univ. St. Pauli \textbf{59} (2010), no.~2, 77--95. \bibitem{Sh79} T.~Shioda, \emph{The Hodge conjecture for Fermat varieties}, Math. Ann. \textbf{245} (1979), 175--184. \bibitem{Sh82} T.~Shioda, \emph{On the Picard number of a Fermat surface}, J. Fac. Sci. Univ. Tokyo Sect. IA Math. \textbf{28} (1981), no.~3, 725--734 (1982). \bibitem{Sh87} T.~Shioda, \emph{Some observations on Jacobi sums}, in: Galois Representations and Arithmetic Algebraic Geometry, Adv. Stud. Pure Math. \textbf{12}, Kinokuniya / North-Holland (1987), 119--135. \bibitem{Sh15} T.~Shioda, \emph{Mordell--Weil lattice of higher genus fibration on a Fermat surface}, J. Math. Sci. Univ. Tokyo \textbf{22} (2015), 443--468. \end{thebibliography} \end{document}