Example 1.
We shall define a 4-dimensional representation of a 4-dimensional Lie algebra taken from the DifferentialGeometry Library, find an invariant subspace of , and calculate the subrepresentation of on .
Initialize the Lie algebra Alg1.
Initialize the representation space .
Define the matrices which specify a representation of Alg1 on .
Define the representation with the Representation command.
Define a subspace of .
We can use the Query command to check that S is a -invariant subspace.
Define a frame for the induced representation of on