LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS. 1. Introduction

Similar documents
Cubic hypersurfaces over finite fields

Lines on Cubic Hypersurfaces Over Finite Fields

THE ZETA FUNCTIONS OF THE FANO SURFACES OF CUBIC THREEFOLDS

Seminar on Motives Standard Conjectures

Point counting and real multiplication on K3 surfaces

Isogeny invariance of the BSD conjecture

Elliptic curves over function fields 1

HONDA-TATE THEOREM FOR ELLIPTIC CURVES

Quadratic points on modular curves

ON NODAL PRIME FANO THREEFOLDS OF DEGREE 10

FINITE GROUPS AND EQUATIONS OVER FINITE FIELDS A PROBLEM SET FOR ARIZONA WINTER SCHOOL 2016

Public-key Cryptography: Theory and Practice

Hypersurfaces and the Weil conjectures

l-adic Representations

An Introduction to Supersingular Elliptic Curves and Supersingular Primes

Arithmetic Mirror Symmetry

Notes on p-divisible Groups

The Grothendieck Ring of Varieties

NUNO FREITAS AND ALAIN KRAUS

FORMAL GROUPS OF CERTAIN Q-CURVES OVER QUADRATIC FIELDS

Higher Hasse Witt matrices. Masha Vlasenko. June 1, 2016 UAM Poznań

L-Polynomials of Curves over Finite Fields

FAKE PROJECTIVE SPACES AND FAKE TORI

Frobenius Distributions

The Riemann Hypothesis for Varieties over Finite Fields

PROBLEMS FOR VIASM MINICOURSE: GEOMETRY OF MODULI SPACES LAST UPDATED: DEC 25, 2013

An abelian surface with constrained 3-power torsion

Part II Galois Theory

Galois Representations

On elliptic curves in characteristic 2 with wild additive reduction

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

A connection between number theory and linear algebra

Introduction to Elliptic Curves

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 48

Explicit Arithmetic on Algebraic Surfaces

Hyperelliptic curves

Mordell-Weil ranks of Jacobians of isotrivial families of plane curves

Congruent Number Problem and Elliptic curves

TAMAGAWA NUMBERS OF ELLIPTIC CURVES WITH C 13 TORSION OVER QUADRATIC FIELDS

Lecture 2: Elliptic curves

Surjectivity in Honda-Tate

Equidistributions in arithmetic geometry

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 43

Proof of the Shafarevich conjecture

15 Elliptic curves and Fermat s last theorem

Algebraic Geometry. Question: What regular polygons can be inscribed in an ellipse?

K3 Surfaces and Lattice Theory

ON THE GRAPH ATTACHED TO TRUNCATED BIG WITT VECTORS

1.6.1 What are Néron Models?

CHAPTER 1. TOPOLOGY OF ALGEBRAIC VARIETIES, HODGE DECOMPOSITION, AND APPLICATIONS. Contents

LECTURE 7: STABLE RATIONALITY AND DECOMPOSITION OF THE DIAGONAL

COUNTING MOD l SOLUTIONS VIA MODULAR FORMS

The Birch & Swinnerton-Dyer conjecture. Karl Rubin MSRI, January

FIELD THEORY. Contents

Rational curves on hypersurfaces

MA 162B LECTURE NOTES: THURSDAY, FEBRUARY 26

1 Existence of the Néron model

Exercises for algebraic curves

Lemma 1.1. The field K embeds as a subfield of Q(ζ D ).

FANO VARIETIES AND EPW SEXTICS

ARCS IN FINITE PROJECTIVE SPACES. Basic objects and definitions

OLIVIER SERMAN. Theorem 1.1. The moduli space of rank 3 vector bundles over a curve of genus 2 is a local complete intersection.

a double cover branched along the smooth quadratic line complex

TC10 / 3. Finite fields S. Xambó

Thus, the integral closure A i of A in F i is a finitely generated (and torsion-free) A-module. It is not a priori clear if the A i s are locally

(January 14, 2009) q n 1 q d 1. D = q n = q + d

Monodromy of the Dwork family, following Shepherd-Barron X n+1. P 1 λ. ζ i = 1}/ (µ n+1 ) H.

SEPARABLE RATIONAL CONNECTEDNESS AND STABILITY

Some algebraic number theory and the reciprocity map

Introduction to Arithmetic Geometry Fall 2013 Lecture #24 12/03/2013

TORSION AND TAMAGAWA NUMBERS

12. Hilbert Polynomials and Bézout s Theorem

1 Flat, Smooth, Unramified, and Étale Morphisms

9. Birational Maps and Blowing Up

MODULI SPACES OF CURVES

Explicit Methods in Algebraic Number Theory

QUADRATIC TWISTS OF AN ELLIPTIC CURVE AND MAPS FROM A HYPERELLIPTIC CURVE

Good reduction of the Brauer Manin obstruction

n P say, then (X A Y ) P

Math 248B. Applications of base change for coherent cohomology

18. Cyclotomic polynomials II

Special cubic fourfolds

Dimensions of Triangulated Categories, joint work with M. Ballard and L. Katzarkov

1.5.4 Every abelian variety is a quotient of a Jacobian

ON THE COMPUTATION OF THE PICARD GROUP FOR K3 SURFACES

Infinite rank of elliptic curves over Q ab and quadratic twists with positive rank

Class numbers of algebraic function fields, or Jacobians of curves over finite fields

Oral exam practice problems: Algebraic Geometry

Introduction to Arithmetic Geometry Fall 2013 Lecture #23 11/26/2013

1 The Galois Group of a Quadratic

NOTES ON FINITE FIELDS

RESEARCH STATEMENT FEI XU

Polynomials with nontrivial relations between their roots

7. Classification of Surfaces The key to the classification of surfaces is the behaviour of the canonical

A Generalization of Wilson s Theorem

An Additive Characterization of Fibers of Characters on F p

3. Lecture 3. Y Z[1/p]Hom (Sch/k) (Y, X).

Classification of Finite Fields

14 Ordinary and supersingular elliptic curves

GALOIS GROUPS AS PERMUTATION GROUPS

Transcription:

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS OLIVIER DEBARRE, ANTONIO LAFACE, AND XAVIER ROULLEAU Abstract. We show that smooth cubic hypersurfaces of dimension n defined over a finite field F q contain a line defined over F q in each of the following cases: n = 3 and q 11; n = 4, and q = 2 or q 5; n 5. For a smooth cubic threefold X, the variety of lines contained in X is a smooth projective surface F (X) for which the Tate conjecture holds, and we obtain information about the Picard number of F (X) and the 5-dimensional principally polarized Albanese variety A(F (X)). 1. Introduction The study of rational points on hypersurfaces in the projective space defined over a finite field has a long history. Moreover, if X P n+1 is a (smooth) cubic hypersurface, the (smooth) variety F (X) parametrizing lines contained in X is an essential tool for the study of the geometry of X. Therefore, it seems natural to investigate F (X) when X is a cubic hypersurface defined over a finite field F q and the first question to ask is whether X contains a line defined over F q. One easily finds smooth cubic surfaces defined over F q containing no F q -lines, with q arbitrarily large. On the other hand, if dim(x) 5, the variety F (X), when smooth, has ample anticanonical bundle, and it follows from powerful theorems of Esnault and Fakhruddin Rajan that X always contains an F q -line (Section 6). So the interesting cases are when dim(x) = 3 or 4. When X is a smooth cubic threefold, F (X) is a smooth surface of general type. Using a recent formula of Galkin Shinder which relates the number of F q -points on F (X) with the number of F q - and F q 2-points on X (Section 2.3), we find the zeta function of F (X) (Theorem 4.1). Using the Weil conjectures, we obtain that a smooth X always contains F q -lines when q 11 (Theorem 4.4). Using a computer, we produce examples of smooth cubic threefolds containing no lines for q {2, 3, 4, 5} (Section 4.5.4), leaving only the cases where q {7, 8, 9} open, at least when X is smooth. Theorem 4.1 can also be used for explicit computations of the zeta function of F (X). For that, one needs to know the number of F q r-points of X for sufficiently many r. Direct computations are possible for small q or when X has symmetries (see Section 4.5.1 for Fermat hypersurfaces, Section 4.5.2 for the Klein threefold, and [Ke] for cyclic cubic threefolds). If X contains an F q -line, it is in general faster to use the structure of conic bundle on X induced by projection from this line, a method initiated by Bombieri and Swinnerton-Dyer in 1967 (Section 4.3). This is illustrated by an example in Section 4.5.3, where we compute the zeta function of a cubic X and of its Fano surface F (X) in characteristics up to 31. In all these examples, once one knows the 2010 Mathematics Subject Classification. 14G15, 14J70, 14F20, 14G10. Key words and phrases. Cubic hypersurfaces, lines in hypersurfaces, finite fields, zeta functions, Tate conjecture, Fano varieties. The second author was partially supported by Proyecto FONDECYT Regular N. 1150732. 1

2 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU zeta function of F (X), the Tate conjecture (known for Fano surfaces, see Remark 4.2) gives its Picard number. It is also easy to determine whether its 5-dimensional Albanese variety A(F (X)) is simple, ordinary, supersingular... Singular cubics tend to contain more lines (Example 4.17). When X is a cubic threefold with a single node, the geometry of F (X) is closely related to that of a smooth genus-4 curve ([CG], [KvG]; see also [GS, Example 5.8]). Using the results of [HLT] on pointless curves of genus 4, we prove that X always contains F q -lines when q 4 (Corollary 4.8) and produce examples for q {2, 3} where X contains no F q -lines (Section 4.5.5). When X is a smooth cubic fourfold, F (X) is a smooth fourfold with trivial canonical class. Using again the Galkin Shinder formula, we compute the zeta function of F (X) (Theorem 5.1) and deduce from the Weil conjectures that X contains an F q -line when q 5 (Theorem 5.2). Since the cohomology of O F (X) is very simple (it was determined by Altman and Kleiman; see Proposition 5.3), we apply the Katz trace formula and obtain that X still contains an F q -line when q = 2 (Corollary 5.4). This leaves the cases where q {3, 4} open, at least when X is smooth. We suspect that any cubic fourfold defined over F q should contain an F q -line. Acknowledgements. This collaboration started after a mini-course given by the first author for the CIMPA School II Latin American School of Algebraic Geometry and Applications given in Cabo Frio, Brazil. We thank CIMPA for financial support and the organizers C. Araujo and S. Druel for making this event successful. Many thanks also to F. Charles, S. Elsenhans, B. van Geemen, F. Han, E. Howe, T. Katsura, Ch. Liedtke, and O. Wittenberg for useful correspondences and conversations. The computations made for this paper were done with the computer algebra programs Magma ([BC]) and Sage. 2. Definitions and tools 2.1. The Weil and Tate conjectures. Let F q be a finite field with q elements and let l be a prime number prime to q. Let Y be a projective variety of dimension n defined over F q. For every integer r 1, set and define the zeta function N r (Y ) := Card ( Y (F q r) ). ( Z(Y, T ) := exp N r (Y ) T r ). r r 1 Let F q be an algebraic closure of F q and let Y be the variety obtained from Y by extension of scalars from F q to F q. The Frobenius morphism F : Y Y acts on the étale cohomology H (Y, Q l ) by a Q l -linear map which we denote by F. We have Grothendieck s Lefschetz Trace formula ([M1, Theorem 13.4, p. 292]): for all integers r 1, (1) N r (Y ) = ( 1) i Tr ( F r, H i (Y, Q l ) ). 0 i 2n If Y is moreover smooth, the Weil conjectures proved by Deligne in [D1, Théorème (1.6)] say that for each i, the (monic) characteristic polynomial Q i (Y, T ) := det ( T Id F, H i (Y, Q l ) )

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 3 has integral coefficients and is independent of l; in particular, so is its degree b i (Y ) := h i (Y, Q l ), called the i-th Betti number of Y. All the conjugates of its complex roots ω ij have modulus q i/2. Poincaré duality implies b 2n i (Y ) = b i (Y ) and ω 2n i,j = q n /ω ij for all 1 j b i (Y ). We can rewrite the trace formula (1) as (2) N r (Y ) = or 0 i 2n (3) Z(Y, T ) = 0 i 2n Finally, it is customary to introduce the polynomials b i (Y ) ( 1) i j=1 ω r ij P i (Y, T ) ( 1)i+1. (4) P i (Y, T ) := det ( Id T F, H i (Y, Q l ) ) ( = T b i(y ) Q i Y, 1 ) b i (Y ) = (1 ω ij T ). T Whenever i is odd, the real roots of Q i (Y, T ) have even multiplicities ([EJ, Theorem 1.1.(b)]), hence b i (Y ) is even. We can therefore assume ω i,j+bi (Y )/2 = ω ij for all 1 j b i (Y )/2, or T b i(y ) Q i (Y, q i /T ) = q ib i(y )/2 Q i (Y, T ). If m := b 1 (Y )/2, we will write (5) Q 1 (Y, T ) = T 2m + a 1 T 2m 1 + + a m T m + qa m T m+1 + + q m 1 a 1 T + q m. The Tate conjecture for divisors on Y states that the Q l -vector space in H 2( Y, Q l (1) ) generated by classes of F q -divisors is equal to the space of Gal(F q /F q )-invariants classes and that its dimension is equal to the multiplicity of q as a root of the polynomial Q 2 (Y, T ) ([T2, Conjecture 2, p. 104]). 2.2. The Katz trace formula. Let Y be a proper scheme of dimension n over F q. The endomorphism f f q of O Y induces an F q -linear endomorphism F q of the F q -vector space H (Y, O Y ) and for all r 1, one has ([K], Corollaire 3.2) n (6) N r (Y ) 1 Fq ( 1) j Tr ( F r q, H j (Y, O Y ) ) in F q. j=0 In particular, the right side, which is a priori in F q, is actually in the prime subfield of F q. 2.3. The Galkin Shinder formulas. Let X P n+1 F q be a reduced cubic hypersurface defined over F q. We let F (X) Gr(1, P n+1 F q ) be the scheme of lines contained in X, also defined over F q. When n 3 and the singular set Sing(X) is finite, F (X) is a local complete intersection of dimension 2n 4, smooth if X is smooth, and geometrically connected ([AK, Theorem (1.3) and Corollary (1.12)]). In the Grothendieck ring of varieties over F q, one has the relation ([GS, Theorem 5.1]) (7) L 2 [F (X)] = [X (2) ] (1 + L n )[X] + L n [Sing(X)], where X (2) := X 2 /S 2 is the symmetric square of X and, as usual, L denotes the class of the affine line. Together with the relation [GS, (2.5)], it implies that, for all r 1, we have ([GS, j=1

4 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU Corollary 5.2.3)]) (8) N r ( F (X) ) = N r (X) 2 2(1 + q nr )N r (X) + N 2r (X) 2q 2r + q (n 2)r N r ( Sing(X) ). 2.4. Abelian varieties over finite fields. Let A be an abelian variety of dimension n defined over a finite field F q of characteristic p and let l be a prime number prime to p. The Z l -module H 1 (A, Z l ) is free of rank 2n and there is an isomorphism (9) H 1 (A, Q l ) H (A, Q l ) of Gal(F q /F q )-modules. An elliptic curve E defined over F q is supersingular if its only p-torsion point is 0. All supersingular elliptic curves are isogenous. The abelian variety A is supersingular if A Fq is isogenous to E n, where E is a supersingular elliptic curve (in particular, any two supersingular abelian varieties are isogenous over F q ). The following conditions are equivalent ([Hu, Theorems 110, 111, and 112]) (i) A is supersingular; (ii) Q 1 (A Fq r, T ) = (T ± q r/2 ) 2n for some r 1; (iii) Card ( A(F q r) ) = (q r/2 ± 1) 2n for some r 1; (iv) each complex root of Q 1 (A, T ) is q times a root of unity; (v) in the notation of (5), if q = p r, one has p rj/2 a j for all j {1,..., n}. If condition (ii) is satisfied, one has Q 2 (A Fq r, T ) = (T q r ) n(2n 1) and the Tate conjecture, which holds for divisors on abelian varieties, implies that the Picard number of A Fq r, hence also the geometric Picard number of A, is n(2n 1), the maximal possible value. Conversely, when n > 1, if A Fq r has maximal Picard number for some r, the abelian variety A is supersingular. The abelian variety A is ordinary if it contains p n (the maximal possible number) p-torsion F q -points. This is equivalent to the coefficient a n of T n in Q 1 (A, T ) being prime to p; if this is the case, A is simple (over F q ) if and only if the polynomial Q 1 (A, T ) is irreducible (see [HZ, 2]). 3. Cubic surfaces There exist smooth cubic surfaces defined over F q containing no F q -lines, with q arbitrarily large. This is the case for example for the diagonal cubics with equation x 3 1 + x 3 2 + x 3 3 + ax 3 4, where a F q is not a cube. If q 1 (mod 3), there is such an a, since there are elements of order 3 in F q, hence the morphism F q F q, x x 3 is not injective, hence not surjective. 4. Cubic threefolds 4.1. The zeta function of the surface of lines. Let X P 4 F q be a smooth cubic hypersurface defined over F q. Its Betti numbers are 1, 0, 1, 10, 1, 0, 1 and the eigenvalues of the Frobenius morphism acting on the 10-dimensional vector space H 3 (X, Q l ) are all divisible by q as algebraic integers ([K, Remark 5.1]). We can therefore write (1) as 10 N r (X) = 1 + q r + q 2r + q 3r q r ωj r, j=1

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 5 where, by the Weil conjectures proved by Deligne (Section 2.1), the complex algebraic integers ω j (and all their conjugates) have modulus q. The trace formula (3) reads Z(X, T ) = where P 3 (X, T ) = 10 j=1 (1 qω jt ). If we set P 3 (X, T ) (1 T )(1 qt )(1 q 2 T )(1 q 3 T ), (10) M r (X) := 1 ( Nr (X) (1 + q r + q 2r + q 3r ) ) 10 = ω r q r j, we obtain ( (qt ) )r (11) P 3 (X, T ) = exp M r (X). r We will show in Section 4.3 that the numbers M r (X) have geometric significance. r 1 Theorem 4.1. Let X P 4 F q be a smooth cubic hypersurface defined over F q and let F (X) be the smooth surface of lines contained in X. With the notation (4), we have P 1 (F (X), T ) = P 3 (X, T/q) =: (1 ω j T ), P 2 (F (X), T ) = 1 j<k 10 1 j 10 (1 ω j ω k T ), P 3 (F (X), T ) = P 3 (X, T ) = 1 j 10 (1 qω j T ), where the complex numbers ω 1,..., ω 10 have modulus q. In particular, 1 j 10 (12) Z(F (X), T ) = (1 ω jt ) 1 j 10 (1 qω jt ) (1 T )(1 q 2 T ) 1 j<k 10 (1 ω jω k T ). j=1 Proof. There are several ways to prove this statement. isomorphisms The first is to prove that there are (13) H 3 (X, Q l ) H 1( F (X), Q l ( 1) ) and 2 H 1 (F (X), Q l ) H 2 (F (X), Q l ) of Gal(F q /F q )-modules. The first isomorphism holds with Z l -coefficients: if we introduce the incidence variety I = {(L, x) F (X) X x L} with its projections pr 1 : I F (X) and pr 2 : I X, it is given by pr 1 pr 2 ([CP, p. 256]). The second isomorphism follows, by standard arguments using smooth and proper base change, from the analogous statement in singular cohomology, over C, which is proven in [R, Proposition 4]. But both isomorphisms in (13) also follow directly from the Galkin Shinder relation (7) ([GS, Example 6.3]). These isomorphisms (and Poincaré duality) then imply the formulas for the polynomials P i (F (X), T ) given in the theorem. Alternatively, simply substituting in the definition of Z(F (X), T ) the values for N r (F (X)) given by the Galkin Shinder formula (8) directly gives (12), from which one deduces the formulas for the polynomials P i (F (X), T ).

6 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU Remark 4.2 (The Tate conjecture for F (X)). The Tate conjecture for the surface F (X) (see Section 2.1) was proved in [R] over any field k of finite type over the prime field, of characteristic other than 2. This last restriction can in fact be lifted. The proof in [R] rests on the following two facts: a) F (X) maps to its (5-dimensional) Albanese variety A(F (X)) onto a surface with class a multiple of θ 3, where θ is a principal polarization on A(F (X)); b) b 2 (A(F (X))) = b 2 (F (X)). Item a) is proved (in characteristic 2) via the theory of Prym varieties ([B2, Proposition 7]). For item b), we have dim(a(f (X))) = h 1 (F (X), O F (X) ) = 5 ([AK, Proposition (1.15)]), hence b 2 (A(F (X))) = ( ) 2 dim(a(x)) 2 = 45, whereas b2 (F (X)) = deg ( P 2 (F (X), T ) ) = 45 by Theorem 4.1. To extend a) to all characteristics, we consider X as the reduction modulo the maximal ideal m of a smooth cubic X defined over a valuation ring of characteristic zero. There is a difference morphism δ F (X) : F (X) F (X) A(F (X)), defined over k, which is the reduction modulo m of the analogous morphism δ F (X ) : F (X ) F (X ) A ( F (X ) ). By [B2, Proposition 5], the image of δ F (X ) is a divisor which defines a principal polarization ϑ on A ( F (X ) ), hence the image of δ F (X) is also a principal polarization on A(F (X)), defined over k. Since the validity of the Tate conjecture is not affected by passing to a finite extension of k, we may assume that F (X) has a k-point, which we lift to F (X ). We can then define Albanese morphisms, and a F (X) : F (X) A(F (X)) is the reduction modulo m of a F (X ) : F (X ) A(F (X )). The image of a X has class ϑ 3 /3! ([B2, Proposition 7]), hence the image of a F (X) also has class (ϑ A(X) ) 3 /3! (this class is not divisible in H 6 (A(X), Z l ), hence a F (X) is generically injective). This proves a), hence the Tate conjecture for F (X), in all characteristics. Going back to the case where k is finite, Theorem 4.1 implies the equality Q 2 (F (X), T ) = Q 2 (A(F (X)), T ). Since the Tate conjecture holds for divisors on abelian varieties, this proves that F (X) and A(F (X)) have the same Picard numbers, whose maximal possible value is 45. Corollary 4.3. Let 2m ± be the multiplicity of the root ± q of Q 1 (F (X), T ) and let m 1,..., m c be the multiplicities of the pairs of non-real conjugate roots of Q 1 (F (X), T ), so that m + + m + c i=1 m i = 5. The Picard number of F (X) is then ρ(f (X)) = m + (2m + 1) + m (2m 1) + c m 2 i. We have ρ(f (X)) 5, with equality if and only if Q 1 (F (X), T ) has no multiple roots. If q is not a square, the possible Picard numbers are all odd numbers between 5 and 13, and 17 and 25. If q is a square, the possible Picard numbers are all odd numbers between 5 and 21, and 25, 29, and 45. We have ρ(f (X)) = 45 if and only if Q 1 (F (X), T ) = (T ± q) 10. Proof. The Tate conjecture holds for divisors on F (X) (Remark 4.2). As explained at the end of Section 2.1, it says that the rank of the Picard group is the multiplicity of q as a root of Q 2 (F (X), T ). The remaining statements then follow from Theorem 4.1 by inspection of all possible cases for the values of m +, m, m 1,..., m c. 4.2. Existence of lines on smooth cubic threefolds over large finite fields. We can now bound the number of F q -lines on a smooth cubic threefold defined over F q. i=1

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 7 Theorem 4.4. Let X be a smooth cubic threefold defined over F q and let N 1 (F (X)) be the number of F q -lines contained in X. We have 1 + 45q + q 2 10(q + 1) q if q 64; N 1 (F (X)) 1 + 13q + q 2 6(q + 1) q if 16 q 61; 1 3q + q 2 2(q + 1) q if q 13. In particular, X contains at least 10 F q -lines if q 11. Moreover, for all q, N 1 (F (X)) 1 + 45q + q 2 + 10(q + 1) q. Proof. As we saw in Section 2.1, we can write the roots of Q 1 (F (X), T ) as ω 1,..., ω 5, ω 1,..., ω 5. The r j := ω j + ω j are then real numbers in [ 2 q, 2 q] and, by (2) and Theorem 4.1, we have ( ) N 1 F (X) = 1 r j + 5q + (ω j ω k + ω j ω k + ω j ω k + ω j ω k ) qr j + q 2 1 j 5 1 j<k 5 = 1 + 5q + q 2 (q + 1) =: F q (r 1,..., r 5 ). 1 j 5 r j + 1 j<k 5 r j r k 1 j 5 Since the real function F q : [ 2 q, 2 q] 5 R is linear in each variable, its extrema are reached on the boundary of its domain, i.e., at one of the points 2 q (±1,..., ±1). At such a point r l (with l positive coordinates), we have F q (r l ) = 1 + 5q + q 2 2(2l 5)(q + 1) q + 1 2( 4q(2l 5) 2 20q ). The minimum is obviously reached for l {3, 4, 5}, the maximum for l = 0, and the rest is easy. 4.3. Computing techniques: the Bombieri Swinnerton-Dyer method. By Theorem 4.1, the zeta function of the surface of lines contained in a smooth cubic threefold X P 4 F q defined over F q is completely determined by the roots qω 1,..., qω 10 of the degree-10 characteristic polynomial of the Frobenius morphism acting on H 3 (X, Q l ). If one knows the numbers of points of X over sufficiently many finite extensions of F q, these roots can be computed from the relations ( exp M r (X) T r ) = P 3 (X, T/q) = P 1 (F (X), T ) = (1 ω j T ), r r 1 1 j 10 where M r (X) = 1 q r ( Nr (X) (1 + q r + q 2r + q 3r ) ) was defined in (10). The reciprocity relation (5) implies that the polynomial P 1 (F (X), T ) is determined by the coefficients of 1, T,..., T 5, hence by the numbers N 1 (X),..., N 5 (X). The direct computation of these numbers is possible (with a computer) when q is small (see Section 4.5 for examples), but the amount of calculations quickly becomes very large. We will explain a method for computing directly the numbers M 1 (X),..., M 5 (X). It was first introduced in [BSD] and uses a classical geometric construction which expresses the blow up of X along a line as a conic bundle. It is valid only in characteristic 2 and requires that X contain an F q -line L. Let X X be the blow up of L. Projecting from L induces a morphism π L : X P 2 Fq which is a conic bundle and we denote by Γ L P 2 F q its discriminant curve, defined over F q.

8 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU Assume from now on that q is odd; the curve Γ L is then a nodal plane quintic curve and the associated double cover ρ: Γ L Γ L is admissible in the sense of [B1, Définition 0.3.1] (the curve Γ L is nodal and the fixed points of the involution associated with ρ are exactly the nodes of Γ L ; [BSD, Lemma 2]). 1 One can then define the Prym variety associated with ρ and it is isomorphic to the Albanese variety of the surface F (X) ([Mur, Theorem 7] when Γ L is smooth). The following is [BSD, Formula (18)]. Proposition 4.5. Let X P 4 F q be a smooth cubic threefold defined over F q, with q odd, and assume that X contains an F q -line L. With the notation (10), we have, for all r 1, M r (X) = N r ( Γ L ) N r (Γ L ). Proof. We will go quickly through the proof of [BSD] because it is the basis of our algorithm. A point x P 2 (F q ) corresponds to an F q -plane P x L and the fiber π 1 L (x) is isomorphic to the conic C x such that X P x = L + C x. We have four cases: (i) either C x is geometrically irreducible, i.e., x Γ L (F q ), in which case π 1 L (x)(f q) consists of q + 1 points; (ii) or C x is the union of two different F q -lines, i.e., x is smooth on Γ L and the 2 points of ρ 1 (x) are in Γ L (F q ), in which case π 1 L (x)(f q) consists of 2q + 1 points; (iii) or C x is the union of two different conjugate F q 2-lines, i.e., x is smooth on Γ L and the 2 points of ρ 1 (x) are not in Γ L (F q ), in which case π 1 L (x)(f q) consists of 1 point; (iv) or C x is twice an F q -line, i.e., x is singular on Γ L, in which case π 1 L (x)(f q) consists of q + 1 points. The total number of points of Γ L (F q ) lying on a degenerate conic C x is therefore qn 1 ( Γ L )+N 1 (Γ L ) and we obtain N 1 ( X) = (q + 1) ( N 1 (P 2 F q ) N 1 (Γ L ) ) + qn 1 ( Γ L ) + N 1 (Γ L ). Finally, since each point on L X is replaced by a P 1 F q on X, we have N 1 ( X) = N 1 (X) (q + 1) + (q + 1) 2, thus N 1 (X) = q 3 + q 2 + q + 1 + q ( N 1 ( Γ L ) N 1 (Γ L ) ). Since the same conclusion holds upon replacing q with q r, this proves the proposition. Let x Γ L (F q ). In order to compute the numbers N 1 (Γ L ) N 1 ( Γ L ), we need to understand when the points of ρ 1 (x) are defined over F q. We follow [BSD, p. 6]. Take homogenous F q -coordinates x 1,..., x 5 on P 4 so that L is given by the equations x 1 = x 2 = x 3 = 0. An equation of X can then be written as f + 2q 1 x 4 + 2q 2 x 5 + l 1 x 2 4 + 2l 2 x 4 x 5 + l 3 x 2 5, where f is a cubic form, q 1, q 2 are quadratic forms, and l 1, l 2, l 3 are linear forms in the variables x 1, x 2, x 3. We choose the plane P 2 F q P 4 F q defined by x 4 = x 5 = 0. If x = (x 1, x 2, x 3, 0, 0) P 2 F q, the conic C x considered above has equation fy 2 1 + 2q 1 y 1 y 2 + 2q 2 y 1 y 3 + l 1 y 2 2 + 2l 2 y 2 y 3 + l 3 y 2 3 1 In characteristic 2, the curves Γ L and Γ L might not be nodal (see Lemma 4.13).

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 9 and the quintic Γ L P 2 F q has equation det(m L ) = 0, where (14) M L := f q 1 q 2 q 1 l 1 l 2. q 2 l 2 l 3 For each i {1, 2, 3}, let δ i H 0( Γ L, O(a i ) ), where a i = 2, 4, or 4, be the determinant of the submatrix of M L obtained by deleting its ith row and ith column. The δ i are transition functions of an invertible sheaf L on Γ L such that L 2 = ω ΓL (a thetacharacteristic). It defines the double cover ρ: Γ L Γ L. A point x P 2 F q is singular on Γ L if and only if δ 1 (x) = δ 2 (x) = δ 3 (x) = 0. These points do not contribute to M r since the only point of ρ 1 (x) is defined over the field of definition of x. This is the reason why we may assume that x is smooth in the next proposition. Proposition 4.6. Let x be a smooth F q -point of Γ L. The curve Γ L has two F q -points over x Γ L (F q ) if and only if either δ 1 (x) (F q ) 2, or δ 1 (x) = 0 and either δ 2 (x) or δ 3 (x) is in (F q ) 2. Proof. With the notation above, the line L = V (y 1 ) P 2 F q meets the conic C x P 2 F q at the points (0, y 2, y 3 ) such that l 1 y 2 2 + 2l 2 y 2 y 3 + l 3 y 2 3 = 0. Therefore, if δ 1 (x) = l 2 2(x) l 1 (x)l 3 (x) is non-zero, the curve Γ L has two rational points over x Γ L (F q ) if and only if δ 1 (x) (F q ) 2. When δ 1 (x) = 0, we have C x = L 1 + L 2, where L 1 and L 2 are lines meeting in an F q -point z of L which we assume to be (0, 0, 1). This means that there is no y 3 term in the equation of C x, hence l 2 (x) = l 3 (x) = q 2 (x) = 0. The conic C x has equation l 1 (x)y 2 2 + 2q 1 (x)y 1 y 2 + f(x)y 2 1 and the two lines L 1 and L 2 are defined over F q if and only if δ 3 (x) = q1(x) 2 l 1 (x)f(x) (F q ) 2 (since δ 1 (x) = δ 2 (x) = 0, this is necessarily non-zero because x is smooth on Γ L ). For the general case: if y 3 (z) 0, we make a linear change of coordinates y 1 = y 1, y 2 = y 2 + ty 3, y 3 = y 3 in order to obtain y 2(z) = 0, and we check that δ 3 (x) is unchanged; if z = (0, 1, 0), we obtain as above δ 1 (x) = δ 3 (x) = 0 and L 1 and L 2 are defined over F q if and only if δ 2 (x) (F q ) 2. This proves the proposition. We can now describe our algorithm for the computation of the numbers M r (X) = N r ( Γ L ) N r (Γ L ).

10 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU The input data is a cubic threefold X over F q containing an F q -line L. We choose coordinates as above and construct the matrix M L of (14) whose determinant is the equation of the quintic Γ L P 2 F q. We compute M r with the following simple algorithm. Input: (X, L, r) Output: M r Compute the matrix M L, the three minors δ 1, δ 2, δ 3 and the curve Γ L ; M r := 0; while p {p : p Γ L (F q r) Γ L is smooth at p} do if δ 1 (p) (F q r)2 or (δ 1 (p) = 0 and ( δ 2 (p) (F q r)2 or δ 3 (p) (F q r)2 )) then M r := M r + 1; else M r := M r 1; end end return M r ; Algorithm 1: Computing M r. 4.4. Lines on mildly singular cubic threefolds. We describe a method based on results of Clemens Griffiths and Kouvidakis van der Geer which reduces the computation of the number of F q -lines on a cubic threefold with a single singular point, of type A 1 or A 2, 2 to the computation of the number of points on a smooth curve of genus 4. One consequence is that there is always an F q -line when q > 3. Let C be a smooth non-hyperelliptic curve of genus 4 defined over a perfect field F. We denote by g3 1 and h 1 3 = K C g3 1 the (possibly equal) degree-3 pencils on C. The canonical curve ϕ KC (C) P 3 F is contained in a unique geometrically integral quadric surface Q whose rulings cut out the degree-3 pencils on C; more precisely, either Q P 1 F P1 F and the two rulings of Q cut out distinct degree-3 pencils g1 3 and h 1 3 = K C g 1 3 on C which are defined over F; or Q is smooth but its two rulings are defined over a quadratic extension of F and are exchanged by the Galois action, and so are g 1 3 and h 1 3; or Q is singular and its ruling cuts out a degree-3 pencil g 1 3 on C which is defined over F and satisfies K C = 2g 1 3. Let ρ: P 3 F P4 F be the rational map defined by the linear system of cubics containing ϕ K C (C). The image of ρ is a cubic threefold X defined over F; it has a single singular point, ρ(q), which is of type A 1 if Q is smooth, and of type A 2 otherwise. Conversely, every cubic threefold X P 4 F defined over F with a single singular point x, of type A 1 or A 2, is obtained in this fashion: the curve C is T X,x X and parametrizes the lines in X through x ([CML, Corollary 3.3]). The surface F (X) is isomorphic to the non-normal surface obtained by gluing the images C g and C h of the morphisms C C (2) defined by p g 1 3 p and p h 1 3 p (when Q is singular, F (X) has a cusp singularity along the curve C g = C h ). This was proved in [CG, Theorem 7.8] over C and in [KvG, Proposition 2.1] in general. Proposition 4.7. Let X P 4 F q be a cubic threefold defined over F q with a single singular point, of type A 1 or A 2. Let C be the associated curve of genus 4, with degree-3 pencils g3 1 and h 1 3. For 2 A hypersurface singularity is of type A j if it is, locally analytically, given by an equation x j+1 1 +x 2 2 + +x 2 n+1. Type A 1 is also called a node.

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 11 any r 1, set n r := Card(C(F q r)). We have Card ( F (X)(F q ) ) 1 2 (n2 1 2n 1 + n 2 ) if g3 1 and h 1 3 are distinct and defined over F q ; 1 = 2 (n2 1 + 2n 1 + n 2 ) if g3 1 and h 1 3 are not defined over F q ; 1 2 (n2 1 + n 2 ) if g3 1 = h 1 3. Proof. Points of C (2) (F q ) correspond to the 1 2 (n2 1 n 1 ) pairs of distinct points of C(F q ), the n 1 F q -points on the diagonal, the 1 2 (n 2 n 1 ) pairs of distinct conjugate points of C(F q 2), for a total of 1 2 (n2 1 + n 2 ) points (compare with [GS, (2.5)]). When g3 1 and h 1 3 are distinct and defined over F q, the gluing process eliminates n 1 F q -points. When g3 1 and h 1 3 are not defined over F q, the curves C g and C h contain no pairs of conjugate points, and the gluing process creates n 1 new F q -points. Finally, when g3 1 = h 1 3, the map C (2) (F q ) F (X)(F q ) is a bijection. Corollary 4.8. When q 4, any cubic threefold X P 4 F q defined over F q with a single singular point, of type A 1 or A 2, contains an F q -line. For q {2, 3}, we produce in Section 4.5.5 explicit examples of cubic threefolds with a single singular point, of type A 1, but containing no F q -lines: the bound in the corollary is the best possible. Proof. If X contains no F q -lines, Proposition 4.7 implies that either n 1 = n 2 = 0, or n 1 = n 2 = 1 and g3 1 and h 1 3 are distinct and defined over F q. The latter case cannot in fact occur: if C(F q ) = {x}, we write g3 1 x + x + x. Since g3 1 is defined over F q, so is x + x, hence x and x are both defined over F q 2. But C(F q 2) = {x}, hence x = x = x and g3 1 3x. We can do the same reasoning with h 1 3 to obtain h 1 3 3x g3, 1 a contradiction. Therefore, we have n 1 = n 2 = 0. According to [HLT, Theorem 1.2], every genus-4 curve over F q with q > 49 has an F q -point so we obtain q 7. Because of the reciprocity relation (5), there is a monic degree-4 polynomial H with integral coefficients that satisfies Q 1 (C, T ) = T 4 H(T + q/t ). If ω 1,..., ω 4, ω 1,..., ω 4 are the roots of Q 1 (C, T ) (see Section 2.4), with ω j = q, the roots of H are the r j := ω j + ω j, and q + 1 n 1 = r j, q 2 + 1 n 2 = (ωj 2 + ω j 2 ) = (rj 2 2q). 1 j 4 1 j 4 1 j 4 Since n 1 = n 2 = 0, we obtain 1 j 4 r j = q + 1 and 1 j 4 r2 j = q 2 + 8q + 1, so that 1 i<j 4 r ir j = 3q; we can therefore write (15) H(T ) = T 4 (q + 1)T 3 3qT 2 + at + b. Finally, since r j 2 q for each j, we also have b = r 1 r 2 r 3 r 4 16q 2 and a = 4 j=1 b/r j 32q 3/2. A computer search done with these bounds shows that polynomials of the form (15) with four real roots and q {2, 3, 4, 5, 7} only exist for q 3, which proves the corollary. Remark 4.9. For q {2, 3}, the computer gives a list of all possible polynomials T 4 3T 3 6T 2 +24T 16 T 4 3T 3 6T 2 +24T 15 ( ) T (q = 2) H(T ) = 4 3T 3 6T 2 +23T 13, (q = 3) H(T ) = T 4 3T 3 6T 2 +22T 10 ( ) T 4 3T 3 6T 2 +21T 7 T 4 3T 3 6T 2 +18T +1 ( ) { T 4 4T 3 9T 2 +48T 36 (?) T 4 4T 3 9T 2 +47T 32 ( ) T 4 4T 3 9T 2 +46T 29 ( ) T 4 4T 3 9T 2 +44T 22 (?).

12 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU The nodal cubics of Section 4.5.5, defined over F 2 and F 3, correspond to the polynomials T 4 3T 3 6T 2 + 24T 15 and T 4 4T 3 9T 2 + 47T 32, respectively. Over F 2, it is possible to list all genus-4 canonical curves and one obtains that only the polynomials marked with ( ) actually occur (all three are irreducible). Over F 3, our computer searches show that the two polynomials marked with ( ) actually occur (both are irreducible). We do not know whether the other two, T 4 4T 3 9T 2 +48T 36 = (T 1)(T 3)(T 2 12) and T 4 4T 3 9T 2 + 44T 22 = (T 2 4T + 2)(T 2 11) (marked with (?)), actually occur. 4.5. Examples of cubic threefolds. In this section, we present some of our calculations and illustrate our techniques for some cubic threefolds. We begin with Fermat cubics (Section 4.5.1), which have good reduction in all characteristics but 3. The case of general Fermat hypersurfaces was worked out by Weil in [W] (and was an inspiration for his famous conjectures discussed in Section 2.1). We explain how Weil s calculations apply to the zeta function of Fermat cubics (Theorem 4.11) and we compute, in dimension 3, the zeta function of their surface of lines (Corollary 4.12). The Fermat cubic threefold contains the line L := (1, 1, 0, 0, 0), (0, 0, 1, 1, 0). We also compute the discriminant quintic Γ L P 2 defined in Section 4.3, exhibiting strange behavior in characteristic 2. In Section 4.5.2, we turn our attention to the Klein cubic, which has good reduction in all characteristics but 11. Again, it contains an obvious line L and we compute the discriminant quintic Γ L P 2, again exhibiting strange behavior in characteristic 2. Using the Bombieri Swinnerton-Dyer method, we determine the zeta function of F (X) over F p, for p 13. We also compute the geometric Picard numbers of the reduction of F (X) modulo any prime, using the existence of an isogeny between A(F (X)) and the self-product of an elliptic curve. In Section 4.5.3, we compute, using the same method, the zeta function of F (X) of a random cubic threefold X containing a line, over the fields F 5, F 7, F 23, F 29, and F 31. Note that existing programs are usually unable to perform calculations in such high characteristics. In Section 4.5.4, we present examples, found by computer searches, of smooth cubic threefolds defined over F 2, F 3, F 4, or F 5 with no lines. We were unable to find examples over F q for the remaining values q {7, 8, 9} (by Theorem 4.4, there are always F q -lines for q 11). For the example over F 2, we compute directly the number of points over small extensions and deduce the polynomial P 1 for the Fano surface F (X). For the example over F 3, we obtain again the polynomial P 1 for the Fano surface F (X) by applying the Bombieri Swinnerton-Dyer method over F 9. Finally, in Section 4.5.5, we exhibit cubic threefolds with one node but no lines, defined over F 2 or F 3, thereby proving that the bound in Corollary 4.8 is optimal. 4.5.1. Fermat cubics. The n-dimensional Fermat cubic X n P n+1 Z (16) It has good reduction at every prime p 3. x 3 1 + + x 3 n+2. is defined by the equation Remark 4.10. In general, if q 2 (mod 3) and X P n+1 F q is a cyclic cubic hypersurface with equation f(x 1,..., x n+1 ) + x 3 n+2, the projection π : X P n F q defined by (x 1,..., x n+2 ) (x 1,..., x n+1 ) induces a bijection X(F q ) P n (F q ), because the map x x 3 is a bijection of F q ([Ke, Observation 1.7.2]).

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 13 The remark gives in particular Card ( X n (F 2 ) ) = Card ( P n (F 2 ) ) = 2 n+1 1. For the number of points of X n (F 4 ), observe that the cyclic cover π is 3-to-1 outside its branch divisor V (f). Let (x 1,..., x n+1 ) P n (F 4 ). Since x 3 {0, 1} for any x F 4, either x 3 1 + + x 3 n+1 = 0 and the inverse image by π has one F 4 -point, or x 3 1 + + x 3 n+1 = 1 and the inverse image by π has three F 4 -points. One deduces an inductive formula Card ( X n (F 4 ) ) = Card ( X n 1 (F 4 ) ) + 3 ( Card ( P n (F 4 ) ) Card ( X n 1 (F 4 ) )). Since Card ( X 0 (F 4 ) ) = 3, we obtain Card ( X n (F 4 ) ) = 1 3 ( 2 2n+3 ( 2) n+1 1 ). Using (8), we see that the number of F 2 -lines on XF n 2 is (2 n+1 1) 2 2(1 + 2 n )(2 n+1 1) + 1 3 (22n+3 ( 2) n+1 1) = 22n + 1 + (( 1) n 9)2 n 2. 8 3 For example, the 15 F 2 -lines contained in XF 3 2 are the line L F2 and its images by permutations of the coordinates. In fact, general results are available in the literature on the zeta function of Fermat hypersurfaces over finite fields (starting with [W]; see also [SK, Section 3]), although they do not seem to have been spelled out for cubics. Let us first define { Pn (X Pn(X 0 F n F n p, T ) if n is odd, p, T ) = P n(xfp n,t ) if n is even 1 p n/2 T (this is the reciprocal characteristic polynomial of the Frobenius morphism acting on the primitive cohomology of X n F p ) and set b 0 n(x n ) := deg(p 0 n); this is b n (X n ) if n is odd, and b n (X n ) 1 if n is even. Theorem 4.11 (Weil). Let X n P n+1 Z be the Fermat cubic hypersurface. Let p be a prime number other than 3. If p 2 (mod 3), we have P 0 n(x n F p, T ) = (1 ( p) n T 2 ) b0 n(x n )/2. If p 1 (mod 3), one can write uniquely 4p = a 2 + 27b 2 with a 1 (mod 3) and b > 0, and 1 + at + pt 2 when n = 1, (1 pt ) 6 when n = 2, Pn(X 0 F n p, T ) = (1 + apt + p 3 T 2 ) 5 when n = 3, (1 + (2p a 2 )T + p 2 T 2 )(1 p 2 T ) 20 when n = 4, (1 + ap 2 T + p 5 T 2 ) 21 when n = 5. As will become clear from the proof, it would be possible to write down (complicated) formulas for all n in the case p 1 (mod 3). We leave that exercise to the interested reader and restrict ourselves to the lower-dimensional cases. Proof. Assume first p 2 (mod 3). It follows from Remark 4.10 that the polynomial Pn(X 0 F n p, T ) is even (this is explained by (19) and (20) when n = 4). It is therefore equivalent to prove Pn(X 0 F n, T ) = (1 ( p)n p T ) b0 n(x n). We follow the geometric argument of [SK]. 2

14 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU It is well known that P 1 (X 1 F p, T ) = 1 + pt 2, hence P 1 (X 1 F p 2, T ) = (1 + pt )2. In other words, the Frobenius morphism of F p 2 acts on the middle cohomology of XF 1 p by multiplication 2 by p. By the Künneth formula, it acts by multiplication by ( p) 2 on the middle cohomology of XF 1 X1 p 2 F p. The proof by induction on n of [SK, Theorem 2.10] then applies and gives that the 2 Frobenius morphism acts by multiplication by ( p) n on the middle cohomology of XF n. p 2 Assume now p 1 (mod 3). The number of points of X 1 (F p ) was computed by Gauss ([ST, Theorem 4.2]): writing 4p = a 2 + 27b 2 as in the theorem, one has Card(X 1 (F p )) = p + 1 + a, i.e., P 1 (XF 1 p, T ) = 1 + at + pt 2 =: (1 ωt )(1 ωt ). In other words, the eigenvalues of the Frobenius morphism of F p acting on the first cohomology group are ω and ω. They are therefore the Jacobi sums denoted by j(1, 2) and j(2, 1) in [SK, (3.1)], and also the generators of the prime ideals p and p in Z[ζ] (ζ = exp(2iπ/3)) such that (p) = p p. The eigenvalues of the Frobenius morphism acting on the primitive middle cohomology of are denoted j(α) by Weil, where α runs over the set X n F p U n = {(α 0,..., α n+1 ) {1, 2} n+2 α 0 + + α n+1 0 (mod 3)}. The ideal (j(α)) in Z[ζ] is invariant under permutations of the α i and its decomposition is computed by Stickelberger ([SK, (3.10)]): with A(α) = n+1 j=1 α j 3 and ᾱj = 3 α j. (j(α)) = p A(α) p A(ᾱ), The elements of U 1 are (1, 1, 1) and (2, 2, 2), and the corresponding values of A are 0 and 1. The eigenvalues are therefore (up to multiplication by a unit of Z[ζ]), ω and ω. By Gauss theorem, we know they are exactly ω and ω. By induction on n, it then follows from the embeddings [SK, (2.17)] that j(α) = ω A(α) ω A(ᾱ). The elements of U 2 are (up to permutations) (1, 1, 2, 2) and the corresponding value of A is 1. The only eigenvalue is therefore ω ω = p, with multiplicity ( 4 2). The elements of U 3 are (up to permutations) (1, 1, 1, 1, 2) and (1, 2, 2, 2, 2), and the corresponding values of A are 1 and 2. The eigenvalues are therefore ω 2 ω = pω and p ω, with multiplicity 5. The elements of U 4 are (up to permutations) (1, 1, 1, 1, 1, 1), (1, 1, 1, 2, 2, 2), and (2, 2, 2, 2, 2, 2), and the corresponding values of A are 1, 2, and 3. The eigenvalues are therefore pω 2 and p ω 2, with multiplicity 1, and p 2, with multiplicity ( 6 3). The elements of U 5 are (up to permutations) (1, 1, 1, 1, 1, 2, 2) and (1, 1, 2, 2, 2, 2, 2), and the corresponding values of A are 2 and 3. The eigenvalues are therefore p 2 ω and p 2 ω, with multiplicity ( 7 2). This finishes the proof of the theorem. Corollary 4.12. Let X P 4 Z be the Fermat cubic threefold with equation x3 1 + + x 3 5 and let F (X) be its surface of lines. Let p be a prime number other than 3. The Albanese variety A(F (X)) Fp is isogenous to EF 5 p, where E is the Fermat plane cubic curve. Moreover, if p 2 (mod 3), we have Z(F (X) Fp, T ) = (1 + pt 2 ) 5 (1 + p 3 T 2 ) 5 (1 T )(1 p 2 T )(1 + pt ) 20 (1 pt ) 25,

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 15 the Picard number of F (X) Fp is 25 and that of F (X) Fp 2 is 45, and the abelian variety A(F (X)) Fp is supersingular; if p 1 (mod 3), we have (with the notation of Theorem 4.11) Z(F (X) Fp, T ) = (1 + at + pt 2 ) 5 (1 + apt + p 3 T 2 ) 5 (1 T )(1 p 2 T )(1 + (2p a 2 )T + p 2 T 2 ) 10 (1 pt ) 25, the Picard and absolute Picard numbers of F (X) Fp are 25, and the abelian variety A(F (X)) Fp is ordinary. Proof. Theorems 4.1 and 4.11 imply that the characteristic polynomials of the Frobenius morphism acting on H 1 are the same for the abelian varieties A(F (X)) Fp and EF 5 p ; they are therefore isogenous ([Mu, Appendix I, Theorem 2]). The statements about A(F (X)) Fp being supersingular or ordinary follow from the analogous statements about E Fp. The values of the zeta functions also follow from Theorem 4.1 and 4.11, and the statements about the Picard numbers from Corollary 4.3. We now restrict ourselves to the Fermat cubic threefold X P 4 Z (n = 3). We parametrize planes containing the line L := (1, 1, 0, 0, 0), (0, 0, 1, 1, 0) X by the P 2 defined by x 1 = x 3 = 0 and determine the discriminant quintic Γ L P 2 (see Section 4.3). Lemma 4.13. In the coordinates x 2, x 4, x 5, the equation of the discriminant quintic Γ L P 2 is x 2 x 4 (x 3 2 + x 3 4 + 4x 3 5). Therefore, in characteristics other than 2 and 3, it is a nodal quintic which is the union of two lines and an elliptic curve, all defined over the prime field; in characteristic 2, it is the union of 5 lines meeting at the point (0, 0, 1); 3 of them are defined over F 2, the other 2 over F 4. Proof. We use the notation of the proof of Proposition 4.5 (although the choice of coordinates is different). If x = (0, x 2, 0, x 4, x 5 ) P 2, the residual conic C x has equation (in coordinates (y 1, y 2, y 3 )) 1 ( ) y 3 y 2 +(x 2 y 1 y 2 ) 3 +y3 3 +(x 4 y 1 y 3 ) 3 +y1x 3 3 5 = y 2 1 (x 2 2+x 2 4+x 2 5) 3x 2 2y 1 y 2 3x 2 4y 1 y 3 +3x 2 y2 2 +3x 4 y3. 2 1 In characteristics other than 2 and 3, an equation of Γ L is therefore given by x 3 2 +x3 4 +x3 5 3 2 x2 2 3 2 x2 4 3 2 x2 2 3x 2 0 = 9 4 x 2x 4 = 9 4 x 2x 4 (x 3 2 + x 3 4 + 4x 3 5). 3 2 x2 4 0 3x 4 4(x 3 2 +x3 4 +x3 5 ) 3x 2 3x 4 x 2 2 1 0 x 2 4 0 1 In characteristic 2, the Jacobian criterion says that the singular points of C x must satisfy y 1 = 0 and x 2 y2 2 + x 4 y3 2 = x 2 2y 2 + x 2 4y 3 = 0. The curve Γ L is therefore defined by x1/2 2 x 1/2 4 = 0, or x 2 2 x 2 4 x 2 x 4 (x 3 2 + x 3 4) = 0. It is therefore the same equation reduced modulo 2. 4.5.2. The Klein threefold. This is the cubic threefold X P 4 Z defined by the equation (17) x 2 1x 2 + x 2 2x 3 + x 2 3x 4 + x 2 4x 5 + x 2 5x 1. It has good reduction at every prime p 11. It contains the line L = (1, 0, 0, 0, 0), (0, 0, 1, 0, 0) and we parametrize planes containing L by the P 2 defined by x 1 = x 3 = 0.

16 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU Lemma 4.14. In the coordinates x 2, x 4, x 5, the equation of the discriminant quintic Γ L P 2 is x 5 2 + x 4 x 4 5 4x 2 x 3 4x 5. Therefore, in characteristics other than 2 and 11, it is a geometrically irreducible quintic with a single singular point, (0, 1, 0), which is a node; in characteristic 2, it is a geometrically irreducible rational quintic with a single singular point of multiplicity 4, (0, 1, 0). Proof. We proceed as in the proof of Lemma 4.13. If x = (0, x 2, 0, x 4, x 5 ) P 2, the residual conic C x has equation (in coordinates (y 1, y 2, y 3 )) 1 y 1 ( y 2 2 x 2 y 1 + x 2 2y 2 1y 3 + y 2 3x 4 y 1 + x 2 4y 2 1x 5 y 1 + x 2 5y 2 1y 2 ) = y 2 2 x 2 + x 2 2y 1 y 3 + y 2 3x 4 + x 2 4y 2 1x 5 + x 2 5y 1 y 2. In characteristic other than 2, an equation of Γ L is therefore given by x 2 1 4x 5 2 x2 1 5 2 x2 2 1 2 x2 5 x 2 0 1 2 x2 2 0 x 4 = 1 4 (x5 2 + x 4 x 4 5 4x 2 x 3 4x 5 ). In characteristic 2, one checks that Γ L is defined by the equation x 5 2 + x 4 x 4 5. In both cases, the singularities are easily determined. In characteristic 11, X F11 has a unique singular point, (1, 3, 3 2, 3 3, 3 4 ), which has type A 2. The quintic Γ L P 2 is still geometrically irreducible with a node at (0, 1, 0) and an ordinary cusp (type A 2 ) at (5, 1, 3). In characteristic 2, the isomorphism (x 1,..., x 5 ) (x 1 +x 5, x 2 +x 5, x 3 +x 5, x 4 +x 5, x 1 +x 2 + x 3 +x 4 +x 5 ) maps X F2 to the cyclic cubic with equation x 3 5+(x 1 +x 2 +x 3 +x 4 ) 3 +x 2 1x 2 +x 2 2x 3 +x 2 3x 4. Thus M 2m+1 (X F2 ) = 0 for any m 0 (reasoning as in Example 4.5.1). The computer gives M 2 (X F2 ) = M 4 (X F2 ) = 0. Using (8), we find that X F2 contains 5 F 2 -lines; they are the line L and its images by the cyclic permutations of the coordinates. By the reciprocity property (5), we obtain P 1 (F (X) F2, T ) = P 3 (X F2, T/2) = 1 + 2 5 T 10. Since this polynomial has simple roots, the Picard number of F (X) F2 is 5 (Corollary 4.3). The eigenvalues of the Frobenius morphism F are ω exp(2ikπ/10), for k {0,..., 9}, where ω 10 = 2 5, hence F 10 acts by multiplication by 2 5. This implies P 1 (F (X) F2 10, T ) = (1 + 2 5 T ) 10. It follows that F (X) F2 10 has maximal Picard number 45 (Corollary 4.3) and that A(F (X)) is isogenous to E 5 over F 2 10, where E is the Fermat plane cubic defined in Section 4.5.1. We also get P 2 (F (X) F2, T ) = (1 2 5 T 5 )(1 2 10 T 10 ) 4 = (1 2 5 T 5 ) 5 (1 + 2 5 T 5 ) 4 and Z(F (X) F2, T ) = (1 + 2 5 T 10 )(1 + 2 15 T 10 ) (1 T )(1 4T )(1 2 5 T 5 ) 5 (1 + 2 5 T 5 ) 4. Over other small fields, we find, using the Bombieri Swinnerton-Dyer method (Proposition 4.5) and a computer, P 1 (F (X) F3, T ) = 1 + 31T 5 + 3 5 T 10 P 1 (F (X) F5, T ) = 1 57T 5 + 5 5 T 10 P 1 (F (X) F7, T ) = 1 + 7 5 T 10 P 1 (F (X) F13, T ) = 1 + 13 5 T 10.

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 17 Note that A(F (X)) is ordinary in the first two cases and supersingular with maximal Picard number in the other two cases. One can easily compute the Picard numbers and write down the corresponding zeta functions if desired. We compute the geometric Picard numbers by a different method. Note that 11 is a square modulo 3 or 5, but not modulo 7 or 13. Proposition 4.15. Let X P 4 Z be the Klein cubic threefold with equation (17) and let F (X) be its surface of lines. Suppose p 2. If 11 is a square modulo p, the reduction modulo p of F (X) has geometric Picard number 25, otherwise it has geometric Picard number 45. Proof. Set ν := 1+ 11 and E 2 C := C/Z[ν]. By [A, Corollary 4, p. 138], A(F (X)) C is isomorphic to (E C )5. By [Si, Appendix A3], the elliptic curve E C has a model with equation y 2 + y = x 3 x 2 7x + 10 over Q, which we denote by E. Since A(F (X)) C and E C 5 are isomorphic, A(F (X)) and E 5 are isomorphic over some number field ([Mu, Appendix I, p. 240]). We use Deuring s criterion [L, Chapter 13, Theorem 12)]: for odd p 11, the reduction of E modulo p is supersingular if and only if p is inert or ramified in Z[ν]. By classical results in number theory, an odd prime p 11 is inert or ramified in Z[ν] if and only if 11 is not a square modulo p. The geometric Picard number of the reduction modulo p of A(F (X)) is therefore 45 if 11 is not a square modulo p, and 25 otherwise. 4.5.3. An implementation of our algorithm. We use the notation of Section 4.3. Let X P 4 Z be the cubic threefold with equation where f + 2q 1 x 4 + 2q 2 x 5 + x 1 x 2 4 + 2x 2 x 4 x 5 + x 3 x 2 5, f = x 2 2x 3 (x 3 1 + 4x 1 x 2 3 + 2x 3 3), q 1 = x 2 1 + 2x 2 2 + x 2 x 3 + x 2 3, q 2 = x 1 x 2 + 4x 2 x 3 + x 2 3. It contains the line L given by the equations x 1 = x 2 = x 3 = 0. In characteristics 31, the cubic X is smooth except in characteristics 2 or 3 and the plane quintic curve Γ L is smooth except in characteristics 2 or 5. We implemented in Sage the algorithm described in Algorithm 1 (see [XX]). Over F 5, we get P 1 (F (X) F5, T ) = (1 + 5T 2 )(1 + 2T 2 + 8T 3 6T 4 + 40T 5 + 50T 6 + 625T 8 ). It follows that A(F (X) F5 ) is not ordinary and not simple (it contains an elliptic curve). Over the field F 7, we compute that P 1 (F (X) F7, T ) is equal to 1 + 4T + 15 T 2 + 46 T 3 + 159 T 4 + 460 T 5 + 1 113 T 6 + 2 254 T 7 + 5 145 T 8 + 9 604 T 9 + 16 807 T 10. This polynomial is irreducible over Q; it follows that A(F (X) F7 ) is ordinary and simple (Section 2.4). We can even get more by using a nice criterion from [HZ]. Proposition 4.16. The abelian variety A(F (X) F7 ) is absolutely simple i.e., it remains simple over any field extension.

18 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU Proof. We want to apply the criterion [HZ, Proposition 3 (1)] to the abelian variety A := A(F (X) F7 ). Let d > 1. Since the characteristic polynomial Q 1 (A, T ) (which is also the minimal polynomial) of the Frobenius morphism F is not in Z[T d ], it is enough to check that, for any d > 1, there are no dth roots of unity ζ such that Q(F d ) Q(F ) and Q(F d, ζ) = Q(F ). If this is the case, Q(ζ) is contained in Q(F ), hence ϕ(d) (where ϕ is the Euler totient function) divides deg ( Q 1 (A, T ) ) = 10. This implies d {2, 3, 4, 6, 11, 22}. But for these values of d, one computes that the characteristic polynomial Q 1 (A, T ) of F d F7 is irreducible (of degree 10), and d this contradicts Q(F d ) Q(F ). Thus A is absolutely simple. Here are some more computations in high characteristics: P 1 (F (X) F23,T ) = 1+21 T 2 35 T 3 +759 T 4 890 T 5 +17 457 T 6 18 515 T 7 +255 507 T 8 +6 436 343 T 10, P 1 (F (X) F29,T ) = 1+3 T +5 T 2 +15 T 3 +352 T 4 +2 828 T 5 +10 208 T 6 +12 615 T 7 +121 945 T 8 +2 121 843 T 9 +20 511 149 T 10, P 1 (F (X) F31,T ) = 1+2 T +2 T 2 +72 T 3 +117 T 4 812 T 5 +3 627 T 6 +69 192 T 7 +59 582 T 8 +1 847 042 T 9 +28 629 151 T 10. 4.5.4. Smooth cubic threefolds over F 2, F 3, F 4, or F 5 with no lines. Using a computer, it is easy to find many smooth cubic threefolds defined over F 2 with no F 2 -lines (see Example 4.17). For example, the cubic threefold X P 4 F 2 defined by the equation x 3 1 + x 3 2 + x 3 3 + x 2 1x 2 + x 2 2x 3 + x 2 3x 1 + x 1 x 2 x 3 + x 1 x 2 4 + x 2 1x 4 + x 2 x 2 5 + x 2 2x 5 + x 2 4x 5 contains no F 2 -lines. We also have 3 N 1 (X) = 9, N 2 (X) = 81, N 3 (X) = 657, N 4 (X) = 4 225, N 5 (X) = 34 049, hence (see (10) for the definition of M r (X)) M 1 (X) = 3, M 2 (X) = 1, M 3 (X) = 9, M 4 (X) = 9, M 5 (X) = 7. The polynomial P 1 (F (X), T ) = P 3 (X, T/2) = 10 j=1 (1 ω jt ) is then given by ( 5 exp M r (X) T r ) + O(T 6 ) = 1 3T + 4T 2 10T 4 + 20T 5 + O(T 6 ). r r=1 Using the reciprocity property (5), we obtain P 1 (F (X), T ) = 1 3T + 4T 2 10T 4 + 20T 5 10 2T 6 + 4 2 3 T 8 3 2 4 T 9 + 2 5 T 10. Since this polynomial has no multiple roots, the Picard number of F (X) is 5 (Corollary 4.3). We found by random computer search the smooth cubic threefold X P 4 F 3 with equation 2x 3 1 + 2x 3 2 + x 1 x 2 3 + x 2 2x 4 + 2x 2 3x 4 + x 2 1x 5 + x 2 x 3 x 5 + 2x 1 x 4 x 5 + 2x 2 x 4 x 5 + 2x 2 4x 5 + 2x 4 x 2 5 + x 3 5. It contains no F 3 -lines and 25 F 3 -points. Computing directly the number of points on extensions of F 3, as we did above for F 2, takes too much time, and it is quicker to use the Bombieri Swinnerton-Dyer method (Proposition 4.5) on X F 9, which contains an F 9 -line. The result is that P 1 (F (X ) F9, T ) is equal to 1 5T + 8T 2 + 10T 3 124T 4 + 515T 5 1 116T 6 + 810T 7 + 5 832T 8 32 805T 9 + 59 049T 10. Using the fact that X has 25 F 3 -points and that the roots of P 1 (F (X ) F3, T ) are square roots of the roots of P 1 (F (X ) F9, T ), one finds P 1 (F (X ) F3, T ) = 1 5T + 10T 2 2T 3 36T 4 + 95T 5 108T 6 18T 7 + 270T 8 405T 9 + 243T 10, 3 Among smooth cubics in P 4 F 2 with no F 2 -lines, the computer found examples whose number of F 2 -points is any odd number between 3 and 13.

LINES ON CUBIC HYPERSURFACES OVER FINITE FIELDS 19 and the numbers of F 3 r-lines in X F 3 r, for r {1,..., 5}, are 0, 40, 1 455, 5 740, 72 800, respectively. Similarly, the smooth cubic threefold in P 4 F 4 with equation x 3 1 +x 2 1x 2 +x 3 2 +x 2 1x 3 +ux 1 x 2 3 +ux 2 x 2 3 +u 2 x 1 x 2 x 4 +x 2 2x 4 +ux 3 4 +x 2 2x 5 +ux 2 x 3 x 5 +x 2 3x 5 +x 3 x 2 5 +x 3 5, where u 2 + u + 1 = 0, contains no F 4 -lines and 61 F 4 -points. Finally, the smooth cubic threefold in P 4 F 5 with equation x 3 1 + 2x 3 2 + x 2 2x 3 + 3x 1 x 2 3 + x 2 1x 4 + x 1 x 2 x 4 + x 1 x 3 x 4 + 3x 2 x 3 x 4 + 4x 2 3x 4 + x 2 x 2 4 + 4x 3 x 2 4 + 3x 2 2x 5 + x 1 x 3 x 5 + 3x 2 x 3 x 5 + 3x 1 x 4 x 5 + 3x 2 4x 5 + x 2 x 2 5 + 3x 3 5 contains no F 5 -lines and 126 F 5 -points. We were unable to find smooth cubic threefolds defined over F q with no F q -lines for the remaining values q {7, 8, 9} (by Theorem 4.4, there are always F q -lines for q 11). 4.5.5. Nodal cubic threefolds over F 2 or F 3 with no lines. Regarding cubic threefolds with one node and no lines, we found the following examples. The unique singular point of the cubic in P 4 F 2 with equation x 3 2 + x 2 2x 3 + x 3 3 + x 1 x 2 x 4 + x 2 3x 4 + x 3 4 + x 2 1x 5 + x 1 x 3 x 5 + x 2 x 4 x 5 is an ordinary double point at x := (0, 1, 0, 0, 1) and this cubic contains no F 2 -lines. As we saw during the proof of Corollary 4.8, the base of the cone T X,x X is a smooth genus-4 curve defined over F 2 with no F 4 -points. The pencils g 1 3 and h 1 3 are defined over F 2. The unique singular point of the cubic in P 4 F 3 2x 3 1 + 2x 2 1x 2 + x 1 x 2 2 + 2x 2 x 2 3 + 2x 1 x 2 x 4 + x 2 x 3 x 4 with equation + x 1 x 2 4 + 2x 3 4 + x 2 x 3 x 5 + 2x 2 3x 5 + x 2 x 2 5 + x 3 5 is an ordinary double point at x := (1, 0, 0, 0, 1) and this cubic contains no F 3 -lines. Again, the base of the cone T X,x X is a smooth genus-4 curve defined over F 3 with no F 9 -points, and the pencils g 1 3 and h 1 3 are defined over F 3. 4.6. Average number of lines. Consider the Grassmannian G := Gr(1, P n+1 F q ), the parameter space P = P ( H 0( P n+1 F q, O P n+1(d) )) for all degree-d n-folds, and the incidence variety I = Fq {(L, X) G P L X}. The first projection I G is a projective bundle, hence it is easy to compute the number of F q -points of I. The fibers of the second projection I P are the varieties of lines. The average number of lines (on all degree-d n-folds) is therefore Card ( G(F q ) ) (q dim(p) d 1) q dim(p)+1 1 Card ( G(F q ) ) q dim(p) d 1. Recall that Card ( G(F q ) ) = 0 i<j n+1 qi+j 1. For cubic 3-folds, we obtain q 2 + q + 2 + 2q 1 + 2q 2 + q 3 + q 4. For q = 2, the average number of lines on a cubic threefold is therefore 9.688 (compare with Example 4.17 below). Example 4.17 (Computer experiments). For a random sample of 5 10 4 cubic threefolds defined over F 2, we computed for each the number of F 2 -lines.

20 O. DEBARRE, A. LAFACE, AND XAVIER ROULLEAU The average number of lines in this sample is 9.651. Smooth cubic threfolds contain less lines: here is the distribution of the numbers of F 2 -lines for a random sample of 5 10 4 smooth cubic threfolds defined over F 2. The average number of lines in this sample is 6.963. 5. Cubic fourfolds We now examine cubic fourfolds over F q. We expect them to contain more lines than cubic threefolds (indeed, all the examples we computed do contain F q -lines). Unfortunately, we cannot just take F q -hyperplane sections and apply our results from Section 4, because these results only concern mildly singular cubic threefolds, and there is no a priori reason why there would exist a hyperplane section defined over F q with these suitable singularities. We follow the same path as in Section 4. Recall that for any field k, the scheme F (X) of lines contained in a cubic fourfold X P 5 k with finite singular set is a geometrically connected local complete intersection fourfold (Section 2.3) with trivial canonical sheaf ([AK, Proposition (1.8)]).