Mathlib.Algebra.BigOperators.NatAntidiagonal
Antidiagonal reindexing of natural-valued count vectors and grouping of summable series by total degree.
CountVector 2 core · 2 supporting Regrouping of a real series indexed by a pair (t, c), with t a natural number and c a vector of natural-number counts on a finite index set I, according to the combined degree s = t + ∑ᵢ cᵢ. ★ tsum_countTaylor_eq_degree
Count-vector degree reindexing
Regrouping of a real series indexed by a pair (t, c), with t a natural number and c a vector of natural-number counts on a finite index set I, according to the combined degree s = t + ∑ᵢ cᵢ. The pairs are in bijection with triples (s, r, c) where r ≤ s and c is a count vector of total r (so t = s − r). For a nonnegative summand, summability of the degree-grouped series s ↦ ∑_{r ≤ s} ∑_{|c| = r} f(s − r, c) implies summability of the original series, and for a summable series the total sum equals the sum of the degree-grouped series.
Main definitions
* countTaylorDegreeEquiv — the bijection between pairs (t, c) and triples (s, r, c) with |c| = r,
r ≤ s.
Main results
* countTaylorDegree_fiber_sum — the sum over one degree fibre is the finite double sum over r ≤ s
and count vectors of total r.
* summable_countTaylor_of_degree — a nonnegative series is summable once its degree grouping is.
* tsum_countTaylor_eq_degree — a summable series has the same total as its degree grouping.
For a finite coordinate type, reindex a Taylor order and count vector by their combined degree, the observed degree, and the count vector in the corresponding antidiagonal fiber. The result is the equivalence that groups Taylor/count pairs by combined degree.
Definition (Lean source)
For a summable Taylor/count series, its total sum equals the iterated sum grouped by combined degree, observed degree, and count-vector antidiagonal. The result is the equality between the original total sum and its combined-degree grouping.
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
countTaylorDegree_fiber_sumlemma — For a count-vector summand and combined degree, summing over the reindexed fiber equals the finite sum over observed degrees and their count antidiagonals. The result is the equality between a reindexed fiber sum and its antidiagonal sum.hypothesesconclusionProof (Lean source)
lemma countTaylorDegree_fiber_sum {I : Type*} [Fintype I] [DecidableEq I] (f : ℕ → (I → ℕ) → ℝ) (s : ℕ) : (∑ x : Σ r : Fin (s + 1), ↥((Finset.univ : Finset I).piAntidiag r.val), f (s - x.1.val) x.2.val) = ∑ r ∈ range (s + 1), ∑ c ∈ (Finset.univ : Finset I).piAntidiag r, f (s - r) c := by classical rw [Fintype.sum_sigma] simp_rw [Finset.sum_coe_sort] exact Fin.sum_univ_eq_sum_range (fun r => ∑ c ∈ (Finset.univ : Finset I).piAntidiag r, f (s - r) c) (s + 1) -
summable_countTaylor_of_degreelemma — For a nonnegative Taylor/count summand, if its combined-degree grouping is summable, then the original series over Taylor orders and count vectors is summable. The result is summability of the original Taylor/count series.hypothesesI :f :ℕ → (I → ℕ) → ℝhf :∀ t c, 0 ≤ f t chs :Summable (fun s : ℕ => ∑ r ∈ range (s + 1), ∑ c ∈ (Finset.univ : Finset I).piAntidiag r, f (s - r) c)conclusionSummable (fun x : ℕ × (I → ℕ) => f x.1 x.2)Proof (Lean source)
lemma summable_countTaylor_of_degree {I : Type*} [Fintype I] [DecidableEq I] (f : ℕ → (I → ℕ) → ℝ) (hf : ∀ t c, 0 ≤ f t c) (hs : Summable (fun s : ℕ => ∑ r ∈ range (s + 1), ∑ c ∈ (Finset.univ : Finset I).piAntidiag r, f (s - r) c)) : Summable (fun x : ℕ × (I → ℕ) => f x.1 x.2) := by classical let F : (Σ s : ℕ, Σ r : Fin (s + 1), ↥((Finset.univ : Finset I).piAntidiag r.val)) → ℝ := fun x => f (x.1 - x.2.1.val) x.2.2.val have hF : Summable F := by apply (summable_sigma_of_nonneg (fun x => hf _ _)).mpr constructor · intro s exact summable_of_hasFiniteSupport (Set.toFinite _) · simpa only [F, tsum_fintype, countTaylorDegree_fiber_sum] using hs exact (countTaylorDegreeEquiv I).symm.summable_iff.mp hF