Mathlib Map

Theorems · Theorem · group theory

List.sum_toFinset_count_eq_length

∀ {ι : Type u_1} [inst : DecidableEq ι] (l : List ι), ∑ a ∈ l.toFinset, List.count a l = l.length
Defined in
Mathlib.Algebra.BigOperators.Group.Finset.Basic
Cited by
1 results in Mathlib
Foundations
Depth 78 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
DecidableEq

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites6

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

Cited by1

Results whose statement or proof uses this declaration.