-
-
Notifications
You must be signed in to change notification settings - Fork 660
Implement the normalizer of a finite dimensional Lie algebra #37682
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
Conversation
@fchapoton Fundamentally an easy extension by using some linear algebra. I also did some small improvements and fixed a small bug with how Lie subalgebras were created. |
src/sage/categories/finite_dimensional_lie_algebras_with_basis.py
Outdated
Show resolved
Hide resolved
…ebras; more doctests.
Co-authored-by: Matthias Köppe <mkoeppe@math.ucdavis.edu>
e89c603
to
a01b42a
Compare
Documentation preview for this PR (built with commit a01b42a; changes) is ready! 🎉 |
|
||
S = self.structure_coefficients() | ||
sc = {} | ||
for k in S.keys(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need .keys()
here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a Family
being returned:
sage: L = LieAlgebra(QQ, cartan_type=['A',2])
sage: type(L.structure_coefficients())
<class 'sage.sets.family.FiniteFamily'>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you. |
sagemathgh-37697: Implement the solvable and nil radicals of a finite dimensional Lie algebra <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> We implement the algorithms in de Graaf to compute the solvable and nilradicals of a finite dimensional Lie algebra. To do so, we also make further improvements to how subalgebras and ideals of Lie algebras are constructed and handled. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - sagemath#37693 Uses this in the computation - sagemath#37682 Needs the improvements here URL: sagemath#37697 Reported by: Travis Scrimshaw Reviewer(s): Matthias Köppe, Travis Scrimshaw
sagemathgh-37697: Implement the solvable and nil radicals of a finite dimensional Lie algebra <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> We implement the algorithms in de Graaf to compute the solvable and nilradicals of a finite dimensional Lie algebra. To do so, we also make further improvements to how subalgebras and ideals of Lie algebras are constructed and handled. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - sagemath#37693 Uses this in the computation - sagemath#37682 Needs the improvements here URL: sagemath#37697 Reported by: Travis Scrimshaw Reviewer(s): Matthias Köppe, Travis Scrimshaw
We implement the normalizer of a finite dimensional Lie algebra.
📝 Checklist
⌛ Dependencies