Counting points on hyperelliptic curves: the Bombieri–Stepanov method

Take a polynomial f(x) over a finite field \mathbb F_q of odd characteristic, and consider the equation y^2=f(x) . For each choice of x , there are two values of y if f(x) is a nonzero square, one if it is zero, and none if it is a nonsquare. One might therefore expect the numbers of successes and failures to nearly balance, so that the curve has about q points. This is indeed what happens, provided f has no repeated roots. More precisely, if the degree of f is the odd number 2g+1 , and if we include the one point at infinity, then the number N_q of points satisfies the following bound.

\displaystyle \left|N_q-(q+1)\right|\le 2g\sqrt q.

This is the Hasse–Weil bound for these curves. The integer g is their genus: a cubic has g=1 , a polynomial of degree five has g=2 , and so on. Our first aim is to understand the simple counting idea behind a proof of the displayed inequality. Initially, that idea gives a slightly weaker upper bound. A quadratic twist will supply the lower bound, and counting points over larger fields will recover the sharp constant 2g .

For example, take y^2=x^3+x+1 over \mathbb F_5 . As x runs through 0,1,2,3,4 , the right side gives 1,3,1,1,4 . The nonzero squares modulo five are 1,4 , so four values of x give two points and the remaining value gives none. With the point at infinity, there are N_5=9 points. The expected number q+1 is 6 , and the error is 3 . The theorem says that for a cubic this error can never exceed 2\sqrt q , regardless of the coefficients, as long as the cubic has no repeated root.

Polynomial Method

The starting observation is the familiar fact that a nonzero polynomial of degree d cannot have more than d roots, counting repeated roots according to their multiplicities. For example, x^q-x vanishes at every element of \mathbb F_q . If r is a power of the characteristic, then (x^q-x)^r vanishes to order r at every one of these elements. Its degree is qr , which is just large enough for those q roots of multiplicity r . Bombieri’s idea is to make an analogous expression on the curve, but with a better balance between the number of zeros and the size of the expression. There is a natural way to measure the size of a function on our curve. Because f has odd degree, the curve y^2=f(x) has one point at infinity, which we denote by \infty . Near that point, x behaves like the inverse square of a small parameter, while y behaves like its inverse (2g+1) -st power. We say that x and y have pole orders 2 and 2g+1 at infinity. Thus x^i has pole order 2i , and x^jy has pole order 2j+2g+1 . Every polynomial expression in x,y can be reduced, using y^2=f(x) , to the form A(x)+B(x)y . The pole orders of these basic terms are all different, since one list is even and the other is odd.

Let V_d denote the space of expressions A(x)+B(x)y whose pole order at infinity is at most d . We can write down a basis without invoking any general theorem: take all the monomials 1,x,x^2,\ldots and y,xy,x^2y,\ldots whose pole orders do not exceed d . Once d\ge 2g-1 , the allowed pole orders are exactly 0,2,4,\ldots,2g-2,2g,2g+1,2g+2,\ldots,d . The only missing nonnegative orders are the g odd numbers 1,3,\ldots,2g-1 . Consequently,

\displaystyle \dim V_d=d+1-g\qquad(d\ge 2g-1).

For a cubic, for instance, the first pole orders are 0,2,3,4,5,\ldots , coming from 1,x,y,x^2,xy,\ldots ; only order one is missing. This is the entire dimension calculation we need. For a general curve, the corresponding statement comes from Riemann–Roch, but for y^2=f(x) it is simply a count of monomials.

A nonzero expression in V_d has at most d zeros on the curve away from infinity, counted with multiplicity. One can see this directly without using a general theorem about curves. Write it as G=A(x)+B(x)y and multiply by the expression with the opposite sign of y . The result is the ordinary polynomial A(x)^2-f(x)B(x)^2 . This polynomial is not identically zero, since a squarefree polynomial of odd degree cannot be a square of a rational function. Its degree is the pole order of G at infinity: the two possible leading degrees, 2\deg A and 2\deg B+2g+1 , have different parity and therefore cannot cancel. The order of a root of this polynomial at x=a records the total multiplicity of the zeros of G above a . When f(a)=0 there is just one point above a , but the same statement remains true because x-a vanishes to order two there. Thus the ordinary bound on polynomial roots gives the bound on zeros of G . In particular, if G has a zero of order at least r at each of M distinct finite points, then rM\le d .

Construction

For the moment suppose that q=r^2 , where r is a power of the characteristic. We shall build a nonzero function which vanishes to order at least r at every finite \mathbb F_q -point. If its pole order at infinity is at most B , the preceding root count will give r(N_q-1)\le B . The problem is therefore to get the required zeros without making B too large. We will use a relation among a collection of functions to force the zeros, rather than trying to insert each rational point into a separate equation. Choose two positive integers \ell,m , and list the monomial basis of V_m as s_1,\ldots,s_b . We now choose unknown functions h_1,\ldots,h_b\in V_\ell , not all zero, so that

\displaystyle h_1^r s_1+\cdots+h_b^r s_b=0.

Why should such a relation exist? Each h_i has \dim V_\ell coefficients to choose, so there are (\dim V_\ell)(\dim V_m) unknown coefficients altogether. Each term h_i^r s_i has pole order at most r\ell+m . Thus the whole expression lies in V_{r\ell+m} , and making it zero imposes at most \dim V_{r\ell+m} equations. Although the coefficients of h_i appear raised to the power r , this causes no problem: raising an element of \mathbb F_q to the r -th power is a bijection, so we may treat these powered coefficients as the linear unknowns. As soon as

\displaystyle (\dim V_\ell)(\dim V_m)>\dim V_{r\ell+m},

ordinary linear algebra gives a solution in which the h_i are not all zero. We have used nothing more than the fact that a homogeneous system with more unknowns than equations has a nonzero solution. The relation itself is not yet the function we want. Instead consider

\displaystyle F=h_1^r s_1^q+\cdots+h_b^r s_b^q.

At a rational point P , every value s_i(P) belongs to \mathbb F_q and therefore satisfies s_i(P)^q=s_i(P) . Evaluating the last expression at P turns it into the relation we just constructed, so F(P)=0 . That already makes every finite rational point a zero. But we obtain much more: because q=r^2 and raising to the power r distributes over sums in characteristic p , we also have

\displaystyle F=\left(h_1s_1^r+\cdots+h_bs_b^r\right)^r.

This means that every zero is repeated at least r times. Thus one identity gives the zeros, while another view of the very same function gives their multiplicity. This is the feature of the method that makes the square-root estimate possible.

There is one point to check. The original relation might hold for nonzero h_i while the new function F vanishes identically. The monomial basis prevents that. If s_i has pole order d_i , the corresponding nonzero term h_i^r s_i^q has pole order between qd_i and qd_i+r\ell . The pole orders d_i are distinct integers, so the intervals for different i cannot overlap when r\ell< q , or equivalently \ell< r . The term with largest pole order therefore cannot be canceled by any other term. Hence F\ne0 whenever the original solution is nonzero. This simple comparison of pole orders is what keeps the linear-algebra construction honest.

We can now choose the parameters. Take

\displaystyle \ell=r-g-1,\qquad m=r+2g,

and assume r>(g+1)(2g+1) , so that all the spaces have the dimensions just calculated and \ell< r . The number of unknown coefficients is (r-2g)(r+g+1) , while the number of equations is at most r\ell+m+1-g . Subtracting gives

\displaystyle \begin{aligned} &(r-2g)(r+g+1)-(r\ell+m+1-g)\\ &\hspace{28pt}=r-(g+1)(2g+1)>0. \end{aligned}

Thus the required function really exists and is not zero. Its pole order at infinity is at most r\ell+qm , since h_i^r has pole order at most r\ell and s_i^q has pole order at most qm . Each of the N_q-1 finite rational points contributes at least r to the zero count. We conclude that

\displaystyle \begin{aligned} r(N_q-1)&\le r\ell+qm,\\ N_q&\le 1+\ell+rm\\ &=q+(2g+1)r-g\\ &\le q+1+(2g+1)\sqrt q. \end{aligned}

For a small check on the coefficient count, take g=1 and q=49 , so r=7 . Then \ell=5 and m=9 . The spaces V_5 and V_9 have dimensions five and nine, giving 45 unknown coefficients. The relation lies in V_{44} , which has dimension 44 , so a nonzero solution is forced. The bound obtained in this example is N_{49}\le69 . It is not yet the sharp Hasse bound, but the main point has been established: a root-counting argument has produced an error of order \sqrt q , not of order q .

Lower Bound

The argument so far only bounds the number of points from above. To see why that is enough for y^2=f(x) , choose a nonsquare a\in\mathbb F_q and consider the two curves

\displaystyle C:\ y^2=f(x),\qquad C_a:\ ay^2=f(x).

For any fixed x , suppose first that f(x)\ne0 . If f(x) is a square, the first equation has two solutions for y , while the second has none, since dividing a square by a nonsquare gives a nonsquare. If f(x) is a nonsquare, the roles are reversed: the first equation has no solutions, and the second has two. If f(x)=0 , both equations have the single solution y=0 . In every case, the total number of solutions on the two curves above x is exactly two. Both curves also have one rational point at infinity, because the degree of f is odd. We therefore get the exact identity

\displaystyle N_q(C)+N_q(C_a)=2(q+1).

This identity is what is meant here by a quadratic twist. The two curves become the same after adjoining a square root of a , but over the original field they count opposite kinds of values of f(x) . In particular, if one has more than q+1 points, the other has exactly as many fewer. In our example modulo five, take the nonsquare a=2 . The original cubic y^2=x^3+x+1 has nine points. For the twist 2y^2=x^3+x+1 , only x=1 gives two affine solutions; including infinity, it has three points. The sum is 9+3=12=2(5+1) , exactly as predicted.

The upper bound we proved applies to both curves. They have the same genus and the same list of pole orders, so the same construction works on each. Write E=(2g+1)\sqrt q . For a sufficiently large square field, the upper bound gives N_q(C)\le q+1+E and N_q(C_a)\le q+1+E . Subtract the second inequality from the exact identity above. We obtain N_q(C)\ge q+1-E , and hence

\displaystyle \left|N_q(C)-(q+1)\right|\le(2g+1)\sqrt q.

The quadratic twist has done something quite specific: it has turned an upper bound into a lower bound without changing the counting argument. We still have the slightly wrong constant 2g+1 , and the proof works only when the field is a sufficiently large square. Both restrictions disappear once we look at the numbers of points over larger finite fields.

From point counts to the Riemann hypothesis

Fix the original field \mathbb F_q , where q need not be a square, and let N_n count points on the same curve over \mathbb F_{q^n} . The coefficients of f still belong to every one of these larger fields. For each sufficiently large n , the field \mathbb F_{q^{2n}} has square cardinality, namely q^{2n}=(q^n)^2 . We may choose a nonsquare in that field and repeat both the auxiliary-function argument and the quadratic-twist argument there. Consequently, for all sufficiently large n ,

\displaystyle \left|N_{2n}-(q^{2n}+1)\right|\le(2g+1)q^n.

Why is an estimate along the even extensions enough? The reason is that the counts over different extension fields are connected. A standard algebraic fact about curves of this kind says that there is a polynomial

\displaystyle P(T)=\prod_{j=1}^{2g}(1-\alpha_jT)

with integer coefficients such that, for every n\ge1 ,

\displaystyle N_n=q^n+1-\sum_{j=1}^{2g}\alpha_j^n.

The numbers \alpha_j are the zeta-function eigenvalues. The polynomial is also reciprocal in the following sense:

\displaystyle P(T)=q^gT^{2g}P\left(\frac1{qT}\right).

Equivalently, whenever \alpha appears among the \alpha_j , so does q/\alpha , with multiplicity. These two algebraic facts : the existence of P and its reciprocal identity are the standard background about the zeta function. For y^2=f(x) they can also be developed from quadratic characters of polynomials over \mathbb F_q . What we need to prove now is the analytic-looking conclusion about the sizes of the \alpha_j , and that deduction is short.

The cubic over \mathbb F_5 gives a small example of these numbers. Since N_1=9 , the point-count formula says \alpha_1+\alpha_2=5+1-9=-3 . The reciprocal identity says \alpha_1\alpha_2=5 . Thus P(T)=1+3T+5T^2 , and its two eigenvalues are (-3\pm\sqrt{-11})/2 , both of absolute value \sqrt5 . We cannot expect such an explicit calculation for a polynomial of high degree. The point of the following argument is to control the absolute values without solving for the eigenvalues.

Insert the point-count formula into the estimate over \mathbb F_{q^{2n}} . The terms q^{2n}+1 cancel, leaving

\displaystyle \left|\alpha_1^{2n}+\cdots+\alpha_{2g}^{2n}\right|\le(2g+1)q^n.

Set \beta_j=\alpha_j^2 . We therefore know that the sum of the n -th powers of the \beta_j grows no faster than a constant times q^n . This forces each individual |\beta_j| to be at most q . Here is a way to see this without assuming that large terms cannot cancel. Form the power series

\displaystyle \begin{aligned} H(z)&=\sum_{n\ge1}(\beta_1^n+\cdots+\beta_{2g}^n)z^n\\ &=\sum_{j=1}^{2g}\frac{\beta_jz}{1-\beta_jz}. \end{aligned}

The bound on the coefficients shows that the series on the first line converges whenever |z|<1/q ; the finitely many initial coefficients do not matter. But the second line is a rational function. If some |\beta_j|> q , it has a pole at z=1/\beta_j , which lies strictly inside that disk. If several \beta_j are equal, their fractions add with a positive integer multiplicity, so their poles cannot cancel. This contradiction shows that |\beta_j|\le q for every j . Since \beta_j=\alpha_j^2 , we have proved

\displaystyle |\alpha_j|\le\sqrt q\qquad(1\le j\le2g).

The reciprocal identity for P now supplies the opposite inequality. If \alpha_j is one of the eigenvalues, then q/\alpha_j is another. Applying the bound just proved to this partner gives q/|\alpha_j|\le\sqrt q , so |\alpha_j|\ge\sqrt q . Together the two inequalities give exactly

\displaystyle |\alpha_1|=\cdots=|\alpha_{2g}|=\sqrt q.

This is the Riemann hypothesis for the curve. It also explains how to improve our earlier constant. Return to the point-count formula over \mathbb F_{q^n} . It is a sum of 2g numbers, each of absolute value q^{n/2} . The triangle inequality therefore gives, for every n\ge1 ,

\displaystyle \left|N_n-(q^n+1)\right|\le2gq^{n/2}.

Notice what happened. The elementary construction gave a weaker estimate, and only over large square fields. The quadratic twist made it two-sided. The relation between point counts over extension fields then forced each eigenvalue onto the circle of radius \sqrt q , after which the sharp estimate followed at once, even over the original field. The constant 2g did not come from a more careful choice of parameters in the auxiliary function; it came from the fact that there are exactly 2g eigenvalues.

General curves

The proof above used the equation y^2=f(x) in two places. First, the monomials x^i and x^jy gave an explicit list of functions and their pole orders. For a general smooth curve of genus g , there need not be such a simple list. Riemann–Roch replaces it with essentially the same count: allowing a pole of order at most d at a chosen point gives d+1-g independent functions once d is large. The construction of the auxiliary function, the separation of pole orders, and the root count then go through in the same way. This is why the square-root upper bound is not restricted to hyperelliptic curves.

Second, the quadratic twist worked because above each x the two equations had exactly two solutions between them. A general curve may have more than two points above a given x , so there is no single companion curve whose point count adds to a fixed total. Bombieri’s general argument replaces the pair of quadratic twists by a finite collection of related covers. One compares the different ways their points can lie above the same value of x , obtains a fixed total count, and applies the upper-bound argument to the individual pieces. Subtracting the upper bounds gives the missing lower bounds. This part requires more work, but the underlying purpose is exactly the same as in the quadratic example: a large deficit in one count must show up as an excess somewhere else.

In characteristic two, the equation y^2=f(x) is not the right model for a smooth double cover. Equations of the form y^2+y=f(x) play a similar role, with an additive twist replacing the nonsquare multiplier. The details change, but the two main ideas remain: construct a function with many repeated zeros, and compare suitable companion counts to get both sides of the estimate. For the curves treated here, we could see the first idea entirely through elementary polynomial expressions, and the second through the simple observation that a nonzero field element is either a square or a nonsquare. Those are the concrete reasons that the Bombieri–Stepanov method works.

For the original formulation and the detailed argument, see Enrico Bombieri, Counting Points on Curves over Finite Fields (Séminaire Bourbaki 430, 1973).

Leave a Reply