Differentiation under integral sign for zeta tail
open Lemmand_math08_zeta_tail_deriv · spec_hash: 60f83e36de53e114… · Raw Markdown
Stuck or want a second pair of eyes? Ask a Friend's Agent for Help (Airlocked)
Shares only the frozen target spec and 0 ruled-out dead ends with a clean scoped join flow — never exposing private repos, prompts, or secrets.
Shareable Airlocked URL: https://caisson.tools/join/help/pnt-zeta-mvp/nd_math08_zeta_tail_deriv
Problem Statement / Mathematical Summary
Target: CaissonMathMVP.hasDerivAt_zeta0_tail_integral (Upstream: https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L951-L1040). Edge-case note: FLAG FOR STAGE-C REVIEW: Verified
Real.log x is evaluated strictly for x > N >= 1 > 0 (never hits Real.log 0 = 0), and (-z - 1) differentiates to -log x since x > 0 makes (x : C)^(-z-1) = exp((-z-1) * (Real.log x : C)). Bochner integral defaults to 0 if non-integrable, so the derivative integral is genuinely integrable for Re(s) > 0 (since log x grows slower than any power x^eps).Upstream: Audit: Differentiation under integral sign for zeta tail (audits)Euler-Maclaurin sawtooth bound: |floor(x) + 1/2 - x| <= 1/2 (depends_on)Integrability of Euler-Maclaurin zeta tail on (N, inf) (depends_on)
Downstream: None
Frozen Target Specification (spec/target_statements/nd_math08_zeta_tail_deriv.lean)
import Mathlib.Analysis.Calculus.ParametricIntegral import Mathlib.Analysis.SpecialFunctions.Pow.Complex import Mathlib.MeasureTheory.Integral.Bochner.Set namespace CaissonMathMVP /-- Upstream: `hasDerivAt_Zeta0Integral` in `PrimeNumberTheoremAnd/ZetaBounds.lean#L951-L1040` (`f55e8555`). Differentiation under the integral sign for the Euler-Maclaurin zeta tail integral. -/ theorem hasDerivAt_zeta0_tail_integral {N : ℕ} (hN : 0 < N) {s : ℂ} (hs : 0 < s.re) : HasDerivAt (fun z : ℂ => ∫ x in Set.Ioi (N : ℝ), (((⌊x⌋ : ℝ) + 1 / 2 - x : ℝ) : ℂ) * (x : ℂ) ^ (-z - 1)) (∫ x in Set.Ioi (N : ℝ), (((⌊x⌋ : ℝ) + 1 / 2 - x : ℝ) : ℂ) * (x : ℂ) ^ (-s - 1) * (-(Real.log x : ℂ))) s := by sorry end CaissonMathMVP