Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - feat(algebra/module/graded_module): define graded module #14582

Closed
wants to merge 59 commits into from

Conversation

jjaassoonn
Copy link
Collaborator

@jjaassoonn jjaassoonn commented Jun 6, 2022

@jjaassoonn jjaassoonn added the awaiting-review The author would like community review of the PR label Jun 6, 2022
@eric-wieser
Copy link
Member

It might make sense to handle #14583 first, so that we can avoid having extra scalar rings here.

eric-wieser and others added 5 commits June 8, 2022 17:12
…ect sum

This is a constructive version of `direct_sum.is_internal`, and generalizes the existing `graded_algebra`.
@jjaassoonn jjaassoonn added WIP Work in progress and removed awaiting-review The author would like community review of the PR labels Jun 9, 2022
@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 9, 2022
@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
@jjaassoonn jjaassoonn added the t-algebra Algebra (groups, rings, fields etc) label Sep 23, 2022
@jjaassoonn
Copy link
Collaborator Author

@eric-wieser, this PR has been forgotten by me and you. Could you please have a look again please. Thanks.

@erdOne erdOne requested review from eric-wieser and removed request for eric-wieser October 17, 2022 09:10
Copy link
Member

@kbuzzard kbuzzard left a comment

Choose a reason for hiding this comment

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

This looks fine to me! I've left some minor comments.

src/algebra/module/graded_module.lean Show resolved Hide resolved
src/algebra/module/graded_module.lean Outdated Show resolved Hide resolved
Comment on lines 125 to 133
/-- A graded version of `semiring.to_module`. -/
instance gsemiring.to_gmodule (A : ι → Type*)
[add_monoid ι] [Π (i : ι), add_comm_monoid (A i)] [gsemiring A] :
graded_monoid.gmodule A A :=
{ smul_add := λ _ _, gsemiring.mul_add,
smul_zero := λ i j, gsemiring.mul_zero,
add_smul := λ i j, gsemiring.add_mul,
zero_smul := λ i j, gsemiring.zero_mul,
..graded_monoid.gmonoid.to_gmul_action A }
Copy link
Collaborator

Choose a reason for hiding this comment

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

I fixed this error here by moving this declaration to the graded_module file. If everyone is happy we can merge my branch then send this PR to bors.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also see the latest commit that addressed @kbuzzard's comments.

@alreadydone alreadydone requested review from a team as code owners January 26, 2023 18:22
@alreadydone
Copy link
Collaborator

alreadydone commented Jan 26, 2023

Hmm, this merge didn't go well ... Shouldn't have squash-merged ... should be fine now.

@alreadydone alreadydone force-pushed the jjaassoonn/graded_module branch from 11ade35 to b1843bb Compare January 26, 2023 18:32
@YaelDillies YaelDillies removed request for a team January 26, 2023 19:28
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 Jan 27, 2023
bors bot pushed a commit that referenced this pull request Jan 27, 2023
By imitating the current `graded_algebra`, this pr builds `graded_module` over some `graded algebra`

Co-authored-by: Eric Wieser @eric-wieser 

- [x] depends on: #14626
- [x] depends on: #15654



Co-authored-by: Eric Wieser <[email protected]>
@bors
Copy link

bors bot commented Jan 27, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/module/graded_module): define graded module [Merged by Bors] - feat(algebra/module/graded_module): define graded module Jan 27, 2023
@bors bors bot closed this Jan 27, 2023
@bors bors bot deleted the jjaassoonn/graded_module branch January 27, 2023 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

7 participants