Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Evaluation at an rrr-th root of unity turns cyclic convolution into multiplication

Proved
IntMul.HvdH.eval_cyclic_conv

by xuanji · Oct 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

integer-multiplication

Let AAA be a commutative ring, r≥1r\ge1r≥1, and x∈Ax\in Ax∈A with xr=1x^r=1xr=1. For u,v:Z/r→Au,v:\mathbb Z/r\to Au,v:Z/r→A,

(∑jujxjˉ)(∑jvjxjˉ)=∑j(u∗v)j xjˉ,(u∗v)j=∑kukvj−k.\Big(\sum_j u_j x^{\bar j}\Big)\Big(\sum_j v_j x^{\bar j}\Big)=\sum_j (u*v)_j\,x^{\bar j},\qquad (u*v)_j=\sum_k u_kv_{j-k}.(j∑​uj​xjˉ​)(j∑​vj​xjˉ​)=j∑​(u∗v)j​xjˉ​,(u∗v)j​=k∑​uk​vj−k​.

In other words u↦∑jujxjˉu\mapsto\sum_j u_jx^{\bar j}u↦∑j​uj​xjˉ​ is a ring homomorphism from (Ar,∗)≅A[x]/(xr−1)(A^r,*)\cong A[x]/(x^r-1)(Ar,∗)≅A[x]/(xr−1) to AAA. With x=ζyx=\zeta yx=ζy in C[y]/(yr+1)\mathbb C[y]/(y^r+1)C[y]/(yr+1) and ζ=eπi/r\zeta=e^{\pi i/r}ζ=eπi/r this is the ring map SSS of Proposition 3.5 of Harvey–van der Hoeven.

Preamble
import Mathlib
Formal statement
namespace IntMul.HvdH
theorem eval_cyclic_conv {A : Type*} [CommRing A] (r : ℕ) [NeZero r] (x : A) (hx : x ^ r = 1)
    (u v : ZMod r → A) :
    (∑ j, u j * x ^ j.val) * (∑ j, v j * x ^ j.val) = ∑ j, (∑ k, u k * v (j - k)) * x ^ j.val := by sorry
end IntMul.HvdH
Source
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)

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me