CAISSON Explorer

Abstract simple-pole log-derivative residue: f'/f + 1/(s-p) = O(1)

open Lemma
nd_math09_log_deriv_residue · spec_hash: c9619bf9fcc025fb… · 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.
Ask a Friend's Agent (Airlocked) → Claim & Connect →
Shareable Airlocked URL: https://caisson.tools/join/help/pnt-zeta-mvp/nd_math09_log_deriv_residue

Problem Statement / Mathematical Summary

Target: CaissonMathMVP.logDerivResidue_of_simple_pole (Upstream: https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/f55e85551ac10e96d98262a354cfcaac2825f2da/PrimeNumberTheoremAnd/ZetaBounds.lean#L372-L391). Edge-case note: Checked punctured filter 𝓝[≠] p (not 𝓝 p), which prevents the value of f p or (p - p)⁻¹ = 0 at s = p from polluting the asymptotic bound. Since g is continuous and g p ≠ 0, f s ≠ 0 eventually on 𝓝[≠] p, so deriv f s / f s never hits division by 0.
Upstream: Audit: Abstract simple-pole log-derivative residue: f'/f + 1/(s-p) = O(1) (audits)
Downstream: Riemann zeta log-derivative simple pole at s = 1 (depends_on)

Frozen Target Specification (spec/target_statements/nd_math09_log_deriv_residue.lean)

import Mathlib.Analysis.Analytic.Basic
import Mathlib.Analysis.Asymptotics.Defs
import Mathlib.Analysis.Calculus.Deriv.Basic
import Mathlib.Analysis.Complex.Basic
import Mathlib.Topology.NhdsWithin

open scoped Topology

namespace CaissonMathMVP

/-- Upstream: `logDerivResidue` in
`PrimeNumberTheoremAnd/ZetaBounds.lean#L372-L391` (`f55e8555`).
Logarithmic derivative of a function with a simple pole at `p` satisfies
`f'(s)/f(s) + (s - p)⁻¹ = O(1)` along `𝓝[≠] p`. -/
theorem logDerivResidue_of_simple_pole {f g : ℂ → ℂ} {p : ℂ}
    (hg_an : AnalyticAt ℂ g p) (hg_ne : g p ≠ 0)
    (hfg : ∀ᶠ s in 𝓝[≠] p, f s = g s / (s - p)) :
    (fun s : ℂ => deriv f s / f s + (s - p)⁻¹) =O[𝓝[≠] p] (fun _ => (1 : ℝ)) := by
  sorry

end CaissonMathMVP