Commit 2026-07-13 10:03 b883e575
View on Github →feat(Data/Multiset): add the Multiset version of List.find? (#40326)
This is often more convenient (and computationally more efficient) than using Multiset.choose, since it avoids us having to do a preliminary pass over the set to determine if any elements satisfy the predicate.
While it doesn't make any difference since Finsupp is (currently) noncomputable, we use this to implement Finsupp.embDomain more simply.
The motivation for this def is to efficiently define DFinsupp.embDomain.