The singular integral in Gamma-density form
ProvedCircleMethod.singInt_eq_subSubstituting turns the singular integral into a weighted Fourier transform on :
The weight is precisely the probability density of for uniform on , so is the characteristic function of that distribution. This is the form in which the Gamma function appears: convolving copies of the density and evaluating at the appropriate point produces the Dirichlet integral , which is the archimedean constant in the Hardy--Littlewood formula.
Formalization Note. The power is a real rpow of a real base, coerced to , rather than a complex cpow — this avoids branch cuts entirely, and the two agree for . The integrand is unbounded at but the interval integral is honest since . Mathlib's interval-integral substitution lemmas all require a continuous integrand and so do not apply; the change of variables that does work for a singular integrand is MeasureTheory.integral_Icc_deriv_smul_of_deriv_nonneg.
import Definitions.Def_CircleMethod_waring import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.Analysis.SpecialFunctions.Gamma.Basic import Mathlib.MeasureTheory.Function.JacobianOneDim open Finset
namespace CircleMethod
theorem singInt_eq_sub {k : ℕ} (hk : 1 ≤ k) (β : ℝ) :
singInt k β
= (1 / (k : ℂ)) * ∫ u in (0:ℝ)..1, ((u ^ ((1:ℝ)/(k:ℝ) - 1) : ℝ) : ℂ) * e (β * u) := by sorry
end CircleMethod