Obtaining a Lie algebra from a list of matrices

asked 2025-10-10 01:12:31 +0200

klaaa gravatar image

updated 2025-10-10 01:17:24 +0200

Given a finite list W of nilpotent matrices in Sage. How can I obtain the Lie algebra L generated by those matrices in W? And how can I find the vector space dimension and test whether L is simple using Sage? I googled a bit and found the command:

L=LieAlgebra(associative=[M, N])

here [M,N] is a list of two matrices. It works to give me a Lie algebra, but then nearly no command works to find the dimension of L (I guess it is somehow in the wrong category?)

edit retag flag offensive close merge delete