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
refresh the shuffle algebra file #28881
Comments
Commit: |
Branch: u/chapoton/28881 |
New commits:
|
comment:2
Well, technically the shuffle algebra should be in the category of commutative Hopf algebras, so it might be better to use the category of def antipode_on_basis(self, w):
"""
Return the antipode on the basis element ``w``.
"""
mone = -self.base_ring().one()
return self.term(w.reversal(), mone**len(w)) along with in the dual PBW basis def antipode(self, elt):
"""
Return the antipode of the element ``elt``.
"""
return self(self.expansion(elt).antipode()) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
mmm; not so easy. I am hitting problems in the testsuites. |
comment:5
Hmm...maybe the product and coproduct implemented are not compatible? I will check it on Monday (Australian time). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
The coproduct was indeed broken. There still remains a failure.. |
comment:9
It almost seems like the old coproduct is meant to be the inflation product. (The coproduct was added in #15212, but there is little information available there.) |
comment:10
So the problem seems to come from the coproduct in the dual PBW basis. It is only converting basis indices over (whereas the implementation was meant to be treating them as monomials). Here is a fix that doesn't try to be clever and just uses the coercion framework. |
Reviewer: Travis Scrimshaw, Frédéric Chapoton |
Changed author from Frédéric Chapoton to Frédéric Chapoton, Travis Scrimshaw |
Changed branch from u/chapoton/28881 to public/algebras/refresh_shuffle_algebras-28881 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:13
Thanks a lot. Looks good now. I have fixed a pyflakes warning, and added some #long tags on the TestSuites. Now launching the bot. |
comment:14
Worked locally for me, so I am going to assume the patchbot comes back green. Thank you. |
Changed branch from public/algebras/refresh_shuffle_algebras-28881 to |
fixing a very wrong coproduct
enhancing the category
some pep8 changes
CC: @tscrim @jm58660
Component: combinatorics
Author: Frédéric Chapoton, Travis Scrimshaw
Branch/Commit:
3787e45
Reviewer: Travis Scrimshaw, Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/28881
The text was updated successfully, but these errors were encountered: