Differentiation under the integral sign for the Euler–Maclaurin tail integral of
ProvedZeta23_hasDerivAt_Zeta0IntegralFix a positive integer and a complex number with . For a real variable and a complex exponent , the power is the principal complex power, and denotes the integer floor of (cast into in the integrand). Consider the tail integral
whose integrand involves the bounded sawtooth-type function .
The theorem asserts that is complex differentiable at (in the sense of HasDerivAt), with derivative obtained by differentiating under the integral sign:
Both integrals converge because the sawtooth factor is bounded and (with or without a logarithmic factor) is integrable on when .
In the module Zeta23.FromPNTPlus.ZetaBounds, this tail integral is the analytic ingredient of the modified zeta function (riemannZeta0), the truncated Euler–Maclaurin representation of . The lemma shows the integral term of is holomorphic on , and it feeds into Zeta0EqZeta, which identifies there for — the representation used to prove the zeta bounds in the zero-density and explicit-formula parts of the project.
import Batteries.Tactic.Lemma import Mathlib.Algebra.Order.Floor.Defs import Mathlib.Algebra.Order.Floor.Ring import Mathlib.Algebra.Order.Floor.Semiring import Mathlib.Analysis.Calculus.Deriv.Support import Mathlib.Analysis.Complex.CauchyIntegral import Mathlib.Analysis.Complex.Convex import Mathlib.Analysis.Complex.RealDeriv import Mathlib.Analysis.Complex.RemovableSingularity import Mathlib.Analysis.Distribution.SchwartzSpace.Deriv import Mathlib.Analysis.Fourier.FourierTransformDeriv import Mathlib.Analysis.InnerProductSpace.Basic import Mathlib.Analysis.Meromorphic.NormalForm import Mathlib.Analysis.Normed.Order.Lattice import Mathlib.Analysis.SpecialFunctions.Integrals.Basic import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.MeasureTheory.Function.Floor import Mathlib.MeasureTheory.Integral.IntegralEqImproper import Mathlib.MeasureTheory.Order.Group.Lattice import Mathlib.NumberTheory.AbelSummation import Mathlib.NumberTheory.Harmonic.Bounds import Mathlib.NumberTheory.LSeries.Nonvanishing import Mathlib.Order.Filter.ZeroAndBoundedAtFilter import Mathlib.Order.Interval.Set.Monotone import Mathlib.Tactic.Abel import Mathlib.Tactic.LinearCombinationPrime import Mathlib.Topology.ContinuousMap.Bounded.Basic import Definitions.Def_Zeta23_FromPNTPlus_EulerMaclaurin import Definitions.Def_Zeta23_FromPNTPlus_Fourier import Definitions.Def_Zeta23_FromPNTPlus_Rectangle import Definitions.Def_Zeta23_FromPNTPlus_ResidueCalcOnRectangles import Definitions.Def_Zeta23_FromPNTPlus_Sobolev import Definitions.Def_Zeta23_FromPNTPlus_ZetaBounds set_option lang.lemmaCmd true open Complex Topology Filter Interval Set Asymptotics local notation (name := riemannzeta) "ζ" => riemannZeta local notation (name := derivriemannzeta) "ζ'" => deriv riemannZeta local notation (name := riemannzeta0) "ζ₀" => riemannZeta0 open MeasureTheory
theorem Zeta23_hasDerivAt_Zeta0Integral {N : ℕ} (Npos : 0 < N) {s : ℂ} (hs : s ∈ {s | 0 < s.re}) :
HasDerivAt (fun z ↦ ∫ x in Ioi (N : ℝ), (⌊x⌋ + 1 / 2 - x) * (x : ℂ) ^ (-z - 1))
(∫ x in Ioi (N : ℝ), (⌊x⌋ + 1 / 2 - x) * (x : ℂ) ^ (- s - 1) * (- Real.log x)) s := by sorry