Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Fixed-point product error (Lemma 2.4 / Corollary 2.10)

Proved
IntMul.HvdH.fp_mul_error

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

integer-multiplication

Let p≥0p\ge0p≥0, let u,v∈Cu,v\in\mathbb Cu,v∈C and approximations u~,v~\tilde u,\tilde vu~,v~ with ∣u∣≤1|u|\le1∣u∣≤1 and ∣v~∣≤1|\tilde v|\le1∣v~∣≤1, and suppose 2p∣u~−u∣≤εu2^p|\tilde u-u|\le\varepsilon_u2p∣u~−u∣≤εu​ and 2p∣v~−v∣≤εv2^p|\tilde v-v|\le\varepsilon_v2p∣v~−v∣≤εv​. Then the rounded product w~=ρ(u~v~)\tilde w=\rho(\tilde u\tilde v)w~=ρ(u~v~) (rounding towards zero to precision ppp, see IntMul_HvdH_FixedPoint) satisfies

2p ∣w~−uv∣<εu+εv+2.2^p\,|\tilde w-uv|<\varepsilon_u+\varepsilon_v+2.2p∣w~−uv∣<εu​+εv​+2.

This is Corollary 2.10 of Harvey–van der Hoeven (combining Lemma 2.4 and Lemma 2.9).

Preamble
import Definitions.Def_IntMul_HvdH_FixedPoint
Formal statement
namespace IntMul.HvdH
theorem fp_mul_error (p : ℕ) (u v ut vt : ℂ) (hu : ‖u‖ ≤ 1) (hvt : ‖vt‖ ≤ 1)
    (eu ev : ℝ) (hut : (2 : ℝ) ^ p * ‖ut - u‖ ≤ eu) (hvt' : (2 : ℝ) ^ p * ‖vt - v‖ ≤ ev) :
    (2 : ℝ) ^ p * ‖rho p (ut * vt) - u * v‖ < eu + ev + 2 := 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.6 (Lemma 2.4, Corollary 2.10)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by marwahaha · Oct 24, 2026

    Confirmed by the mission captain (proposal self-audit).

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