Error bound for rounded complex fixed-point multiplication
ProvedTaoFivePrimes.rh_direct_fixed_point_multiply_erroranalysisnumber-theorynumerical-verificationriemann-zetatao-five-primes
For a positive integer scale and integers , define
Then
This estimate supports rigorous fixed-point evaluation of oscillatory phases and other complex arithmetic.
Preamble
import Mathlib
Formal statement
theorem TaoFivePrimes.rh_direct_fixed_point_multiply_error (D : ℕ) (hD : 0<D) (a b c d : ℤ) :
‖(((a*c-b*d)/(D:ℤ):ℤ):ℂ)/(D:ℂ) +
Complex.I*(((a*d+b*c)/(D:ℤ):ℤ):ℂ)/(D:ℂ) -
(((a:ℂ)+Complex.I*(b:ℂ))/(D:ℂ))*(((c:ℂ)+Complex.I*(d:ℂ))/(D:ℂ))‖
≤ 2/(D:ℝ) := by sorrySource
Elementary Euclidean division and the triangle inequality, for the direct oscillatory theta quadrature experiment.