Dear forum,
I would like to ask if $H(m)$ is the Heisenberg Lie algebra of dimension $2m+1$ and $M$ is an ideal of $H(m)$. Can we say that $M$ has a complement in $H(m)$?
As pointed out in the comments, if $M$ would have a complement, then the exact sequence $$ 0 \rightarrow M \rightarrow H(m)\rightarrow H(m)/M \rightarrow 0 $$ would be split. But this is not true in general. If it were true for $M=Z(H(m))$, then $H(m)$ were abelian ($M$ and $H(m)/M$ abelian), a contradiction.
For an answer to a similar question, see Lie algebras and complements.
$M$
to be the 1-dimensional center? $\endgroup$