Logarithmic derivative near a simple pole (open-set version):
ProvedlogDerivResidue_primeasymptoticscomplex-analysispntriemann-zeta
Let , let , and let be an open set which is a neighborhood of . Assume: (i) is nonvanishing on ; (ii) is holomorphic on ; and (iii) there is a constant such that is bounded on . Then
This is the same conclusion as the general logarithmic-derivative residue lemma, but with the additional hypothesis that is open; this is the version in which the analytic work is actually carried out (writing with holomorphic and vanishing at , then differentiating).
Its role is identical: applied to at it gives the local expansion , the analytic origin of the main term in the Prime Number Theorem.
Preamble
import Batteries.Tactic.Lemma import Mathlib.MeasureTheory.Function.Floor import Mathlib.MeasureTheory.Order.Group.Lattice import Mathlib.NumberTheory.Harmonic.Bounds import Mathlib.NumberTheory.LSeries.Nonvanishing 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.Integral.IntegralEqImproper import Mathlib.NumberTheory.AbelSummation 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_EulerMaclaurin_defs import Definitions.Def_Fourier_defs import Definitions.Def_Rectangle_defs import Definitions.Def_ResidueCalcOnRectangles_defs import Definitions.Def_ZetaBounds_defs set_option lang.lemmaCmd true open Complex Topology Filter Interval Set Asymptotics local notation (name := riemannzeta) "ζ" => riemannZeta local notation (name := derivriemannzeta) "ζ'" => deriv riemannZeta -- Main theorem: if functions agree on a punctured set, their derivatives agree there too /- New two theorems to be proven -/ -- Alternative cleaner proof using more direct approach /- The set should be open so that f'(p) = O(1) for all p ∈ U -/
Formal statement
theorem logDerivResidue_prime {f : ℂ → ℂ} {p : ℂ} {U : Set ℂ}
(U_is_open : IsOpen U)
(non_zero : ∀ x ∈ U \ {p}, f x ≠ 0)
(holc : HolomorphicOn f (U \ {p}))
(U_in_nhds : U ∈ 𝓝 p) {A : ℂ} (A_ne_zero : A ≠ 0)
(f_near_p : BddAbove (norm ∘ (f - fun s ↦ A * (s - p)⁻¹) '' (U \ {p}))) :
(deriv f * f⁻¹ + (fun s ↦ (s - p)⁻¹)) =O[𝓝[≠] p] (1 : ℂ → ℂ) := by sorrySource