Example 1.
First initialize a Lie algebra and display the Lie bracket multiplication table.
Compute the Killing form on the vectors and y = .
Compute the Killing form for the current Lie algebra.
Compute the Killing form restricted to the subspace span.
Example 2.
Here is the Killing form for the Lie algebra from Example 1, given as a symmetric, covariant tensor on the Lie algebra.