Documentation

LeanPool.LeanModularForms.GeneralizedResidueTheory.Residue.MathlibBridge

Bridge: Project residueAt and Mathlib MeromorphicAt #

As of Mathlib v4.29, there is no MeromorphicAt.residue definition in Mathlib. Mathlib provides:

This file bridges the project's residue definitions to Mathlib's meromorphic API:

Main Results #

For higher-order poles, the project's residueAt_eq_laurent_head_coeff (in FlatnessTransfer/PerTermVanishing.lean) provides the general connection to the a₋₁ Laurent coefficient.

Analytic / non-negative order bridge #

If f is analytic at z₀, then residueAt f z₀ = 0. The contour integral of an analytic function on a small circle vanishes by Cauchy's theorem.

If f is meromorphic at z₀ with non-negative order (i.e., analytic or removable singularity), then residueSimplePole f z₀ = 0.