Gaussian resampling in one dimension with computable approximations (Proposition 4.7)
ProvedIntMul.HvdH.prop_4_7_iiinteger-multiplication
Let be coprime positive integers. Let and be integers with and , where , i.e. . Let = jIter p s t α and = eWidth p α, and assume .
Then there are linear maps and with the following properties.
- in the sup norm.
where ZMod.dft is the normalised DFT.
- The computable maps
Sapprox(Lemma 4.9) andBapprox(IntMul_HvdH_BApprox) approximate and on fixed-point vectors. For and with entries of modulus at most :
This is Proposition 4.7 of Harvey–van der Hoeven, with explicit and , and both parts (i) and (ii) in one statement. Both error bounds are under the hypotheses. The paper's bound is .
Preamble
import Mathlib import Definitions.Def_IntMul_HvdH_BApprox import Theorems.Thm_IntMul_HvdH_Sapprox_bound import Theorems.Thm_IntMul_HvdH_Dapprox_bound import Theorems.Thm_IntMul_HvdH_Japprox_bound
Formal statement
namespace IntMul.HvdH
theorem prop_4_7_ii (p s t α : ℕ) [NeZero s] [NeZero t] (hst : s < t) (hcop : Nat.Coprime s t)
(hα : 2 ≤ α) (hαp : α ^ 2 ≤ p) (hx : s ≤ α ^ 2 * (t - s))
(hp : 100 * (jIter p s t α * (10 * eWidth p α + 12) + 1) ≤ 2 ^ p) :
∃ (A : (ZMod s → ℂ) →L[ℂ] (ZMod t → ℂ)) (B : (ZMod t → ℂ) →L[ℂ] (ZMod s → ℂ)),
‖A‖ ≤ 1 ∧ ‖B‖ ≤ 1 ∧
(∀ u, (s : ℂ)⁻¹ • ZMod.dft u = (2 : ℂ) ^ (2 * α ^ 2) • B ((t : ℂ)⁻¹ • ZMod.dft (A u))) ∧
(∀ U : ℕ → ℤ × ℤ, (∀ i, ‖((U i).1 : ℂ) + ((U i).2 : ℂ) * Complex.I‖ ≤ 2 ^ p) → ∀ k : ZMod t,
‖(((Sapprox p s t α U k.val).1 : ℂ) + ((Sapprox p s t α U k.val).2 : ℂ) * Complex.I) -
2 ^ p * A (fun j => (((U j.val).1 : ℂ) + ((U j.val).2 : ℂ) * Complex.I) / 2 ^ p) k‖
≤ 6 * sWidth p α + 4) ∧
(∀ V : ℕ → ℤ × ℤ, (∀ i, ‖((V i).1 : ℂ) + ((V i).2 : ℂ) * Complex.I‖ ≤ 2 ^ p) → ∀ j : ZMod s,
‖(((Bapprox p s t α V j.val).1 : ℂ) + ((Bapprox p s t α V j.val).2 : ℂ) * Complex.I) -
2 ^ p * B (fun k => (((V k.val).1 : ℂ) + ((V k.val).2 : ℂ) * Complex.I) / 2 ^ p) j‖
≤ jIter p s t α * (10 * eWidth p α + 12) + 4) := 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, Proposition 4.7