Example 1.
First initialize a Lie algebra and display the Lie bracket multiplication table.
We can check that the subspace span defines a symmetric complement for the subalgebra span.
In fact, we can show that span is the only symmetric complement to by constructing the general complement span.
SOLN shows that all the parameters must be zero in order for to define a symmetric pair.
Next we show that the subalgebra spandoes not admit a symmetric complement at all.