Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Fixed-point scaling error (Lemma 2.2): ε(v~)<2c ε(u~)+3\varepsilon(\tilde v)<2c\,\varepsilon(\tilde u)+3ε(v~)<2cε(u~)+3

Proved
IntMul.HvdH.scaleFP_bound

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

integer-multiplication

Let p≥0p\ge0p≥0, let c≥1c\ge1c≥1 be an integer, and let u∈Cu\in\mathbb Cu∈C with ∣u∣≤1/c|u|\le 1/c∣u∣≤1/c, so that v:=cuv:=cuv:=cu lies in the unit disc. Let u~∈C\tilde u\in\mathbb Cu~∈C be any approximation of uuu, and let v~\tilde vv~ be the output of the scaling procedure scaleFP (Lemma 2.2: take cu~c\tilde ucu~ if it lies in the unit disc, otherwise renormalise by b=⌈2p∣cu~∣⌉b=\lceil2^p|c\tilde u|\rceilb=⌈2p∣cu~∣⌉ and round). Then ∣v~∣≤1|\tilde v|\le1∣v~∣≤1, and the errors ε(v~)=2p∣v~−v∣\varepsilon(\tilde v)=2^p|\tilde v-v|ε(v~)=2p∣v~−v∣ and ε(u~)=2p∣u~−u∣\varepsilon(\tilde u)=2^p|\tilde u-u|ε(u~)=2p∣u~−u∣ satisfy

ε(v~)<2c ε(u~)+3.\varepsilon(\tilde v)<2c\,\varepsilon(\tilde u)+3 .ε(v~)<2cε(u~)+3.

This is the error statement of Lemma 2.2 of Harvey–van der Hoeven, used for example in the final scaling step of an inverse FFT.

Preamble
import Definitions.Def_IntMul_HvdH_FixedPoint
Formal statement
namespace IntMul.HvdH
theorem scaleFP_bound (p c : ℕ) (hc : 1 ≤ c) (u ũ : ℂ) (hu : ‖u‖ ≤ (c : ℝ)⁻¹) :
    ‖scaleFP p c ũ‖ ≤ 1 ∧
      (2 : ℝ) ^ p * ‖scaleFP p c ũ - c * u‖ < 2 * c * ((2 : ℝ) ^ p * ‖ũ - u‖) + 3 := 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, Section 2.2, Lemma 2.2 (error bound)

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