Skip to main content
QUICK REVIEW

[Paper Review] Kedlaya's algorithm in larger characteristic

David Harvey|ArXiv.org|Oct 31, 2006
Digital Image Processing TechniquesComputer Science8 references10 citations
TL;DR

This paper presents an optimized version of Kedlaya's algorithm for computing the zeta function of hyperelliptic curves over finite fields, reducing the dependence of the running time on the characteristic $p$ from linear to $p^{1/2}$ by leveraging a baby-step/giant-step algorithm for solving linear recurrences with polynomial coefficients. The key innovation lies in a new series representation of differentials and improved recurrence-solving techniques, enabling faster computation of the $p$-adic Frobenius matrix.

ABSTRACT

We show that the linear dependence on $p$ of the running time of Kedlaya's point-counting algorithm in characteristic $p$ may be reduced to $p^{1/2}$.

Motivation & Objective

  • To reduce the $p$-dependence of Kedlaya’s algorithm from linear to $p^{1/2}$ in the running time for computing the Frobenius matrix in $p$-adic cohomology.
  • To enable more efficient computation of $p$-adic heights of points on elliptic curves, where $N$ (precision) is independent of $g$ and $n$.
  • To improve upon existing algorithms by achieving better asymptotic complexity in $p$, especially for large $p$ and fixed $g$, $N$, and $n$.
  • To provide a practical implementation in Sage that handles curves over large prime fields, including near-cryptographic sizes.

Proposed method

  • Replaces Kedlaya’s series approximation of Frobenius images with a new representation whose number of terms depends only on $g$ and $N$, not on $p$.
  • Applies a baby-step/giant-step algorithm based on Chudnovsky and Chudnovsky’s method to solve linear recurrences with polynomial coefficients, enabling batch reduction of cohomology relations.
  • Uses a modified version of the Chudnovsky algorithm due to Bostan, Gaudry, and Schost, which improves running time by a factor of $O(\log(pN))$.
  • Employs a reduction algorithm that uses cohomology relations to express Frobenius images as linear combinations of basis differentials, yielding the Frobenius matrix.
  • Performs all computations in the $p$-adic setting, computing entries to precision $p^N$, and uses the soft-oh notation $\widetilde{O}$ to absorb logarithmic factors.
  • Implements the algorithm in Sage, with optimized arithmetic using GMP and NTL, and validates performance on curves of genus 2, 3, and 4.

Experimental results

Research questions

  • RQ1Can the $p$-dependence of Kedlaya’s algorithm be reduced from $O(p)$ to $O(p^{1/2})$ while preserving correctness for hyperelliptic curves over $\mathbf{F}_p$?
  • RQ2How can the cohomology reduction step—where the Frobenius image of a differential is expressed in terms of a basis—be accelerated using recurrence structure?
  • RQ3What alternative series representation of differentials allows the number of terms to be independent of $p$, enabling sublinear $p$-dependence?
  • RQ4To what extent can the Chudnovsky baby-step/giant-step algorithm for solving recurrences be adapted and optimized for $p$-adic cohomology computations?
  • RQ5Can this improved algorithm compute zeta functions for curves over large prime fields (e.g., $p \sim 2^{50}$) with feasible time and memory usage?

Key findings

  • The running time for computing the $p$-adic Frobenius matrix to precision $p^N$ is $\widetilde{O}(p^{1/2}N^{5/2}g^{\omega}n + N^4g^4n\log p)$, reducing the $p$-dependence from linear to $p^{1/2}$.
  • For fixed $g$, $N$, and $n$, the running time is $\widetilde{O}(p^{1/2})$, making the algorithm superior to Kedlaya’s original for large $p$.
  • The algorithm successfully computed the zeta function modulo $p$ for a genus 3 curve over $\mathbf{F}_p$ with $p = 2^{50} - 27$, taking 40 hours and 16 GB RAM, yielding a Jacobian order of approximately $2^{150}$.
  • For a genus 4 curve over $\mathbf{F}_p$ with $p = 2^{44} + 7$, the algorithm computed the Frobenius matrix modulo $p^2$ in 45 hours and 34 GB RAM, producing a list of four candidates for the zeta function.
  • The implementation in Sage 2.5.1 and later successfully computes the Frobenius matrix for curves of genus 2, 3, and 4, with performance scaling as expected: time approximately doubles for every fourfold increase in $p$.
  • The algorithm outperforms the $\widetilde{O}(p^{1/2}g^{3/2+\omega}n)$ method of Bostan, Gaudry, and Schost by a factor of $g^{3/2}$, due to a more refined $p$-adic approach and better handling of denominators.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.