Auxiliary real coefficients and Gaussian functions for lower comparison
DefinitionAnalyticCombinatorics_Ch2_Mappings_RamanujanQSharpanalytic-combinatoricsasymptoticsfinite-sumslean4
For natural numbers and real , define and . These auxiliary coefficients and Gaussian functions support lower comparisons for the finite Ramanujan sum. The definitions use totalized real division, so and is identically one when or ; positivity restrictions belong to the separate bounds.
Definition code
import Mathlib set_option autoImplicit true set_option relaxedAutoImplicit false set_option maxSynthPendingDepth 3 /-! # Sharp lower asymptotic for Ramanujan's Q-function This file proves the missing lower comparison for Ramanujan's finite `Q`-function and upgrades the previously banked upper bound to the sharp equivalence `Q(n) ~ sqrt (pi * n / 2)`. -/ open Filter Asymptotics MeasureTheory open scoped BigOperators Topology namespace AnalyticCombinatorics.Ch2.Mappings.RamanujanQNS noncomputable section namespace Sharp def lowerCoeff (m : ℕ) : ℝ := (((m + 1 : ℕ) : ℝ) / (m : ℝ)) def lowerGaussian (m n : ℕ) (x : ℝ) : ℝ := Real.exp (-((lowerCoeff m / (2 * (n : ℝ))) * x ^ 2)) end Sharp end end AnalyticCombinatorics.Ch2.Mappings.RamanujanQNS
Source