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] - refactor(ring_theory/graded_algebra): use add_submonoid_class to generalize to graded rings #14583

Closed
wants to merge 25 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jun 6, 2022

Now that we have add_submonoid_class, we don't need to consider only families of submodules.
For convenience, this keeps around graded_algebra as an alias for graded_ring over a family of submodules, as this can help with elaboration here and there.

This renames:

  • graded_algebra to graded_ring
  • graded_algebra.proj_zero_ring_hom to graded_ring.proj_zero_ring_hom

adds:

  • direct_sum.decompose_ring_equiv
  • graded_ring.proj
  • graded_algebra (as an alias for a suitable graded_ring

and removes:

  • graded_algebra.is_internal, which was just an alias anyway.

Open in Gitpod

…neralize to graded rings

Now tha twe have `add_submonoid_class`, we don't need to consider only families of submodules.
For convenience, this keeps around `graded_algebra` as an alias for `graded_ring` over a family of submodules, as this can help with elaboration here and there.
@eric-wieser eric-wieser 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. labels Jun 6, 2022
@eric-wieser eric-wieser added this to In progress in Graded modules, rings, and algebras via automation Jun 6, 2022
@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 Jun 7, 2022
…ect sum

This is a constructive version of `direct_sum.is_internal`, and generalizes the existing `graded_algebra`.
@mathlib-dependent-issues-bot mathlib-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 8, 2022
@eric-wieser
Copy link
Member Author

I've merged in #14626.

@mathlib-dependent-issues-bot mathlib-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jun 16, 2022
@mathlib-dependent-issues-bot
Copy link
Collaborator

@eric-wieser eric-wieser requested review from jjaassoonn and removed request for jjaassoonn June 17, 2022 23:04
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.

LGTM otherwise.

src/ring_theory/graded_algebra/basic.lean Show resolved Hide resolved
@Vierkantor Vierkantor added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jun 27, 2022
@Vierkantor
Copy link
Collaborator

bors r+

@github-actions github-actions bot 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-author A reviewer has asked the author a question or requested changes labels Jun 29, 2022
@eric-wieser
Copy link
Member Author

bors r-

Looks like this master didn't merge cleanly into this

@bors
Copy link

bors bot commented Jun 29, 2022

Canceled.

@eric-wieser
Copy link
Member Author

bors merge

So much for deterministic, an empty commit fixed the timeout

bors bot pushed a commit that referenced this pull request Jun 29, 2022
…neralize to graded rings (#14583)

Now that we have `add_submonoid_class`, we don't need to consider only families of submodules.
For convenience, this keeps around `graded_algebra` as an alias for `graded_ring` over a family of submodules, as this can help with elaboration here and there.

This renames:
* `graded_algebra` to `graded_ring`
* `graded_algebra.proj_zero_ring_hom` to `graded_ring.proj_zero_ring_hom`

adds:
* `direct_sum.decompose_ring_equiv`
* `graded_ring.proj`
* `graded_algebra` (as an alias for a suitable `graded_ring`

and removes:
* `graded_algebra.is_internal`, which was just an alias anyway.


Co-authored-by: Jujian Zhang <jujian.zhang1998@outlook.com>
@bors
Copy link

bors bot commented Jun 29, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(ring_theory/graded_algebra): use add_submonoid_class to generalize to graded rings [Merged by Bors] - refactor(ring_theory/graded_algebra): use add_submonoid_class to generalize to graded rings Jun 29, 2022
@bors bors bot closed this Jun 29, 2022
Graded modules, rings, and algebras automation moved this from In progress to Done Jun 29, 2022
@bors bors bot deleted the eric-wieser/graded_ring branch June 29, 2022 23:58
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+`.)
Development

Successfully merging this pull request may close these issues.

None yet

4 participants