Mathlib Map

Theorems · Definition · combinatorics

Multiset.filter

{α : Type u_1} → (p : α → Prop) → [DecidablePred p] → Multiset α → Multiset α

Filter p s returns the elements in s (with the same multiplicities) which satisfy p, and removes the rest.

Defined in
Mathlib.Data.Multiset.Filter
Cited by
102 results in Mathlib
Foundations
Depth 14 from the axioms, rests on 82 definitions · uses propext, Quot.sound
Assumes
DecidablePred

Around this declaration

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

Cites2

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

Cited by107

Results whose statement or proof uses this declaration.