Algebraic Invariants of Lightning Self-Attention