-
-
Notifications
You must be signed in to change notification settings - Fork 567
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
Add support for homogeneous components of a filtered module #19397
Comments
comment:1
This will be useful along with the changes I'm making in #6102, which I think will be our first naturally graded finite-dimensional algebra in Sage. Last 10 new commits:
|
Commit: |
comment:2
You have the comment starting with
twice, along with two different |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Is this a problem?
Also, |
comment:6
Will #19448 also make
and
equal? (Can they be equal? The elements in the first are elements in a particular homogeneous component. The elements in the second are elements in the whole module. At least they should look the same when you print them, and I think #19448 should take care of that.) |
comment:7
One mathematical issue: in defining
A homogeneous component of an R-module need not be an R-module itself in a natural way: for example, if the base ring is the graded ring R=k[x, x-1] with x in some nonzero degree, then for any homogeneous component of any graded R-module, x would have to act trivially (because x has nonzero degree). On the other hand, x is supposed to be invertible. It will always be a module over the degree 0 part of the base ring, though. |
comment:8
John: I fear that this notion of grading is not currently implemented in Sage (again, hardly anyone's deliberate design choice, but an artifact of ungraded base rings being the de-facto standard in combinatorics). Almost all of the current code in Incidentally, IMHO this issue shows that we are mistaken in the assumption that in order to equip an algebra with a grading, we should add |
comment:9
For this situation, what about code like
This may end up calling Yes, I also agree that we need to allow for multiple possible gradings. I think this has been discussed before. To construct a graded ring you should specify a ring and a grading on it, and different gradings give different graded rings. |
comment:10
However there is a technical problem with doing that in the short-term in that So if we were decided to do do the above, then we should add coordinate ring support in #19448 and make that a dependency of this one. Alternatively we could just raise a |
comment:11
I think we should do something, just to acknowledge that it is an issue that we might address later. A |
comment:13
The simple way is to raise a |
comment:14
This looks okay to me. |
Reviewer: John Palmieri |
comment:41
I think there is a word ("when"?) missing in the "TODO" comment. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:43
Replying to @jhpalmieri:
True. I also was able to make it so the text ended at the same position. :P FYI - I decided to amend my previous commit instead of a new one. |
comment:44
Okay, I'm happy with this now. If you think it's not ready, revert my positive review. |
comment:45
It is good. Thank you. MRO issue is now #20460. |
comment:46
|
comment:47
Volker, I don't see this failure when I run doctests or when I do it by hand, and I don't see it on the patchbots, either. Do you have any ideas why? |
comment:48
I also don't get the failure. Maybe something changed with the example implementation in another (already closed) ticket? I certainly can see why this failure might occur...and it is an easy enough fix... |
comment:50
The problem occurred in beta5 (in fact, I believe I know exactly which ticket caused it...). I fixed the error message and the documentation (I am pretty sure a |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:52
Looks good to me. Passes all tests. |
comment:53
Replying to @jhpalmieri:
Thank you. |
Changed branch from public/categories/homogeneous_components-19397 to |
Separates out functionality of
subset(d)
for finite dimensional filtered modules with basis and implements a method to get the submodule spanned by a homogeneous piece.Depends on #17096
CC: @sagetrac-sage-combinat @darijgr @nthiery @simon-king-jena
Component: categories
Author: Travis Scrimshaw
Branch/Commit:
f9aaad5
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/19397
The text was updated successfully, but these errors were encountered: