The Rosetta Stone

André Weil’s three columns: numbers, polynomials over finite fields, and Riemann surfaces. In the middle column the Riemann hypothesis is a theorem, and in the third Langlands became geometry

The Rosetta Stone

In 1940, in a military prison in Rouen, André Weil wrote his sister a letter about a stone with three languages on it. One column is number theory. One is the geometry of surfaces. In between is a middle language, polynomials over finite fields, in which everything said in the first column can be said again, and often proved. The Langlands program has been translated into all three.

Numbers and Polynomials

Tap a number on the left and a polynomial on the right and watch both break into primes. Then switch to the second and third views to count the primes of each world and compare their zeta functions.

Whole numbers 1 to 120
Polynomials mod 2, degree 1 to 6
84 = 2² · 3 · 7
A product of 4 primes. Its size is |n| = 84.
Coefficients modulo
t⁵ + t⁴ + 1 = (t² + t + 1) (t³ + t + 1)
A product of 2 irreducibles. Its size is |f| = 2⁵ = 32, the number of possible remainders on division by f.

Left, in amber: the whole numbers, primes bright. Right, in violet: every polynomial with leading coefficient 1 and coefficients modulo p, one block of rows per degree, irreducible ones bright. The white box is the number or polynomial chosen, the green boxes are its prime factors (when they fit on the grid). Tap any cell to choose it, or press a coefficient to change it. Both factorisations are found the same way, by trial division in order of size, and both are unique.

Go deeper:The Dictionary Between Numbers and Functions

The whole numbers Z and the polynomials Fp[t] with coefficients modulo a prime behave alike. Both have division with remainder, so both have Euclid’s algorithm and unique factorisation into primes, which for polynomials are the irreducible ones. The size of a polynomial f of degree n is defined to be |f| = qn, the number of remainders on division by f, just as |n| is the number of remainders on division by n.

Gauss found the exact number of irreducible polynomials of degree n with leading coefficient 1 over the field with q elements: (1/n) Σ μ(d) qn/d, summed over the divisors d of n, where μ is the Möbius function. Writing x = qn, the main term is x / logq x, the shape of the prime number theorem, and the error is at most about √x / n. For whole numbers an error of that size is what the Riemann hypothesis would give, and it is unproved. For polynomials it is an exercise.

The zeta function of Fq[t] is the sum of |f|−s over all polynomials f with leading coefficient 1. It is a geometric series, equal to 1 / (1 − q1−s), and it has no zeros at all. Like Riemann’s zeta function it is also an Euler product, one factor for each prime, which is how the third view computes it a second time.

The analogy between number fields and function fields of curves over finite fields goes back to Dedekind and Weber in 1882, and was developed by Emil Artin, F. K. Schmidt and Hasse in the 1920s and 30s. Its dictionary: a prime number corresponds to an irreducible polynomial, which is a point of the line over Fq; the “prime at infinity” corresponds to the point at infinity; the field Q corresponds to the field Fq(t) of rational functions; and a finite extension of Q corresponds to the function field of another curve covering the line.

A Riemann Hypothesis You Can Check

Pick a curve and a prime: the demo counts the curve’s points, builds its zeta function and plots the zeros. Change the coefficients and the prime as much as you like and try to push a zero off the dashed line.

For Riemann’s zeta function the same statement is conjectured for all zeros; verified for the first ten trillion or so; unproved.

Genus 1
Genus 2
The curve y² = x⁵ − x + 1: step any coefficient
1
x⁵
0
x⁴
0
x³
0
x²
−1
x
1
1
The prime p (rose: the curve is singular there)
7
N1: points with coordinates modulo 7, counted
0%
N2: points over the field with 49 elements, counted
…
largest gap between √7·|T| and 1 over the 4 roots
…
P(1): the size of the Jacobian of the curve

Amber numbers are counted by trying every x in the field and asking whether the right-hand side is a square; one point at infinity is added. Violet is everything deduced from those counts. Green dots are roots that lie on the dashed circle (to nine decimal places), rose would be roots that do not; faint dots are the roots already found at other primes, which all fit one circle because the left chart is drawn in units of 1/√p. Crosses mark the poles of the zeta function. Counts over the field with p³ elements are checked by brute force for p up to 13. Catalogue curves with a term in y on the left are shown after completing the square, which does not change the counts for odd p.

Go deeper:Weil’s Theorem, and Why the Middle Column Is Easier

A curve C over Fp has a zeta function Z(T) = exp(Σ NkTk/k), where Nk is its number of points over the field with pk elements. It is a rational function, P(T) / ((1 − T)(1 − pT)), where P has whole-number coefficients and degree 2g for a curve of genus g. The Riemann hypothesis for curves says that every root of P has absolute value p−1/2. Putting T = p−s, that places every zero of the zeta function on the line Re s = ½.

The demo uses curves y² = f(x) with f of degree 3 (genus 1) or degree 5 (genus 2). Such a curve has exactly one point at infinity, so its number of points is 1 plus, for each x in the field, the number of square roots of f(x). In genus 1, P(T) = 1 − apT + pT² with ap = p + 1 − N1. In genus 2, P(T) = 1 + c1T + c2T² + pc1T³ + p²T⁴, with c1 = N1 − p − 1 and c2 = (N2 − p² − 1 + c1²)/2, so two counts determine everything. The demo then solves P(T) = 0 numerically without assuming where the roots are.

Hasse proved the genus 1 case in the 1930s. Weil proved it for every curve in the 1940s (he announced it in 1940–41 and published full proofs in 1948), and in 1949 conjectured the analogous statements for varieties of every dimension. Deligne proved those in 1974. This is a theorem, so the demo cannot fail; what it offers is the experience of trying. See also Counting Points on Curves.

What makes the middle column easier is geometry. There is an actual curve, the Frobenius map acts on it, and the zeros are eigenvalues of Frobenius on its cohomology: the same Frobenius whose traces are the ap throughout this module. Number fields have no known analogue of that geometric picture, which is one way to say why the Riemann hypothesis itself is hard. For Riemann’s zeta function the statement remains a conjecture, supported by extensive computation.

Three Columns

Step through the rows of the stone and read each idea in three languages. At rows 4 to 6, drag a loop around the punctures, or tap the loop buttons, and watch a matrix build up.

Row 1 of 8: The basic field
Number fields
The rational numbers Q
Curves over finite fields
Fq(t): fractions of polynomials over a finite field
Riemann surfaces
Meromorphic functions on a Riemann surface X
The prime 13; the point (2, 7) of the curve modulo 13; a point of the torus. In each column a place is somewhere an element of the field can be evaluated, can vanish, or can have a pole: the fraction 1/13 has a pole at the prime 13 just as 1/(t − a) has a pole at the point t = a.

The middle picture shows only the points with both coordinates in the field of 13 elements. Points with coordinates in larger fields are places too, grouped into the orbits of Frobenius. The surface on the right has infinitely many points; a few are marked.

Number fieldsCurves over finite fieldsRiemann surfaces
The rational numbers QFq(t): fractions of polynomials over a finite fieldMeromorphic functions on a Riemann surface X
A prime number pA point of the curve (on the line: an irreducible polynomial)A point of X
The p-adic numbers QpLaurent series Fq((t))Laurent series C((t))
The Galois group of QThe Galois group of the function field: the arithmetic fundamental group of the curveThe fundamental group π1(X) of loops on the surface
Frobenius at pFrobenius at the pointThe loop running once around a point
A Galois representationAn ℓ-adic local system on the curveA local system (a flat bundle) on X for the dual group
An automorphic form: a function on G(Q)\G(A)A function on the Fq-points of BunG, the moduli space of G-bundles on the curveA D-module (or sheaf) on BunG that is a Hecke eigensheaf
Open in general; known in many casesA theorem for GLnThe unramified geometric conjecture: proved in 2024

Amber is the column of number fields, violet the column of curves over finite fields, sky the column of Riemann surfaces. Tap any row of the table, or step with the buttons, to light its three cells and bring up its illustration. Rows 4 to 6 share one toy: rose dots are the punctures, the sky path is the loop, and the matrix is exact whole-number arithmetic. The table compresses a great deal; each cell is an analogy with precise mathematics behind it, not an identity.

Go deeper:Weil’s Letter and the Geometric Langlands Correspondence

Weil’s letter to his sister, the philosopher Simone Weil, is dated 26 March 1940 and was written from Bonne-Nouvelle prison in Rouen. The table above is a modern version of his stone, with rows he could not have written: the Langlands program began more than a quarter of a century later.

In the third column there are no primes to count and no L-functions. Functions are replaced by sheaves, and the correspondence becomes an equivalence of categories, formulated by Beilinson and Drinfeld in the 1990s and made precise by Arinkin and Gaitsgory in 2015. In 2006 Kapustin and Witten related it to electric–magnetic duality in a four-dimensional quantum field theory. The matrices in the toy are a genuine local system on the sphere with three punctures: up to conjugation and sign conventions, they are the monodromy of the Legendre family of elliptic curves y² = x(x − 1)(x − λ) around λ = 0, 1 and ∞.

It matters to be exact about the 2024 theorem. Gaitsgory and Raskin, with Arinkin, Beraldo, Campbell, Chen, Faergeman, Lin and Rozenblyum, proved the geometric Langlands conjecture in the third column: in the de Rham setting over a field of characteristic zero, in the unramified case, where the local systems have no punctures at all. It does not prove the Langlands conjectures for number fields. In the middle column the correspondence for GLn is a theorem of Drinfeld (for GL2) and Laurent Lafforgue, and Vincent Lafforgue constructed the direction from automorphic to Galois for every reductive group.

Ideas now flow back from right to left. In 2021 Fargues and Scholze recast the local Langlands correspondence for p-adic fields as geometric Langlands on a curve, the Fargues–Fontaine curve. See also The Frontier for what is known and open in the first column.

Key Takeaways

  • Polynomials over a finite field factor uniquely into primes, and their primes can be counted exactly.
  • For a curve over a finite field the Riemann hypothesis is a theorem, and a computer can watch it hold.
  • A prime, a point of a curve and a point of a surface play the same part; Frobenius becomes a loop.
  • The geometric Langlands conjecture, proved in 2024, lives in the third column, not the first.

Spot a mistake or have an idea?

Search