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 symplectic and orthogonal bases of Sym #15536
Comments
comment:1
Darij (or anyone else who wants to review this), Nicolas said it's fine being in |
comment:2
I fear Nicolas is wrong here:
The problem is that the counit is still defined as the constant coefficient, but that's only true for graded bases. Concrete example:
The same issue would be happening with antipode and degree_negation if not for the fact that the o and sp bases happen to be graded w.r.t. the induced ZZ/2ZZ-grading. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Replying to @darijgr:
Yep, but that's technically a fault with the generic symmetric function code, not the category (which I think does it via coercion by default). Fixed.
Again, not the category, but it's nice to know these things. New commits:
|
comment:6
I see. Can it be that the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
I doubt there will be too many new methods which a general implementation does not involve coercing to a basis where we can do the computation explicitly, so I don't think it's necessary. Nevertheless, something for another ticket (possibly after a sage-combinat-devel discussion). |
comment:10
There is a typo "Scirmshaw" |
comment:12
XP |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Please do not use abbreviations like "lps" in the name of functions. Nathann |
comment:45
However, I don't think that is the right solution. Granted, my current proposal is a major hack, but I don't think too many people will be creating many instances of Sym over various large finite fields (and there are more computationally intensive parts necessary for working with Sym). I'm tired of trying to deal with this here, so I just checked if the base ring was a field before any categories get created. There is also another issue with C3 in that I get a cat = HopfAlgebras(self.base().base_ring())
return [self.base().Realizations(),
cat.Commutative().WithBasis(),
- cat.Graded().Realizations()]
+ cat.Commutative().Graded().Realizations()] This is what it should be, but because everything commutative will come from the I really would like to push this ticket in and later reach in and fix the category-refinement/MRO/C3 issues on a separate ticket. New commits:
|
comment:46
I should also mention that there are other places where category refinement would make sense, such as for finite-dimensional algebras after doing an |
comment:47
What does the line "R in Fields()" do? It looks to me like it returns True or False and goes on to the next line. |
comment:48
It makes sure that |
comment:49
I don't think that this is a bad way of resolving this, but it may be pushing the problem elsewhere. I am seeing:
Are ncsf/qsym going to require the same hack? Will every combinatorial Hopf algebra require it? |
comment:50
I've not been getting those errors, but Volker just posted on #19397 an issue that smells like the same thing. So right now I'm thinking, "*!@$, we have to deal with this now". |
comment:51
One strange feature is that the error that you post in comment 40 is triggered on QSym and NCSymD but not on NCSF or NCSym (at least on my computer). That is,
triggers an error but
does not. |
comment:52
The
Ah... I think they all will need this hack for now. I know this is pushing the problem further down, but I don't know of a way to resolve it at present (or at least without forcing a prime check for finite rings). Although there is the issue on comment:45 that is likely unrelated and needs a fix at some point too... I think there might be some issue(s) with join categories... I also have been working on #19397 under the assumption that these are the same problem. However I am pretty sure this is not the case now and they are different problems (I would love to be wrong). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:54
I agree. In the end this is a minor change as a hack. It doesn't locate the problem, but it does fix it from being triggered. I've pushed some changes which add doctests and replaced |
comment:56
I'm okay with things. So let's just leave this hack in there since it works for now. It is also documented for testing later on. Therefore I think we are back to needs review. |
comment:57
I think it looks good and all tests pass. Positive review. |
Reviewer: Mike Zabrocki |
comment:58
Thanks Mike! |
Changed branch from public/combinat/sf/sp_orth to |
Following a paper of Chari and Kleber: Symmetric functions and representations of quantum affine algebras, arxiv:0011161v1. We implement the symplectic and orthogonal (filtered) bases of Sym.
Depends on #17096
CC: @sagetrac-sage-combinat @darijgr @simon-king-jena @nthiery
Component: combinatorics
Keywords: days54, sym
Author: Travis Scrimshaw
Branch/Commit:
5b492f3
Reviewer: Mike Zabrocki
Issue created by migration from https://trac.sagemath.org/ticket/15536
The text was updated successfully, but these errors were encountered: