#H²(G,ℤ) = #G for finite cyclic G
ProvedgroupCohomology.natCard_H2_trivial_intLet be a group in the lowest universe, assumed finite and cyclic. Form the trivial representation Rep.trivial ℤ G ℤ, that is, the -module with acting by the identity, viewed as an object of the category of -linear representations of . The assertion is an equality of natural numbers: the cardinality of the underlying type of the second group cohomology , measured by Nat.card, equals the cardinality Nat.card G of . Since Nat.card returns for infinite types, the statement includes the information that is finite of order exactly , the finiteness of guaranteeing that the right-hand side is positive.
This is the classical computation for a finite cyclic group acting trivially, one of the two inputs (alongside the vanishing of ) to the Herbrand-quotient bookkeeping for cyclic groups. It is used by groupCohomology.natCard_H2_eq_natCard_of_shortExact_of_iso_trivial, where the order of of a representation is compared with through a short exact sequence whose outer terms are trivial.
import Mathlib set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false set_option autoImplicit false universe u open CategoryTheory groupCohomology
theorem groupCohomology.natCard_H2_trivial_int
{G : Type} [Group G] [Finite G] [IsCyclic G] :
Nat.card (H2 (Rep.trivial ℤ G ℤ)) = Nat.card G := by sorry