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
Signed tensor product for graded algebras, coalgebras, etc. #25603
Comments
comment:1
See https://groups.google.com/forum/#!topic/sage-devel/8broUYQ0p7c/discussion for one bug which could be fixed by implementing this. |
Branch: u/jhpalmieri/graded-tensor |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:5
Here's an attempt. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Coincidentally, Christian Nassau found a bug in the antipode formula for the Steenrod algebra. Fixing that bug led me to realize that If this ticket doesn't get done soon, I'll split off that fix into a separate ticket. This won't be as good, because it will involve disabling |
comment:8
Unfortunately I probably won't get to this for a few days (I will be on a trip across Europe: 4 cities in 5 days). It will be basically at the top of my todo list when I get to the Sage Days in Zaragoza. |
comment:9
A few days would be great. If it starts to take months, then I'll consider other options for the Steenrod algebra bug. |
comment:10
Aside from more important things (like the whole approach taken here), one question to consider is the name of the axiom, and also how it is printed. I am not particularly happy with the current version. |
comment:11
I'm not too happy with how things look right now either. I'm not sure what the code is trying to tell me, but I am reading it like something does need to be changed in the approach here. I think you should reimplement My quick thoughts on naming: Nicolas, we would appreciate any thoughts you have on this matter. (Otherwise, I will be forced to corner you at ICERM in a month! |
comment:12
The proper way should be defining something like |
comment:13
Replying to @darijgr:
I don't understand what you mean, probably because I don't understand the category theory framework in Sage, which I am going to blame on the state of the documentation. What is the role of axioms vs. categories vs. Python classes? In my experience, by the way, inheritance with axioms doesn't always work the way you might want, because it doesn't override methods which are inherited from other Python classes. In this particular situation, only methods which deal with tensor products should be affected, so I think you're overstating things when you talk about potentially having to change every method for algebras.
Categories for Implementing some sort of braiding sounds great, but not for this ticket, and not as a prerequisite for this ticket. |
comment:14
Yeah, that braiding suggestion was probably overkill, sorry. And if we have I don't think that "only methods which deal with tensor products should be affected"; tensors can be multiplied back in a Hopf algebra, and various constructions in a Hopf algebra involve delta-ing out, messing with the tensors, and then multiplying back. They all slightly change if the algebra becomes super. |
comment:15
Replying to @darijgr:
So should And I'm still interested in why a category rather than an axiom. Your first post seemed to be operating from some set of principles, but I don't know what those principles are or where they are documented. I would be happy to hear more.
Not in characteristic 2 :p They also don't change unless you are (implicitly or explicitly) interchanging tensor factors. I'm curious about mathematical examples of such constructions. The only examples that I can find in the actual Sage category code are the product for tensor products of algebras and |
comment:16
On my computer, I created a branch in which I just imposed the sign for super modules/algebras/Hopf algebras with basis. I get one doctest failure for Clifford algebras ( |
comment:17
In fact,
" By the way, exterior algebras provide another instance of the bug referenced in comment:1:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. 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:22
Probably
From what I believe, an extra axiom spawns a subclass. Thus, if "super" is an axiom, then every superalgebra will be an algebra. Which would be OK if we would implement all the functionality that differs between super- and non-super-algebras as separate methods ("super-tensor product", "supercommutator", "superbialgebra", "superconvolution" and whatnot) rather than overriding standard methods. But if we override standard methods, we are creating a minefield. You are right -- the currently implemented generic Hopf-algebra methods (minus the bialgebra axiom check) mostly survive a superization (and even braiding) without changes (e.g., the recursive formula for an antipode in a connected graded bialgebra doesn't change if the word "super" gets added), but there is no real guarantee that it will stay so for the more complicated methods we will eventually add. |
comment:79
New doctest failures in
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:83
I think this looks good, but I'm going to keep banging away at it for a few days. A few questions:
Should "Category of graded coalgebras with basis ..." be among the super categories in the second case, rather than just "Category of coalgebras with basis ..."? |
comment:84
Replying to @tscrim:
Are those actually still problems? I tried the examples in the ticket descriptions, and they work in vanilla 8.9.beta2. An example from one of darij's comments is indeed fixed by this, I think. |
Reviewer: Travis Scrimshaw, John Palmieri |
comment:86
Replying to @jhpalmieri:
Thank you.
Perhaps this would not be bad to add, but I am a little worried about mucking with the
That was a bug. Good catch. I forgot to add the |
comment:87
Replying to @jhpalmieri:
Curiously enough with this branch, I am actually getting back the behavior on that comment. So something very subtle is going on, but the MRO issue seems to still be resolved. The reason why I mentioned those tickets was because the MRO issue reminded me of them, but that seems to be a red herring. Curious... |
comment:88
The can of superworms has just been reopened on MathOverflow: https://mathoverflow.net/questions/335889/hopf-structure-on-the-universal-enveloping-of-a-super-hopf-algebra Note that Bugs Bunny, in his answer, does something very similar to what you guys have agreed on (I think?): use different symbols \otimes and \otimes^{sup} for tensors and super-tensors, even at the level of elements. |
comment:89
Are you sure it shouldn't be "HopfSuperAlgebrasWithBasis(R)"?
I see the existence of a Z-grading (as opposed to just as a Z/2-grading) is getting lost here. Is there a way to preserve it? A GradedSuperHopfAlgebrasWithBasis category perhaps? Or are we not having anything that can make use of the grading to begin with? (Eventually, gradings will be very useful, as they allow you to do linear algebra when the graded parts are finite-dimensional.)
Is this class meant to be completely empty as it currently stands?
This seems to be in the Coalgebras class. But it only makes sense for supercoalgebras. Are we trying to cause spooky action at a distance here?
The word "super", or at least "graded", should probably fall somewhere here. Can you add doctests verifying that SuperBialgebras are not a subcat of Bialgebras, supercommutative superalgebras are not commutative algebras, and same for supercoalgebras? |
comment:90
Replying to @darijgr: I can't answer any of the design questions, so I hope Travis will respond, too.
The "Supercommutative" and "Supercocommutative" axioms imply "Super" Hopf algebra, so is this necessary?
Maybe a graded object should have a method or attribute
At least with the Steenrod algebra, there is a method
I tried deleting this and got a few doctest failures:
I like the output from those doctests, so I wouldn't want to just delete the class and modify the doctests.
I agree that this would be a good idea. |
comment:91
Replying to @jhpalmieri:
Thank you for answering. I just forgot to do that yesterday.
As John said, the implication is already there. So adding
Super implies graded for modules/algebras/etc. (but not as Hopf algebras). The super stuff is controlled by the
Yes because we cannot do anything special with them other than mark them at this point. Although we could add a test for cocommutative coalgebras with basis to check that it is cocommutative.
So should supercommutative only be there for algebras? In both cases, it is just a convenience method to shortcut doing
Yes, I just forgot to change this when I moved it. Feel free to add.
This already is there and was added as per your request when we first did the super stuff; see |
comment:92
I don't get it. Supercommutative makes no sense as an axiom on a Hopf algebra. Super is not an axiom for Hopf algebras.
Where? |
comment:93
Replying to @darijgr:
As soon as you make something supercommutative, you make it into its super version (which, as you note, is not an axiom (but instead a functorial construction)). It is the same as soon as you create the graded
Line 240-249 of |
comment:94
Ah, so it's a shorthand. I see.
Oh! I was looking for it in the diff. Thanks for reminding me! |
Changed reviewer from Travis Scrimshaw, John Palmieri to Travis Scrimshaw, John Palmieri, Darij Grinberg |
comment:95
Okay, I am ready to give this a positive review. Any objections? |
comment:96
I don't have any. But this patch is almost 100% infrastructural, so I'm not the one to ask. Thanks to all of you for taking care of this! |
comment:97
Thank you both (and again to Nicolas for all his help). |
comment:98
Thank you, Travis, for implementing this in a way that makes everyone happy, too! |
Changed branch from public/categories/signed_tensor_products-25603 to |
Goal: implement a signed version of (co)product structure on tensor products of graded (or super) (co)algebras. We should be able to define superalgebras
A
andB
and specify that when they are tensored together, the product structure has this property(And similarly for coalgebras.) The underlying algebras need not be graded commutative themselves. The Steenrod algebra is one use case – it is noncommutative, but we definitely want this property when defining the product on its tensor square.
CC: @tscrim @nthiery @cnassau
Component: categories
Keywords: fpsac2019
Author: John Palmieri, Travis Scrimshaw
Branch/Commit:
ccccd8a
Reviewer: Travis Scrimshaw, John Palmieri, Darij Grinberg
Issue created by migration from https://trac.sagemath.org/ticket/25603
The text was updated successfully, but these errors were encountered: