Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Fixed-point complex multidimensional convolution via twisting (Proposition 3.5)

Proved
IntMul.HvdH.prop_3_5

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

integer-multiplication

Let r≥1r\ge1r≥1, ti=2eit_i=2^{e_i}ti​=2ei​ with 2≤ti∣2r2\le t_i\mid 2r2≤ti​∣2r for i<di<di<d, and let ppp satisfy 2r<2p2r<2^p2r<2p. Arrays on Ct1×⋯×td×r\mathbb C^{t_1\times\cdots\times t_d\times r}Ct1​×⋯×td​×r are represented in fixed point at precision ppp (an array UUU of Gaussian integers stands for 2−pU2^{-p}U2−pU, with every entry in the closed disc of radius 2p2^p2p). Let u∗vu*vu∗v denote the cyclic convolution over C\mathbb CC in all d+1d+1d+1 axes and put T=r∏itiT=r\prod_it_iT=r∏i​ti​. The fixed-point algorithm convCa, which twists by ζc\zeta^cζc (ζ=eπi/r\zeta=e^{\pi i/r}ζ=eπi/r) along the last axis, convolves over C[y]/(yr+1)\mathbb C[y]/(y^r+1)C[y]/(yr+1) via synthetic FFTs (Proposition 3.4), and untwists, returns an array in the disc whose in-range entries satisfy

∥1Tu∗v~−2p 1T (u∗v)∥≤2∑iei(6∑iei+3)+23.\Bigl\|\widetilde{\tfrac1T u*v}-2^p\,\tfrac1T\,(u*v)\Bigr\|\le 2^{\sum_ie_i}\bigl(6\textstyle\sum_ie_i+3\bigr)+23 .​T1​u∗v​−2pT1​(u∗v)​≤2∑i​ei​(6∑i​ei​+3)+23.

This is Proposition 3.5 of Harvey–van der Hoeven (with explicit constants), the step from negacyclic to cyclic convolution in the last variable.

Preamble
import Definitions.Def_IntMul_HvdH_ConvC
Formal statement
namespace IntMul.HvdH
theorem prop_3_5 {d : ℕ} (p r : ℕ) (e : Fin d → ℕ) (hr : 1 ≤ r) (hrp : 2 * r < 2 ^ p)
    (he1 : ∀ i, 1 ≤ e i) (he : ∀ i, 2 ^ e i ∣ 2 * r)
    (U V : (Fin (d + 1) → ℕ) → ℤ × ℤ) (hU : InDisc p U) (hV : InDisc p V) :
    InDisc p (convCa p r e U V) ∧
      ∀ j : Fin (d + 1) → ℕ, (∀ i : Fin d, j i.castSucc < 2 ^ e i) → j (Fin.last d) < r →
        ‖gC (convCa p r e U V j) - 2 ^ p *
          convC r e (fun x => gC (U x) / 2 ^ p) (fun x => gC (V x) / 2 ^ p) j‖ ≤
          2 ^ (∑ i, e i) * (6 * (∑ i, e i) + 3) + 23  := 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, Proposition 3.5

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