- To use NilpotencyClass, you first need to load the SYM Package using Needs["SYM`"].

- The Lie algebra
*L*can be given either from its structure constants or from its infinitesimal generator representation.

- NilpotencyClass will that the supplied Lie algebra is nillpotent and will return Null otherwise.

*Nilpotency class*of a nilpotent Lie Algebra L is the smallest number*c*such that*L*≠0 but^{c}*L*=0. Where^{c+1}*L*, i>1 and L^{i+1}=[L, L^{i}]^{1}=L.