Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat: small types of shifted hom in the localized category #13926

Closed
wants to merge 40 commits into from

Conversation

joelriou
Copy link
Collaborator

@joelriou joelriou commented Jun 18, 2024

If C is a category equipped with a shift by an additive monoid M, and W : MorphismProperty C is compatible with the shift, we define a type-class HasSmallLocalizedShiftedHom.{w} W X Y which says that all the types of morphisms from X⟦a⟧ to Y⟦b⟧ in the localized category are w-small for a certain universe. Then, we define types SmallShiftedHom.{w} W X Y m : Type w for all m : M, and endow these with a composition which transports the composition on the types ShiftedHom (L.obj X) (L.obj Y) m when L : C ⥤ D is any localization functor for W.

This shall be used in the redefinition of Ext-groups in abelian categories.


Open in Gitpod

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels Jun 18, 2024
Copy link

github-actions bot commented Jun 18, 2024

PR summary 8e85e80a4c

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.Shift.Localization 438 441 +3 (+0.68%)
Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Shift.ShiftedHom 1
6 files Mathlib.CategoryTheory.Triangulated.HomologicalFunctor Mathlib.Algebra.Homology.HomotopyCategory.HomologicalFunctor Mathlib.CategoryTheory.Localization.Triangulated Mathlib.CategoryTheory.Shift.Localization Mathlib.Algebra.Homology.HomotopyCategory.ShortExact Mathlib.CategoryTheory.Triangulated.Subcategory
3
Mathlib.CategoryTheory.Localization.SmallShiftedHom 672

Declarations diff

+ SmallShiftedHom
+ comp
+ comp_assoc
+ comp_map
+ equiv
+ equiv_comp
+ equiv_shift'
+ hasSmallLocalizedHom_of_hasSmallLocalizedShiftedHom₀
+ id_map
+ instance (m : M) : HasSmallLocalizedHom.{w} W (X⟦m⟧) Y
+ instance (m : M) : HasSmallLocalizedHom.{w} W X (Y⟦m⟧)
+ instance (m m' n : M) : HasSmallLocalizedHom.{w} W (X⟦m⟧⟦m'⟧) (Y⟦n⟧)
+ instance (m n n' : M) : HasSmallLocalizedHom.{w} W (X⟦m⟧) (Y⟦n⟧⟦n'⟧)
+ map
+ map_comp
++ equiv_shift
++ shift

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Jun 18, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 25, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jun 25, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the blocked-by-other-PR This PR depends on another PR to Mathlib (this label is automatically managed by a bot) label Jul 2, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 2, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 3, 2024
@erdOne
Copy link
Member

erdOne commented Jul 4, 2024

Thanks!
maintainer merge

Copy link

github-actions bot commented Jul 4, 2024

🚀 Pull request has been placed on the maintainer queue by erdOne.

@riccardobrasca
Copy link
Member

Thanks!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jul 5, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 5, 2024
If `C` is a category equipped with a shift by an additive monoid `M`, and `W : MorphismProperty C` is compatible with the shift, we define a type-class `HasSmallLocalizedShiftedHom.{w} W X Y` which says that all the types of morphisms from `X⟦a⟧` to `Y⟦b⟧` in the localized category are `w`-small for a certain universe. Then, we define types `SmallShiftedHom.{w} W X Y m : Type w` for all `m : M`, and endow these with a composition which transports the composition on the types `ShiftedHom (L.obj X) (L.obj Y) m` when `L : C ⥤ D` is any localization functor for `W`.

This shall be used in the redefinition of `Ext`-groups in abelian categories.



Co-authored-by: Riccardo Brasca <[email protected]>
Co-authored-by: Joël Riou <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 5, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: small types of shifted hom in the localized category [Merged by Bors] - feat: small types of shifted hom in the localized category Jul 5, 2024
@mathlib-bors mathlib-bors bot closed this Jul 5, 2024
@mathlib-bors mathlib-bors bot deleted the has-small-localized-shifted-hom branch July 5, 2024 08:06
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer-merge ready-to-merge This PR has been sent to bors. t-category-theory Category theory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants