A two-dimensional Lie algebra representation already provides a counterexample. In the basis of , define
The commutator is zero, agreeing with ; the other defining Lie brackets also map to zero. Thus is a Lie algebra homomorphism, although it is not a Faithful Lie algebra representation.
The line is an invariant subspace. Any complementary line has the form for some . But
so no complementary line is an invariant subspace. Equivalently, every invariant line is killed by : its restriction to a line is a scalar, and its square is zero, forcing that scalar to be zero. A decomposition into two invariant lines would then force , a contradiction. This representation is therefore not a semisimple representation. Thus
Use the Polynomial representation of the Heisenberg Lie algebra on the infinite-dimensional polynomial ring :
The product rule gives , so this is a Lie algebra representation. It is a Faithful Lie algebra representation: if is the zero operator, applying it first to gives , and then applying the remaining operator to gives .
To prove irreducibility, let be a nonzero invariant subspace and choose a nonzero polynomial in of least degree. If its degree were positive, repeated differentiation would produce a nonzero element of smaller degree, so contains a nonzero constant. Invariance under multiplication by then puts every monomial in , and hence .