ncochain
In algebraic topology, an n-cochain with coefficients in an abelian group G is a function assigning to each singular n-simplex of a space X (or to each oriented n-simplex of a simplicial complex) a value in G. The set of all n-cochains is denoted C^n(X; G).
The cochains form an abelian group under pointwise addition. There is a coboundary operator δ^n: C^n(X; G)
The cohomology groups H^n(X; G) are defined as ker δ^n / im δ^{n-1}. They capture global algebraic information
Remarks: In the simplicial or singular setting, cochains can be viewed as Hom-objects dual to chains when