Multidimensional convolution formula over a ring with principal power-of-two roots (synthetic case of (2.1))
ProvedIntMul.HvdH.synthetic_convfourier-analysisinteger-multiplication
Let be a commutative ring, , and for each let and with . Write for when (well defined since ). For and every index ,
where is multidimensional cyclic convolution.
This is the convolution formula (2.1) of Harvey–van der Hoeven in the synthetic case , . It underlies Proposition 3.4 (convolution over via synthetic FFTs). The ring may have zero divisors; only is used.
Preamble
import Mathlib
Formal statement
namespace IntMul.HvdH
theorem synthetic_conv {R : Type*} [CommRing R] {d : ℕ} (e : Fin d → ℕ) (ω : Fin d → R) (hω : ∀ i, ω i ^ (2 ^ e i) = -1)
(u v : ((i : Fin d) → ZMod (2 ^ (e i + 1))) → R) (j : (i : Fin d) → ZMod (2 ^ (e i + 1))) :
(∏ i, ((2 ^ (e i + 1) : ℕ) : R)) * ∑ k, u k * v (j - k) =
∑ t : (i : Fin d) → ZMod (2 ^ (e i + 1)), (∏ i, ω i ^ (t i * j i).val) *
((∑ k, (∏ i, ω i ^ (-(t i * k i)).val) * u k) *
(∑ k, (∏ i, ω i ^ (-(t i * k i)).val) * v k)) := by sorry
end IntMul.HvdHSource
Harvey, van der Hoeven, Integer multiplication in time O(n log n), Annals of Math. 193 (2021), https://hal.science/hal-02070778, Sections 2.4 and 3.1 (Lemma 2.3, (2.1), Lemma 3.2)