Homomorphism in each coordinate implies cocycle for trivial group action

From Groupprops

Statement

Suppose G is a group and A is an abelian group. Suppose f:GnA is a function with the property that, for all i{1,2,,n}, if we fix the entries in all coordinates but the ith coordinate, the induced function from G to A is a homomorphism of groups.

Then, f is a n-cocycle for trivial group action.

Particular cases

n What being a homomorphism in each coordinate means What being a n-cocycle means Link to n-cocycle page
1 being a homomorphism of groups from G to A being a homomorphism of groups from G to A --
2 f:G×GA satisfies, for all g1,g2,g3G, both of these: f(g1g2,g3)=f(g1,g3)+f(g2,g3) and f(g1,g2g3)=f(g1,g2)+f(g1,g3) f:G×GA satisfies, for all g1,g2,g3G, the following: f(g2,g3)+f(g1,g2g3)=f(g1g2,g3)+f(g1,g2) 2-cocycle for trivial group action
3 f:G×GA satisfies, for all g1,g2,g3,g4G, all of these: f(g1g2,g3,g4)=f(g1,g3,g4)+f(g2,g3,g4),f(g1,g2g3,g4)=f(g1,g2,g4)+f(g1,g3,g4), f(g1,g2,g3g4)=f(g1,g2,g3)+f(g1,g2,g4) f:G×GA satisfies, for all g1,g2,g3,g4G, the following: f(g2,g3,g4)+f(g1,g2g3,g4)+f(g1,g2,g3)=f(g1g2,g3,g4)+f(g1,g2,g3g4) 3-cocycle for trivial group action