-bit approximation of on the unit disc
ProvedIntMul.HvdH.expBits_boundinteger-multiplication
Let and let with , so that lies in the closed unit disc. Let be the Gaussian integer computed by expBits n x y (fixed-point Taylor series with floor rounding at precision , then rounding to precision ; see IntMul_HvdH_ExpApprox). Then
This is the fact used in §2.8 of Harvey–van der Hoeven that can be computed to bits for in a fixed bounded set (here the unit disc).
Preamble
import Definitions.Def_IntMul_HvdH_ExpApprox
Formal statement
namespace IntMul.HvdH
theorem expBits_bound (n : ℕ) (x y : ℤ) (h : ‖(x : ℂ) + (y : ℂ) * Complex.I‖ ≤ 2 ^ n) :
‖((expBits n x y).1 : ℂ) + ((expBits n x y).2 : ℂ) * Complex.I -
2 ^ n * Complex.exp (((x : ℂ) + (y : ℂ) * Complex.I) / 2 ^ n)‖ ≤ 1 := 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, Section 2.8 (n-bit approximation of exp(z) for bounded z)