Defining a cocycle Hello everyone, I would like to define an arbitrary group cocycle. That is, I want to define a funct