Derivative after subtracting a simple pole:
Provedderiv_f_minus_A_inv_sub_cleancomplex-analysispnt
Let and let . Assume is differentiable at and . Then the function obtained by subtracting the simple-pole term from is differentiable at , with derivative
This is the elementary computation combining linearity of the derivative with the formula , valid away from the pole .
In the PNT+ project this identity supports the pole-subtraction analysis of near : writing , one repeatedly needs the derivative of the regularized function in terms of and the explicit correction. The lemma is stated for a general function , residue , and pole location , so it is reusable in any principal-part computation.
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 -/
Formal statement
theorem deriv_f_minus_A_inv_sub_clean (f : ℂ → ℂ) (A x p : ℂ)
(hf : DifferentiableAt ℂ f x) (hp : x ≠ p) :
deriv (f - (fun z ↦ A * (z - p)⁻¹)) x = deriv f x + A * ((x - p) ^ 2)⁻¹ := by sorrySource