Skip to content

feat(Algebra/Homology): the derived category of a linear abelian category is linear - #24596

Closed
joelriou wants to merge 64 commits into
masterfrom
jriou-derived-category-linear
Closed

joelriou wants to merge 64 commits into
masterfrom
jriou-derived-category-linear

Conversation

@joelriou

@joelriou joelriou commented May 4, 2025 •

Copy link
Copy Markdown
Contributor

@joelriou joelriou added WIP Work in progress t-category-theory Category theory labels May 4, 2025
@github-actions

github-actions Bot commented May 4, 2025 •

Copy link
Copy Markdown

PR summary d9d3b4ca93

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.CategoryTheory.Triangulated.Subcategory 1148 1150 +2 (+0.17%)
Mathlib.CategoryTheory.Triangulated.HomologicalFunctor 1188 1190 +2 (+0.17%)
Mathlib.Algebra.Homology.DerivedCategory.Basic 1299 1301 +2 (+0.15%)
Import changes for all files
Files Import difference
22 files Mathlib.Algebra.Homology.DerivedCategory.Basic Mathlib.Algebra.Homology.DerivedCategory.ExactFunctor Mathlib.Algebra.Homology.DerivedCategory.Ext.Basic Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughProjectives Mathlib.Algebra.Homology.DerivedCategory.Ext.ExactSequences Mathlib.Algebra.Homology.DerivedCategory.Ext.ExtClass Mathlib.Algebra.Homology.DerivedCategory.Fractions Mathlib.Algebra.Homology.DerivedCategory.FullyFaithful Mathlib.Algebra.Homology.DerivedCategory.HomologySequence Mathlib.Algebra.Homology.DerivedCategory.ShortExact Mathlib.Algebra.Homology.DerivedCategory.SingleTriangle Mathlib.Algebra.Homology.HomotopyCategory.HomologicalFunctor Mathlib.Algebra.Homology.HomotopyCategory.ShortExact Mathlib.CategoryTheory.Abelian.Projective.Dimension Mathlib.CategoryTheory.Sites.SheafCohomology.Basic Mathlib.CategoryTheory.Triangulated.Adjunction Mathlib.CategoryTheory.Triangulated.HomologicalFunctor Mathlib.CategoryTheory.Triangulated.Opposite.Functor Mathlib.CategoryTheory.Triangulated.Opposite.Pretriangulated Mathlib.CategoryTheory.Triangulated.Subcategory Mathlib.CategoryTheory.Triangulated.Yoneda
2
Mathlib.Algebra.Homology.DerivedCategory.Linear (new file) 1307

Declarations diff

+ IsStableUnderShift
+ IsStableUnderShiftBy
+ IsTriangulated
+ IsTriangulatedClosed₁
+ IsTriangulatedClosed₁.mk'
+ IsTriangulatedClosed₂
+ IsTriangulatedClosed₂.mk'
+ IsTriangulatedClosed₃
+ IsTriangulatedClosed₃.mk'
+ ext_of_isTriangulatedClosed₁
+ ext_of_isTriangulatedClosed₁'
+ ext_of_isTriangulatedClosed₂
+ ext_of_isTriangulatedClosed₂'
+ ext_of_isTriangulatedClosed₃
+ ext_of_isTriangulatedClosed₃'
+ ext₂'
+ instance (R : Type*) [Ring R] (n : ℤ) [Linear R C] :
+ instance (R : Type*) [Ring R] [Linear R C] (n : ℤ) :
+ instance (a : A) [P.IsStableUnderShiftBy a] :
+ instance (n : ℤ) : (shiftFunctor (DerivedCategory C) n).Linear R
+ instance (n : ℤ) : Functor.Linear R (DerivedCategory.singleFunctor C n)
+ instance : (subcategoryAcyclic C).IsClosedUnderIsomorphisms := by
+ instance : (subcategoryAcyclic C).IsTriangulated := by
+ instance : F.homologicalKernel.IsClosedUnderIsomorphisms
+ instance : F.homologicalKernel.IsTriangulated
+ instance : Functor.Linear R (DerivedCategory.Q : _ ⥤ DerivedCategory C)
+ instance : Functor.Linear R (DerivedCategory.Qh : _ ⥤ DerivedCategory C)
+ instance : Linear R (DerivedCategory C)
+ instance : P.trW.RespectsIso
+ instance : Qh.IsLocalization (HomotopyCategory.subcategoryAcyclic C).trW := by
+ instance [IsTriangulated C] [P.IsTriangulated] : P.trW.HasLeftCalculusOfFractions
+ instance [IsTriangulated C] [P.IsTriangulated] : P.trW.HasRightCalculusOfFractions
+ instance [IsTriangulated C] [P.IsTriangulated] : P.trW.IsCompatibleWithTriangulation := ⟨by
+ instance [IsTriangulated C] [P.IsTriangulated] : P.trW.IsMultiplicative
+ instance [P.ContainsZero] : P.isoClosure.ContainsZero
+ instance [P.ContainsZero] : P.trW.ContainsIdentities := by
+ instance [P.IsStableUnderShift A] :
+ instance [P.IsStableUnderShift ℤ] : P.trW.IsCompatibleWithShift ℤ
+ instance [P.IsTriangulatedClosed₂] : P.isoClosure.IsTriangulatedClosed₂
+ instance [P.IsTriangulated] : P.IsTriangulatedClosed₁
+ instance [P.IsTriangulated] : P.IsTriangulatedClosed₃
+ instance [P.IsTriangulated] : P.isoClosure.IsTriangulated
+ instance {R : Type*} [Ring R] [CategoryTheory.Linear R C] (n : ℤ) :
+ le_shift
+ mem_homologicalKernel_trW_iff
+ prop_shift_iff_of_isStableUnderShift
+ smul_mem_trW_iff
+ trW
+ trW.mk
+ trW.mk'
+ trW.shift
+ trW.unshift
+ trW_iff
+ trW_iff'
+ trW_iff_of_distinguished
+ trW_isoClosure
+ trW_of_isIso
++ instance (n : ℤ) {R : Type*} [Ring R] [Linear R C] :
- instance : (mk' P zero shift ext₂).P.IsClosedUnderIsomorphisms
- instance : (subcategoryAcyclic C).P.IsClosedUnderIsomorphisms := by
- instance : Qh.IsLocalization (HomotopyCategory.subcategoryAcyclic C).W := by
- instance : S.W.ContainsIdentities := by
- instance : S.W.IsCompatibleWithShift ℤ
- instance : S.isoClosure.P.IsClosedUnderIsomorphisms := by
- instance [F.IsHomological] : F.homologicalKernel.P.IsClosedUnderIsomorphisms := by
- instance [IsTriangulated C] : S.W.HasLeftCalculusOfFractions
- instance [IsTriangulated C] : S.W.HasRightCalculusOfFractions
- instance [IsTriangulated C] : S.W.IsCompatibleWithTriangulation := ⟨by
- instance [IsTriangulated C] : S.W.IsMultiplicative
- isoClosure
- of
- respectsIso_W
- zero

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).

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 4, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 12, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jun 15, 2025
@joelriou

Copy link
Copy Markdown
Contributor Author

This PR has been migrated to a fork-based workflow: #26031

@joelriou joelriou closed this Jun 17, 2025
@github-actions github-actions 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 17, 2025
@YaelDillies
YaelDillies deleted the jriou-derived-category-linear branch August 18, 2025 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

migrated-to-fork t-category-theory Category theory WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants