-
-
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
Implement categories for super algebras/modules #18044
Comments
Commit: |
New commits:
|
comment:2
Is this really a subcategory? Super Lie algebras are not Lie algebras and cannot be reasonably made into such short of taking the even part... |
comment:3
Good point (this is different than |
comment:4
I'd just say "Return the super-analogue of What do you mean by "Same as :meth: |
comment:5
Replying to @darijgr:
It's more of there is not a forgetful functor from
Meaning I copied it. <.< >.> |
comment:7
I've made the change. Although actually, forgetting the "super" doesn't change the multiplication, just removes the notion of supercommuting elements and the degree. So there is a forgetful functor at least, right (or am I overthinking things)? |
comment:8
Forgetting the grading on a superalgebra gives you an algebra, yes. But forgetting the grading on a Lie superalgebra does not give you a Lie algebra; it gives something weird and unnamed. So forgetful functors should only exist in specific categories. |
comment:9
True, but I think for now we can live with the slight abuse since there are not plans currently (at least by me) to implement Lie superalgebras. Then again, IDK how much of the code I've written wouldn't work in the category for Lie superalgebras. ehh...I think we can cross that bridge if/when that's an issue. |
comment:10
Sorry but the assumption that "super X are graded X" (or just "super X are X") is fundamentally wrong. The longer we keep it in, the harder it will be to cross that bridge. It already causes wrong results:
Super Hopf algebras are not Hopf algebras. In a Hopf algebra, In other news: In the
(and not |
comment:11
Then I guess we need to change the default super categories thingy and just be explicit about things.
right? So we could do an explicit override of the |
comment:12
Replying to @tscrim:
Sorry, I just don't like this whole paradigm where a category liberally makes assumptions that the subcategory has to override if they are not satisfied. The category framework was created to mirror the mathematical structure of algebraic categories (or so I have been told). Mathematically, there is no reason why a superX should canonically be an X; the fact that this holds for many of the standard Xes (algebras, modules, etc.) is not inherent to the notion of "super"ness but to these Xes, so it shouldn't be reflected in any automatic inheritance. Does the way you implemented |
comment:13
Currently yes, but I'm going to change it so that you have to explicitly set X to be supercategory of superX. |
comment:14
Thank you! |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
I'm not happy with this because of how certain things in the category hierarchy are respected, even in this new version. In particular:
I don't know a way around this currently... However I'm starting to wonder if this is what we want. If we want two notions of super, the first is via a functorial construction for things like modules and algebras (and rings once the graded versions get implemented), and for other things if we want the |
comment:17
Replying to @tscrim:
I don't have the big picture at this point. Let's discuss this in Montreal! |
Dependencies: #18174 |
comment:18
#18174 will simplify this a bit. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed keywords from super to super, sd67 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:27
LGTM now; thanks for the commit! For posterity: There are design issues that I don't fully like, but that are standard for Sage. |
Reviewer: Darij Grinberg |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:30
One test should have been marked as |
Changed branch from public/categories/super_categories-18044 to |
After some design discussion, a proposal for an implementation is to be a subcategory of
Graded
algebras/modules whose default even/odd considers the given grading as beingZZ / 2 ZZ
compatible. Thus it will have the following methods:is_even()
is_odd()
is_even_odd()
The API will be the user defines a
degree
method which is then called byis_even_odd()
and taken mod 2. Therefore if the user wants to have a special grading group, then the user can overrideis_even_odd()
to translate that into 0 or 1. The hook ofis_even_odd
also allows the user to change the super behavior away from the grading group (which will get used in #17096).Depends on #18174
CC: @nthiery @darijgr
Component: categories
Keywords: super, sd67
Author: Travis Scrimshaw
Branch/Commit:
16a3791
Reviewer: Darij Grinberg
Issue created by migration from https://trac.sagemath.org/ticket/18044
The text was updated successfully, but these errors were encountered: