A survey of p-adic approaches to zeta functions (plus a new approach)

Similar documents
Computing zeta functions of nondegenerate toric hypersurfaces

Counting points on smooth plane quartics

Computing zeta functions of certain varieties in larger characteristic

Counting points on curves: the general case

Computations with Coleman integrals

Counting Points on Curves using Monsky-Washnitzer Cohomology

Counting points on hyperelliptic curves

Computing L-series of geometrically hyperelliptic curves of genus three. David Harvey, Maike Massierer, Andrew V. Sutherland

Arithmetic Mirror Symmetry

Computation of zeta and L-functions: feasibility and applications

Toric coordinates in relative p-adic Hodge theory

Point counting and real multiplication on K3 surfaces

Equidistributions in arithmetic geometry

Computing L-series coefficients of hyperelliptic curves

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

Towards a precise Sato-Tate conjecture in genus 2

Sato-Tate groups of abelian surfaces

Hypersurfaces and the Weil conjectures

The Sato-Tate conjecture for abelian varieties

LECTURE 1. ZETA FUNCTIONS: AN OVERVIEW

Algebraic Geometry Spring 2009

Elliptic curves over function fields 1

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

RESEARCH STATEMENT FEI XU

Seminar on Motives Standard Conjectures

15 Elliptic curves and Fermat s last theorem

Ursula Whitcher May 2011

Zeta Functions of Toric Calabi-Yau Hypersurfaces

Artin Conjecture for p-adic Galois Representations of Function Fields

Lectures on Cryptography Heraklion 2003 Gerhard Frey IEM, University of Duisburg-Essen Part II Discrete Logarithm Systems

Rational Curves On K3 Surfaces

Coleman Integration in Larger Characteristic

LECTURE 2 FRANZ LEMMERMEYER

Riemann surfaces with extra automorphisms and endomorphism rings of their Jacobians

LIFTABILITY OF FROBENIUS

L-Polynomials of Curves over Finite Fields

Hyperelliptic curves

An introduction to the algorithmic of p-adic numbers

Igusa Class Polynomials

Fundamental Lemma and Hitchin Fibration

l-adic Representations

Absolute de Rham cohomology? A fantasy in the key of p

Geometric motivic integration

Igusa Class Polynomials

Cohomological Formulation (Lecture 3)

Coleman Integration in Larger Characteristic

Generalized Tian-Todorov theorems

Combinatorics and geometry of E 7

On Spectrum and Arithmetic

VARIETIES WITHOUT EXTRA AUTOMORPHISMS I: CURVES BJORN POONEN

Computing zeta functions in families of C a,b curves using deformation

Galois Theory of Several Variables

ORAL QUALIFYING EXAM QUESTIONS. 1. Algebra

Fundamental Lemma and Hitchin Fibration

Frobenius Distributions

A NEW FAMILY OF SYMPLECTIC FOURFOLDS

BRILL-NOETHER THEORY. This article follows the paper of Griffiths and Harris, "On the variety of special linear systems on a general algebraic curve.

Identifying supersingular elliptic curves

Introduction to Arithmetic Geometry

On the equality case of the Ramanujan Conjecture for Hilbert modular forms

MOTIVIC ANALYTIC NUMBER THEORY

Genus 2 Curves of p-rank 1 via CM method

GEOMETRIC CLASS FIELD THEORY I

Introduction to Elliptic Curves

Algebraic Curves and Riemann Surfaces

Isogeny invariance of the BSD conjecture

Hodge theory for combinatorial geometries

Dieudonné Modules and p-divisible Groups

Diophantine geometry and non-abelian duality

Oral exam practice problems: Algebraic Geometry

Some remarks on Frobenius and Lefschetz in étale cohomology

An LMFDB perspective on motives David P. Roberts University of Minnesota, Morris

A p-adic Birch and Swinnerton-Dyer conjecture for modular abelian varieties

On elliptic curves in characteristic 2 with wild additive reduction

Constructing Abelian Varieties for Pairing-Based Cryptography

this to include the explicit maps, please do so!

IN POSITIVE CHARACTERISTICS: 3. Modular varieties with Hecke symmetries. 7. Foliation and a conjecture of Oort

Explicit p-adic methods for elliptic and hyperelliptic curves

mult V f, where the sum ranges over prime divisor V X. We say that two divisors D 1 and D 2 are linearly equivalent, denoted by sending

Cluster varieties for tree-shaped quivers and their cohomology

Constructing genus 2 curves over finite fields

14 Ordinary and supersingular elliptic curves

ON THE GRAPH ATTACHED TO TRUNCATED BIG WITT VECTORS

Elliptic Curves Spring 2019 Problem Set #7 Due: 04/08/2019

FAKE PROJECTIVE SPACES AND FAKE TORI

MA 162B LECTURE NOTES: THURSDAY, FEBRUARY 26

FORMAL GROUPS OF CERTAIN Q-CURVES OVER QUADRATIC FIELDS

Rational Points on Curves in Practice. Michael Stoll Universität Bayreuth Journées Algophantiennes Bordelaises Université de Bordeaux June 8, 2017

THE ZETA FUNCTIONS OF THE FANO SURFACES OF CUBIC THREEFOLDS

Notes on p-divisible Groups

HOME ASSIGNMENT: ELLIPTIC CURVES OVER FINITE FIELDS

where m is the maximal ideal of O X,p. Note that m/m 2 is a vector space. Suppose that we are given a morphism

Counting points on genus 2 curves over finite

Counting Points on C ab Curves using Monsky-Washnitzer Cohomology

Inseparable local uniformization. Conference on valuation theory, El Escorial

Isogeny graphs, modular polynomials, and point counting for higher genus curves

A p-adic GEOMETRIC LANGLANDS CORRESPONDENCE FOR GL 1

Homological Mirror Symmetry and VGIT

1. Motivation: search for a p-adic cohomology theory

Hodge structures from differential equations

Transcription:

A survey of p-adic approaches to zeta functions (plus a new approach) Kiran S. Kedlaya Department of Mathematics, University of California, San Diego kedlaya@ucsd.edu http://math.ucsd.edu/~kedlaya/slides/ GeoCrypt 2013: Geometry and Cryptography Université de la Polynésie Française, Tahiti, October 11, 2013 The new approach material is joint work in progress with David Harvey (University of New South Wales) and Edgar Costa (New York University). Supported by NSF (grant DMS-1101343), UCSD (Warschawski chair). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 1 / 37

Contents 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 2 / 37

Contents Generalities of zeta functions 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 3 / 37

Generalities of zeta functions Zeta functions (after Weil) Let X be a scheme of finite type over Z. Its zeta function is the formal Dirichlet series Z(X, s) = x X (1 #κ(x) s ) 1 where X is the set of closed points of X and κ(x) is the residue field of x X. For example, if X = Spec Z, then Z(X, s) is the Riemann zeta function ζ(s) = (1 p s ) 1 = n s. p It is expected that Z(X, s) has various nice properties, some of which are very deep open problems (analytic continuation, functional equation, analogue of the Riemann hypothesis, automorphicity, functoriality...). n=1 Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 4 / 37

The Weil conjectures Generalities of zeta functions From now on, let X be an algebraic variety over F q. The following facts are known (by Dwork, Grothendieck, Deligne, et al.): We have ( ) T i Z(X, T ) = exp #X (F i q i ), T = q s. i=1 Z(X, T ) Z T represents a rational function of T. Assume from now on that X is smooth proper of dimension n. Then Z(X, T ) = 2n i=0 P i (X, T ) ( 1)i+1 = P 1(X, T ) P 2n 1 (X, T ) P 0 (X, T ) P 2n (X, T ) for some P i (X, T ) 1 + T Z[T ] with C-roots of norm q i/2. Also, P 2n i (X, q n T 1 ) = ±q T P i (X, T ). If X lifts to characteristic 0, the i-th Betti number of the lift is deg P i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 5 / 37

The Weil conjectures Generalities of zeta functions From now on, let X be an algebraic variety over F q. The following facts are known (by Dwork, Grothendieck, Deligne, et al.): We have ( ) T i Z(X, T ) = exp #X (F i q i ), T = q s. i=1 Z(X, T ) Z T represents a rational function of T. Assume from now on that X is smooth proper of dimension n. Then Z(X, T ) = 2n i=0 P i (X, T ) ( 1)i+1 = P 1(X, T ) P 2n 1 (X, T ) P 0 (X, T ) P 2n (X, T ) for some P i (X, T ) 1 + T Z[T ] with C-roots of norm q i/2. Also, P 2n i (X, q n T 1 ) = ±q T P i (X, T ). If X lifts to characteristic 0, the i-th Betti number of the lift is deg P i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 5 / 37

The Weil conjectures Generalities of zeta functions From now on, let X be an algebraic variety over F q. The following facts are known (by Dwork, Grothendieck, Deligne, et al.): We have ( ) T i Z(X, T ) = exp #X (F i q i ), T = q s. i=1 Z(X, T ) Z T represents a rational function of T. Assume from now on that X is smooth proper of dimension n. Then Z(X, T ) = 2n i=0 P i (X, T ) ( 1)i+1 = P 1(X, T ) P 2n 1 (X, T ) P 0 (X, T ) P 2n (X, T ) for some P i (X, T ) 1 + T Z[T ] with C-roots of norm q i/2. Also, P 2n i (X, q n T 1 ) = ±q T P i (X, T ). If X lifts to characteristic 0, the i-th Betti number of the lift is deg P i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 5 / 37

The Weil conjectures Generalities of zeta functions From now on, let X be an algebraic variety over F q. The following facts are known (by Dwork, Grothendieck, Deligne, et al.): We have ( ) T i Z(X, T ) = exp #X (F i q i ), T = q s. i=1 Z(X, T ) Z T represents a rational function of T. Assume from now on that X is smooth proper of dimension n. Then Z(X, T ) = 2n i=0 P i (X, T ) ( 1)i+1 = P 1(X, T ) P 2n 1 (X, T ) P 0 (X, T ) P 2n (X, T ) for some P i (X, T ) 1 + T Z[T ] with C-roots of norm q i/2. Also, P 2n i (X, q n T 1 ) = ±q T P i (X, T ). If X lifts to characteristic 0, the i-th Betti number of the lift is deg P i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 5 / 37

The Weil conjectures Generalities of zeta functions From now on, let X be an algebraic variety over F q. The following facts are known (by Dwork, Grothendieck, Deligne, et al.): We have ( ) T i Z(X, T ) = exp #X (F i q i ), T = q s. i=1 Z(X, T ) Z T represents a rational function of T. Assume from now on that X is smooth proper of dimension n. Then Z(X, T ) = 2n i=0 P i (X, T ) ( 1)i+1 = P 1(X, T ) P 2n 1 (X, T ) P 0 (X, T ) P 2n (X, T ) for some P i (X, T ) 1 + T Z[T ] with C-roots of norm q i/2. Also, P 2n i (X, q n T 1 ) = ±q T P i (X, T ). If X lifts to characteristic 0, the i-th Betti number of the lift is deg P i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 5 / 37

Generalities of zeta functions Zeta functions and Jacobians of curves If X is a (smooth, projective, geometrically irreducible) curve of genus g over F q, we have P 1 (X, T ) Z(X, T ) = (1 T )(1 qt ) for some P 1 (X, T ) 1 + T Z[T ] of degree 2g with C-roots of norm q 1/2 and satisfying P 1 (X, qt 1 ) = q g T 2g P 1 (X, T ). We may associate to X its Jacobian abelian variety J, whose F q -points comprise the class (Picard) group of X. Then P i (J, T ) = i P1 (X, T ) (i = 0,..., 2g); in particular, #J(F q ) = P 1 (X, 1). This order is relevant if one wishes to use the discrete logarithm problem in J(F q ) for cryptography. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 6 / 37

Generalities of zeta functions Zeta functions and Jacobians of curves If X is a (smooth, projective, geometrically irreducible) curve of genus g over F q, we have P 1 (X, T ) Z(X, T ) = (1 T )(1 qt ) for some P 1 (X, T ) 1 + T Z[T ] of degree 2g with C-roots of norm q 1/2 and satisfying P 1 (X, qt 1 ) = q g T 2g P 1 (X, T ). We may associate to X its Jacobian abelian variety J, whose F q -points comprise the class (Picard) group of X. Then P i (J, T ) = i P1 (X, T ) (i = 0,..., 2g); in particular, #J(F q ) = P 1 (X, 1). This order is relevant if one wishes to use the discrete logarithm problem in J(F q ) for cryptography. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 6 / 37

Generalities of zeta functions The Lefschetz hyperplane theorem In the examples we will consider, X will be not just proper but also projective. In this case, for H a hyperplane section, P i (X, T ) = P i (H, T ) (i = 0,..., n 1). In practice, this will mean that we need only compute P n (X, T ). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 7 / 37

Contents The zeta function problem, and p-adic approaches 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 8 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches The zeta function problem Given X in an explicit form (i.e., defining equations), one would like an efficient algorithm to compute Z(X, T ). What would this tell us? Orders of Jacobians (e.g., for cryptography) Picard numbers (e.g., of K3 surfaces) Special values of L-functions Matching algebraic and automorphic L-functions (effective Langlands correspondence) Sato-Tate distributions Arithmetic aspects of mirror symmetry... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 9 / 37

The zeta function problem, and p-adic approaches Cohomology and zeta functions Given X in an explicit form, one would like to compute Z(X, T ). In principle, this is a finite computation once one bounds the degree of the rational function, but we want a computation which is feasible for interesting-sized examples, which the trivial computation (enumerating points over F q, F q 2,... ) usually is not! Alternative: interpret P i (X, T ) as the (reciprocal) characteristic polynomial of a linear transformation on étale cohomology. This only rarely yields a feasible computation, e.g., genus 1 curves (Schoof, Elkies, Atkin, et al.), genus 2 curves with real multiplication (Gaudry Kohel Smith), and (just barely) genus 2 curves (Gaudry Schost). Another alternative: use p-adic analogues of étale cohomology. These yield many more feasible computations, but generally only in small characteristic. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 10 / 37

The zeta function problem, and p-adic approaches Cohomology and zeta functions Given X in an explicit form, one would like to compute Z(X, T ). In principle, this is a finite computation once one bounds the degree of the rational function, but we want a computation which is feasible for interesting-sized examples, which the trivial computation (enumerating points over F q, F q 2,... ) usually is not! Alternative: interpret P i (X, T ) as the (reciprocal) characteristic polynomial of a linear transformation on étale cohomology. This only rarely yields a feasible computation, e.g., genus 1 curves (Schoof, Elkies, Atkin, et al.), genus 2 curves with real multiplication (Gaudry Kohel Smith), and (just barely) genus 2 curves (Gaudry Schost). Another alternative: use p-adic analogues of étale cohomology. These yield many more feasible computations, but generally only in small characteristic. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 10 / 37

The zeta function problem, and p-adic approaches Cohomology and zeta functions Given X in an explicit form, one would like to compute Z(X, T ). In principle, this is a finite computation once one bounds the degree of the rational function, but we want a computation which is feasible for interesting-sized examples, which the trivial computation (enumerating points over F q, F q 2,... ) usually is not! Alternative: interpret P i (X, T ) as the (reciprocal) characteristic polynomial of a linear transformation on étale cohomology. This only rarely yields a feasible computation, e.g., genus 1 curves (Schoof, Elkies, Atkin, et al.), genus 2 curves with real multiplication (Gaudry Kohel Smith), and (just barely) genus 2 curves (Gaudry Schost). Another alternative: use p-adic analogues of étale cohomology. These yield many more feasible computations, but generally only in small characteristic. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 10 / 37

The zeta function problem, and p-adic approaches Sufficient p-adic precision Write q = p a with p prime. Suppose deg P i (X, T ) is known for some i. Thanks to the bound on roots, for some explicitly computable value of N, knowledge of the coefficients of P i (X, T ) modulo p N determines them exactly. That is, we may compute P i (X, T ) by computing it as a p-adic polynomial to sufficient precision, or by identifying it as the reciprocal characteristic polynomial of a p-adic matrix computed to sufficient precision. In practice, even small reductions of the sufficient precision can translate into meaningful improvements in feasibility. Sample techniques: Work in terms of power sums of roots rather than elementary symmetric functions. Account for factors of p in matrix entries via Newton above Hodge. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 11 / 37

The zeta function problem, and p-adic approaches Sufficient p-adic precision Write q = p a with p prime. Suppose deg P i (X, T ) is known for some i. Thanks to the bound on roots, for some explicitly computable value of N, knowledge of the coefficients of P i (X, T ) modulo p N determines them exactly. That is, we may compute P i (X, T ) by computing it as a p-adic polynomial to sufficient precision, or by identifying it as the reciprocal characteristic polynomial of a p-adic matrix computed to sufficient precision. In practice, even small reductions of the sufficient precision can translate into meaningful improvements in feasibility. Sample techniques: Work in terms of power sums of roots rather than elementary symmetric functions. Account for factors of p in matrix entries via Newton above Hodge. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 11 / 37

The zeta function problem, and p-adic approaches Sufficient p-adic precision Write q = p a with p prime. Suppose deg P i (X, T ) is known for some i. Thanks to the bound on roots, for some explicitly computable value of N, knowledge of the coefficients of P i (X, T ) modulo p N determines them exactly. That is, we may compute P i (X, T ) by computing it as a p-adic polynomial to sufficient precision, or by identifying it as the reciprocal characteristic polynomial of a p-adic matrix computed to sufficient precision. In practice, even small reductions of the sufficient precision can translate into meaningful improvements in feasibility. Sample techniques: Work in terms of power sums of roots rather than elementary symmetric functions. Account for factors of p in matrix entries via Newton above Hodge. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 11 / 37

The zeta function problem, and p-adic approaches Sufficient p-adic precision Write q = p a with p prime. Suppose deg P i (X, T ) is known for some i. Thanks to the bound on roots, for some explicitly computable value of N, knowledge of the coefficients of P i (X, T ) modulo p N determines them exactly. That is, we may compute P i (X, T ) by computing it as a p-adic polynomial to sufficient precision, or by identifying it as the reciprocal characteristic polynomial of a p-adic matrix computed to sufficient precision. In practice, even small reductions of the sufficient precision can translate into meaningful improvements in feasibility. Sample techniques: Work in terms of power sums of roots rather than elementary symmetric functions. Account for factors of p in matrix entries via Newton above Hodge. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 11 / 37

Contents General algorithms 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 12 / 37

General algorithms Dwork s proof of rationality Dwork s proof of rationality of Z(X, T ) treats the case where X is a hypersurface in affine space. This suffices by multiplicativity: if U X is open, Z(X, T ) = Z(U, T )Z(X U, T ). To handle the special case, Dwork writes down a linear transformation on a Q p -vector space whose characteristic series computes Z(X, T ). This vector space is infinite dimensional but the linear transformation is compact, so it can be approximated by finite rank operators. By explicitly approximating Dwork s formula, Lauder and Wan obtained an algorithm for computing Z(X, T ). If X is of degree d and fixed dimension over F q with q = p a, this runs in time poly(p, d, a). Unfortunately, the implied exponents and constants seem to make this algorithm infeasible, even for curves. Harvey is working on a variant modeled on Hasse-Witt matrices, but this does not appear feasible either. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 13 / 37

General algorithms Dwork s proof of rationality Dwork s proof of rationality of Z(X, T ) treats the case where X is a hypersurface in affine space. This suffices by multiplicativity: if U X is open, Z(X, T ) = Z(U, T )Z(X U, T ). To handle the special case, Dwork writes down a linear transformation on a Q p -vector space whose characteristic series computes Z(X, T ). This vector space is infinite dimensional but the linear transformation is compact, so it can be approximated by finite rank operators. By explicitly approximating Dwork s formula, Lauder and Wan obtained an algorithm for computing Z(X, T ). If X is of degree d and fixed dimension over F q with q = p a, this runs in time poly(p, d, a). Unfortunately, the implied exponents and constants seem to make this algorithm infeasible, even for curves. Harvey is working on a variant modeled on Hasse-Witt matrices, but this does not appear feasible either. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 13 / 37

General algorithms Dwork s proof of rationality Dwork s proof of rationality of Z(X, T ) treats the case where X is a hypersurface in affine space. This suffices by multiplicativity: if U X is open, Z(X, T ) = Z(U, T )Z(X U, T ). To handle the special case, Dwork writes down a linear transformation on a Q p -vector space whose characteristic series computes Z(X, T ). This vector space is infinite dimensional but the linear transformation is compact, so it can be approximated by finite rank operators. By explicitly approximating Dwork s formula, Lauder and Wan obtained an algorithm for computing Z(X, T ). If X is of degree d and fixed dimension over F q with q = p a, this runs in time poly(p, d, a). Unfortunately, the implied exponents and constants seem to make this algorithm infeasible, even for curves. Harvey is working on a variant modeled on Hasse-Witt matrices, but this does not appear feasible either. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 13 / 37

Contents Algorithms for curves 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 14 / 37

Canonical liftings Algorithms for curves Let X be an elliptic curve over F q with q = p a. If X is supersingular then there are few possibilities for Z(X, T ) and they are easily distinguishable. If X is ordinary, it admits a unique lift X to Q q (the unramified extension of Q p with residue field F q ) with the same endomorphisms. Satoh (in characteristic > 2) and Fouquet Gaudry Harley (in characteristic 2) described a quadratically convergent iteration to compute X and the lift of absolute Frobenius. One can then read off Z(X, T ) as the characteristic polynomial of the q-power Frobenius. For fixed p, this algorithm is cubic in a (whereas Schoof Elkies Atkin is quartic in a). This has been executed for q = 2 8009 (FGH, 2000). Unfortunately, this does not generalize well to hyperelliptic curves: the canonical lifting of the Jacobian exists but may not itself be a Jacobian. (Genus 2 might still be doable.) Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 15 / 37

Canonical liftings Algorithms for curves Let X be an elliptic curve over F q with q = p a. If X is supersingular then there are few possibilities for Z(X, T ) and they are easily distinguishable. If X is ordinary, it admits a unique lift X to Q q (the unramified extension of Q p with residue field F q ) with the same endomorphisms. Satoh (in characteristic > 2) and Fouquet Gaudry Harley (in characteristic 2) described a quadratically convergent iteration to compute X and the lift of absolute Frobenius. One can then read off Z(X, T ) as the characteristic polynomial of the q-power Frobenius. For fixed p, this algorithm is cubic in a (whereas Schoof Elkies Atkin is quartic in a). This has been executed for q = 2 8009 (FGH, 2000). Unfortunately, this does not generalize well to hyperelliptic curves: the canonical lifting of the Jacobian exists but may not itself be a Jacobian. (Genus 2 might still be doable.) Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 15 / 37

Canonical liftings Algorithms for curves Let X be an elliptic curve over F q with q = p a. If X is supersingular then there are few possibilities for Z(X, T ) and they are easily distinguishable. If X is ordinary, it admits a unique lift X to Q q (the unramified extension of Q p with residue field F q ) with the same endomorphisms. Satoh (in characteristic > 2) and Fouquet Gaudry Harley (in characteristic 2) described a quadratically convergent iteration to compute X and the lift of absolute Frobenius. One can then read off Z(X, T ) as the characteristic polynomial of the q-power Frobenius. For fixed p, this algorithm is cubic in a (whereas Schoof Elkies Atkin is quartic in a). This has been executed for q = 2 8009 (FGH, 2000). Unfortunately, this does not generalize well to hyperelliptic curves: the canonical lifting of the Jacobian exists but may not itself be a Jacobian. (Genus 2 might still be doable.) Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 15 / 37

Canonical liftings Algorithms for curves Let X be an elliptic curve over F q with q = p a. If X is supersingular then there are few possibilities for Z(X, T ) and they are easily distinguishable. If X is ordinary, it admits a unique lift X to Q q (the unramified extension of Q p with residue field F q ) with the same endomorphisms. Satoh (in characteristic > 2) and Fouquet Gaudry Harley (in characteristic 2) described a quadratically convergent iteration to compute X and the lift of absolute Frobenius. One can then read off Z(X, T ) as the characteristic polynomial of the q-power Frobenius. For fixed p, this algorithm is cubic in a (whereas Schoof Elkies Atkin is quartic in a). This has been executed for q = 2 8009 (FGH, 2000). Unfortunately, this does not generalize well to hyperelliptic curves: the canonical lifting of the Jacobian exists but may not itself be a Jacobian. (Genus 2 might still be doable.) Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 15 / 37

Mestre s AGM iteration Algorithms for curves Over R, the arithmetic-geometric mean iteration ( x + y (x, y), ) xy 2 converges and computes elliptic integrals. Let X be an ordinary elliptic curve over F q with q = 2 a. Using a 2-adic analogue of the AGM iteration, Mestre obtains a quadratically convergent iteration computing the unit root of the characteristic polynomial of Frobenius. This algorithm is quadratic in a and runs very well in practice. There are variants for p > 2 (Kohel) but these are less tested in practice. A similar algorithm exists for ordinary hyperelliptic curves. There is exponential dependence on g, but g = 2, 3 are (probably) feasible. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 16 / 37

Mestre s AGM iteration Algorithms for curves Over R, the arithmetic-geometric mean iteration ( x + y (x, y), ) xy 2 converges and computes elliptic integrals. Let X be an ordinary elliptic curve over F q with q = 2 a. Using a 2-adic analogue of the AGM iteration, Mestre obtains a quadratically convergent iteration computing the unit root of the characteristic polynomial of Frobenius. This algorithm is quadratic in a and runs very well in practice. There are variants for p > 2 (Kohel) but these are less tested in practice. A similar algorithm exists for ordinary hyperelliptic curves. There is exponential dependence on g, but g = 2, 3 are (probably) feasible. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 16 / 37

Mestre s AGM iteration Algorithms for curves Over R, the arithmetic-geometric mean iteration ( x + y (x, y), ) xy 2 converges and computes elliptic integrals. Let X be an ordinary elliptic curve over F q with q = 2 a. Using a 2-adic analogue of the AGM iteration, Mestre obtains a quadratically convergent iteration computing the unit root of the characteristic polynomial of Frobenius. This algorithm is quadratic in a and runs very well in practice. There are variants for p > 2 (Kohel) but these are less tested in practice. A similar algorithm exists for ordinary hyperelliptic curves. There is exponential dependence on g, but g = 2, 3 are (probably) feasible. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 16 / 37

Mestre s AGM iteration Algorithms for curves Over R, the arithmetic-geometric mean iteration ( x + y (x, y), ) xy 2 converges and computes elliptic integrals. Let X be an ordinary elliptic curve over F q with q = 2 a. Using a 2-adic analogue of the AGM iteration, Mestre obtains a quadratically convergent iteration computing the unit root of the characteristic polynomial of Frobenius. This algorithm is quadratic in a and runs very well in practice. There are variants for p > 2 (Kohel) but these are less tested in practice. A similar algorithm exists for ordinary hyperelliptic curves. There is exponential dependence on g, but g = 2, 3 are (probably) feasible. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 16 / 37

Algorithms for curves Kedlaya s cohomological method and Harvey s variant For X a hyperelliptic curve of genus g (with p > 2 and having a rational Weierstrass point), Kedlaya (2001) described an algorithm for computing Z(X, T ) by realizing P 1 (X, T ) as the characteristic polynomial of Frobenius on Monsky-Washnitzer cohomology of the affine curve obtained by removing the Weierstrass points. This runs in time (pg 4 a 3 ) 1+ɛ and is feasible, both for small p and large g (e.g., p = 3, g = 100) and for large p and small g (e.g., p 2 16, g = 2). One can remove the restrictions on p (Denef-Vercauteren) and the rational Weierstrass point (Harrison). Harvey described a variant of this algorithm that improves the dependence on p to p 1/2+ɛ (with some worsening in the other exponents). This is feasible for even larger p and small g (e.g., p 2 32, g = 3). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 17 / 37

Algorithms for curves Kedlaya s cohomological method and Harvey s variant For X a hyperelliptic curve of genus g (with p > 2 and having a rational Weierstrass point), Kedlaya (2001) described an algorithm for computing Z(X, T ) by realizing P 1 (X, T ) as the characteristic polynomial of Frobenius on Monsky-Washnitzer cohomology of the affine curve obtained by removing the Weierstrass points. This runs in time (pg 4 a 3 ) 1+ɛ and is feasible, both for small p and large g (e.g., p = 3, g = 100) and for large p and small g (e.g., p 2 16, g = 2). One can remove the restrictions on p (Denef-Vercauteren) and the rational Weierstrass point (Harrison). Harvey described a variant of this algorithm that improves the dependence on p to p 1/2+ɛ (with some worsening in the other exponents). This is feasible for even larger p and small g (e.g., p 2 32, g = 3). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 17 / 37

Algorithms for curves Kedlaya s cohomological method and Harvey s variant For X a hyperelliptic curve of genus g (with p > 2 and having a rational Weierstrass point), Kedlaya (2001) described an algorithm for computing Z(X, T ) by realizing P 1 (X, T ) as the characteristic polynomial of Frobenius on Monsky-Washnitzer cohomology of the affine curve obtained by removing the Weierstrass points. This runs in time (pg 4 a 3 ) 1+ɛ and is feasible, both for small p and large g (e.g., p = 3, g = 100) and for large p and small g (e.g., p 2 16, g = 2). One can remove the restrictions on p (Denef-Vercauteren) and the rational Weierstrass point (Harrison). Harvey described a variant of this algorithm that improves the dependence on p to p 1/2+ɛ (with some worsening in the other exponents). This is feasible for even larger p and small g (e.g., p 2 32, g = 3). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 17 / 37

Deformation methods Algorithms for curves Lauder proposed a general class of p-adic cohomological algorithms which involve the computation of a Frobenius action not on a single cohomology, but on a family of cohomology groups coming from a one-parameter family of varieties. This was used by Hubrechts to reduce the space complexity of computing Z(X, T ) for hyperelliptic curves. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 18 / 37

Deformation methods Algorithms for curves Lauder proposed a general class of p-adic cohomological algorithms which involve the computation of a Frobenius action not on a single cohomology, but on a family of cohomology groups coming from a one-parameter family of varieties. This was used by Hubrechts to reduce the space complexity of computing Z(X, T ) for hyperelliptic curves. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 18 / 37

Algorithms for curves Extensions of Kedlaya s algorithm The computation of Frobenius actions on Monsky-Washnitzer cohomology can be generlaized to superelliptic curves (Gaudry Gürel), C a,b -curves (Denef Vercauteren), nondegenerate curves (Castryck Denef Vercauteren), all curves (Tuitman). An alternate approach, which may be more practical in the general case, uses the cup product duality (Besser de Jeu Escriva). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 19 / 37

Algorithms for curves Some improvements for hyperelliptic curves For a hyperelliptic curve over Q, Harvey described a method for amortizing the computation of zeta functions over F p for all p x, to get average polynomial time (i.e., time poly(log(p), a, g) per prime). This incorporates an idea of Gerbicz from the context of computing Wilson quotients (i.e., (p 1)! mod p 2 ) using balanced remainder trees. This has been implemented by Harvey and Sutherland in genus 1, 2 and outperforms all existing implementations (Pari, Magma, Smalljac). This technique should apply to many other cohomological methods, e.g., deformation methods (Harvey Tuitman). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 20 / 37

Algorithms for curves Some improvements for hyperelliptic curves For a hyperelliptic curve over Q, Harvey described a method for amortizing the computation of zeta functions over F p for all p x, to get average polynomial time (i.e., time poly(log(p), a, g) per prime). This incorporates an idea of Gerbicz from the context of computing Wilson quotients (i.e., (p 1)! mod p 2 ) using balanced remainder trees. This has been implemented by Harvey and Sutherland in genus 1, 2 and outperforms all existing implementations (Pari, Magma, Smalljac). This technique should apply to many other cohomological methods, e.g., deformation methods (Harvey Tuitman). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 20 / 37

Algorithms for curves Some improvements for hyperelliptic curves For a hyperelliptic curve over Q, Harvey described a method for amortizing the computation of zeta functions over F p for all p x, to get average polynomial time (i.e., time poly(log(p), a, g) per prime). This incorporates an idea of Gerbicz from the context of computing Wilson quotients (i.e., (p 1)! mod p 2 ) using balanced remainder trees. This has been implemented by Harvey and Sutherland in genus 1, 2 and outperforms all existing implementations (Pari, Magma, Smalljac). This technique should apply to many other cohomological methods, e.g., deformation methods (Harvey Tuitman). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 20 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Contents 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 21 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Projective hypersurfaces For smooth projective hypersurfaces, Abbott Kedlaya Roe described an algorithm for computing Z(X, T ) by working in the affine complement; we will see this trick again later. Unfortunately, the dependence on p goes like p n for n = dim(x ). The analogue of Castryck Denef Vercauteren behaves similarly. Some alternatives that alleviate the dependence on p are Lauder s deformation method and fibration method. However, these seem to be feasible (so far) only for sparse polynomials (Pancratz Tuitman). Also available (and maybe feasible?) for sparse polynomials is Sperber Voight, based on Dwork cohomology. Hereafter, we describe a variant of AKR which has good (namely linear) dependence on p, can handle dense polynomials, and is feasible (shown by example!). One tradeoff is that we restrict the class of projective hypersurfaces slightly, but as a bonus we pick up many more examples. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 22 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Projective hypersurfaces For smooth projective hypersurfaces, Abbott Kedlaya Roe described an algorithm for computing Z(X, T ) by working in the affine complement; we will see this trick again later. Unfortunately, the dependence on p goes like p n for n = dim(x ). The analogue of Castryck Denef Vercauteren behaves similarly. Some alternatives that alleviate the dependence on p are Lauder s deformation method and fibration method. However, these seem to be feasible (so far) only for sparse polynomials (Pancratz Tuitman). Also available (and maybe feasible?) for sparse polynomials is Sperber Voight, based on Dwork cohomology. Hereafter, we describe a variant of AKR which has good (namely linear) dependence on p, can handle dense polynomials, and is feasible (shown by example!). One tradeoff is that we restrict the class of projective hypersurfaces slightly, but as a bonus we pick up many more examples. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 22 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Projective hypersurfaces For smooth projective hypersurfaces, Abbott Kedlaya Roe described an algorithm for computing Z(X, T ) by working in the affine complement; we will see this trick again later. Unfortunately, the dependence on p goes like p n for n = dim(x ). The analogue of Castryck Denef Vercauteren behaves similarly. Some alternatives that alleviate the dependence on p are Lauder s deformation method and fibration method. However, these seem to be feasible (so far) only for sparse polynomials (Pancratz Tuitman). Also available (and maybe feasible?) for sparse polynomials is Sperber Voight, based on Dwork cohomology. Hereafter, we describe a variant of AKR which has good (namely linear) dependence on p, can handle dense polynomials, and is feasible (shown by example!). One tradeoff is that we restrict the class of projective hypersurfaces slightly, but as a bonus we pick up many more examples. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 22 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Projective hypersurfaces For smooth projective hypersurfaces, Abbott Kedlaya Roe described an algorithm for computing Z(X, T ) by working in the affine complement; we will see this trick again later. Unfortunately, the dependence on p goes like p n for n = dim(x ). The analogue of Castryck Denef Vercauteren behaves similarly. Some alternatives that alleviate the dependence on p are Lauder s deformation method and fibration method. However, these seem to be feasible (so far) only for sparse polynomials (Pancratz Tuitman). Also available (and maybe feasible?) for sparse polynomials is Sperber Voight, based on Dwork cohomology. Hereafter, we describe a variant of AKR which has good (namely linear) dependence on p, can handle dense polynomials, and is feasible (shown by example!). One tradeoff is that we restrict the class of projective hypersurfaces slightly, but as a bonus we pick up many more examples. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 22 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Lattices and differentials Let R be a ring. Let L be a lattice of rank n. Let L := Hom Z (L, Z) denote the dual lattice. Let R[L] denote the monoid algebra. Concretely, if we fix a basis e 1,..., e n of L, we obtain an isomorphism R[L] = R[x ± 1,..., x ± n ], [e i ] x i. Each λ L defines a derivation λ on R[L] via the formula λ ([v]) = λ(v)[v] (v L); these satisfy λ1 +λ 2 = λ1 + λ2. With a basis as above, for e 1,..., e n L the dual basis, e i = x i x i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 23 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Lattices and differentials Let R be a ring. Let L be a lattice of rank n. Let L := Hom Z (L, Z) denote the dual lattice. Let R[L] denote the monoid algebra. Concretely, if we fix a basis e 1,..., e n of L, we obtain an isomorphism R[L] = R[x ± 1,..., x ± n ], [e i ] x i. Each λ L defines a derivation λ on R[L] via the formula λ ([v]) = λ(v)[v] (v L); these satisfy λ1 +λ 2 = λ1 + λ2. With a basis as above, for e 1,..., e n L the dual basis, e i = x i x i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 23 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Lattices and differentials Let R be a ring. Let L be a lattice of rank n. Let L := Hom Z (L, Z) denote the dual lattice. Let R[L] denote the monoid algebra. Concretely, if we fix a basis e 1,..., e n of L, we obtain an isomorphism R[L] = R[x ± 1,..., x ± n ], [e i ] x i. Each λ L defines a derivation λ on R[L] via the formula λ ([v]) = λ(v)[v] (v L); these satisfy λ1 +λ 2 = λ1 + λ2. With a basis as above, for e 1,..., e n L the dual basis, e i = x i x i. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 23 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Polytopes and projective toric varieties Let be a convex lattice polytope of full dimension in L R := L Z R, i.e., the convex hull of a finite subset of L not contained in any hyperplane. The cone over this polytope is then a fan defining a (polarized) projective toric variety over R. In simple cases, this can be computed as X := Proj P, P := P d, P d := R[d L] d=0 but in bad cases (e.g., for = Conv(0, e 1, e 2, e 1 + e 2 + 3e 3 )) one must take P to be Cox s homogeneous coordinate ring. For example, for the simplex with vertices 0, e 1,..., e n, we get projective space with its usual O(1). We similarly get weighted projective spaces, products, toric blowups, etc. Replacing by d preserves X but replaces the polarization by its d-th power. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 24 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Polytopes and projective toric varieties Let be a convex lattice polytope of full dimension in L R := L Z R, i.e., the convex hull of a finite subset of L not contained in any hyperplane. The cone over this polytope is then a fan defining a (polarized) projective toric variety over R. In simple cases, this can be computed as X := Proj P, P := P d, P d := R[d L] d=0 but in bad cases (e.g., for = Conv(0, e 1, e 2, e 1 + e 2 + 3e 3 )) one must take P to be Cox s homogeneous coordinate ring. For example, for the simplex with vertices 0, e 1,..., e n, we get projective space with its usual O(1). We similarly get weighted projective spaces, products, toric blowups, etc. Replacing by d preserves X but replaces the polarization by its d-th power. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 24 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Nondegeneracy We say f P d is nondegenerate if the hypersurface Z f := Proj P/(f ) cut out by f has transversal intersection with each torus in the natural stratification of X. In particular, this is required for the zero-dimensional strata, so f must have Newton polytope d. It is equivalent to require that the toric Jacobian ideal I f = (f, δ λ (f ) : λ L ) is irrelevant, that is, the toric Jacobian ring J f := P/I f is module-finite over R. This condition is generic for nice P. Note: if f is nondegenerate, then Z f is no more singular than X. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 25 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Nondegeneracy We say f P d is nondegenerate if the hypersurface Z f := Proj P/(f ) cut out by f has transversal intersection with each torus in the natural stratification of X. In particular, this is required for the zero-dimensional strata, so f must have Newton polytope d. It is equivalent to require that the toric Jacobian ideal I f = (f, δ λ (f ) : λ L ) is irrelevant, that is, the toric Jacobian ring J f := P/I f is module-finite over R. This condition is generic for nice P. Note: if f is nondegenerate, then Z f is no more singular than X. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 25 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Nondegeneracy We say f P d is nondegenerate if the hypersurface Z f := Proj P/(f ) cut out by f has transversal intersection with each torus in the natural stratification of X. In particular, this is required for the zero-dimensional strata, so f must have Newton polytope d. It is equivalent to require that the toric Jacobian ideal I f = (f, δ λ (f ) : λ L ) is irrelevant, that is, the toric Jacobian ring J f := P/I f is module-finite over R. This condition is generic for nice P. Note: if f is nondegenerate, then Z f is no more singular than X. Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 25 / 37

Beyond hyperelliptic curves: nondegenerate toric hypesurfaces Some examples of nondegenerate hypersurfaces n Vertices of Resulting hypersurface 2 0, de 1, de 2 Smooth plane curve of genus ( ) d 1 2 2 0, (2g + 1)e 1, e 2 Odd hyperelliptic curve of genus g 2 0, ae 1, be 2 C a,b -curve 2 0, (g + 1)e 1, 2e 2, (g + 1)e 1 + 2e 2 Even hyperelliptic curve of genus g 3 0, 4e 1, 4e 2, 4e 3 Quartic K3 surface 4 0, 5e 1,..., 5e 5 Quintic Calabi-Yau threefold Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 26 / 37

Contents Controlled reduction in p-adic cohomology 1 Generalities of zeta functions 2 The zeta function problem, and p-adic approaches 3 General algorithms 4 Algorithms for curves 5 Beyond hyperelliptic curves: nondegenerate toric hypesurfaces 6 Controlled reduction in p-adic cohomology Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 27 / 37

Controlled reduction in p-adic cohomology Monsky-Washnitzer cohomology From now on, work over R = Z q and take f P 1 nondegenerate. (If f P d for d > 0, we may replace with d and then proceed.) Put U f := X \ Z f ; this is an affine scheme with coordinate ring S = f m P m. m=0 The weak completion S of S consists of infinite series m=0 g mf m with g m P m such that for some a, b > 0 (depending on the series), v p (g m ) am b (m 0). The Monsky-Washnitzer cohomology of U Fq (continuous) de Rham complex Ω S [p 1 ]/Q q. is the cohomology of the Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 28 / 37

Controlled reduction in p-adic cohomology Monsky-Washnitzer cohomology From now on, work over R = Z q and take f P 1 nondegenerate. (If f P d for d > 0, we may replace with d and then proceed.) Put U f := X \ Z f ; this is an affine scheme with coordinate ring S = f m P m. m=0 The weak completion S of S consists of infinite series m=0 g mf m with g m P m such that for some a, b > 0 (depending on the series), v p (g m ) am b (m 0). The Monsky-Washnitzer cohomology of U Fq (continuous) de Rham complex Ω S [p 1 ]/Q q. is the cohomology of the Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 28 / 37

Controlled reduction in p-adic cohomology Action of Frobenius Define a (semilinear) endomorphism σ of S as the absolute Frobenius lift on R, the substitution [v] [v] p on monomials, and g m f m ( ) m σ(g m ) (σ(f ) f p ) i f p(m+i). i i=0 The induced (linear) action of σ a on MW cohomology computes Z(Z f, T ). More precisely, for H n := Ω n /d(ω n 1 ), we have Z(Z f, T ) = 1 (1 T )(1 qt ) (1 q n 1 T ) P f (T ) ( 1)n P f (T ) = det(1 q 1 T σ a, H n Zq Q q ). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 29 / 37

Controlled reduction in p-adic cohomology Action of Frobenius Define a (semilinear) endomorphism σ of S as the absolute Frobenius lift on R, the substitution [v] [v] p on monomials, and g m f m ( ) m σ(g m ) (σ(f ) f p ) i f p(m+i). i i=0 The induced (linear) action of σ a on MW cohomology computes Z(Z f, T ). More precisely, for H n := Ω n /d(ω n 1 ), we have Z(Z f, T ) = 1 (1 T )(1 qt ) (1 q n 1 T ) P f (T ) ( 1)n P f (T ) = det(1 q 1 T σ a, H n Zq Q q ). Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 29 / 37

Controlled reduction in p-adic cohomology Griffiths-Dwork reduction To compute the action of σ a on the finite-dimensional Q q -vector space H n Zq Q q, we choose a basis, apply σ a to each basis element, truncate the infinite sum somewhere, then reduce the result in cohomology. One way to do this is the Griffiths-Dwork reduction: for for g m P m, λ L we have ω = dlog[e 1 ] dlog[e n ], g m f f m+1 ω g m f m ω g m λ (f ) f m+1 ω 1 λ (g m ) ω (m > 0). m f m Using a theorem of Macaulay, we lower the pole order to n and then finish with explicit linear algebra. This recovers the AKR algorithm. Unfortunately, this involves dense polynomials of degree pn, and thus an unavoidable factor of p n in the runtime. But there is another way... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 30 / 37

Controlled reduction in p-adic cohomology Griffiths-Dwork reduction To compute the action of σ a on the finite-dimensional Q q -vector space H n Zq Q q, we choose a basis, apply σ a to each basis element, truncate the infinite sum somewhere, then reduce the result in cohomology. One way to do this is the Griffiths-Dwork reduction: for for g m P m, λ L we have ω = dlog[e 1 ] dlog[e n ], g m f f m+1 ω g m f m ω g m λ (f ) f m+1 ω 1 λ (g m ) ω (m > 0). m f m Using a theorem of Macaulay, we lower the pole order to n and then finish with explicit linear algebra. This recovers the AKR algorithm. Unfortunately, this involves dense polynomials of degree pn, and thus an unavoidable factor of p n in the runtime. But there is another way... Kiran S. Kedlaya (UCSD) p-adic approaches to zeta functions 30 / 37