The areas / V26. Homological algebra
Mathlib.RepresentationTheory.Homological.Resolution
40 declarations and 1 deprecated aliases. Mathlib docs · Source
The standard and bar resolutions of k as a trivial k-linear G-representation
Given a commutative ring k and a group G, this file defines two projective resolutions of k
as a trivial k-linear G-representation.
The first one, the standard resolution, has objects k[Gⁿ⁺¹] equipped with the diagonal
representation, and differential defined by (g₀, ..., gₙ) ↦ ∑ (-1)ⁱ • (g₀, ..., ĝᵢ, ..., gₙ).
We define this as the alternating face map complex associated to an appropriate simplicial
k-linear G-representation. This simplicial object is the linearization of the simplicial
G-set given by the universal cover of the classifying space of G, EG. We prove this
simplicial G-set EG is isomorphic to the Čech nerve of the natural arrow of G-sets
G ⟶ {pt}.
We then use this isomorphism to deduce that as a complex of k-modules, the standard resolution
of k as a trivial G-representation is homotopy equivalent to the complex with k at 0 and 0
elsewhere.
Putting this material together allows us to define Rep.standardResolution, the
standard projective resolution of k as a trivial k-linear G-representation.
We then construct the bar resolution. The nth object in this complex is the representation on
Gⁿ →₀ k[G] defined pointwise by the left regular representation on k[G]. The differentials are
defined by sending (g₀, ..., gₙ) to
g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁) for
j = 0, ..., n - 1.
In RepresentationTheory.Rep we define an isomorphism Rep.diagonalSuccIsoFree between
k[Gⁿ⁺¹] ≅ (Gⁿ →₀ k[G]) sending (g₀, ..., gₙ) ↦ g₀·(g₀⁻¹g₁, ..., gₙ₋₁⁻¹gₙ).
We show that this isomorphism defines a commutative square with the bar resolution differential and
the standard resolution differential, and thus conclude that the bar resolution differential
squares to zero and that Rep.diagonalSuccIsoFree defines an isomorphism between the two
complexes. We carry the exactness properties across this isomorphism to conclude the bar resolution
is a projective resolution too, in Rep.barResolution.
In Mathlib/RepresentationTheory/Homological/GroupHomology/Basic.lean and
Mathlib/RepresentationTheory/Homological/GroupCohomology/Basic.lean, we then use
Rep.barResolution to define the inhomogeneous (co)chains of a representation, useful for
computing group (co)homology.
Main definitions
groupCohomology.resolution.ofMulActionBasisclassifyingSpaceUniversalCoverRep.standardComplex.forget₂ToModuleCatHomotopyEquivRep.standardResolution
TODO: There's bad DefEq abuses in Action and the way we do Rep.standardComplex should be
unified with continuous cohomology, therefore we should remove the use of Action in Rep which
would remove all the unification hints in this file.
def classifyingSpaceUniversalCover E3 #
(G : Type u) → [inst : Monoid G] → CategoryTheory.SimplicialObject (Action (Type u) G)
The simplicial G-set sending [n] to Gⁿ⁺¹ equipped with the diagonal action of G.
theorem classifyingSpaceUniversalCover_map E0 #
∀ (G : Type u) [inst : Monoid G] {X Y : SimplexCategoryᵒᵖ} (f : X ⟶ Y),
(classifyingSpaceUniversalCover G).map f =
{ hom := TypeCat.ofHom fun x ↦ x ∘ ⇑(SimplexCategory.Hom.toOrderHom f.unop), comm := ⋯ }
theorem classifyingSpaceUniversalCover_obj E0 #
∀ (G : Type u) [inst : Monoid G] (n : SimplexCategoryᵒᵖ),
(classifyingSpaceUniversalCover G).obj n = Action.ofMulAction G (Fin ((Opposite.unop n).len + 1) → G)
def classifyingSpaceUniversalCover.cechNerveTerminalFromIso E1 #
(G : Type u) →
[inst : Monoid G] → CategoryTheory.cechNerveTerminalFrom (Action.ofMulAction G G) ≅ classifyingSpaceUniversalCover G
When the category is G-Set, cechNerveTerminalFrom of G with the left regular action is
isomorphic to EG, the universal cover of the classifying space of G as a simplicial G-set.
def classifyingSpaceUniversalCover.cechNerveTerminalFromIsoCompForget E1 #
(G : Type u) →
[inst : Monoid G] →
CategoryTheory.cechNerveTerminalFrom G ≅
CategoryTheory.Functor.comp (classifyingSpaceUniversalCover G) (CategoryTheory.forget (Action (Type u) G))
As a simplicial set, cechNerveTerminalFrom of a monoid G is isomorphic to the universal
cover of the classifying space of G as a simplicial set.
def classifyingSpaceUniversalCover.compForgetAugmented E1 #
(G : Type u) → [Monoid G] → CategoryTheory.SimplicialObject.Augmented (Type u)
The universal cover of the classifying space of G as a simplicial set, augmented by the map
from Fin 1 → G to the terminal object in Type u.
def classifyingSpaceUniversalCover.extraDegeneracyAugmentedCechNerve E1 #
(G : Type u) →
[Monoid G] → (CategoryTheory.Arrow.mk (CategoryTheory.Limits.terminal.from G)).augmentedCechNerve.ExtraDegeneracy
The augmented Čech nerve of the map from Fin 1 → G to the terminal object in Type u has an
extra degeneracy.
def classifyingSpaceUniversalCover.extraDegeneracyCompForgetAugmented E1 #
(G : Type u) → [inst : Monoid G] → (classifyingSpaceUniversalCover.compForgetAugmented G).ExtraDegeneracy
The universal cover of the classifying space of G as a simplicial set, augmented by the map
from Fin 1 → G to the terminal object in Type u, has an extra degeneracy.
def classifyingSpaceUniversalCover.compForgetAugmented.toModule E1 #
(k G : Type u) → [inst : CommRing k] → [Monoid G] → CategoryTheory.SimplicialObject.Augmented (ModuleCat k)
The free functor Type u ⥤ ModuleCat.{u} k applied to the universal cover of the classifying
space of G as a simplicial set, augmented by the map from Fin 1 → G to the terminal object
in Type u.
def classifyingSpaceUniversalCover.extraDegeneracyCompForgetAugmentedToModule E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Monoid G] → (classifyingSpaceUniversalCover.compForgetAugmented.toModule k G).ExtraDegeneracy
If we augment the universal cover of the classifying space of G as a simplicial set by the
map from Fin 1 → G to the terminal object in Type u, then apply the free functor
Type u ⥤ ModuleCat.{u} k, the resulting augmented simplicial k-module has an extra
degeneracy.
def Rep.standardComplex E3 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Monoid G] → ChainComplex (Rep.{u, u, u} k G) ℕ
The standard resolution of k as a trivial representation, defined as the alternating
face map complex of a simplicial k-linear G-representation.
def Rep.standardComplex.d E1 #
(k : Type u) →
[inst : CommRing k] → (G : Type u) → (n : ℕ) → MonoidAlgebra k (Fin (n + 1) → G) →ₗ[k] MonoidAlgebra k (Fin n → G)
The k-linear map underlying the differential in the standard resolution of k as a trivial
k-linear G-representation. It sends (g₀, ..., gₙ) ↦ ∑ (-1)ⁱ • (g₀, ..., ĝᵢ, ..., gₙ).
theorem Rep.standardComplex.d_of E0 #
∀ {k G : Type u} [inst : CommRing k] {n : ℕ} (c : Fin (n + 1) → G),
(Rep.standardComplex.d k G n) (MonoidAlgebra.single c 1) = ∑ p, MonoidAlgebra.single (c ∘ p.succAbove) ((-1) ^ ↑p)
theorem Rep.standardComplex.d_single E1 #
∀ {k G : Type u} [inst : CommRing k] {n : ℕ} (c : Fin (n + 1) → G) (r : k),
(Rep.standardComplex.d k G n) (MonoidAlgebra.single c r) = ∑ p, MonoidAlgebra.single (c ∘ p.succAbove) (r * (-1) ^ ↑p)
def Rep.standardComplex.xIso E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Monoid G] → (n : ℕ) → (Rep.standardComplex k G).X n ≅ Rep.ofMulAction k G (Fin (n + 1) → G)
The nth object of the standard resolution of k is definitionally isomorphic to k[Gⁿ⁺¹]
equipped with the representation induced by the diagonal action of G.
instance Rep.standardComplex.x_projective E0 #
∀ (k : Type u) [inst : CommRing k] (G : Type u) [inst_1 : Group G] (n : ℕ),
CategoryTheory.Projective ((Rep.standardComplex k G).X n)
theorem Rep.standardComplex.d_eq E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G] (n : ℕ),
(Rep.Hom.hom ((Rep.standardComplex k G).d (n + 1) n)).toLinearMap = Rep.standardComplex.d k G (n + 1)
Simpler expression for the differential in the standard resolution of k as a
G-representation. It sends (g₀, ..., gₙ₊₁) ↦ ∑ (-1)ⁱ • (g₀, ..., ĝᵢ, ..., gₙ₊₁).
theorem Rep.standardComplex.d_apply E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G] {n : ℕ} (f : MonoidAlgebra k (Fin (n + 1 + 1) → G)),
(Rep.Hom.hom ((Rep.standardComplex k G).d (n + 1) n)) f = (Rep.standardComplex.d k G (n + 1)) f
def Rep.standardComplex.forget₂ToModuleCat E1 #
(k G : Type u) → [inst : CommRing k] → [Monoid G] → HomologicalComplex (ModuleCat k) (ComplexShape.down ℕ)
The standard resolution of k as a trivial representation as a complex of k-modules.
def Rep.standardComplex.compForgetAugmentedIso E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Monoid G] →
AlgebraicTopology.AlternatingFaceMapComplex.obj
(CategoryTheory.SimplicialObject.Augmented.drop.obj
(classifyingSpaceUniversalCover.compForgetAugmented.toModule k G)) ≅
Rep.standardComplex.forget₂ToModuleCat k G
If we apply the free functor Type u ⥤ ModuleCat.{u} k to the universal cover of the
classifying space of G as a simplicial set, then take the alternating face map complex, the result
is isomorphic to the standard resolution of the trivial G-representation k as a complex of
k-modules.
def Rep.standardComplex.forget₂ToModuleCatHomotopyEquiv E3 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Monoid G] →
HomotopyEquiv (Rep.standardComplex.forget₂ToModuleCat k G)
((ChainComplex.single₀ (ModuleCat k)).obj
((CategoryTheory.forget₂ (Rep.{u, u, u} k G) (ModuleCat k)).obj (Rep.trivial k G k)))
As a complex of k-modules, the standard resolution of the trivial G-representation k is
homotopy equivalent to the complex which is k at 0 and 0 elsewhere.
def Rep.standardComplex.ε E1 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Monoid G] → Rep.ofMulAction k G (Fin 1 → G) ⟶ Rep.trivial k G k
The hom of k-linear G-representations k[G¹] → k sending ∑ nᵢgᵢ ↦ ∑ nᵢ.
theorem Rep.standardComplex.forget₂ToModuleCatHomotopyEquiv_f_0_eq E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G],
(Rep.standardComplex.forget₂ToModuleCatHomotopyEquiv k G).hom.f 0 =
(CategoryTheory.forget₂ (Rep.{u, u, u} k G) (ModuleCat k)).map (Rep.standardComplex.ε k G)
The homotopy equivalence of complexes of k-modules between the standard resolution of k as
a trivial G-representation, and the complex which is k at 0 and 0 everywhere else, acts as
∑ nᵢgᵢ ↦ ∑ nᵢ : k[G¹] → k at 0.
theorem Rep.standardComplex.d_comp_ε E1 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G],
CategoryTheory.CategoryStruct.comp ((Rep.standardComplex k G).d 1 0) (Rep.standardComplex.ε k G) = 0
def Rep.standardComplex.εToSingle₀ E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Monoid G] → Rep.standardComplex k G ⟶ (ChainComplex.single₀ (Rep.{u, u, u} k G)).obj (Rep.trivial k G k)
The chain map from the standard resolution of k to k[0] given by ∑ nᵢgᵢ ↦ ∑ nᵢ in
degree zero.
theorem Rep.standardComplex.εToSingle₀_comp_eq E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G],
CategoryTheory.CategoryStruct.comp
(((CategoryTheory.forget₂ (Rep.{u, u, u} k G) (ModuleCat k)).mapHomologicalComplex (ComplexShape.down ℕ)).map
(Rep.standardComplex.εToSingle₀ k G))
((HomologicalComplex.singleMapHomologicalComplex (CategoryTheory.forget₂ (Rep.{u, u, u} k G) (ModuleCat k))
(ComplexShape.down ℕ) 0).hom.app
(Rep.trivial k G k)) =
(Rep.standardComplex.forget₂ToModuleCatHomotopyEquiv k G).hom
theorem Rep.standardComplex.quasiIso_forget₂_εToSingle₀ E1 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G],
QuasiIso
(((CategoryTheory.forget₂ (Rep.{u, u, u} k G) (ModuleCat k)).mapHomologicalComplex (ComplexShape.down ℕ)).map
(Rep.standardComplex.εToSingle₀ k G))
instance Rep.standardComplex.instQuasiIsoNatεToSingle₀ E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Monoid G], QuasiIso (Rep.standardComplex.εToSingle₀ k G)
def Rep.standardResolution E3 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Group G] → CategoryTheory.ProjectiveResolution (Rep.trivial k G k)
The standard projective resolution of k as a trivial k-linear G-representation.
instance Rep.instHasExt E0 #
∀ {k G : Type u} [inst : CommRing k] [inst_1 : Monoid G], CategoryTheory.HasExt (Rep.{u, u, u} k G)
def Rep.standardResolution.extIso E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Group G] →
(V : Rep.{u, u, u} k G) →
(n : ℕ) →
↧(CategoryTheory.Abelian.Ext (Rep.trivial k G k) V n) ≅
HomologicalComplex.homology ((Rep.standardComplex k G).linearYonedaObj k V) n
Given a k-linear G-representation V, Extⁿ(k, V) (where k is a trivial k-linear
G-representation) is isomorphic to the nth cohomology group of Hom(P, V), where P is the
standard resolution of k called standardComplex k G.
def Rep.barComplex.d E1 #
(k G : Type u) →
[inst : CommRing k] → (n : ℕ) → [inst_1 : Group G] → Rep.free k G (Fin (n + 1) → G) ⟶ Rep.free k G (Fin n → G)
The differential from Gⁿ⁺¹ →₀ k[G] to Gⁿ →₀ k[G] in the bar resolution of k as a trivial
k-linear G-representation. It sends (g₀, ..., gₙ) to
g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁) for
j = 0, ..., n - 1.
theorem Rep.barComplex.d_single E1 #
∀ {k G : Type u} [inst : CommRing k] (n : ℕ) [inst_1 : Group G] (x : Fin (n + 1) → G),
((Rep.Hom.hom (Rep.barComplex.d k G n)) fun₀ | x => MonoidAlgebra.single 1 1) =
(fun₀ | fun i ↦ x i.succ => MonoidAlgebra.single (x 0) 1) +
∑ j, fun₀ | j.contractNth (fun x1 x2 ↦ x1 * x2) x => MonoidAlgebra.single 1 ((-1) ^ (↑j + 1))
theorem Rep.barComplex.d_comp_diagonalSuccIsoFree_inv_eq E0 #
∀ (k G : Type u) [inst : CommRing k] (n : ℕ) [inst_1 : Group G],
CategoryTheory.CategoryStruct.comp (Rep.barComplex.d k G n) (Rep.diagonalSuccIsoFree k G n).inv =
CategoryTheory.CategoryStruct.comp (Rep.diagonalSuccIsoFree k G (n + 1)).inv ((Rep.standardComplex k G).d (n + 1) n)
abbrev Rep.barComplex E1 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Group G] → ChainComplex (Rep.{u, u, u} k G) ℕ
The projective resolution of k as a trivial k-linear G-representation with nth
differential (Gⁿ⁺¹ →₀ k[G]) → (Gⁿ →₀ k[G]) sending (g₀, ..., gₙ) to
g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁) for
j = 0, ..., n - 1.
theorem Rep.barComplex.d_def E0 #
∀ (k G : Type u) [inst : CommRing k] {n : ℕ} [inst_1 : Group G],
(Rep.barComplex k G).d (n + 1) n = Rep.barComplex.d k G n
def Rep.barComplex.isoStandardComplex E1 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Group G] → Rep.barComplex k G ≅ Rep.standardComplex k G
Isomorphism between the bar resolution and standard resolution, with nth map
(Gⁿ →₀ k[G]) → k[Gⁿ⁺¹] sending (g₁, ..., gₙ) ↦ (1, g₁, g₁g₂, ..., g₁...gₙ).
def Rep.barResolution E1 #
(k G : Type u) → [inst : CommRing k] → [inst_1 : Group G] → CategoryTheory.ProjectiveResolution (Rep.trivial k G k)
The chain complex barComplex k G as a projective resolution of k as a trivial
k-linear G-representation.
theorem Rep.barResolution_complex E0 #
∀ (k G : Type u) [inst : CommRing k] [inst_1 : Group G], (Rep.barResolution k G).complex = Rep.barComplex k G
abbrev Rep.barResolution.extIso E1 #
(k G : Type u) →
[inst : CommRing k] →
[inst_1 : Group G] →
(V : Rep.{u, u, u} k G) →
(n : ℕ) →
↧(CategoryTheory.Abelian.Ext (Rep.trivial k G k) V n) ≅
HomologicalComplex.homology ((Rep.barComplex k G).linearYonedaObj k V) n
Given a k-linear G-representation V, Extⁿ(k, V) (where k is the trivial k-linear
G-representation) is isomorphic to the nth cohomology group of Hom(P, V), where P is the
bar resolution of k.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
Rep.groupCohomology.projectiveResolution | Rep.standardResolution | 2025-06-06 |