Closing an n log n recursion with contraction ρ < 1
ProvedIntMul.HvdH.recursion_nlogninteger-multiplication
Let satisfy and let . Fix , and . Suppose that for every there are finitely many pairs with and such that
Then there is a constant with for all .
With , this is the recursion-closing step of Harvey–van der Hoeven (§5). The recursive calls of the -dimensional algorithm cost at most a fixed fraction of (there ). All non-recursive work costs . Together these give .
Preamble
import Mathlib
Formal statement
namespace IntMul.HvdH
theorem recursion_nlogn (M : ℕ → ℝ) (L : ℕ → ℝ) (hL : ∀ n, 1 ≤ L n) (n₀ : ℕ) (K ρ : ℝ)
(hK : 0 ≤ K) (hρ : ρ < 1)
(step : ∀ n, n₀ ≤ n → 1 ≤ n → ∃ l : List (ℝ × ℕ),
(∀ q ∈ l, 0 ≤ q.1 ∧ 1 ≤ q.2 ∧ q.2 < n) ∧
(l.map (fun q => q.1 * (q.2 * L q.2))).sum ≤ ρ * (n * L n) ∧
M n ≤ (l.map (fun q => q.1 * M q.2)).sum + K * (n * L n)) :
∃ C : ℝ, 0 ≤ C ∧ ∀ n, 1 ≤ n → M n ≤ C * (n * L n) := 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, §5 (proof of Theorem 1.1)