Fast evaluation of Riemann theta functions in any dimension
Noam D. Elkies, Jean Kieffer
TL;DR
This work addresses the challenge of numerically evaluating Riemann theta functions in arbitrary genus with certified error control. It introduces a uniform quasi-linear algorithm for reduced inputs, backed by a robust FLINT implementation that tracks all arithmetic errors and supports derivatives, with complexity bounds of the form $2^{O(g\log^2 g)} \mathsf{M}(N)\log N$. The authors also demonstrate a powerful application to the explicit inverse Galois problem by computing theta-constants on genus-6 abelian varieties to produce degree-65 polynomials with conjectural Galois group $\mathrm{SL}_2(\mathbb{F}_{64})$, illustrating the practical reach of their method. Collectively, this work advances both the theory and computation of theta functions, enabling high-precision, high-genus evaluations and enabling new number-theoretic explorations across modular forms, abelian varieties, and Galois theory.
Abstract
We describe an algorithm to numerically evaluate Riemann theta functions in any dimension in quasi-linear time in terms of the required precision, uniformly on reduced input. This algorithm is implemented in the FLINT number theory library and vastly outperforms existing software. As an application, we evaluate the theta constants attached to certain special abelian varieties of dimension 6 to construct explicit polynomials of degree 65 over $\mathbb{Q}$ with conjectural Galois group $\mathrm{SL}_2(\mathbb{F}_{64})$.
