Mathlib Map

Theorems · Theorem · combinatorics

Multiset.count_replicate

∀ {α : Type u_1} [inst : DecidableEq α] (a b : α) (n : ℕ),
  Multiset.count a (Multiset.replicate n b) = if b = a then n else 0
Defined in
Mathlib.Data.Multiset.Replicate
Cited by
6 results in Mathlib
Foundations
Depth 21 from the axioms · uses propext, Quot.sound
Assumes
DecidableEq

Around this declaration

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

Cites5

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

Cited by6

Results whose statement or proof uses this declaration.