Definition 29.1. A graded $R$-algebra (for $R$ a commutative ring) is a $\mathbb{Z}$-graded $R$-module $A_*$ equipped with multiplication maps $A_p \otimes_R A_q \to A_{p+q}$ and a unit $\eta : R \to A_0$ satisfying the usual associativity and unit diagrams.
This bundles a family of $R$-modules with the graded-semiring/graded-algebra
data taken from Mathlib's DirectSum / GAlgebra API.
- instAddCommGroup (i : ℤ) : AddCommGroup (self.A i)
- instGSemiring : DirectSum.GSemiring self.A
- instGAlgebra : DirectSum.GAlgebra R self.A
Instances For
Multiplication in a graded $R$-algebra: $A_p \otimes A_q \to A_{p + q}$.
Instances For
The unit map $\eta : R \to A_0$ of a graded $R$-algebra.
Instances For
A graded $R$-algebra $A$ is (graded) commutative if the twist isomorphism satisfies $\tau(x \otimes y) = (-1)^{pq} y \otimes x$, i.e. $$x \cdot y = (-1)^{pq} y \cdot x$$ for $x \in A_p$ and $y \in A_q$. This is the Koszul sign rule, as used for example in singular cohomology under cup product.
- mul_comm (p q : ℤ) (x : GA.A p) (y : GA.A q) : GradedMonoid.GMul.mul x y = ↑(p * q).negOnePow • cast ⋯ (GradedMonoid.GMul.mul y x)
Instances For
The total cohomology ring $H^*(X; R) = \bigoplus_{n \ge 0} H^n(X; R)$ of a space $X$ with coefficients in $R$, as a wrapper around the direct sum of singular cohomology groups. It will be given the structure of a graded $R$-algebra via the cup product.
- toDirectSum : DirectSum ℕ fun (n : ℕ) => ↑(singularCohomology R X (ModuleCat.of R R) n)
Instances For
The additive group structure on each cohomology group $H^n(X; R)$,
inherited from its ModuleCat representation.
The cup product on singular cohomology, as a graded multiplication $\smile : H^p(X) \otimes H^q(X) \to H^{p + q}(X)$.
Instances For
The cup product as a graded-monoid multiplication on $H^*(X; R)$.
The augmentation cocycle $\varepsilon \in C^0(X; R)$: the singular $0$-cochain assigning $1 \in R$ to every singular $0$-simplex. Its cohomology class is the unit of $H^*(X; R)$.
Instances For
The augmentation cocycle $\varepsilon$ is indeed a $0$-cocycle: its coboundary vanishes, since for each $1$-simplex $\sigma$ both endpoints map to $1 \in R$ and cancel. Used to lift $\varepsilon$ to a cohomology class.
The unit $1 \in H^0(X; R)$ of the cohomology ring, obtained as the cohomology class of the augmentation cocycle $\varepsilon$.
Instances For
The cohomology unit cohomologyUnit as the graded-monoid identity of
$H^*(X; R)$.
Left unit law for the cup product: $1 \smile y = y$ for every $y \in H^q(X; R)$, where $1 \in H^0(X; R)$ is the class of the augmentation cocycle.
Graded-monoid form of cupProduct_unit_left: $1 \cdot a = a$ in $H^*(X; R)$.
Graded commutativity (Koszul sign rule) for the cup product: $x \smile y = (-1)^{pq}\, y \smile x$ for $x \in H^p(X; R)$, $y \in H^q(X; R)$.
Right unit law for the cup product: $a \cdot 1 = a$. Deduced from
cupProduct_one_mul by graded commutativity (the sign is trivially $+1$ in degree $0$).
Associativity of the cup product on cochain-level homs: $(x \smile y) \smile z = x \smile (y \smile z)$ in $H^{p + q + r}(X; R)$.
Graded-monoid form of associativity: $(a \cdot b) \cdot c = a \cdot (b \cdot c)$ in the total cohomology $H^*(X; R)$.
Right annihilator: cup product with $0$ on the right vanishes, since the underlying linear map is $R$-bilinear.
Left annihilator: cup product with $0$ on the left vanishes.
Right distributivity of the cup product: $a \smile (b + c) = a \smile b + a \smile c$.
Left distributivity of the cup product: $(a + b) \smile c = a \smile c + b \smile c$.
The natural-number cast $\mathbb{N} \to H^0(X; R)$, defined recursively as
$n \mapsto n \cdot 1_{H^*(X; R)}$. Provides the natCast field for the graded
ring structure on $H^*(X; R)$.
Instances For
Base case for the natural-number cast: $0 \in \mathbb{N}$ maps to $0 \in H^0(X; R)$.
Successor case for the natural-number cast: the cast of $n + 1$ is the cast of $n$ plus the cohomology unit.
The integer cast $\mathbb{Z} \to H^0(X; R)$, extending the natural-number cast
by negation on negative integers. Provides the intCast field for the graded
ring structure.
Instances For
Compatibility of the integer cast with the natural-number cast on non-negative integers $n \ge 0$.
Behaviour of the integer cast on a negative integer $-(n + 1)$: it returns $-(n + 1) \cdot 1$ in $H^0(X; R)$.
Graded ring structure on the cohomology family $n \mapsto H^n(X; R)$, assembling unit, associativity, distributivity and the natural/integer casts proved above. This is what promotes $H^*(X; R) = \bigoplus_n H^n(X; R)$ to a ring under cup product.
The unit map $R \to H^0(X; R)$ of the cohomology algebra, sending $r \in R$ to $r \cdot 1_{H^*(X; R)}$.
Instances For
The cohomology algebra map sends $1 \in R$ to the cohomology unit $1 \in H^0(X; R)$.
Multiplicativity of the cohomology algebra map: $\eta(rs) = \eta(r) \smile \eta(s)$, using the idempotence $1 \smile 1 = 1$ of the cohomology unit and bilinearity.
Central commutativity: scalars from $R$ commute with every cohomology class. Required to view $H^*(X; R)$ as an $R$-algebra.
Casting along an equality of degrees commutes with scalar multiplication: $\mathrm{cast}_h(r \cdot z) = r \cdot \mathrm{cast}_h(z)$ in the cohomology family.
Compatibility of $R$-scalar multiplication with the algebra map: $r \cdot x = \eta(r) \smile x$. Together with the previous lemmas this gives the $R$-algebra structure on $H^*(X; R)$.
Graded $R$-algebra structure on $H^*(X; R)$, bundling the cohomology unit map, its multiplicativity, central commutativity, and compatibility with scalar multiplication.
The wrapper structure CupProductAlgebra R X is canonically equivalent to the
underlying direct sum $\bigoplus_n H^n(X; R)$, used to transfer ring/algebra
instances onto it.
Instances For
The ring structure on $H^*(X; R) = \bigoplus_n H^n(X; R)$, transferred from
the direct sum along CupProductAlgebra.equiv.
The $R$-algebra structure on the cohomology ring $H^*(X; R)$, also transferred
from the direct sum along CupProductAlgebra.equiv.
The Koszul tensor algebra $H^*(X; R) \otimes_R H^*(X; R)$, wrapping the $R$-tensor product of two cohomology rings. The cohomology cross product will be defined as a ring homomorphism out of this algebra.
- toTensorProduct : TensorProduct R (CupProductAlgebra R X) (CupProductAlgebra R Y)
Instances For
Ring structure on the Koszul tensor algebra, induced by the graded-commutative ring structures on $H^*(X; R)$ and $H^*(Y; R)$ together with the Koszul sign rule.
$R$-algebra structure on the Koszul tensor algebra.
The cohomology cross product assembled as a ring homomorphism $H^*(X; R) \otimes_R H^*(Y; R) \to H^*(X \times Y; R)$. The cross product of $a \in H^p(X)$ and $b \in H^q(Y)$ is $\mathrm{pr}_X^* a \smile \mathrm{pr}_Y^* b$.
Instances For
The cross-product ring homomorphism is compatible with the $R$-algebra unit:
$\eta_{X \times Y}(r) = \mathrm{cross}(\eta_X(r) \otimes 1) = \mathrm{cross}(1 \otimes \eta_Y(r))$.
This is needed to upgrade crossProduct_ringHom_core to an algebra map.
The cohomology cross product packaged as an $R$-algebra homomorphism $H^*(X; R) \otimes_R H^*(Y; R) \to H^*(X \times Y; R)$.
Instances For
Proposition 29.2 (cohomology cross product, linear form). The cohomology
cross product, viewed merely as an $R$-linear map
$$H^*(X; R) \otimes_R H^*(Y; R) \longrightarrow H^*(X \times Y; R).$$
Obtained from the algebra map crossProduct_algHom by forgetting the
multiplicative structure.
Instances For
Proposition 29.2 (multiplicativity of the cross product). The cohomology
cross product is multiplicative:
$$(a \times b) \cdot (a' \times b') = (-1)^{|b||a'|}\,(a \smile a') \times (b \smile b').$$
In compact form: the linear map cohomologyCrossProductLinear preserves products.
The singular cochain complex $C^*(X; G) = \mathrm{Hom}_R(C_*(X; R), G)$ of a
topological space $X$ with coefficients in an $R$-module $G$, as an object of
CochainComplex (ModuleCat R) ℕ.
Instances For
The $n$-th singular cohomology $H^n(X; G)$ as an $R$-module, defined as the
homology of the cochain complex singCochains R G X in degree $n$.
Instances For
Contravariant action of a continuous map $f : X \to Y$ on singular cochains: the pullback $f^* : C^*(Y; G) \to C^*(X; G)$ defined by precomposition with the induced chain map on $C_*(-; R)$.
Instances For
The induced map $f^* : H^n(Y; G) \to H^n(X; G)$ on singular cohomology,
obtained from pullbackCochainMap by passing to homology in degree $n$.
Instances For
The singular chain complex $C_*(S^m; \mathbb{Z})$ of the $m$-sphere with
integer coefficients, packaged as an object of ChainComplex (ModuleCat ℤ) ℕ.
Instances For
Identification of the Mathlib sphere TopCat.sphere m with the
SphereHomology.Sphere m used elsewhere in Atlas, via the canonical ULift
homeomorphism.
Instances For
Each chain group $C_i(S^m; \mathbb{Z})$ is a free $\mathbb{Z}$-module, being the direct sum of copies of $\mathbb{Z}$ indexed by singular simplices.
Compatibility of the singular chain complex functor with the forgetful functor $\mathrm{Mod}_{\mathbb{Z}} \to \mathrm{Ab}$: forgetting the $\mathbb{Z}$-module structure on $C_*(X; \mathbb{Z})$ recovers the singular chain complex of $X$ valued in abelian groups.
Instances For
Vanishing of singular homology with $\mathbb{Z}$-module coefficients is
equivalent to vanishing of the abelian-group-valued singular homology, allowing us
to transfer known vanishing results from SphereHomology into the ModuleCat
setting.
Vanishing of sphere homology: $H_n(S^m; \mathbb{Z}) = 0$ for $0 < n < m$.
Obtained by transporting SphereHomology.sphere_homology_vanishing from
abelian-group coefficients to $\mathbb{Z}$-module coefficients.
All Ext groups out of a zero object vanish: $\mathrm{Ext}^n(0, Y) = 0$ for every $n \ge 0$ and every $\mathbb{Z}$-module $Y$.
For $m \ge 2$, the degree-$0$ homology $H_0(S^m; \mathbb{Z}) \cong \mathbb{Z}$ is a projective $\mathbb{Z}$-module (indeed free), so its Ext groups vanish in positive degree.
Vanishing of the $\mathrm{Ext}^1$ term appearing in the UCT for $H^n(S^m; \mathbb{Z})$ when $0 < n < m$: either $n - 1 > 0$ and the previous homology vanishes, or $n = 1$ and $H_0(S^m; \mathbb{Z})$ is projective.
Vanishing of the $\mathrm{Ext}^0 = \mathrm{Hom}$ term in the UCT for $H^n(S^m; \mathbb{Z})$ when $0 < n < m$: this $\mathrm{Hom}$ vanishes because $H_n(S^m; \mathbb{Z}) = 0$ in that range.
Vanishing of sphere cohomology in intermediate degrees: $H^n(S^m; \mathbb{Z}) = 0$ for $0 < n < m$. Combines the UCT short exact sequence with the vanishing of the relevant Ext terms.
Factorisation supplied by the Künneth/cup-product structure on the cohomology of $S^p \times S^q$: the pullback $f^* : H^{p+q}(S^p \times S^q) \to H^{p+q}(S^{p+q})$ factors as a composition $g \circ h$ through $H^p(S^{p+q})$, reflecting that any top-degree class on the product is a cup product of $p$- and $q$-dimensional classes.
If $f^*$ factors through the (zero) group $H^p(S^{p+q})$, then $f^*$ itself
vanishes. The technical bridge between kunneth_pullback_factors and the main
corollary.
Corollary 29.4. For any continuous map $f : S^{p+q} \to S^p \times S^q$ with $p, q > 0$, the induced pullback on top-degree cohomology vanishes: $$f^* : H^{p+q}(S^p \times S^q; \mathbb{Z}) \longrightarrow H^{p+q}(S^{p+q}; \mathbb{Z}) \quad \text{is the zero map.}$$ Consequence: the top cohomology class $\alpha \times \beta$ of the product cannot be pulled back nontrivially to a sphere, ruling out an $H$-space structure on spheres other than $S^1, S^3, S^7$ (the classical application).
Identification of the Mathlib sphere TopCat.sphere m with the local
SphereHomology.Sphere m, repeated here in the SphereHomology namespace for
ergonomic access.
Instances For
Functoriality of the singular chain complex with $\mathbb{Z}$-coefficients:
a homeomorphism (or TopCat-iso) $X \simeq Y$ induces an isomorphism of chain
complexes $C_*(X; \mathbb{Z}) \simeq C_*(Y; \mathbb{Z})$.