Cooley-Tukey FFT over $\mathbb{Q}_p$ via Unramified Cyclotomic Extension
Hiromasa Kondo
TL;DR
The paper addresses the challenge of making Cooley–Tukey FFTs efficient over $\mathbb{Q}_p$ by exploiting small-degree cyclotomic extensions $\mathbb{Q}_p(\zeta_M)$. It develops a two-part approach: (i) compute suitable roots of unity efficiently by first constructing minimal polynomials over $\mathbb{F}_p$ via Cantor–Zassenhaus and then lifting to $\mathbb{Q}_p$ with accelerated Hensel lifting, and (ii) perform the FFT using these roots of unity in the p-adic setting. Key contributions include a randomized, cheaper-than-FFT method for obtaining the minimal polynomial over $\mathbb{F}_p$, a fast lifting scheme that leverages sparsity of $X^s-1$, and a full construction of an $O(N^{1+o(1)})$-time FFT over $\mathbb{Q}_p$ for fixed $p$ by carefully selecting $s$ from cyclotomic factors. These results collectively demonstrate the viability of p-adic FFTs and hint at new, near-linear-time FFT algorithms over rationals and local fields. The work has potential practical impact in computational number theory and p-adic arithmetic where efficient DFTs are beneficial.
Abstract
The reason why Cooley-Tukey Fast Fourier Transform (FFT) over $\mathbb{Q}$ can be efficiently implemented using complex roots of unity is that the cyclotomic extensions of the completion $\mathbb{R}$ of $\mathbb{Q}$ are at most quadratic, and that roots of unity in $\mathbb{C}$ can be evaluated quickly. In this paper, we investigate a $p$-adic analogue of this efficient FFT. A naive application of this idea--such as invoking well-known algorithms like the Cantor-Zassenhaus algorithm or Hensel's lemma for polynomials to compute roots of unity--would incur a cost quadratic in the degree of the input polynomial. This would eliminate the computational advantage of using FFT in the first place. We present a method for computing roots of unity with lower complexity than the FFT computation itself. This suggests the possibility of designing new FFT algorithms for rational numbers. As a simple application, we construct an $O(N^{1+o(1)})$-time FFT algorithm over $\mathbb{Q}_p$ for fixed $p$.
