LieAlgebraData[MatrixAlgebra] - convert a list of matrices to a Lie algebra data structure
LieAlgebraData(MatrixAlgebra, AlgName, option)
MatrixAlgebra - a list of linearly independent square matrices (all of the same dimension)
AlgName - a name or string, the name to be assigned to the Lie algebra
option - the keyword argument coefficienttype = "real"
In the LieAlgebras package, the command DGsetup is used to initialize a Lie algebra -- that is, to define the basis elements for the Lie algebra and its dual and to store the structure constants for the Lie algebra in memory. The first argument for DGsetup is a Lie algebra data structure which contains the structure constants in a standard format used by the LieAlgebras package.
An important class of Lie algebras is given by the matrix Lie algebras, where the Lie algebra bracket is given by the matrix commutator a,b = a⋅b − b⋅a The program LieAlgebraData(MatrixAlgebra, AlgName) will create the Lie algebra data structure for the matrix algebra whose basis is the given list of matrices MatrixAlgebra.
If the given matrices are complex matrices which form a real Lie algebra, then the keyword argument coefficienttype = "real" will ensure that real structure constants are calculated.
The command LieAlgebraData is part of the DifferentialGeometry:-LieAlgebras package. It can be used in the form LieAlgebraData(...) only after executing the commands with(DifferentialGeometry) and with(LieAlgebras), but can always be used by executing DifferentialGeometry:-LieAlgebras:-LieAlgebraData(...).
In this example we create a 5-dimensional Lie algebra from a list of 3 x 3 matrices. First we define the matrices.
M ≔ map⁡Matrix,−1,2,−1,0,1,0,2,−2,2,1,0,0,2,−1,1,2,−2,2,0,0,0,1,−1,1,2,−2,2,−1,2,−1,1,0,0,4,−4,2,4,−4,2,2,−2,1,−2,2,−1
Before continuing we note that it is not difficult to directly check that the span of the matrices M is closed under matrix commutators. For example, the matrix commutator of M1 and M5 is −M1+M2. (The matrices P and Q computed below are equal.)
P ≔ `.`⁡M1,M5−`.`⁡M5,M1
Q ≔ −M1+M2
The program LieAlgebraData will calculate all the required matrix commutators of the matrices in M as linear combinations in M and return the result as a Lie algebra data structure.
L ≔ LieAlgebraData⁡M,Ex1
Here e1, e2, ..., e5 represent the matrices M1 M2, ..., M5 respectively. Thus the structure equation e1, e5 = −e1 +e2 coincides with that explicitly computed above.
Finally, we remark that this Lie algebra is decomposable.
A decomposition of this Lie algebra can be found using the program Decompose.
The set of 2 ×2 trace-free complex matrices define a real 6-dimensional Lie algebra. Here is a basis for this matrix algebra.
M ≔ map⁡Matrix,1,0,0,−1,0,1,0,0,0,0,1,0,I,0,0,−I,0,I,0,0,0,0,I,0
Because these matrices are linearly dependent (over the complex numbers), we must use the keyword argument coefficienttype = "real" to calculate the real structure equations.
Download Help Document