Skip to content

[Merged by Bors] - feat(RepresentationTheory/*): add the bar resolution#21738

Closed
101damnations wants to merge 168 commits intomasterfrom
diagonalsucciso
Closed

[Merged by Bors] - feat(RepresentationTheory/*): add the bar resolution#21738
101damnations wants to merge 168 commits intomasterfrom
diagonalsucciso

Conversation

@101damnations
Copy link
Copy Markdown
Collaborator

@101damnations 101damnations commented Feb 11, 2025

The third of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring k and a group G, this is the projective resolution of k as a trivial G-representation whose nth object is
Gⁿ →₀ k[G] with representation defined pointwise by the left regular representation on k[G], and whose differentials send (g₀, ..., gₙ) to g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁) for j = 0, ... , n - 1.
The refactor means we can reuse this material to set up group homology.

In #21736 we define an isomorphism Rep.diagonalSuccIsoFree between the objects in the standard resolution and bar resolution. In this PR we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in Rep.barResolution.


Open in Gitpod

101damnations added 2 commits June 8, 2025 19:19
Comment on lines -171 to -180
/-- Given a `k`-linear `G`-representation `A`, the set of representation morphisms
`Hom(k[Gⁿ⁺¹], A)` is `k`-linearly isomorphic to the set of functions `Gⁿ → A`. -/
noncomputable def diagonalHomEquiv :
(Rep.diagonal k G (n + 1) ⟶ A) ≃ₗ[k] (Fin n → G) → A :=
Linear.homCongr k
((diagonalSuccIsoTensorTrivial k G n).trans
((Representation.ofMulAction k G G).repOfTprodIso 1))
(Iso.refl _) ≪≫ₗ
(Rep.MonoidalClosed.linearHomEquivComm _ _ _ ≪≫ₗ Rep.leftRegularHomEquiv _) ≪≫ₗ
(Finsupp.llift A k k (Fin n → G)).symm
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to deprecate this and its API because I no longer use it to set up group cohomology and it's easy to derive from existing definitions. But for now I've just moved it to RepresentationTheory.Rep and golfed the API, just in case.

TOMILO87 pushed a commit that referenced this pull request Jun 8, 2025
…25546)

The second of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In #21736  we defined an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In the next PR, #21738, we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.

In this PR we factor out some material from #21738, to make it easier to review.
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thanks!

bors d+


/-- The complex `Hom(P, A)`, where `P` is the standard resolution of `k` as a trivial `k`-linear
`G`-representation. -/
@[deprecated "We now use `Rep.barComplex` instead" (since := "2025-06-08")]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@[deprecated "We now use `Rep.barComplex` instead" (since := "2025-06-08")]
@[deprecated Rep.barComplex (since := "2025-06-08")]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It's not actually a direct replacement so I've elaborated on the bit in quotes instead.

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 9, 2025

✌️ 101damnations can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jun 9, 2025
@101damnations
Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jun 9, 2025
The third of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In #21736  we define an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In this PR we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.



Co-authored-by: 101damnations <al3717@ic.ac.uk>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 9, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RepresentationTheory/*): add the bar resolution [Merged by Bors] - feat(RepresentationTheory/*): add the bar resolution Jun 9, 2025
@mathlib-bors mathlib-bors bot closed this Jun 9, 2025
@mathlib-bors mathlib-bors bot deleted the diagonalsucciso branch June 9, 2025 08:22
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
…unity#21738)

The third of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In leanprover-community#21736  we define an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In this PR we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.



Co-authored-by: 101damnations <al3717@ic.ac.uk>
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
…unity#21738)

The third of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In leanprover-community#21736  we define an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In this PR we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.



Co-authored-by: 101damnations <al3717@ic.ac.uk>
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…eanprover-community#25546)

The second of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In leanprover-community#21736  we defined an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In the next PR, leanprover-community#21738, we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.

In this PR we factor out some material from leanprover-community#21738, to make it easier to review.
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
…unity#21738)

The third of 3 PRs refactoring group cohomology to use the bar resolution. Given a comm ring `k` and a group `G`, this is the projective resolution of `k` as a trivial `G`-representation whose `n`th object is 
`Gⁿ →₀ k[G]` with representation defined pointwise by the left regular representation on k[G], and whose differentials send `(g₀, ..., gₙ)` to `g₀·(g₁, ..., gₙ) + ∑ (-1)ʲ⁺¹·(g₀, ..., gⱼgⱼ₊₁, ..., gₙ) + (-1)ⁿ⁺¹·(g₀, ..., gₙ₋₁)` for `j = 0, ... , n - 1`.
The refactor means we can reuse this material to set up group homology.

In leanprover-community#21736  we define an isomorphism `Rep.diagonalSuccIsoFree` between the objects in the standard resolution and bar resolution. In this PR we show that this isomorphism defines a commutative square with the respective differentials, and thus conclude that the bar resolution differential squares to zero and that the 2 complexes are isomorphic. We carry the exactness properties across this isomorphism to conclude the bar resolution is a projective resolution too, in `Rep.barResolution`.



Co-authored-by: 101damnations <al3717@ic.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants