Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Composition of fixed-point approximations (Corollary 2.8)

Proved
IntMul.HvdH.fp_comp

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

integer-multiplication

Let A~\tilde AA~ approximate AAA with error ε1\varepsilon_1ε1​ and B~\tilde BB~ approximate BBB with error ε2\varepsilon_2ε2​ at precision ppp, in the sense of FPApprox (IntMul_HvdH_FPApprox). Suppose BBB is 111-Lipschitz for the sup norm. Then B~∘A~\tilde B\circ\tilde AB~∘A~ approximates B∘AB\circ AB∘A with error

ε(B~A~)≤ε1+ε2.\varepsilon(\tilde B\tilde A)\le\varepsilon_1+\varepsilon_2.ε(B~A~)≤ε1​+ε2​.

This is Corollary 2.8 of Harvey–van der Hoeven, stated for fixed-point arrays of Gaussian integers.

Preamble
import Definitions.Def_IntMul_HvdH_FPApprox
Formal statement
namespace IntMul.HvdH
theorem fp_comp {ι κ μ : Type*} (p : ℕ) {Aa : (ι → ℤ × ℤ) → (κ → ℤ × ℤ)} {A : (ι → ℂ) → (κ → ℂ)}
    {Ba : (κ → ℤ × ℤ) → (μ → ℤ × ℤ)} {B : (κ → ℂ) → (μ → ℂ)} {ε₁ ε₂ : ℝ}
    (hA : FPApprox p Aa A ε₁) (hB : FPApprox p Ba B ε₂) (hBl : SupLip B) :
    FPApprox p (Ba ∘ Aa) (B ∘ A) (ε₁ + ε₂) := 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, Corollary 2.8

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