Lie algebra two-cocycle (source code)

= Lie algebra two-cocycle
{c}
{title2=$\kappa\in\Lambda^2\mathfrak g^*$}

For trivial real coefficients, a Lie algebra two-cocycle is an <alternating bilinear form> $\kappa:\mathfrak g\times\mathfrak g\to\mathbb R$ satisfying
$$
\kappa([X,Y],Z)+\kappa([Y,Z],X)+\kappa([Z,X],Y)=0.
$$
On the <vector space> $\mathfrak g\oplus\mathbb R$, define $[(X,a),(Y,b)]=([X,Y],\kappa(X,Y))$. The second summand is central, and the displayed identity is exactly the remaining condition for the <Jacobi identity>. Thus $\kappa$ defines a <central extension of a Lie algebra>. Replacing the chosen <linear map> splitting the quotient by $X\mapsto(X,b(X))$ changes $\kappa$ by $-b([X,Y])$; this is a coboundary in <Lie algebra cohomology>. For the abelian plane, $\kappa((x,y),(x',y'))=xy'-yx'$ gives the <Heisenberg Lie algebra>. The constant discrepancy in a <moment-map equivariance obstruction> is another such <Lie algebra two-cocycle>.<Lie Groups and Lie Algebras by Pavel Etingof (2024)>[Section 48.1, Proposition 48.3 and Example 48.4]{ref}