Coefficient extraction from a finite sum of indexed series
ProvedOAI.PiExponent.LogarithmicJetIdeals.finite_sum_coeff_of_termsnumber-theoryopenai-pi-exponent-017
For an indexed family of multivariate power series whose queried coefficient is zero except for the matching index, the coefficient of the finite sum over exactly the degree-m indices is the matching value when the queried degree is m, and zero for queried degrees at most m otherwise.
Preamble
import Mathlib.Data.Complex.Basic import Mathlib.RingTheory.MvPowerSeries.Equiv open scoped BigOperators
Formal statement
theorem OAI.PiExponent.LogarithmicJetIdeals.finite_sum_coeff_of_terms
{n : Nat}
(f : (Fin n → Nat) → MvPowerSeries (Fin n) Complex)
(value : (Fin n → Nat) → Complex)
(m : Nat)
(S : Finset (Fin n → Nat))
(hS : ∀ d : Fin n → Nat, d ∈ S ↔ (∑ k, d k) = m)
(e : Fin n → Nat)
(he : (∑ k, e k) ≤ m)
(hterm : ∀ d ∈ S,
MvPowerSeries.coeff (Finsupp.equivFunOnFinite.symm e) (f d) =
(if d = e then value d else 0)) :
MvPowerSeries.coeff (Finsupp.equivFunOnFinite.symm e)
(∑ d ∈ S, f d) =
(if (∑ k, e k) = m then value e else 0) := by sorrySource