Cohomology
Cohomology is a family of invariants used in topology, geometry, and related fields to classify and measure the structure of spaces. For a topological space X and an abelian group G, one obtains a sequence of abelian groups H^n(X; G), called the cohomology groups, which detect features such as connectedness, holes, and voids across dimensions.
The standard construction uses a cochain complex. Cochains C^n(X; G) consist of algebraic data assigned to n-dimensional
Several flavors of cohomology are used in practice. Singular cohomology uses maps from standard simplices to
Cohomology is contravariant: continuous maps induce pullback homomorphisms H^n. It also carries a graded ring structure
Examples: for the n-sphere S^n, H^0 ≅ Z and H^n ≅ Z with other groups trivial; for the torus