[Merged by Bors] - split(algebra/big_operators/multiset): Split off data.multiset.basic
#11043
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This moves
multiset.prod
,multiset.sum
toalgebra.big_operators.multiset
multiset.join
,multiset.bind
,multiset.product
,multiset.sigma
todata.multiset.bind
. This is needed asjoin
is definedusing
sum
.The file was quite messy, so I reorganized
algebra.big_operators.multiset
by increasing typeclass assumptions.I'm crediting Mario for 0663945 (
prod
,sum
,join
), f9de183 (bind
,product
), 16d40d7 (sigma
).As a bonus, I additivized two or three statements on the go. but there are some more that I can't fix without scope-creeping so I marked them as TODO.