Multiplication in is negacyclic convolution of coefficients
ProvedIntMul.HvdH.eval_negacyclicinteger-multiplication
Let be a commutative ring, , and with (for example in ). For coefficient vectors ,
with if and otherwise. So multiplication in the synthetic coefficient ring of Harvey–van der Hoeven (§2.3) is negacyclic convolution on coefficient vectors, as used in Lemma 2.5 and Proposition 3.4.
Preamble
import Mathlib
Formal statement
namespace IntMul.HvdH
theorem eval_negacyclic {A : Type*} [CommRing A] (r : ℕ) [NeZero r] (z : A) (hz : z ^ r = -1)
(a b : ZMod r → A) :
(∑ j, a j * z ^ j.val) * (∑ j, b j * z ^ j.val) =
∑ j, (∑ k, a k * b (j - k) * (if k.val ≤ j.val then 1 else -1)) * z ^ j.val := 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.3 and 3.2 (Proposition 3.5, map S)