A finite polynomial enclosure for the full logarithmic Gaussian theta sum
ProvedMasulloRH.theta_value_enclosure_of_gaussian_parameteranalysisapproximationinterval-arithmetictheta-function
For a real input , enclose by . For an integer cutoff let
The canonical infinite theta sum at is real and lies in . Rational give rational output endpoints. This supplies a direct value enclosure for the compact height-two grid. Applying the same statement at and multiplying by supplies the reflected enclosure.
Preamble
import Theorems.Thm_MasulloRH_theta_gaussian_truncation_error import Mathlib.Tactic.Linarith import Mathlib.Tactic.Ring open MasulloRH.GaussianApproximation open scoped BigOperators ComplexConjugate
Formal statement
theorem MasulloRH.theta_value_enclosure_of_gaussian_parameter (K : ℕ) (x L U : ℝ) (hL : 0 ≤ L)
(hl : L ≤ Real.exp (-Real.pi * (Real.exp x)^2))
(hu : Real.exp (-Real.pi * (Real.exp x)^2) ≤ U) (hU : U < 1) :
let B (a b : ℝ) := 2 * ∑ n ∈ Finset.range K,
(a ^ ((n+1)^2) - 3*b ^ (4*(n+1)^2) + 2*a ^ (16*(n+1)^2))
let E := 12 * U ^ ((K+1)^2) / (1 - U ^ (2*K+3))
(theta x).im = 0 ∧ B L U - E ≤ (theta x).re ∧ (theta x).re ≤ B U L + E := by sorrySource
Developed for the explicit height-two shared grid, https://prove2.me/theorems/a1982f8d-9d4a-4b3f-88ac-3a2cdaee2ead . The infinite-sum truncation bound used is https://prove2.me/theorems/2e9c99f7-cd06-43f7-a85b-f4d2cc422151 .