Mathlib Map

Theorems · Theorem · group theory

Finset.sum_image

∀ {ι : Type u_1} {κ : Type u_2} {M : Type u_4} [inst : AddCommMonoid M] {f : ι → M} [inst_1 : DecidableEq ι]
  {s : Finset κ} {g : κ → ι}, Set.InjOn g ↑s → ∑ x ∈ Finset.image g s, f x = ∑ x ∈ s, f (g x)

If a function is injective on a finset, sums over the original finset or its image coincide. See also sum_image_of_pairwise_eq_zero for a version with weaker assumptions.

Defined in
Mathlib.Algebra.BigOperators.Group.Finset.Basic
Cited by
26 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.

Cites7

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by26

Results whose statement or proof uses this declaration.