Theorems · Theorem · group theory
Finset.sum_comp
∀ {ι : Type u_1} {κ : Type u_2} {M : Type u_4} {s : Finset ι} [inst : AddCommMonoid M] [inst_1 : DecidableEq κ]
(f : κ → M) (g : ι → κ), ∑ a ∈ s, f (g a) = ∑ b ∈ Finset.image g s, {a ∈ s | g a = b}.card • f bThe sum of the composition of functions f and g, is the sum over
b ∈ s.image g of f b times of the cardinality of the fibre of b. See also
Finset.sum_image.
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 76 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- AddCommMonoidDecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites10
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 and proof · cited by 5,195
- Finset.cardstatement · cited by 2,327
- Finset.sum_congrproof · cited by 2,323
- Finset.filterstatement · cited by 949
- Finset.imagestatement and proof · cited by 910
- Finset.sum_constproof · cited by 254
- Finset.mem_image_of_memproof · cited by 81
- Finset.sum_fiberwise_of_maps_to'proof · cited by 3
Cited by4
Results whose statement or proof uses this declaration.
- BoxIntegral.HasIntegral.of_bRiemann_eq_false_of_forall_isLittleOproof · cited by 2
- sum_hom_units_eq_zeroproof · cited by 1
- Finset.sum_image_le_of_nonnegproof · cited by 0
- Fintype.sum_piFinset_applyproof · cited by 0