Explainer
Is the fast Fourier transform optimal? Where things stand in November 2026
The fast Fourier transform computes a discrete Fourier transform of N numbers in about N log N steps, and for sixty years people have asked whether that can be beaten. For the unnormalized transform it cannot, if every multiplier is at most 1 in size, by Jacques Morgenstern's theorem of 1973. On November 24, 2026, an OpenAI manuscript claimed the answer for unrestricted linear circuits: about N (log N)^(1/2) operations, with matching upper and lower bounds up to an arbitrarily small extra power of log N. The claim, which has Lean code for both bounds for Fourier transforms, is not yet independently verified.
The discrete Fourier transform turns a list of N samples, such as a sound recording, into N frequencies. It is everywhere: audio and image compression, radio, medical scanners, and fast multiplication of very large numbers. Computed straight from its definition, each output is a weighted sum of all N inputs, so it takes about N^2 multiplications and additions. The fast Fourier transform, published by James Cooley and John Tukey in 1965 (Gauss had a version around 1805), shares partial sums between outputs and needs only about N log2 N.
A sense of scale
For N = 1,024 samples, the definition needs about 1,024^2, roughly a million, multiply-adds. The FFT needs about 1,024 × 10 = 10,240 basic steps, since log2 1,024 = 10. A cost of N (log N)^(1/2) would be about 1,024 × 3.16, roughly 3,200, before constant factors. Those constants matter in practice, and the manuscript's upper bound hides a constant that depends on ε, so these numbers show the shape of the question, not a faster program.
What "optimal" means here
The question is asked for linear circuits: networks in which each step takes two numbers already computed and forms a combination a·u + b·v with fixed numbers a and b. The FFT is such a circuit. The answer depends on what a and b may be.
In 1973 Jacques Morgenstern proved that if every multiplier has absolute value at most 1, computing the unnormalized Fourier transform needs at least (1/2) N log2 N additions. His argument tracks a determinant, which each addition can at most double. That settled the bounded-coefficient case for the unnormalized transform and made N log N look like the natural answer. Outside such restricted models, no lower bound near N log N was known for general linear circuits, and whether the logarithmic factor could be cut by more than a constant was open until the 2026 manuscripts.
What the November 2026 manuscript claims
"The logarithmic exponent of finite Fourier transforms", posted by OpenAI on November 24, 2026 in a repository whose README says its manuscripts were produced by an unnamed internal OpenAI model, claims that for the Fourier transform of any finite abelian group of order N, over any field that has the needed roots of unity and in which N is invertible, the minimum number of two-input linear gates is N (log N)^(1/2 + o(1)). Precisely: at least c N (log N)^(1/2) for an absolute constant c, and at most C_ε N (1 + log N)^(1/2 + ε) for every ε > 0. Whether the extra ε can be removed is left open.
So the claimed answer to the title question is: with small multipliers, the FFT is optimal for the unnormalized transform; with arbitrary multipliers, it is not, and the best possible exponent of log N is 1/2. The lower bound holds even for circuits that process many transforms at once and mix them, and even with feedback and some errors allowed. The same manuscript claims the same exponent for formal polynomial multiplication in division-free circuits, and a companion manuscript claims it for multiplying integers on a multitape Turing machine; there the lower bound, for computing the low half of the product bits, rests on a hypothesis called Weak ETH, and whether the exponent 1/2 itself is attained is left open.
These are not the first improvements. Josh Alman and Kevin Rao (2023) lowered the constant in front of N log N for some transforms, and OpenAI manuscripts dated September 2026 claimed circuits below N log N, one at some lengths only and one saving a fixed power of log N at every length. The new claim is the matching pair of bounds.
What the Lean code covers
According to the repository's notes, the Lean development proves both the lower bound Ω(N (log N)^(1/2)) and the upper bound O_ε(N (log N)^(1/2 + ε)) for forward and inverse Fourier transforms of finite abelian groups, including the complex discrete Fourier transform at every N, and the batched versions. For polynomial multiplication only the upper bound is formalized. I read the notes as text and did not build the code. As with every Lean proof, a person still has to check that the statement file says what the paper says.
What people said
Lev Reyzin, a computer scientist at the University of Illinois Chicago, wrote on X on November 24 that the complexity is apparently n sqrt(log n), and when a reader asked whether that was only a lower bound, replied that the paper gives an upper bound too. He added that it "truly feels like the beginning of the singularity, at least for math". Both bounds are as stated above; strictly, the upper bound carries the extra factor (log N)^ε.
What to watch for
Specialists in algebraic complexity reading the lower-bound argument, outside builds of the Lean code with a comparison of its statements against the paper, and independent expositions. The status of this and every similar claim is in the status tracker.
Short answers
Is the fast Fourier transform optimal?
For the unnormalized transform with multipliers of size at most 1, yes up to a constant factor: Morgenstern proved in 1973 that about (1/2) N log2 N additions are needed. With arbitrary multipliers, OpenAI claimed on November 24, 2026 that the optimal cost is N (log N)^(1/2 + o(1)), below N log N. That claim is not yet independently verified.
What is the complexity of the discrete Fourier transform?
Cooley and Tukey's FFT uses O(N log N) operations. OpenAI's 2026 manuscript claims a lower bound of c N (log N)^(1/2) and an upper bound of N (log N)^(1/2 + ε) for every ε > 0 in linear circuits with arbitrary coefficients.
Does this make FFT software faster?
No claim of that. The upper bound hides constants that depend on ε, and the manuscript is about how the operation count grows with N, not about practical programs.
Is the claim checked in Lean?
OpenAI's notes say Lean code proves both the lower and the upper bound for Fourier transforms of finite abelian groups, single and batched. The lower bound for polynomial multiplication is not formalized. I found no reports of outside checks of the Lean code as of November 25, 2026.
What was Morgenstern's theorem?
In 1973 Jacques Morgenstern showed that a linear circuit for the unnormalized Fourier transform whose multipliers all have absolute value at most 1 needs at least (1/2) N log2 N additions.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.