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] - chore(ring_theory/polynomial/basic): remove a use of comap #6612

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Mar 10, 2021

This merges together quotient_equiv_quotient_mv_polynomial and quotient_alg_equiv_quotient_mv_polynomial, since the two now have the same domain and codomain.

comap was previously needed here to provide a wrapper type with an R-algebra structure on mv_polynomial σ (I.quotient).
The updated mv_polynomial.algebra in #6533 transfers the algebra R I.quotient structure directly to mv_polynomial σ I.quotient, eliminating the need for this wrapper type.


This merges together `quotient_equiv_quotient_mv_polynomial` and `quotient_alg_equiv_quotient_mv_polynomial`, since the two now have the same domain and codomain.
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Mar 10, 2021
@riccardobrasca
Copy link
Member

I wanted to do it myself :D

Otherwise it looks good to me.

Copy link
Collaborator

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

For future reference, could you mention in the PR description why this works now? (Because there is some transitive algebra instance that wasn't there before, right?)

bors d+

@bors
Copy link

bors bot commented Mar 10, 2021

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

@Vierkantor Vierkantor 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 Mar 10, 2021
@eric-wieser
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Mar 10, 2021
This merges together `quotient_equiv_quotient_mv_polynomial` and `quotient_alg_equiv_quotient_mv_polynomial`, since the two now have the same domain and codomain.

`comap` was previously needed here to provide a wrapper type with an R-algebra structure on `mv_polynomial σ (I.quotient)`.
The updated `mv_polynomial.algebra` in #6533 transfers the `algebra R I.quotient` structure directly to `mv_polynomial σ I.quotient`, eliminating the need for this wrapper type.
@bors
Copy link

bors bot commented Mar 10, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Mar 11, 2021
This merges together `quotient_equiv_quotient_mv_polynomial` and `quotient_alg_equiv_quotient_mv_polynomial`, since the two now have the same domain and codomain.

`comap` was previously needed here to provide a wrapper type with an R-algebra structure on `mv_polynomial σ (I.quotient)`.
The updated `mv_polynomial.algebra` in #6533 transfers the `algebra R I.quotient` structure directly to `mv_polynomial σ I.quotient`, eliminating the need for this wrapper type.
@bors
Copy link

bors bot commented Mar 11, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(ring_theory/polynomial/basic): remove a use of comap [Merged by Bors] - chore(ring_theory/polynomial/basic): remove a use of comap Mar 11, 2021
@bors bors bot closed this Mar 11, 2021
@bors bors bot deleted the eric-wieser/comap-tidy branch March 11, 2021 02:48
ocfnash pushed a commit that referenced this pull request Mar 12, 2021
This merges together `quotient_equiv_quotient_mv_polynomial` and `quotient_alg_equiv_quotient_mv_polynomial`, since the two now have the same domain and codomain.

`comap` was previously needed here to provide a wrapper type with an R-algebra structure on `mv_polynomial σ (I.quotient)`.
The updated `mv_polynomial.algebra` in #6533 transfers the `algebra R I.quotient` structure directly to `mv_polynomial σ I.quotient`, eliminating the need for this wrapper type.
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
This merges together `quotient_equiv_quotient_mv_polynomial` and `quotient_alg_equiv_quotient_mv_polynomial`, since the two now have the same domain and codomain.

`comap` was previously needed here to provide a wrapper type with an R-algebra structure on `mv_polynomial σ (I.quotient)`.
The updated `mv_polynomial.algebra` in #6533 transfers the `algebra R I.quotient` structure directly to `mv_polynomial σ I.quotient`, eliminating the need for this wrapper type.
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants