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(algebra/{hom,ring}): extra coercion lemmas for {mul,add,ring}_equiv #16725

Closed
wants to merge 3 commits into from

Conversation

Vierkantor
Copy link
Collaborator

This PR adds more lemmas for the coercion of refl and trans of {mul,add,ring}_equiv to other types of maps. In particular, it ensures these types come with:

  • coe_{type}_refl and coe_{type}_trans where type ranges over the types of bundled maps that the equivs inherit from
  • self_trans_symm and symm_trans_self
  • coe_trans

Of course, it would be great if we figured out some generic way of stating all these results so we wouldn't have to go through and add all these lemmas.


Open in Gitpod

…quiv`

This PR adds more lemmas for the coercion of `refl` and `trans` of `{mul,add,ring}_equiv` to other types of maps. In particular, it ensures these types come with:
 * `coe_{type}_refl` and `coe_{type}_trans` where `type` ranges over the types of bundled maps that the equivs inherit from
 * `self_trans_symm` and `symm_trans_self`
 * `coe_trans`

Of course, it would be great if we figured out some generic way of stating all these results so we wouldn't have to go through and add all these lemmas.
@Vierkantor Vierkantor added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. t-algebra Algebra (groups, rings, fields etc) labels Sep 30, 2022
src/algebra/ring/equiv.lean Outdated Show resolved Hide resolved
src/algebra/ring/equiv.lean Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Oct 1, 2022
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@leanprover-community-bot-assistant leanprover-community-bot-assistant added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Oct 6, 2022
bors bot pushed a commit that referenced this pull request Oct 6, 2022
…quiv` (#16725)

This PR adds more lemmas for the coercion of `refl` and `trans` of `{mul,add,ring}_equiv` to other types of maps. In particular, it ensures these types come with:
 * `coe_{type}_refl` and `coe_{type}_trans` where `type` ranges over the types of bundled maps that the equivs inherit from
 * `self_trans_symm` and `symm_trans_self`
 * `coe_trans`

Of course, it would be great if we figured out some generic way of stating all these results so we wouldn't have to go through and add all these lemmas.





Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@bors
Copy link

bors bot commented Oct 6, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/{hom,ring}): extra coercion lemmas for {mul,add,ring}_equiv [Merged by Bors] - feat(algebra/{hom,ring}): extra coercion lemmas for {mul,add,ring}_equiv Oct 6, 2022
@bors bors bot closed this Oct 6, 2022
@bors bors bot deleted the equiv-coe-lemmas branch October 6, 2022 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-algebra Algebra (groups, rings, fields etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants