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
Various improvements to Lie algebras #28427
Comments
New commits:
|
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:2
Please fix the doc of the Virasoro degree_on_basis function: it should mention c, too.
What needs to be echelonized? The runtime error check is a bit of a hack -- but it may well be fine. Are you sure Singular will always throw a runtime error if it doesn't recognize the base ring as a field, as opposed to silently responding with a wrong result? |
comment:3
Replying to @darijgr:
It is done in computing the homogeneous degree component as part of the test.
The reason Singular throws the error is because it only can work over certain base rings. If it silently returns a wrong result, then there is nothing anyone can do except submit an upstream bug report. |
comment:4
Does Singular say that it's not going to work over a non-field, or does it try and panic when some division fails? In the former case, what you're doing is fine; in the latter I'd be more careful. Still not sure why the echelon form may be needed in the test suite, but you know better. I'm fine with or without the tests; the grading on the Witt algebra is so obvious there can't be any trouble from that front :) Care to mention c in the doc of Virasoro's degree function? Everything apart of this (and the possible Singular issue, if it is one) LGTM. (Sorry for the absence of more significant code review from me lately...) |
comment:5
You are way overthinking this Singular thing. Just run the test and you will see for the echelonization. I am planning on mentioning the c, but I am not at my computer right now. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:7
I have updated the documentation. I also was more precise about that singular is failing for the Z/6Z example (although its documentation does (implicitly) say the algebra needs to be defined over a field; at least, I am fairly certain it needs an integral domain). I also did another improvement that I think would be useful, to allow coercions and actions to lift to the PBW basis. Here also is the traceback of what happens in the grading test:
You can see where it needs to be able to echelonize a matrix. If we wanted to fix this, we would have to change the test itself by weakening it when it is not over a field (which should be a separate ticket as that has farther reaching implications). Also, no problem with not doing more reviewing. I know you are starting a new tenure-track job. |
comment:8
Hmm...something broke with that latest push for the Verma modules. I need to investigate. |
comment:9
So the problem comes from extending the action of the Lie algebra to the PBW basis (i.e., not the additional coercions allowed). |
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:12
Okay, I fixed the problem. I forgot to also add the coefficient to the product |
comment:13
some warnings, see patchbot plugins |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Replying to @fchapoton:
Fixed. |
comment:16
ok, good to go |
Reviewer: Frédéric Chapoton |
comment:18
Thank you. I am also adding Darij as a reviewer for his comments. |
Changed reviewer from Frédéric Chapoton to Frédéric Chapoton, Darij Grinberg |
Changed branch from public/lie_algebras/various_improvements-28427 to |
We fix a bug in constructing the
0
element of a Lie algebra by putting that path higher in the_element_constructor_
.We make all of the Lie algebras and modules in
virasoro.py
know that they are graded.Implement a fallback to the PBW basis for when the construction of the universal enveloping algebra fails for finite-dimensional Lie algebras with a basis.
Allow coercions and actions between Lie algebras to lift to the PBW bases.
CC: @darijgr
Component: algebra
Keywords: lie algebra
Author: Travis Scrimshaw
Branch/Commit:
1e2ecab
Reviewer: Frédéric Chapoton, Darij Grinberg
Issue created by migration from https://trac.sagemath.org/ticket/28427
The text was updated successfully, but these errors were encountered: