Mathlib Map

Theorems · Definition · combinatorics

Multiset.toFinsupp

{α : Type u_1} → [DecidableEq α] → Multiset α ≃+ (α →₀ ℕ)

Given a multiset s, s.toFinsupp returns the finitely supported function on given by the multiplicities of the elements of s.

Defined in
Mathlib.Data.Finsupp.Multiset
Cited by
33 results in Mathlib
Foundations
Depth 81 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.

Cites7

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

Cited by39

Results whose statement or proof uses this declaration.