Theorems · Theorem · combinatorics
Multiset.map_const
∀ {α : Type u_1} {β : Type v} (s : Multiset α) (b : β),
Multiset.map (Function.const α b) s = Multiset.replicate s.card b- Defined in
- Mathlib.Data.Multiset.MapFold
- Cited by
- 9 results in Mathlib
- Foundations
- Depth 21 from the axioms · uses propext, 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.
- Multisetstatement and proof · cited by 2,627
- Multiset.mapstatement · cited by 876
- Multiset.cardstatement · cited by 375
- Multiset.replicatestatement · cited by 88
Cited by9
Results whose statement or proof uses this declaration.
- Finset.sum_constproof · cited by 254
- Finset.prod_constproof · cited by 154
- Multiset.map_const'proof · cited by 39
- Multiset.esymm_negproof · cited by 2
- Height.mulHeight₁_sum_leproof · cited by 2
- splits_X_pow_sub_one_of_X_pow_sub_Cproof · cited by 1
- Multiset.card_nsmul_le_sumproof · cited by 0
- Multiset.eq_of_mem_map_constproof · cited by 0
- Multiset.pow_card_le_prodproof · cited by 0