I want to prove that if $A$ and $B$ are nilpotent matrices such that $[A, [A,B]] = [B, [A,B]] = 0$ then $A + B$ is a nilpotent matrix as well.
I know that it must follow from some general theorem from Lie algebras theory. I am sure, though, that in this particular case it can be done by simple methods.
My attempt uses rather the language of the Lie theory than its results themselves. I noticed that such a matrices (if $dim \langle A, B, [A,B] \rangle = 3$) is a (faithful) representation if the Heisenberg algebra. And since it is true for this algebra it must be true in any faithful representation. I think. I could't prove it.
I am looking for hints for proving it my way and for the solution via elementary methods.