Expansion of a single-coordinate polynomial
ProvedOAI.PiExponent.FinitePeriodCollision.single_coordinate_support_as_sumirrationality-measurenumber-theoryopenai-pi-exponent-017
A polynomial supported only on coordinate i equals the finite sum of its singleton-coordinate monomials, indexed by the coordinate values appearing in its support.
Preamble
import Mathlib.Algebra.MvPolynomial.Basic open scoped BigOperators
Formal statement
theorem OAI.PiExponent.FinitePeriodCollision.single_coordinate_support_as_sum
{σ : Type} [DecidableEq σ] {R : Type} [CommSemiring R]
(p : MvPolynomial σ R) (i : σ)
(hsupport : ∀ (s : σ →₀ ℕ), p.coeff s ≠ 0 →
∀ j : σ, s j ≠ 0 → j = i) :
p = ∑ n ∈ p.support.image (fun s => s i),
MvPolynomial.monomial (Finsupp.single i n)
(p.coeff (Finsupp.single i n)) := by sorrySource