Theorems · Theorem · ring theory
Finsupp.onFinset_sum
∀ {α : Type u_1} {M : Type u_8} {N : Type u_10} [inst : Zero M] [inst_1 : AddCommMonoid N] {s : Finset α} {f : α → M}
{g : α → M → N} (hf : ∀ (a : α), f a ≠ 0 → a ∈ s),
(∀ (a : α), g a 0 = 0) → (Finsupp.onFinset s f hf).sum g = ∑ a ∈ s, g a (f a)If g maps a second argument of 0 to 0, summing it over the
result of onFinset is the same as summing it over the original Finset.
- Cited by
- 3 results in Mathlib
- Foundations
- Depth 68 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- ZeroAddCommMonoid
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites8
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsetstatement and proof · cited by 13,712
- AddCommMonoidstatement and proof · cited by 12,281
- Finset.sumstatement · cited by 5,195
- Finsupp.sumstatement · cited by 481
- Finsupp.mem_support_iffproof · cited by 89
- Finset.sum_subsetproof · cited by 79
- Finsupp.onFinsetstatement · cited by 20
- Finsupp.support_onFinset_subsetproof · cited by 9
Cited by3
Results whose statement or proof uses this declaration.
- Algebra.FormallyUnramified.finite_of_freeproof · cited by 7
- weightedVSub_mem_vectorSpanproof · cited by 2
- LinearIndependent.map_of_isPurelyInseparable_of_isSeparableproof · cited by 1