diff 7458d43..763cb89 exact_dft_power_saving_v2.txt
diff --git a/exact_dft_power_saving_v2.txt b/exact_dft_power_saving_v2.txt
index 95be77d..47d6a0f 100644
--- a/exact_dft_power_saving_v2.txt
+++ b/exact_dft_power_saving_v2.txt
@@ -14,21 +14,21 @@ A companion result settles exact convolution. There is a single deterministic al
The whole estimate rides on a saving inside a single small tensor factor. The classical mixed-radix factorization of Cooley and Tukey computes transforms at highly composite lengths in $O(n\log n)$ arithmetic operations, and its own account of the cost is worth quoting:
The algorithm iterates on the array of given complex Fourier amplitudes and yields the result in less than $2N\log_2 N$ operations without requiring more data storage than is required for the given array $A$.
-./cooley-tukey-1965-mathcomp.pdf
+./pdf/cooley-tukey-1965-mathcomp.pdf
Good's coprime-factor construction identifies certain one-dimensional transforms with tensor products having no intervening twiddle factor, and Cooley, Lewis, and Welch trace the same construction back to Thomas through the Chinese remainder problem, singling out the difference that matters:
the "twiddle factor" ... does not appear in (10) and the correspondence between one- and two-dimensional indexing is different.
-./cooley-lewis-welch-1967-historical-notes.pdf
+./pdf/cooley-lewis-welch-1967-historical-notes.pdf
Bluestein's chirp identity reduces an arbitrary Fourier length to a convolution, and with an ordinary power-of-two transform this yields the $O(n\log n)$ arithmetic bound at every length; Rabiner, Schafer, and Rader give the weighted-convolution derivation, the padding, and the operation count, and Harvey, van der Hoeven, and Lecerf restate the chirp reduction among the tools of fast multiplication.
-./rabiner-schafer-rader-1969-czt.pdf
-./harvey-vdh-lecerf-2016-nlogn-int-mult.pdf
+./pdf/rabiner-schafer-rader-1969-czt.pdf
+./pdf/harvey-vdh-lecerf-2016-nlogn-int-mult.pdf
Improving the constant or the logarithm inside the $n\log n$ scale is a different question from moving the scale. Morgenstern's determinant argument bounds the linear complexity of the unnormalized transform with bounded coefficients, and Ailon's matrix-entropy argument bounds the normalized transform computed from two-coordinate unitary gates, later sharpening the bound under conditioning restrictions:
-./ailon-1305.4745v1-matrix-entropy.pdf
-./ailon-1403.1307v5-conditioned-lb.pdf
+./pdf/ailon-1305.4745v1-matrix-entropy.pdf
+./pdf/ailon-1403.1307v5-conditioned-lb.pdf
Alman and Rao use matrix non-rigidity to speed up the Walsh-Hadamard transform and then to improve the leading constant of power-of-two discrete Fourier transforms in counts of real arithmetic operations with precomputed circuit structure:
-./alman-rao-2211.06459v2-nonrigidity.pdf
+./pdf/alman-rao-2211.06459v2-nonrigidity.pdf
The result is of the other kind: a power saving in the logarithm at every length, in an exact complex-arithmetic model that also charges scalar preparation and array organization. The unnormalized transform with unrestricted coefficients and exact intermediate values sits outside the hypotheses of the determinant and entropy bounds, and the logarithmic word size describes addresses only, never the precision of complex registers.
The three inputs to the argument can be stated at once. The first is a fixed finite network that applies tensor powers $C^{\otimes k}$ of one two-by-two kernel $C$ faster than the naive $O(k2^k)$; the kernel is
@@ -110,7 +110,7 @@ each $H_j$, $0\le j<r$, nonzero because $u$ is primitive. Hence $N=\mathrm{diag}
Thus it suffices to compile an invertible triangular Toeplitz matrix on its own coordinates; its transpose needs the same number of layers, since transposition reverses factor order and preserves monomial and shear layers. The local convolutions are written as linear arithmetic directed acyclic graphs in which each gate forms a linear combination of at most two earlier values or sources, fan-out counting designated output uses. A convolution of variable data with a fixed vector, of total operand length $v$, has such a DAG with $O(v\log(2+v))$ gates and $O(\log(2+v))$ depth and absolute bounded fan-out: pad to the least power of two at least the full length, use pointwise multiplication at roots of unity with the fixed vector's transform supplying scalars, and combine transformed entries by the binary recursion $a,b\mapsto a+\omega b,\,a-\omega b$. Reversals and truncations preserve the bounds. Topology is printed before any coefficient is evaluated, keeping even gates whose scalar happens to vanish.
The DAG may need more registers than the coordinates hold. A replay identity runs it inside coordinates that already carry other data, using the compute-copy-reverse pattern of Bennett's reversible simulation and the principle of restoring storage whose contents are arbitrary, as in clean transparent computation in catalytic space:
-./buhrman-et-al-2014-catalytic-space.pdf
+./pdf/buhrman-et-al-2014-catalytic-space.pdf
Lemma (replay with arbitrary borrowed coordinates). Suppose $M:\mathbb{C}^e\to\mathbb{C}^a$ has a linear DAG with $g$ gates, depth $H$, fan-in at most two, and fan-out at most $\delta$ counting output uses, and each output is a source or gate read or zero. On disjoint coordinate sets $x,y,z$ of sizes $e,a,g$, a word of $O((\delta+1)(H+1))$ shear layers and at most $8g+2a$ shears implements $(x,y,z)\mapsto(x,y+Mx,z)$; the initial contents of $z$ are arbitrary, even correlated with $x$ and $y$.
@@ -183,12 +183,12 @@ The first bound holds because the central binomial coefficient is the largest; i
Choose this $\ell$ and let $e\ge0$ be least with $L=R_\ell 2^e\ge2n$, so $2n\le L<4n$, $2^e<2r_{\ell+1}$, and $e=O(\log(\ell+2))$; a bounded range is handled directly, so asymptotics may assume $\ell\ge1$. For pairwise coprime factors $q$ of $L$, namely the odd primes and the factor $2^e$ when nontrivial, choose $d_q$ with $(L/q)d_q\equiv1\pmod q$ and $E_q=(L/q)d_q$. The $E_q$ are orthogonal idempotents modulo $L$, and the Chinese remainder indexing $(j_q)_q\mapsto\sum_q E_qj_q\pmod L$ is a bijection with
$$ w_L^{jk}=\prod_q w_q^{d_q j_q k_q}, $$
so, after input and output permutations, $F_L$ is the tensor product of the $F_q$, the local output permutation multiplying a digit by the unit $d_q$ modulo $q$. Good's coprime factorization is the source of this reduction, and Cooley, Lewis, and Welch make explicit that no twiddle factor enters:
-./cooley-lewis-welch-1967-historical-notes.pdf
+./pdf/cooley-lewis-welch-1967-historical-notes.pdf
The permutations cost $O(L)$ array operations through the prefix traversal, with the inverses $d_q$ and local tables computed in time polynomial in $\log n$. Apply the synchronized tensor transform on the odd-prime axes with each digit of the power-of-two axis fixed in turn, then a usual radix-two recursion on the fibers of that axis; the former costs $O(L(\ell+1)^\theta(1+\log(\ell+2))^4)+\mathrm{poly}(\log(n+2))$ since $r_\ell=O((\ell+1)^2)$, the latter $O(L(1+e))$, and $F_L^{-1}=L^{-1}J F_L$ with $J$ negating indices uses the geometric root sum $F_L^2=LJ$. Both $F_L$ and its inverse thereby cost
$$ O\!\left(L\bigl[(\ell+1)^\theta(1+\log(\ell+2))^4+1+e\bigr]\right)+\mathrm{poly}(\log(n+2))+O(1). $$
The reduction to a working transform is Bluestein's chirp identity in the weighted-convolution form of Rabiner, Schafer, and Rader, whose padded convolution is charged through one explicit transform of the fixed operand:
-./rabiner-schafer-rader-1969-czt.pdf
+./pdf/rabiner-schafer-rader-1969-czt.pdf
Put $\eta=w_{2n}$. For $0\le j,k<n$,
$$ w_n^{jk}=\eta^{k^2}\eta^{-(k-j)^2}\eta^{j^2}. $$
Prepare a length-$L$ vector with value $\eta^{j^2}x_j$ at $0\le j<n$ and zero elsewhere, and a fixed length-$L$ vector with value $\eta^{-u^2}$ at the residues represented by $-(n-1)\le u\le n-1$ and zero elsewhere, distinct because $L\ge2n$. The cyclic convolution of the two vectors gives, at each $0\le k<n$, the sum in the chirp before multiplication by $\eta^{k^2}$. Convolution proceeds by transforming both vectors, multiplying pointwise, and inverting; the transform of the fixed vector is part of scalar preparation and is charged as one full transform, while its pointwise use multiplies only variable data by prepared scalars. Chirp tables and zero-padded vectors take $O(L)=O(n)$ work, since successive chirp ratios form a geometric progression, so there are only three transforms.