Group cohomology commutes with finite direct sums (source code)

= Group cohomology commutes with finite direct sums

For $\mathbb ZG$-modules $M_1,M_2$,
$$
H^n(G,M_1\oplus M_2)\cong H^n(G,M_1)\oplus H^n(G,M_2),
$$
because the <Hom functor> into a finite <direct sum> splits degree by degree and taking <cohomology> preserves that splitting.