Example 1.
First initialize a Lie algebra and display the multiplication table.
Check that is an ideal and find the quotient algebra (call it Alg2) using the complementary vectors
Rerun QuotientAlgebra with the keyword argument "Matrix".
We use the DifferentialGeometrycommand Transformation to convert the matrix A into a transformation from Alg1 to the quotient algebra Alg2.
We can check that is a Lie algebra homomorphism.
We see that sends to 0, to and so on.
We can verify that [is a basis for the kernel of and that the image of is spanned by (so that is surjective).