-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(data/{list,multiset}): add can_lift
instances
#9262
Conversation
Also use them in `submonoid.{list,multiset}_prod_mem`.
S.subtype.map_list_prod l | ||
|
||
@[simp, norm_cast] theorem coe_multiset_prod {M} [comm_monoid M] (S : submonoid M) | ||
@[simp, norm_cast, to_additive] theorem coe_multiset_prod {M} [comm_monoid M] (S : submonoid M) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this put norm_cast
on the additivized version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
Let's just check the norm_cast
attributes are where we expect them
✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
* add `can_lift` instances for `set`, `list`, `multiset`, and `finset`; * use them in `submonoid.{list,multiset}_prod_mem`; * more `to_additive` attrs in `group_theory.submonoid.membership`.
Pull request successfully merged into master. Build succeeded: |
can_lift
instancescan_lift
instances
can_lift
instances forset
,list
,multiset
, andfinset
;submonoid.{list,multiset}_prod_mem
;to_additive
attrs ingroup_theory.submonoid.membership
.