Sums of residues at simple real poles
Lib.General.Algebra.ResidueSums.lean
Reading
Upstream documentation written by Claude
This file computes sums of residues of rational functions whose denominator has simple real roots. Let
p = nodal univ xbe the monic polynomial with the distinct rootsx i. The residue ofF / patx iisF (x i) / p' (x i). This file also determines the sign ofp' (x i)when the roots are ordered.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.DiscreteSeries.sum_eval_div_eval_derivative_nodalandsum_eval_div_sub_mul_eval_derivative_nodal: two sums of residues at simple poles.New.DiscreteSeries.eval_derivative_nodal: the derivative ofnodal univ x, the monic polynomial with rootsx j, at the rootx iis the product of thex i - x joverj ≠ i.
Relation to the literature
The residue sums rest on Lagrange interpolation.
Declarations
theorem sum_eval_div_sub_mul_eval_derivative_nodal (hx : Function.Injective x) {c : ℝ} (hc : ∀ i : ι, c ≠ x i) (h_degree : F.natDegree < Fintype.card ι) : ∑ i : ι, F.eval (x i) / ((x i - c) * (derivative (nodal univ x)).eval (x i)) = -(F.eval c / (nodal univ x).eval c)
Import route to Main
Lib.General.Algebra.ResidueSums → New.Appendix.DiscreteSeries.StationaryPosition (pinned import) → New.Appendix.DiscreteSeries.PositionGroup (pinned import) → New.Determinant.AuxiliaryForms.DeepLevelVanishing (pinned import) → New.Determinant.AuxiliaryForms.FirstPath (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)