Graded Lie algebra (source code)

= Graded Lie algebra

In the sign convention used here, a graded Lie algebra over a <field> of <characteristic zero> is a <vector space> $L=\bigoplus_{r\in\mathbb Z}L_r$ with a <bilinear map> $[-,-]:L_r\times L_s\to L_{r+s}$ satisfying
$$
[u,v]=-(-1)^{rs}[v,u],\qquad [u,[v,w]]=[[u,v],w]+(-1)^{rs}[v,[u,w]]
$$
for $u\in L_r$, $v\in L_s$ and homogeneous $w$. Thus two odd-degree elements have a symmetric <graded Lie bracket>, whereas an even-degree element has the ordinary antisymmetry rule. For a graded <associative algebra>, $[u,v]=uv-(-1)^{rs}vu$ supplies an example; expanding its products proves the graded <Jacobi identity>. Reducing degrees modulo two gives a <Lie superalgebra>. A <Gerstenhaber algebra> uses this sign rule after shifting degrees by one.

A different common convention uses an ordinary <Lie algebra> with a grading satisfying $[L_r,L_s]\subseteq L_{r+s}$ and no degree signs. The <loop algebra> is an example of that ordinary graded convention. The degree convention must therefore be specified before applying a <graded Lie bracket> formula.