Skip to content
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

Closed
wants to merge 7 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Sep 18, 2021

  • 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.

Open in Gitpod

Also use them in `submonoid.{list,multiset}_prod_mem`.
@urkud urkud added the awaiting-review The author would like community review of the PR label Sep 18, 2021
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)
Copy link
Member

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?

Copy link
Member

@eric-wieser eric-wieser left a 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

@bors
Copy link

bors bot commented Sep 20, 2021

✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Sep 20, 2021
@urkud
Copy link
Member Author

urkud commented Sep 22, 2021

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Sep 22, 2021
bors bot pushed a commit that referenced this pull request Sep 22, 2021
* 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`.
@bors
Copy link

bors bot commented Sep 22, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(data/{list,multiset}): add can_lift instances [Merged by Bors] - feat(data/{list,multiset}): add can_lift instances Sep 22, 2021
@bors bors bot closed this Sep 22, 2021
@bors bors bot deleted the can-lift-list-multiset branch September 22, 2021 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants