Post · 24 min read· pp. 1198–1207

Riemann zeta functions and linear operators

A conjectural approaches to the Riemann hypothesis is to find a correspondence between the zeroes of the zeta function and the eigenvalues of a linear operator. This was first conceived by Hilbert and by Pólya in the 1910s. (See this correspondence with Odlyzko.) In the subsequent century, there have been a number of rigorous results relating the zeroes of zeta functions in other settings to eigenvalues of linear operators. There is also a connection between the distribution of known zeroes of the Riemann zeta function, as derived from explicit calculations, and the distribution of eigenvalues of the Gaussian unitary ensemble.

In a previous post we talked about the definition of the Ihara zeta function of a graph, and Ihara’s explicit formula for it, in terms of a determinant that is closely related to the characteristic polynomial of the adjacency matrix of the graph, so that the zeroes of the zeta function determine the eigenvalue of the graph. And if the zeta function of the graph satisfies a “Riemann hypothesis,” meaning that, after a change of variable, all zeroes and poles of the zeta function are 1/d−1{1/\sqrt {d-1}} in absolute value, then the graph is Ramanujan. Conversely, if the graph is Ramnujan then its Ihara zeta function must satisfy the Riemann hypothesis.

As I learned from notes by Pete Clark, the zeta functions of curves and varieties in finite fields also involve a determinant, and the “Riemann hypothesis” for such curves is a theorem (proved by Weil for curves and by Deligne for varieties), which says that (after an analogous change of variable) all zeroes and poles of the zeta function must be q{\sqrt q} in absolute value, where q{q} is the size of the finite field. This means that one way to prove that a family of (q+1){(q+1)}-regular graphs is Ramanujan is to construct for each graph Gn{G_n} in the family a variety Vn{V_n} over Fq{{\mathbb F}_q} such that the determinant that comes up in the zeta function of Gn{G_n} is the “same” (up to terms that don’t affect the roots, and to the fact that if x{x} is a root for one characteristic polynomial, then 1/x{1/x} has to be a root for the other) as the determinant that comes up in the zeta function of the variety Vn{V_n}. Clark shows that one can constructs such families of varieties (in fact, curves are enough) for all the known algebraic constructions of Ramanujan graphs, and one can use families of varieties for which the corresponding determinant is well understood to give new constructions. For example, for every d{d}, if k{k} is the number of distinct prime divisors of d−1{d-1} (which would be one if d−1{d-1} is a prime power) Clark gets a family of graphs with second eigenvalue 2kd−1{2^k \sqrt{d-1}}. (The notes call k{k} the number of distinct prime divisors of d{d}, but it must be a typo.)

So spectral techniques underlie fundamental results in number theory and algebraic geometry, which then give us expander graphs. Sounds like something that we (theoretical computer scientists) should know more about.

The purpose of these notes is to explore a bit more the statements of these results, although we will not even begin to discuss their proofs.

One more reason why I find this material very interesting is that all the several applications of polynomials in computer science (to constructing error-correcting codes, secret sharing schemes, k{k}-wise independent generators, expanders of polylogarithmic degree, giving the codes used in PCP constructions, self-reducibility of the permanent, proving combinatorial bounds via the polynomial method, and so on), always eventually rely on three things:

  • A multivariate polynomial restricted to a line can be seen as a univariate polynomial (and restricting to a k{k}-dimensional subspace gives a k{k}-variate polynomial); this means that results about multivariate polynomials can often be proved via a “randomized reduction” to the univariate case;
  • A univariate polynomial of degree d{d} has at most d{d} roots, which follows from unique factorization
  • Given d{d} desired roots a1,…,ad{a_1,\ldots,a_d} we can always find an univariate polynomial of degree d{d} which has those roots, by defining it as ∏i(x−ai){\prod_i (x-a_i)}.

This is enough to explain the remarkable pseudo-randomness of constructions that we get out of polynomials, and it is the set of principles that underlie much of what is below, except that we are going to restrict polynomials to the set of zeroes of another polynomial, instead of a line, and this is where things get much more complicated, and interesting.

Before getting started, however, I would like to work out a toy example (which is closely related to what goes on with the Ihara zeta function) showing how an expression that looks like the one defining zeta functions can be expressed as a characteristic polynomial of a linear operator, and how its roots (which are then the eigenvalues of the operator) help give bound to a counting problem, and how one can get such bounds directly from the trace of the operator.

If we have quantities Cn{C_n} that we want to bound, then the “zeta function” of the sequence is

z(T):=exp⁡(∑nCnnTn)\displaystyle z(T) := \exp\left( \sum_n \frac {C_n}{n} T^n \right)

For example, and this will be discussed in more detail below, if P(⋅,⋅){P(\cdot,\cdot)} if a bivariate polynomial over Fq{{\mathbb F}_q}, we may be interested in the number C1{C_1} of solutions of the equation P(x,y)=0{P(x,y) = 0} over Fq{{\mathbb F}_q}, as well as the number of solutions Cn{C_n} over the extension Fqn{{\mathbb F}_{q^n}}. In this case, the zeta function of the curve defined by P{P} is precisely

z(T)=exp⁡(∑nCnnTn)     (1)\displaystyle z(T) = \exp\left( \sum_n \frac {C_n}{n} T^n \right) \ \ \ \ \ (1)

and Weil proved that z(⋅){z(\cdot)} is a rational function, and that if α1,…,α2g{\alpha_1,\ldots,\alpha_{2g}} are the zeroes and poles of z(){z()}, that is, the roots of the numerator and the denominator, then they are all at most q{\sqrt q} in absolute value, and one has

∣Cn−qn∣≤∑i∣αi∣n≤2gqn/2     (2)\displaystyle | C_n - q^n | \leq \sum_i |\alpha_i|^n \leq 2g q^{n/2} \ \ \ \ \ (2)

How does one get an approximate formula for Cn{C_n} as in (2) from the zeroes of a function like (1), and what do determinants and traces have got to do with it?

Here is our toy example: suppose that we have a graph G=(V,E){G=(V,E)} and that cℓ{c_\ell} is the number of cycles of the graph of length ℓ{\ell}. Here by “cycle of length ℓ{\ell}” we mean a sequence v0,…,vℓ{v_0,\ldots,v_\ell} of vertices such that v0=vℓ{v_0=v_\ell} and, for i=0,…,ℓ−1{i=0,\ldots,\ell-1}, {vi,vi−1}∈E{\{ v_i,v_{i-1} \} \in E}. So, for example, in a graph in which the vertices a,b,c{a,b,c} form a triangle, a,b,c,a{a,b,c,a} and a,c,b,a{a,c,b,a} are two distinct cycles of length 3, and a,b,a{a,b,a} is a cycle of length 2.

We could define the function

z(T):=exp⁡(∑ℓcℓℓTℓ)\displaystyle z(T) := \exp\left( \sum_\ell \frac {c_\ell}{\ell} T^\ell \right)

and hope that its zeroes have to do with the computation of cℓ{c_\ell}, and that z{z} can be defined in terms of the characteristic polynomial.

Indeed, we have (remember, T{T} is a complex number, not a matrix):

z(T)=1det⁡(I−TA)\displaystyle z(T) = \frac 1 {\det (I - TA) }

and, if α1,…,αn{\alpha_1,\ldots,\alpha_n} are the zeroes and poles of z(T){z(T)}, then

cℓ≤∑i∣αi∣−ℓ\displaystyle c_\ell \leq \sum_i |\alpha_i|^{-\ell}

How did we get these bounds? Well, we cheated because we already knew that cℓ=Tr(Aℓ)=∑iλiℓ{c_\ell = {\rm Tr}(A^\ell) = \sum_i \lambda_i^\ell}, where λi{\lambda_i} are the eigenvalues of A{A}. This means that

z(T)=exp⁡(∑ℓ∑iλiℓℓTℓ)\displaystyle z(T) = \exp \left( \sum_\ell \sum_i \frac {\lambda_i^\ell}{\ell} T^\ell \right)

=∏iexp⁡(∑ℓλiℓℓTℓ)\displaystyle = \prod_i \exp \left( \sum_\ell \frac {\lambda_i^\ell}{\ell} T^\ell \right)

=∏i11−Tλi\displaystyle = \prod_i \frac 1 {1- T\lambda_i }

=1det⁡(I−TA)\displaystyle = \frac 1 { \det(I - TA) }

Where we used 11−x=exp⁡(∑nxnn){\frac 1 {1-x} = \exp\left( \sum_n \frac { x^n}{n} \right)}. Now we see that the poles of z{z} are precisely the inverses of the eigenvalues of A{A}.

Now we are ready to look more closely at various zeta functions.

I would like to thank Ken Ribet and Jared Weinstein for the time they spent answering questions. Part of this post will follow, almost word for word, this post of Terry Tao. All the errors and misconceptions below, however, are my own original creation.

We will work up to the definition of the zeta function of curves in three steps: first we look at the zeta function for the integers, and review (all without proof) the formulas that relate it to the distribution of the primes. This will give us an idea of what to expect in other settings.

Then we define the zeta function for “the affine line over Fq{{\mathbb F}_q},” in which integers are replaced by univariate polynomials in Fq{{\mathbb F}_q} and primes are irreducible polynomials. We will get the “prime number theorem” that approximately a 1/n{1/n} fraction of degree-n{n} polynomials are irreducible. The zeta function ends up being just (the inverse of) a linear function, and it has no roots whatsoever.

Finally, we get to curves: here the place of integers is taken by polynomial functions over the curve, and the primes are the prime ideals of the ring of those polynomial functions. After a few more miracles happen, understanding the zeta function will come down to understanding how many points are there on our curve when we think of it as being defined in Fqn{{\mathbb F}_{q^n}} instead of Fq{{\mathbb F}_q}, for various choices of n{n}. This can also be seen as counting the number of fixed points of the n{n}-th power of the Frobenius function, and several more miracles allow us to count the number of such fixed points in terms of a polynomial which is in fact the characteristic polynomial of a linear operator, finally!, but there is a catch: this linear operator acts on the first homology group of the curve, and the stuff which is in that group is not vectors over the reals, so it’s not like our operator is a matrix of which we can compute the determinant just like that. Luckily, there is still a characteristic polynomials, and its roots are algebraic integers that happen to be roots of unity times q{\sqrt q}.

1. The zeta function for the integers

Let’s start again with the zeta function defined over the integers. We have

ζ(s):=∑n≥11ns=∏p prime(1−p−s)−1\displaystyle \zeta(s) := \sum_{n\geq 1} \frac 1 {n^s} = \prod_{p \ \rm prime} (1 - p^{-s})^{-1}

which is well defined for all complex numbers s{s} such that Re(s)>1{Re(s) > 1}. There is a unique function that agrees with the above definition for all s{s} such that Re(s)>1{Re(s)>1}, which is defined for all complex numbers, and which is meromorphic, meaning that is very nice (infinitely differentiable, equal to its Taylor series) except at a bounded number of place; we will call ζ{\zeta} this extended function from now on. Whenever we define functions that don’t seem to make sense for some choice of inputs, such an extension is assumed.

We also define a normalized (and “smoothed”) indicator function of the primes, the von Mangoldt function Λ(n){\Lambda(n)} such that Λ(n)=p{\Lambda(n) = p} if n=pk{n=p^k} is a power of the prime p{p}, and Λ(n)=0{\Lambda(n) = 0} if n{n} has at least two distinct prime factors. We have

log⁡n=∑d∣nΛ(d)\displaystyle \log n = \sum_{d | n} \Lambda(d)

and after some manipulations one gets the following relation between zeta function and von Mangoldt function:

ζ(n)=exp⁡(∑nΛ(n)log⁡nn−s)\displaystyle \zeta (n) = \exp \left ( \sum_n \frac { \Lambda(n)}{\log n} n^{-s} \right)

which in turn leads to the explicit formula

∑1≤n≤NΛ(n)=N−∑ρNρρ+O(1)\displaystyle \sum_{1 \leq n \leq N} \Lambda (n) = N - \sum_{\rho} \frac {N^{\rho}}{\rho} + O(1)

where the summation ranges over the roots ρ{\rho} of the zeta function such that 0<Re(ρ)≤1{0< Re(\rho) \leq 1} and, so if the Riemann hypothesis is true, which holds that such roots must have Re(ρ)=1/2{Re(\rho) = 1/2}, we would have

∑1≤n≤NΛ(n)=N±N1/2+o(1)\displaystyle \sum_{1 \leq n \leq N} \Lambda (n) = N \pm N^{1/2+o(1)}

we also have

∑1≤n≤NΛ(n)=log⁡N⋅(#primes ≤N)±N1/2+o(1)\displaystyle \sum_{1 \leq n \leq N} \Lambda (n) = \log N \cdot ( \# {\rm primes} \ \leq N) \pm N^{1/2 + o(1)}

and so, if the Riemann hypothesis is true, the number of primes between 1{1} and N{N} would be N/log⁡N{N/\log N} plus or minus N1/2+o(1){N^{1/2 + o(1)}}. (This is in fact an if-and-only-if.)

2. The zeta function of the affine line

Now we think about univariate polynomials over a finite field Fq{{\mathbb F}_q} as taking the place of the integers. This is the case of the “affine line,” because we are talking about polynomials defined over all of Fq{{\mathbb F}_q} which, as a 1-dimensional linear space, is a “line.” Our polynomials, however have arbitrary degree!

So Z{{\mathbb Z}} is replaced by Fq[x]{{\mathbb F}_q[x]}. Factorization, however, is defined over the natural numbers, not over Z{{\mathbb Z}}. What should take the place of N{{\mathbb N}}? There is a simple answer (spoiler alert: monic polynomials), but let’s get there in a way that is easy to generalize.

When we are in a ring, like Z{{\mathbb Z}} and Fq[x]{{\mathbb F}_q[x]}, that is a set where we have operations of addition and multiplication, and where division is not always well defined (and hence factorization is interesting), the right objects to think about from the point of view of factorization are the ideals of the ring. An ideal is a subset that is a subgroup for addition and that is closed under multiplication. An ideal generated by an element n{n}, written (n){(n)}, is the set of all multiples of n{n}, and it is called a principal ideal. It is easy to see, over the integers, that all ideals are principal.

(For a given ideal I{I}, compute the gcd g{g} of all the nonzero elements of the ideal: it is clear that I{I} is a subset of (g){(g)}, because all elements of I{I} are multiples of g{g}, but g{g} can be obtained, using Euclid’s algorithm, as sums and products of elements of I{I}, and so it is in I{I}, which means that (g){(g)} is a subset of I{I}.) The same is true in Fq[x]{{\mathbb F}_q[x]}: all ideals are principal, and for the same reason: there is a version of Euclid’s algorithm for finding the gcd of polynomials. One can properly define factorization and primes only for ideals; in the case of integers, every ideal (n){(n)} corresponds to the integer n{n} that generates it, and two different integers always define different ideals, except for (−n)=(n){(-n) = (n)}. So we can use positive integers as representative for the ideals. In the case of polynomials, we have the same reasoning, except that (f)=(g){(f) = (g)} iff f{f} is a scalar multiple of g{g}. So our representative for ideals will the monic polynomials, that is, polynomials whose leading coefficient is one. This answer our first question. Now comes another question: the formula for the zeta function over integers involves the number 1/ns{1/n^s}; if f{f}is a monic polynomial, is this going to be replaced by 1/fs{1/f^s}? But s{s} is a complex number and f{f} is a polynomial over a finite field, so how is that going to work out? Again, we look at this question in a general setting: we already said that we should think of the integer n{n} appearing in the formula for the zeta function as a representative of the ideal (n){(n)}. Now, every ideal I{I} in a ring R{R} has a norm, which is the number of shifted copies of the ideal that we need to cover the whole ring, or, more precisely, the cardinality of the quotient ∣R/I∣{|R/ I|}. Clearly, the cardinality of the quotient Z/(n){{\mathbb Z} / (n)} is n{n}, because the quotient of Z{{\mathbb Z}} by the multiples of n{n} is just the ring of integers mod n{n}, Z/nZ{{\mathbb Z}/ n{\mathbb Z}}. What is the norm of a monic polynomial f{f} of degree d{d} over Fq[x]{{\mathbb F}_q [x]}? Think about this for a minute. The ring Fq[x]/(f){{\mathbb F}_q [x]/(f)} is made of polynomials with operations mod f{f}, so every element g{g} of Fq[x]/(f){{\mathbb F}_q[x]/(f)} is identified by the remainder of the division of g{g} by f{f}. This remainder is a polynomial of degree d−1{d-1}, defined by d{d} coefficients, and there are qd{q^d} such possible remainders.

We conclude that the norm of f{f} is ∣f∣=qdeg(f){|f| = q^{deg(f)}} and we can finally write our zeta function

z(s):=∑f monicq−s⋅deg(f)\displaystyle z(s) := \sum_{f\ \rm monic} q^{-s \cdot deg(f)}

and it is common to make the change variable T:=q−s{T:= q^{-s}} and work with

Z(T):=∑f monicTdeg(f)     (3)\displaystyle Z(T) := \sum_{f\ \rm monic} T^{deg(f)} \ \ \ \ \ (3)

Now our “primes” are irreducible (in Fq{{\mathbb F}_q}) monic polynomials.

We still have a von Malgoldt function Λ(f)=deg(g){\Lambda (f) = deg(g)} if f=gk{f = g^k} and g{g} is irreducible, and Λ(f)=0{\Lambda(f) = 0} otherwise. We have, for every monic polynomial f{f},

log⁡q∣f∣=∑g divides fΛ(g)\displaystyle \log_q |f| = \sum_{g \ {\rm divides} \ f} \Lambda (g)

and the exponential identity

Z(T)=exp⁡(∑f monicΛ(f)deg∣f∣Tdegf)\displaystyle Z(T) = \exp \left( \sum_{f \ {\rm monic}} \frac { \Lambda(f)} {deg |f| } T^{deg f}\right)

and manipulations as in the integer case lead to the explicit formula

∑f:deg(f)=nΛ(f)=qn±∑α∣α∣n+Θ(1)\displaystyle \sum_{f : deg(f) = n} \Lambda(f) = q^n \pm \sum_\alpha |\alpha|^n + \Theta(1)

where α{\alpha} ranges over the roots of Z{Z} and the constant term depends on poles of Z{Z}. Nicely, we can just figure out what the zeta function is: there are exactly qn{q^n} monic polynomials of degree n{n}, and plugging this fact into (3) we have

Z(T)=∑n≥1qnTn=11−qT     (4)\displaystyle Z(T) = \sum_{n\geq 1} q^n T^{n} = \frac 1 {1-qT} \ \ \ \ \ (4)

so there are no roots. One could view 1−qT{1-qT} as det(I−TM){det (I - T M)} where I{I} is the 1-dimensional identity matrix and M{M} is the 1-dimensional matrix whose only entry is q{q}. From (4), the explicit formula becomes

∑f:deg(f)=nΛ(f)=qn     (5)\displaystyle \sum_{f : deg(f) = n} \Lambda(f) = q^n \ \ \ \ \ (5)

from which we get that qn/n±O(qn/2){q^n/n \pm O(q^{n/2})} degree-n{n} monic polynomials are irreducible.

This gives the analogy with the case of the integers, but there is a much more direct way of seeing that (5) is true.

Every monic polynomial f{f} over Fq{{\mathbb F}_q} of degree n{n} is going to have n{n} roots a1,…,an{a_1,\ldots,a_n} in the algebraic closure of Fq{{\mathbb F}_q}, counting multiplicities, and so it can be written as

f(x)=(x−a1)⋅(x−a2)⋯(x−an)\displaystyle f(x) = (x-a_1) \cdot (x- a_2) \cdots (x-a_n)

note that while the roots ai{a_i} may or may not belong to Fq{{\mathbb F}_q}, all the coefficients of f(⋅){f(\cdot)} do belong to Fq{{\mathbb F}_q}, once we expand the product. We can certainly take the roots (a1,…,an){(a_1,\ldots,a_n)} to be a unique representation of f{f}, although we should be aware that not all n{n}-tuples (a1,…,an){(a_1,\ldots,a_n)} of elements from the algebraic closure of Fq{{\mathbb F}_q} represent a monic polynomial P{P} of degree n{n} with coefficients in Fq{{\mathbb F}_q}. (There are infinitely many such tuples but only qn{q^n} such polynomials.)

To understand which tuples correspond to monic polynomials in Fq[x]{{\mathbb F}_q[x]}, in a way that will also gives a good understanding of the right-hand side of (5), we introduce the Frobenius function Fr(x):=xq{{\rm Fr} (x) := x^q}, which is well defined for every x∈Fq{x\in {\mathbb F}_q} but also for every x{x} in any extension of Fq{{\mathbb F}_q}. Three useful properties of this function are that:

  1. Fr(x)=x{{\rm Fr}(x) = x} for every x∈Fq{x\in {\mathbb F}_q} (if q{q} is prime this is Fermat’s little theorem), in fact, if x{x} belongs to an extension of Fq{{\mathbb F}_q}, Fr(x)=x{{\rm Fr}(x) = x} if and only if x∈Fq{x\in {\mathbb F}_q};
  2. Fr{{\rm Fr}} is bijective in any extension field Fqn{{\mathbb F}_{q^n}};
  3. Fr{{\rm Fr}} is periodic with period n{n} in Fqn{{\mathbb F}_{q^n}}. This is just another way of saying that xqn=x{x^{q^n} = x} in Fqn{{\mathbb F}_{q^n}}, which is a special case of the first property.

(Many readers will recognize the above as a clumsy statement of the fact that, for every n{n}, the Galois group Gal(Fqn/Fq){Gal({\mathbb F}_{q^n}/ {\mathbb F}_q)} is cyclic of order n{n}, and that Fr{{\rm Fr}} is a generator.)

From the first property we get that if a{a} is a root of f{f} and f{f} has coefficients in Fq{{\mathbb F}_q}, then Fr(a){{\rm Fr}(a)} is also a root; but then also Fr(Fr(a)){{\rm Fr}({\rm Fr} (a))} and so on. From the second property, we get that if we look at all the roots a1,…,an{a_1,\ldots,a_n} of f{f}, they all live in Fqn{{\mathbb F}_{q^n}}, and so the Frobenius function Fr{{\rm Fr}} is going to be a permutation over a1,…,an{a_1,\ldots,a_n} (because it maps roots to roots, and it does so injectively).

Let us look at the cycles defined by Fr{{\rm Fr}} over the multi-set a1,…,an{a_1,\ldots,a_n}. Each cycle needs to have a length d{d} that divides n{n}, because Fr{{\rm Fr}} is n{n}-periodic by the third property. Let’s call two roots in the same cycle equivalent and let pick representatives b1,…,bk{b_1,\ldots,b_k}, of classes of size d1,…,dk{d_1,\ldots,d_k}, respectively. We see that each bi{b_i} lives in Fqdi{{\mathbb F}_{q^{d_i}}} and that, if we are given the bi{b_i} we are implicitly being told all the roots (which we can rediscover by applying Fr{{\rm Fr}}) and now this is a much more economical representation of the polynomial. In fact this is a unique representation up to the choice of representatives, that is, a polynomial may be identified with the (multi)-set of equivalence classes described above. Each equivalence class is called a closed point.

We have reached a punchline: a monic polynomial of degree n{n} correspond to a single closed point of size n{n}, and the representation of a generic monic polynomial f{f} as a collection of closed points corresponds to the factorization of f{f} into a product of monic polynomials. Notice also that this argument shows that there can be at most qn/n{q^n / n} monic polynomials of degree n{n} over Fq{{\mathbb F}_q}. (Why?)

Now let’s forget about any specific polynomial f{f}, and let us look at all the closed points in Fnq{{\mathbb F}^q_n}. Suppose that we find k{k} closed points b1,…,bk{b_1,\ldots,b_k}, each of size di{d_i}, where each di{d_i} must divide n{n}. Note that ∑idi=qn{\sum_i d_i = q^n}. Then each bi{b_i} corresponds to an irreducible monic polynomial fi{f_i} of degree di{d_i} such that fin/di{f^{n/d_i}_i} is a polynomial of degree n{n} such that Λ(fn/di)=di{\Lambda (f^{n/d_i}) = d_i}. In turn, these are all the monic polynomial of degree n{n} which are powers of irreducible polynomials, and so we have proved the exact formula

∑f monicΛ(f)=∑idi=qn\displaystyle \sum_{f \ {\rm monic}} \Lambda (f) = \sum_i d_i = q^n

3. The zeta function for an affine curve

Now we have an affine irreducible curve C{C} in Fq2{{\mathbb F}_q^2}, that is, the set of points (x,y)∈Fq2{(x,y) \in F_q^2} such that P(x,y)=0{P(x,y)=0}, where P{P} is a bivariate polynomial that is absolutely irreducible, that is, it has no non-trivial divisor even in the algebraic closure of Fq{{\mathbb F}_q}. For example, the curve might be y2=x3−x−1{y^2 = x^3 - x -1}.

The role of the integers is now played by the coordinate ring of C{C}, which is Fq[x,y]/(P){{\mathbb F}_q [x,y] / (P)}. There are a couple of ways of thinking about it. One is the definition: an element is an equivalence class of polynomials, where two polynomials are equivalent if their difference is a multiple of P{P}. (In particular they need to agree on the zeroes of P{P}.) The other is to thing of an element of the coordinate ring as being a function defined on C{C} that is expressed as a polynomial. If C{C} were a line, then every element of the coordinate ring would just be a bivariate polynomial restricted to a line, and thus would be essentially a univariate polynomial. That is the case studied in the previous section.

When C{C} is not a line, the coordinate ring is more complex, and, in particular, it is not true that all ideals are principal. Although it is not possible any more to think of the ideals as polynomials, we can still think of them as being multi-sets of points. This time an ideal will be a rational effective divisor, that is a multi-set of points of C{C} that is Frobenius-invariant. The prime ideals will be closed points: divisors that are a single orbit of the Frobenius. Each divisor D{D} has a degree deg(D){deg(D)} (the number of points counted with multiplicities) and its norm is qdeg(D){q^{deg(D)}}.

We can then construct analogs of all the expressions we saw in the previous section. We have the definition of zeta function

ζ(s):=∑D divisor1qs⋅deg(D)\displaystyle \zeta(s) := \sum_{D \ \rm divisor} \frac 1 {q^{s\cdot deg(D)}}

that after the change of variable T=q−s{T= q^{-s}} becomes

Z(T):=∑D divisorTdeg(D)\displaystyle Z(T) := \sum_{D \ \rm divisor} T^{deg(D)}

we have the von Malgoldt function Λ(D){\Lambda(D)} which is equal to deg(A){deg(A)} if D{D} is a power of A{A} and A{A} is prime, and Λ(D)=0{\Lambda(D) =0} if D{D} has at least two distinct prime divisors. We have the exponential formula of Z{Z}

Z(T)=exp⁡(∑DΛ(D)deg(D)Tdeg(D)))\displaystyle Z(T) = \exp \left( \sum_D \frac{\Lambda (D)}{deg(D)} T^{deg (D)) } \right)

which can be rewritten as

Z(T)=exp⁡(∑n≥1∑D:deg(D)=nΛ(D)n⋅Tn)\displaystyle Z(T) = \exp \left( \sum_{n\geq 1} \frac{ \sum_{D: deg(D) = n} \Lambda (D)}{n} \cdot T^{n} \right)

and finally we have

∑D:deg(D)=nΛ(D)=∣C(Fqn)∣\displaystyle \sum_{D: deg(D) = n} \Lambda(D) = | C( {\mathbb F}_{q^n} ) |

where the right-hand side is the number of points of C{C} –that is, solutions of P(x,y)=0{P(x,y) = 0}) in Fqn{{\mathbb F}_{q^n}}. If C{C} was a line, this number would just be qn{q^n}. The end of the story of the Riemann hypothesis for curves is that it is more or less the same for every absolutely irreducible P{P}; the number of points will be qn±O(qn/2){q^n \pm O( q^{n/2})} where the implied constant depends only on P{P}, as proved by Weil. His bound is qn±2gqn/2+O(1){q^n \pm 2g q^{n/2} + O(1) } where g{g} is the genus of the curve.

If this were all that we are interested in, Stepanov has given a fully elementary proof, and one can read about it in this monograph by Chen, Kayal and Wigderson in a treatment that does not talk about zeta functions, divisors, ideals and so on. The connection between zeroes of the zeta function and the size of C(Fqn){C({\mathbb F}_{q^n})} is that if one can write the zeta function as a rational function and a1,…,ak{a_1,\ldots,a_k} is the collection of roots, with multiplicities, of the polynomial in the numerator and the one in the denominator, one has

∣C(Fqn)∣=qn±∑i∣ai∣n+O(1)\displaystyle | C( {\mathbb F}_{q^n} ) | = q^n \pm \sum_i |a_i|^n + O(1)

and Weil’s proof establishes that there at most 2g{2g} roots, each of absolute value at most q{\sqrt q}, thus the bound claimed above.

Although Stepanov’s technique gives an elementary way to bound ∣C(Fqn)∣{|C({\mathbb F}_{q^n} )|}, recall that our interest in this story is how to understand just the statement of Weil’s result as it concern a bound of q{\sqrt q} to the absolute value of the eigenvalues of a certain operator.

Extend the Frobenius function to be defined over pairs of elements in the obvious way: (x,y){x,y)} maps to (xq,yq){(x^q,y^q)}. Define Fr(n){{\rm Fr}^{(n)}} to be the application of the Frobenius function n{n} times, thus Fr(n)(x,y)=(xqn,yqn){{\rm Fr}^{(n)} (x,y) = (x^{q^n},y^{q^n} )}. Recall that one of the properties of the Frobenius function is that Fr(n)(x)=x{{\rm Fr}^{(n)} (x) = x} if and only if x∈Fqn{x\in {\mathbb F}_{q^n}}. Consider C(F‾q){C(\overline {\mathbb F}_q)}, the set of points of C{C} in the algebraic closure of Fq{{\mathbb F}_q}. Then ∣C(Fqn)∣{|C({\mathbb F}_{q^n})|} is the number of fixed points of Fr(n){{\rm Fr}^{(n)}} in the space C(F‾q){C(\overline {\mathbb F}_q)}.

In the complex case, if we have a curve C={(x,y)∈C2:P(x,y)=0}{C = \{ (x,y) \in {\mathbb C}^2 : P(x,y) = 0 \}}, an algebraic function F:C→C{F: C \rightarrow C}, and we want to count the number of fixed points of F{F}, we have the Lefschetz trace formula, which says that all we need to do is to estimate the eigenvalues of F{F} when viewed as a linear operator over the first homology group of C{C} — whatever that is. (See this blog post.)

Luckily, a Lefschetz trace formula exists in the finite fields case. Unfortunately, I need to end this post on a cliffhanger, because I don’t know how to describe the first homology group of C{C} (the formula involves the zero-th, the first, and the second homology group of C{C}, but only the first gives a non-trivial contribution).

So far, I am being told that it is not a vector space but a module, and that its ring of coefficients is made of p{p}-adic numbers for p{p} coprime with q{q}. The dimension is 2g{2g}, and the Frobenius operator acts as a linear operator. I am also being told that “ what exactly are the elements of the group” is not the right question to ask, and that one should start from the properties that one wants this group to satisfy, verify that there is a construction that meets these properties, and then work with the properties and forget the construction.

In modules, one can still define a determinant and a characteristic polynomial for a linear operator, and here another miracle happens, and the coefficients of this polynomial end up being standard integers, its roots are algebraic integers, and so we talk about the roots being q{\sqrt q} in absolute value.

I hope that there will be a future installment of this ongoing series, in which I explain what is the first homology group and I give some intuition about fixed point formulas in various settings, and, while I am there, maybe even explain what the Riemann-Roch theorem states.