computations in graded Lie algebras