Skip to content

[Merged by Bors] - feat(CategoryTheory/Abelian): exactness of colimits (short complex version)#21990

Closed
joelriou wants to merge 7 commits intomasterfrom
grothendieck-axioms-colim-map-short-complex
Closed

[Merged by Bors] - feat(CategoryTheory/Abelian): exactness of colimits (short complex version)#21990
joelriou wants to merge 7 commits intomasterfrom
grothendieck-axioms-colim-map-short-complex

Conversation

@joelriou
Copy link
Copy Markdown
Contributor

@joelriou joelriou commented Feb 17, 2025

Assuming HasExactColimitsOfShape J C, we rephrase the exactness of colim : (J ⥤ C) ⥤ C by saying that if S : ShortComplex (J ⥤ C) is exact, and we have colimit cocones c₁, c₂, c₃ for S.X₁, S.X₂ and S.X₃, then the induced short complex c₁.pt ⟶ c₂.pt ⟶ c₃.pt is exact.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 17, 2025

PR summary 88d0941b5b

Import changes exceeding 2%

% File
+57.24% Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Colim

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Colim 601 945 +344 (+57.24%)
Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Abelian.GrothendieckAxioms.Colim 344

Declarations diff

+ colim.exact_mapShortComplex
+ colim.mapShortComplex

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

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

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).


namespace CategoryTheory.Limits

variable {C : Type u} [Category.{v} C] [Abelian C]
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.

I think the entire file isn't really about abelian categories at all, the Abelian C can be replaced by HasZeroMorphisms C. So I think it makes sense to move the file to GrothendieckAxioms instead of GrothendieckCategory and generalize the typeclass assumption.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the suggestion, I have moved the code into GrothendieckAxioms.Colim with a HasZeroMorphisms assumption.

@TwoFX TwoFX added the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 17, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 17, 2025
@joelriou joelriou removed the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 17, 2025
Copy link
Copy Markdown
Member

@TwoFX TwoFX left a comment

Choose a reason for hiding this comment

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

Thanks!
bors r+

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Feb 17, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 17, 2025
…rsion) (#21990)

Assuming `HasExactColimitsOfShape J C`, we rephrase the exactness of `colim : (J ⥤ C) ⥤ C` by saying that if `S : ShortComplex (J ⥤ C)` is exact, and we have colimit cocones `c₁`, `c₂`, `c₃` for `S.X₁`, `S.X₂` and `S.X₃`, then the induced short complex `c₁.pt ⟶ c₂.pt ⟶ c₃.pt` is exact.



Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 17, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory/Abelian): exactness of colimits (short complex version) [Merged by Bors] - feat(CategoryTheory/Abelian): exactness of colimits (short complex version) Feb 17, 2025
@mathlib-bors mathlib-bors bot closed this Feb 17, 2025
@mathlib-bors mathlib-bors bot deleted the grothendieck-axioms-colim-map-short-complex branch February 17, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports 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.

2 participants