Tech23 min read

Checking OpenAI's N(log N)^(1/2) Finite Fourier Transform Paper and Its Lean Proof on M1 Max

IkesanContents

On November 24, 2026, OpenAI added a preprint titled “The logarithmic exponent of finite Fourier transforms” to its math repository openai/math. Here “finite Fourier transform” means the discrete Fourier transform (DFT) on finite data—most familiarly a length-NN sequence, and more generally any finite abelian group.
Counted in linear circuits built only from two-input linear gates (theoretical building blocks that take two values and output a weighted sum), a length-NN transform needs at least c Nlog⁡Nc\,N\sqrt{\log N} gates as a lower bound and can be computed with Cε N(1+log⁡N)1/2+εC_\varepsilon\,N(1+\log N)^{1/2+\varepsilon} gates for any ε>0\varepsilon > 0 as an upper bound. Written compactly as N(log⁡N)1/2+o(1)N(\log N)^{1/2+o(1)}, the claim is that linear circuits need strictly fewer gates than the fast Fourier transform’s (FFT) Nlog⁡NN \log N, while also proving the logarithmic exponent cannot drop below 1/21/2.

The yardstick here is gate count in a theoretical linear-circuit model, not CPU instruction count or practical FFT runtime. It belongs to the same “Euclidean tensor geometry” cluster as the matrix multiplication exponent 9/4 preprint posted the same day, this time targeting a familiar algorithm. I opened the LaTeX source and Lean files to see what computation model is being counted and how the result fits alongside classic Nlog⁡NN \log N lower bounds.

The Fourier transform and FFT’s N log N

A discrete Fourier transform turns NN input samples into NN outputs, where each output is a weighted sum of all inputs. Computing each sum separately takes roughly N2N^2 operations, whereas the 1965 Cooley–Tukey algorithm (FFT) reuses intermediate partial sums across frequencies to compute all outputs in O(Nlog⁡N)O(N \log N) operations when NN is a power of two.

The paper opens by asking how much of that log⁡N\log N work per input sample is truly unavoidable, and answers that the optimal logarithmic exponent is 1/21/2. That means order log⁡N\sqrt{\log N} gates per sample are always required, and for any ε>0\varepsilon > 0 there exists a circuit using order (log⁡N)1/2+ε(\log N)^{1/2+\varepsilon} gates per sample. All logarithms in the paper are base 2.

For N=2kN = 2^k, we have log⁡N=k\log N = k, so ignoring constant factors, the ratio between FFT’s log⁡N\log N per sample and the new lower bound’s log⁡N\sqrt{\log N} looks like this.

NNlog⁡N\log N (FFT)log⁡N\sqrt{\log N} (new lower bound)Ratio
2102^{10} (~1,000)10~3.16~3.16x
2202^{20} (~1,000,000)20~4.47~4.47x
2642^{64}6488x

Because this table ignores constant factors and compares asymptotic orders, it does not mean practical FFT implementations suddenly become several times faster. The paper is counting gates in a linear circuit, not CPU instructions.

Linear circuits and Theorem 1

In the linear-circuit model, each gate takes two existing values u,vu, v (either inputs or outputs of earlier gates) and computes au+bvau + bv. The coefficients a,ba, b can be arbitrary elements of a field KK (a number system supporting addition, subtraction, multiplication, and division), and intermediate values can be reused any number of times. Each output simply picks one input or gate value and scales it by a constant, or returns 0, and those readouts are not counted. Only two-input linear gates count toward the cost.

Writing CK(T)C_K(T) for the minimum number of gates in an acyclic (loop-free) linear circuit over KK computing a matrix TT, Theorem 1 (The Fourier exponent) states (if the general group notation below looks dense, you can read it first for the ordinary complex DFT with K=CK = \mathbb{C} and batch size J=1J = 1):

c JNlog⁡N≤CK(T)≤Cε JN(1+log⁡N)1/2+εc\,JN\sqrt{\log N} \le C_K(T) \le C_\varepsilon\,JN(1+\log N)^{1/2+\varepsilon}

Here G1,…,GJG_1, \ldots, G_J (J≥1J \ge 1) are finite abelian groups (finite groups where addition commutes) each of order N≥2N \ge 2, and TT is the direct sum placing each group’s Fourier transform along the diagonal, with forward or inverse chosen independently per block. The field KK must satisfy two conditions: NN is nonzero (invertible) in KK, and KK contains a primitive root of unity whose order equals the exponent of each GjG_j (the smallest positive integer ee such that adding any element ee times yields the identity). The positive constant cc is universal (independent of the groups, field, and NN), while CεC_\varepsilon depends only on ε>0\varepsilon > 0.

The batch parameter JJ shows that even if you compute JJ transforms together in a single circuit and let gates mix values across different transforms, the average cost per transform does not drop.
The ordinary complex length-NN discrete Fourier transform corresponds to the cyclic group Z/NZ\mathbb{Z}/N\mathbb{Z} (addition modulo NN). As an example, the paper notes that the complex Fourier transform on (Z/2Z)k(\mathbb{Z}/2\mathbb{Z})^k is the Walsh–Hadamard transform with entries +1+1 and −1-1: computing JJ independent Walsh–Hadamard transforms of length 2k2^k still takes at least c 2kkc\,2^k\sqrt{k} gates per transform on average, no matter how fast JJ grows with kk. Whether ε=0\varepsilon = 0 is achievable—that is, an exact O(Nlog⁡N)O(N\sqrt{\log N}) upper bound—remains open in the paper.

Gate count for polynomial multiplication

Multiplying two polynomials of nn coefficients each (convolution) has the same exponent. In division-free arithmetic circuits (counting additions, subtractions, multiplications, and fixed-constant scalings as one gate each), over any field, computing JJ independent products requires Ω(Jnlog⁡n)\Omega(Jn\sqrt{\log n}) gates and can be done in Oε(Jn(1+log⁡n)1/2+ε)O_\varepsilon(Jn(1+\log n)^{1/2+\varepsilon}) gates (Corollary cor:conv-exponent). The lower bound fixes one polynomial factor so that, up to diagonal scalings, the map becomes a cyclic Fourier transform, reducing it to the Fourier lower bound.

Why this does not contradict classic N log N lower bounds

Several classic lower bounds show that Nlog⁡NN \log N is optimal for FFT, and the paper’s background section notes that each of them restricts the computation model.

ResultRestrictionBound
PapadimitriouRestrictions on paths in the computation graphFFT is optimal under that model
Morgenstern (1973)Scalar multipliers have absolute value at most 1At least 12Nlog⁡2N\tfrac12 N\log_2 N additions
AilonIn-place two-coordinate unitary (length-preserving) operations on the normalized transformAt least Ω(Nlog⁡N)\Omega(N\log N)
AilonIn-place rotations and scalings with intermediate condition number (error amplification) at most RRAt least Ω(Nlog⁡N/R)\Omega(N\log N / R)

In Morgenstern’s bound, restricting coefficients to absolute value at most 1 means each addition can at most double the absolute determinant; reaching the unnormalized Fourier matrix’s determinant magnitude NN/2N^{N/2} therefore requires at least 12Nlog⁡2N\tfrac12 N\log_2 N additions. Every classic bound places restrictions on coefficient magnitudes or intermediate operations. Theorem 1 puts no limit on coefficient size or on saving and reusing intermediate values, so the assumptions differ and there is no contradiction.

On the upper-bound side, results beating Nlog⁡NN\log N had also been accumulating. At STOC 2023, Alman and Rao used matrix non-rigidity (reducing a matrix’s rank—its number of independent rows or columns—by modifying few entries) to achieve 2324Nlog⁡2N\tfrac{23}{24}N\log_2 N for power-of-two Walsh–Hadamard transforms and 154Nlog⁡2N\tfrac{15}{4}N\log_2 N real operations for complex cyclic transforms (both up to O(N)O(N) terms).

Then on September 25, 2026, OpenAI posted two preprints: “Finite tensor savings and exact Fourier circuits” (giving o(Nlog⁡N)o(N\log N) circuits for a subsequence of lengths NN via finite tensor constructions) and “An explicit power saving for the exact discrete Fourier transform” (saving a fixed positive power of log⁡N\log N for all lengths). Follow-up work by Sussman, Kartal, Yao and Liu, and submissions to the Lean-based Big O Speedrun pushed the exponent saving in the complex model past 0.0039. With the November 24 paper, the upper and lower bounds meet at logarithmic exponent 1/21/2 (log⁡N\sqrt{\log N} per sample).

Outline of the lower bound proof

The paper actually proves a stronger statement than Theorem 1 (Theorem bch:uniform-robust, Robust lower bound). Set h=JNh = JN and call each gate’s output a “state.” The lower bound still holds even after relaxing the circuit model in two ways:

  1. Feedback is allowed, meaning states may reference each other as a system of linear equations (as long as every input has a unique solution).
  2. Both a low-rank error (rank at most βh\beta h) and a sparse error (at most ηh 2log⁡N/8\eta h\, 2^{\sqrt{\log N}/8} nonzero entries) may remain in the output, and either error may span across the JJ transforms.

Even in the algebraic limit (Zariski closure) of such circuits, the number of states ss must still be at least c hlog⁡Nc\,h\sqrt{\log N}.

At the core of the proof is a geometric “price” test for tensors from “Euclidean geometry in the asymptotic spectrum of tensors,” posted the same day. By placing a matrix’s row and column indices on the corners of a rectangle, a zero-height rectangle measures the log of the rank, while a zero-width rectangle measures the log of the number of nonzero entries—so a rectangle with both width and height tests rank and sparsity simultaneously.

Comparing two full-rank matrices on a rectangle of width 1 and height LL, the Fourier character table (the Fourier transform matrix) has price exactly (L+1+L2)log⁡N(L+\sqrt{1+L^2})\log N, whereas a permutation matrix (which only permutes rows or columns) has price (L+1)log⁡N(L+1)\log N (Theorem geo:saturation). For small LL, the gap is roughly 12L2log⁡N\tfrac12 L^2 \log N, so even at L≈1/log⁡NL \approx 1/\sqrt{\log N} a constant-sized gap remains—and that is where the square root enters.

Finally, the proof duplicates every input and state across dd time steps and removes all paths passing through dd or more states using rank-1 modifications. Because each gate has two inputs, each output in the remaining short-path circuit depends on at most 2d−12^{d-1} inputs, while the rank modification costs at most 1 dimension per state. Choosing dd on the order of log⁡N\sqrt{\log N}, any circuit with fewer than a constant multiple of JNlog⁡NJN\sqrt{\log N} states contradicts the character table’s price under the rectangle test.

graph TD
  A["Assume a circuit with few states"] --> B["Copy inputs and states across d time steps"]
  B --> C["Eliminate long paths via<br/>rank-1 modifications"]
  C --> D["Only short paths remain<br/>(sparse matrix)"]
  C --> E["Rank correction is at most<br/>1 dimension per state"]
  D --> F["Rectangle price test"]
  E --> F
  F --> G["For d ~ sqrt(log N), contradicts<br/>the character table price"]

This robust bound also connects to matrix rigidity (how many entries must change to drop a matrix’s rank). Dvir and Liu showed that for sufficiently large complex abelian groups, changing at most N1+δN^{1+\delta} entries (for any δ>0\delta > 0) lowers the character table’s rank to o(N/log⁡log⁡N)o(N/\log\log N). Applying the new theorem with J=1J = 1 and zero states (a pure low-rank plus sparse decomposition) shows that dropping the rank to βN\beta N requires more than ηN2log⁡N/8\eta N 2^{\sqrt{\log N}/8} entry changes. Since 2log⁡N/82^{\sqrt{\log N}/8} grows far slower than NδN^\delta, the two results are compatible.

How the upper bound is built

The upper bound starts from the Walsh–Hadamard transform on (Z/2Z)m(\mathbb{Z}/2\mathbb{Z})^m, which has length N=2mN = 2^m (so m=log⁡2Nm = \log_2 N, meaning degree O(mlog⁡m)O(\sqrt{m\log m}) is where the log⁡N\sqrt{\log N} saving comes from). Up to a permutation and scalar factor, this transform factors as a product of mm mutually commuting operators. In their shared frequency basis (coordinate axes per frequency), each operator just multiplies by ±1\pm 1, so the product depends only on the parity of the number of minus signs.

The construction feeds many independent inputs at once (as rows) and assigns every possible sign-flip shift pattern uniformly across the rows. At every frequency, the shifted count of minus signs follows a binomial distribution across the batch, so almost all rows fall inside a window of width O(mlog⁡m)O(\sqrt{m\log m}).
Inside that window, a polynomial of degree O(mlog⁡m)O(\sqrt{m\log m}) reproduces the parity sign exactly, and undoing the known shift gives the desired answer. The rare exception rows outside the window are fixed by sending only a few weighted linear combinations into the frequency basis and repairing them by interpolation (Theorem thm:repair).

This polynomial is evaluated in O(mlog⁡m)O(\sqrt{m\log m}) stages matching its degree. Sharing the short Fourier calls needed at each stage across rows and recursing drives the target exponent θ>1/2\theta > 1/2 arbitrarily close to 1/21/2.

To extend from Walsh–Hadamard to general finite abelian groups and arbitrary fields, the construction packs independent data into coordinates of a small extension field and translates operations there back into the base field. The same upper-bound construction is also used in “The logarithmic exponent of integer multiplication on tapes” posted the same day, whose README reports n(1+log⁡n)1/2+o(1)n(1+\log n)^{1/2+o(1)} steps on multi-tape Turing machines (with an Ω(nlog⁡n)\Omega(n\sqrt{\log n}) lower bound assuming a variable-count version of Weak ETH).

Checking the upper-bound prediction formula on an M4 Mac mini

The paper gives no implementation code or explicit constants for the full upper bound, so you cannot benchmark it directly against an FFT. However, Section 4 (Prediction and exact spectral repair) writes out the exact formula and window parameters for the sign-predicting polynomial at the heart of the construction. Using an M4 Mac mini (16GB, Python 3.14.4, standard library only), I verified whether that prediction formula behaves as claimed and how the window width grows with the number of operators mm. This checks only the Section 4 lemma—not practical FFT speed or a full upper-bound circuit. All checks either enumerate every combination or compute the binomial distribution in exact integers with no randomness, and each finished in under 2 seconds.

How the prediction polynomial works

The mm operators Q1,…,QmQ_1, \ldots, Q_m (also called queries in the paper) act in the shared frequency basis by multiplying each frequency ν\nu by ζkj(ν)\zeta^{k_j(\nu)}, where ζ\zeta is a primitive ℓ\ell-th root of unity (ℓ=2,ζ=−1\ell = 2, \zeta = -1 for Walsh–Hadamard) and kj(ν)∈{0,…,ℓ−1}k_j(\nu) \in \{0, \ldots, \ell - 1\}. The product F=Q1⋯QmF = Q_1 \cdots Q_m multiplies by z=ζ∑jkjz = \zeta^{\sum_j k_j}.

Assigning a shift β∈(Z/ℓZ)m\beta \in (\mathbb{Z}/\ell\mathbb{Z})^m to each row of independent inputs, set bj=(kj+βj) mod ℓb_j = (k_j + \beta_j) \bmod \ell and let c=∑jbjc = \sum_j b_j be their ordinary integer sum (unrelated to the lower-bound constant cc earlier). When all shifts are used equally often, the bjb_j are independent and uniform on {0,…,ℓ−1}\{0, \ldots, \ell - 1\} at every frequency.
Lemma lem:count-predict states that whenever cc falls inside the window [u,v][u, v], a polynomial of degree D=v−uD = v - u recovers zz exactly. The window center μ\mu, half-width BB, and endpoints are defined by:

r=min⁡{r:2r≥2m},μ=m(ℓ−1)2,B=(ℓ−1)⌈2mr⌉,u=⌊μ−B⌋,v=⌈μ+B⌉r = \min\{r : 2^r \ge 2m\},\quad \mu = \frac{m(\ell-1)}{2},\quad B = (\ell-1)\left\lceil\sqrt{2mr}\right\rceil,\quad u = \lfloor \mu - B \rfloor,\quad v = \lceil \mu + B \rceil

By Hoeffding’s inequality (which bounds the probability that a sum of independent random variables deviates far from its mean), the fraction of rows falling outside the window is at most 1/(2m3)1/(2m^3), and those outlier rows are repaired by interpolation as noted above.

The 3-query binary example and general polynomial check

I started by enumerating the paper’s ℓ=2,m=3\ell = 2, m = 3 example. Writing ∣k∣,∣β∣|k|, |\beta| for the number of 1s in the bit strings k,β∈{0,1}3k, \beta \in \{0, 1\}^3, the paper states that on the window 1≤c≤21 \le c \le 2, the linear formula (−1)∣β∣(2c−3)(-1)^{|\beta|}(2c - 3) matches the target sign (−1)∣k∣(-1)^{|k|}, while the out-of-window shifts are 000,111000, 111 for k=000k = 000 and 001,110001, 110 for k=001k = 001. Checking all 64 pairs (8×88 \times 8), all 48 in-window pairs matched exactly, and all 16 out-of-window pairs gave magnitude 3 instead of a sign. The out-of-window shifts were {000,111}\{000, 111\} for k∈{000,111}k \in \{000, 111\}, {001,110}\{001, 110\} for {001,110}\{001, 110\}, {010,101}\{010, 101\} for {010,101}\{010, 101\}, and {011,100}\{011, 100\} for {011,100}\{011, 100\}, matching the paper’s examples.

Next, I built the general prediction polynomial PβP_\beta directly from the proof of Lemma lem:count-predict. Expressing the indicator function Ij,bI_{j,b} (1 when bj=bb_j = b, 0 otherwise) as a linear combination of operator powers, I expanded Lh=[Th](1+T)−u∏j(1+T)bjL_h = [T^h](1+T)^{-u}\prod_j (1+T)^{b_j} up to TDT^D and evaluated Pβ=ζu−∑jβj∑h=0D(ζ−1)hLhP_\beta = \zeta^{u - \sum_j \beta_j}\sum_{h=0}^{D}(\zeta-1)^h L_h at every frequency against the true value zz (using floating-point complex arithmetic with tolerance 10−610^{-6}).

When I plugged in the paper’s window parameters at small mm, however, the window covered the entire possible range 0∼m(ℓ−1)0 \sim m(\ell-1) of cc, leaving zero out-of-window rows. To observe out-of-window behavior as well, I added a centered width-2 window (D=2D = 2) and checked all ℓm×ℓm\ell^m \times \ell^m pairs of (k,β)(k, \beta).

ℓ\ellmmWindow (degree DD)In-window / Out-of-window matchesMax in-window error
23Paper −4∼7-4 \sim 7 (11)64/64 / 0/03.7×10−163.7\times10^{-16}
23Width-2 0∼20 \sim 2 (2)56/56 / 0/86.1×10−166.1\times10^{-16}
26Paper −4∼10-4 \sim 10 (14)4096/4096 / 0/07.3×10−167.3\times10^{-16}
26Width-2 2∼42 \sim 4 (2)3200/3200 / 0/8961.2×10−151.2\times10^{-15}
33Paper −7∼13-7 \sim 13 (20)729/729 / 0/02.5×10−112.5\times10^{-11}
33Width-2 2∼42 \sim 4 (2)513/513 / 0/2164.2×10−154.2\times10^{-15}
34Paper −6∼14-6 \sim 14 (20)6561/6561 / 0/01.1×10−101.1\times10^{-10}
34Width-2 3∼53 \sim 5 (2)4131/4131 / 0/24306.0×10−156.0\times10^{-15}

In every case, 100% of in-window pairs matched and 0 out-of-window pairs matched. I did not isolate the ℓ=3\ell = 3 paper-window error (~10−1110^{-11}) with exact rationals or arbitrary-precision floats, though it is likely floating-point rounding from large coefficients in a degree-20 expansion.

How the window width D grows with m

Since the paper’s window covered the full range at small mm, I also checked how large mm has to get before DD becomes narrower than the full range width m(ℓ−1)m(\ell-1). Using exact integer arithmetic for the distribution of cc (the sum of mm uniform values in 0∼ℓ−10 \sim \ell-1), I computed the exact out-of-window fraction and also found the narrowest symmetric window around the mean that still meets the 1/(2m3)1/(2m^3) target.

ℓ,m\ell, mFull rangePaper DDExact out-of-window fractionHoeffding boundTarget 1/(2m3)1/(2m^3) / Min width
2, 16162601.3×10−91.3\times10^{-9}1.2×10−41.2\times10^{-4} / 14
2, 32324002.8×10−112.8\times10^{-11}1.5×10−51.5\times10^{-5} / 24
2, 56565601.4×10−121.4\times10^{-12}2.9×10−62.9\times10^{-6} / 34
2, 6464607.1×10−187.1\times10^{-18}1.2×10−121.2\times10^{-12}1.9×10−61.9\times10^{-6} / 36
2, 2562561361.5×10−181.5\times10^{-18}4.1×10−164.1\times10^{-16}3.0×10−83.0\times10^{-8} / 88
2, 102410243021.4×10−211.4\times10^{-21}9.1×10−209.1\times10^{-20}4.7×10−104.7\times10^{-10} / 198
2, 409640966541.1×10−241.1\times10^{-24}4.2×10−234.2\times10^{-23}7.3×10−127.3\times10^{-12} / 438
3, 32648002.8×10−112.8\times10^{-11}1.5×10−51.5\times10^{-5} / 38
3, 641281202.8×10−262.8\times10^{-26}1.2×10−121.2\times10^{-12}1.9×10−61.9\times10^{-6} / 60
3, 102420486041.7×10−311.7\times10^{-31}9.1×10−209.1\times10^{-20}4.7×10−104.7\times10^{-10} / 324

For both ℓ=2\ell = 2 and ℓ=3\ell = 3, the paper’s window first becomes narrower than the full range at m=64m = 64 (for ℓ=2\ell = 2, m=56m = 56 is an exact tie). By m=4096m = 4096, D=654D = 654 is about 16% of 4096. Because it scales as mlog⁡m\sqrt{m\log m}, quadrupling mm from 256 to 1024 to 4096 just over doubles DD (136 to 302 to 654).

The exact out-of-window fraction stays even smaller than the Hoeffding bound and many orders of magnitude below the 1/(2m3)1/(2m^3) target. Meeting the target alone only needs 50–70% of the paper’s window width (438 vs. 654 at m=4096m = 4096); the paper appears to pick a clean integer formula rather than minimizing the constant. Note that DD is the prediction polynomial degree, and Section 5 chooses how mm maps to the transform size NN, so m=64m = 64 does not directly correspond to N=264N = 2^{64}.

The verification script and outputs are on LiltingChannelLabo (runnable per stage, e.g. python3 repair_check.py stage1).

Scope of the Lean formalization

According to the README, the formalization in Lean (a theorem prover that machine-checks mathematical proofs) covers both upper and lower bounds for individual and batched Fourier transforms. The formalization scope document (130.md) groups this paper with the two September 25 preprints and states that it covers the complex discrete Fourier transform for all n≥2n \ge 2.

Opening the statement-only challenge file ExactFourier.lean and the config ExactFourier.json for Comparator (the Lean FRO’s tool that checks whether a proof matches a challenge statement), the proof entry module is OAI.LinearAlgebra.FiniteFourier.Main and three theorems are checked:

TheoremCorresponding paper and claim
OAI.ExactFourier.main_theoremSeptember 25 finite-tensor paper: for any c>0c > 0, there exist arbitrarily large NN whose complex DFT needs fewer than cNlog⁡2Nc N\log_2 N gates
OAI.LinearAlgebra.FiniteFourier.fourierComplexityTheorem 1 (single transform): forward and 1/∣G∣1/\lvert G\rvert-normalized inverse transforms need at least cNlog⁡Nc N\sqrt{\log N} and at most CN(1+log⁡N)1/2+εC N(1+\log N)^{1/2+\varepsilon} gates; lower bound holds for Zariski closures of feedback systems
OAI.LinearAlgebra.FiniteFourier.batchedFourierComplexityTheorem 1 (JJ transforms): JJ transforms of order nn (h=Jnh = Jn) need at least chlog⁡nc h\sqrt{\log n} and at most Ch(1+log⁡n)1/2+εC h(1+\log n)^{1/2+\varepsilon} gates; lower bound holds for closures allowing both low-rank and sparse errors

In the challenge definitions, BinaryGate forms an arbitrary linear combination of two wires, and Readout is either 0 or a scalar multiple of one wire without counting toward complexity. The field condition Admissible matches the paper (the group order is nonzero in the field, and a primitive root of unity of the group’s exponent order exists). The quantifier order also matches Theorem 1: cc is universal across groups, fields, and NN, while CC depends only on ε\varepsilon.

On the other hand, 130.md does not list the polynomial multiplication (convolution) corollary, so that part is outside the formalization scope. On the proof side, the entry points are Main.lean and BatchedTheorem.lean, where fourierComplexity combines separate lower- and upper-bound proofs.

Verifying the Lean proof on an M1 Max

ExactFourier.json permits only the three standard axioms (foundational assumptions: propext, Quot.sound, Classical.choice) and disables the alternate verifier kernel (the small trusted core that checks finished proofs) nanoda ("enable_nanoda": false). Because Comparator uses Linux-specific sandboxing to isolate the proof build, it does not run directly on macOS. Just as in the matrix multiplication post, I installed official macOS arm64 Lean v4.34.1 (matching lean-toolchain) via elan and prebuilt Mathlib d13f23b (Lean’s standard math library) on an M1 Max (64GB RAM), and manually ran each Comparator check against openai/math commit 3344da5 (November 24, 2026 US time).

Extracting dependent files and applying patches

lean/OAI contains 188,623 .lean files. Tracing imports from Main.lean into a clean project pulled in 8,115 files (1,010,494 lines) under OAI—about 14 times the 591 files (~258k lines) needed for the matrix multiplication proof.

By directory, the Fourier proof itself (LinearAlgebra/FiniteFourier) is only 518 files, while 5,285 files—over 60% of the total—live under Computability/BorderVNP (the proof tree for the VP vs. VNP arithmetic-circuit separation posted the same day). CompanionStretch.lean, imported by Main.lean, uses the stretch lemma ProvedStretch.profile from BorderVNP to prove companion_nonTree, pulling in over 5,000 files. Other large chunks are LinearAlgebra/SpectralBooks (812 files, shared with matrix multiplication) and Computability/VPVNP (506 files).

Four external libraries beyond Mathlib are also used:

LibraryUsage
PrimeNumberTheoremAndErdos970.HadamardSupport, etc. (HadamardSupport is imported by 104 files)
StrongPNTErdos970.PNT5_Strong
fixed-point-theoremsbrouwer (Brouwer fixed-point theorem)
lemmataUnder FockCircuits

The original lakefile.lean automatically applies compatibility patches from lean/patches/ for Lean v4.34.1 after fetching dependencies. Since I did not port that hook into the standalone project, I applied all four patches manually with git apply. The PrimeNumberTheoremAnd patch is ~2.0MB across 55 files, and StrongPNT’s is ~1.2MB. Those patched files are built and kernel-checked as part of the proof; all 22 resolved transitive packages matched the commits in the original manifest.

Build and kernel-check results

Against the extracted proof files and challenge file, I ran six checks in sequence: grepping for proof holes or custom axioms, building with lake build, printing axioms with #print axioms, comparing all challenge constants against the proof environment, mutating the challenge exponent to test mismatch detection, and re-checking every constant from scratch with leanchecker --fresh.

#CheckResult
1Proof holes / custom axioms (grep)0 sorry, 0 custom axiom, 0 native_decide; 73 admit hits were all non-tactic
2Build (lake build)Succeeded in 15,427s (~4h 17m) wall time, peak ~27.7GB RAM; no warnings on proof side
3Axioms used (#print axioms)Only propext, Classical.choice, Quot.sound on all three theorems
4Challenge vs. proof constant matchAll 241 kernel constants matched; 17s, peak ~17.9GB RAM
5Mismatch detection (exponent 1/2 -> 1/3)Flagged the 2 definitions containing the exponent; other 239 matched
6Kernel re-check (leanchecker --fresh)No errors; 14,549s (~4h 2m), peak ~36.1GB RAM

All 73 admit occurrences in step 1 were English verbs in comments or identifiers such as local notation "admit", never the proof tactic.

Because step 2 built in parallel, the sum of per-module times reached ~140,932s, far exceeding wall time. Every top entry started with BorderVNP.DiagonalCalendar, led by DiagonalCalendarOriginalFieldWriter at 1,770s (~30m), whereas modules under FiniteFourier took a few seconds each. Peak memory was ~27.7GB (vs. ~6.5GB for matrix multiplication) with no swap, and sorry warnings appeared only on the three statement-only theorems in the challenge file.

For step 4, I wrote a Lean script using importModules to load the challenge and proof environments separately and compare every constant declared in the challenge module by kind, universe parameters, type, definition body, and inductive constructors (checking types only for the three sorry theorems). The environment also listed 63 compiler-generated auxiliary names (Gate.eval._boxed, etc.), which are not kernel constants and were counted separately.

In step 5, changing both occurrences of (1 : ℝ) / (2 : ℕ) in the challenge to (1 : ℝ) / (3 : ℕ) triggered mismatches on the two definitions FourierComplexityTheorem and BatchedFourierComplexityTheorem. Unlike the matrix multiplication challenge—where 9 / 4 sat directly in the theorem’s type—here the theorem fourierComplexity references FourierComplexityTheorem.{u,v}, so the mismatch surfaced on the definition rather than the theorem type.

In step 6, leanchecker ran mostly single-core, taking nearly as long as the build while using more memory: roughly 11x the time and 3.6x the memory of the matrix multiplication check (1,327s, ~9.9GB). Note that leanchecker uses Lean’s standard kernel rather than an independent verifier, and this setup does not sandbox the proof build the way Comparator does. What this manual run confirms is that the three challenge statements type-check in Lean using only the three permitted axioms—it does not cover the unformalized polynomial convolution corollary or external mathematical peer review.

The comparison script, import-tracing script, and logs are on LiltingChannelLabo. According to history.md, the November 24 drop contained 9 preprints across two clusters (7 in the Euclidean tensor geometry cluster, alongside matrix multiplication, integer multiplication, Valiant’s hierarchy separation, Hamiltonian cycle / permanent circuit lower bounds, and sunflower bounds), and the README describes them as raw research data where unformalized results may have issues. As of November 25, neither the README nor history.md listed any external verification group for this paper.