Paper 2025/1514

Rigorous Methods for Computational Number Theory

Koen de Boer, Leiden University
Alice Pellet-Mary, Univ. Bordeaux, CNRS
Benjamin Wesolowski, École Normale Supérieure de Lyon, CNRS
Abstract

We present the first algorithm for computing class groups and unit groups of arbitrary number fields that provably runs in probabilistic subexponential time, assuming the Extended Riemann Hypothesis (ERH). Previous subexponential algorithms were either restricted to imaginary quadratic fields, or relied on several heuristic assumptions that have long resisted rigorous analysis. The heart of our method is a new general strategy to provably solve a recurring computational problem in number theory (assuming ERH): given an ideal class $[\mathfrak a]$ of a number field $K$, sample an ideal $\mathfrak b \in [\mathfrak a]$ belonging to a particular family of ideals (e.g., the family of smooth ideals, or near-prime ideals). More precisely, let $\mathcal{S}$ be an arbitrary family of ideals, and $\mathcal{S}_B$ the family of $B$-smooth ideals. We describe an efficient algorithm that samples ideals $\mathfrak b \in [\mathfrak a]$ such that $\mathfrak b \in \mathcal{S}\cdot\mathcal{S}_B$ with probability proportional to the density of $\mathcal{S}$ within the set of all ideals. The case where $\mathcal{S}$ is the set of prime ideals yields the family $\mathcal{S}\cdot\mathcal{S}_B$ of near-prime ideals, of particular interest in that it constitutes a dense family of efficiently factorable ideals. The case of smooth ideals $\mathcal{S} = \mathcal{S}_B$ regularly comes up in index-calculus algorithms (notably to compute class groups and unit groups), where it has long constituted a theoretical obstacle overcome only by heuristic arguments.

Note: Changelog between the submission to ePrint on 13-11-2025 and 19-02-2026. (A) Shorter proof for Lemma A.4.2 (Small changes) (I) New reference added in the proof of Lemma 2.13 (II) Small improvement in the upper bound of Lemma 26.11 (III) Some typos corrected These changes did not alter in any way the end results of this work.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
Keywords
class groupunit groupprovable complexity
Contact author(s)
kboer research @ gmail com
alice pellet-mary @ math u-bordeaux fr
benjamin wesolowski @ ens-lyon fr
History
2026-02-19: last of 3 revisions
2025-08-22: received
See all versions
Short URL
https://ia.cr/2025/1514
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1514,
      author = {Koen de Boer and Alice Pellet-Mary and Benjamin Wesolowski},
      title = {Rigorous Methods for Computational Number Theory},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1514},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1514}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.