Commutators of matrix units #
This file computes brackets of single-entry matrices over an arbitrary ring. The basic
Matrix.lie_single_single formula gives the two possible compositions of matrix units. Its
specializations express off-diagonal units and diagonal differences as commutators, and compute
their brackets used in standard sl₂ triples. The double-bracket identity
Matrix.lie_single_lie_single_of_ne extracts one matrix entry, which is useful for studying
ideals of matrix Lie algebras.
These identities concern the underlying Lie ring, so they do not require commutative coefficients or a choice of scalar ring for a Lie algebra.
The commutator of two single-entry matrices is the difference of the two possible composites.
Bracketing twice against an off-diagonal matrix unit isolates the transposed entry.