Theorems · Definition · combinatorics
Finsupp.toMultiset
{α : Type u_1} → (α →₀ ℕ) →+ Multiset αGiven f : α →₀ ℕ, f.toMultiset is the multiset with multiplicities given by the values of
f on the elements of α. We define this function as an AddMonoidHom.
Under the additional assumption of [DecidableEq α], this is available as
Multiset.toFinsupp : Multiset α ≃+ (α →₀ ℕ); the two declarations are separate as this assumption
is only needed for one direction.
- Defined in
- Mathlib.Data.Finsupp.Multiset
- Cited by
- 44 results in Mathlib
- Foundations
- Depth 72 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites4
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsuppstatement and proof · cited by 5,255
- AddMonoidHomstatement · cited by 3,230
- Multisetstatement · cited by 2,627
- Finsupp.sumproof · cited by 481
Cited by47
Results whose statement or proof uses this declaration.
- MvPolynomial.degreesproof · cited by 51
- Multiset.toFinsuppproof · cited by 33
- MvPolynomial.degreeOf_eq_supproof · cited by 15
- Finsupp.count_toMultisetstatement · cited by 10
- MvPolynomial.degrees_defstatement and proof · cited by 8
- Finsupp.toMultiset_singlestatement · cited by 8
- MvPolynomial.degrees_mul_leproof · cited by 6
- Finsupp.card_toMultisetstatement · cited by 5
- Finsupp.toMultiset_zerostatement · cited by 5
- Multiset.toFinsupp_toMultisetstatement · cited by 4
- Finsupp.toMultiset_addstatement and proof · cited by 4
- MvPolynomial.degrees_monomialstatement and proof · cited by 3