Example 1.
First initialize a Lie algebra and display the Lie bracket multiplication table.
For the Lie algebra Alg1 we find that Derivations(Alg1, "Inner") is 4 dimensional and Derivations(Alg1) is 8 dimensional.
We can study the properties of Derivations(Alg1) by initializing these matrices as a Lie algebra. We use as a basis for Derivations(Alg1) the inner and outer derivations.
We see that the derivation algebra is solvable.
We check that the span of the vectors (corresponding to the inner derivations) define an ideal.
We compute the quotient algebra of outer derivations.
Example 2.
We show that the derivations of the octonions form a 14-dimensional semi-simple Lie algebra (which can be seen to be compact real form of the exceptional Lie algebra ).
We find that the derivation algebra is 14-dimensional
Calculate the structure equations for the derivations, initialize ,and check that the derivation algebra is semi-simple.