An easier way to compute 2-cocycles coming from a reduction for semidirect products
V. Goncharov, Journal of Geometry and Physics 227 (2026).