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

feat: the (covariant) long exact sequence of Ext #13879

Closed
wants to merge 182 commits into from
Closed
Show file tree
Hide file tree
Changes from 179 commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
9b60378
feat(CategoryTheory/Localization): dualize results for right calculus…
joelriou Mar 27, 2024
0c475ac
the localized category is preadditive
joelriou Mar 27, 2024
d246af3
Update Mathlib.lean
joelriou Mar 27, 2024
f99dea5
Update Mathlib.lean
joelriou Mar 27, 2024
eb41e25
Update Mathlib.lean
joelriou Mar 27, 2024
98c0049
fixing Mathlib.lean
joelriou Mar 27, 2024
5037b8f
cleaning up
joelriou Mar 28, 2024
9b166c8
Merge remote-tracking branch 'origin' into more-calculus-of-fractions
joelriou Mar 28, 2024
24be15c
feat(CategoryTheory): more lemmas for the left calculus of fractions
joelriou Mar 28, 2024
4d80ce0
Merge remote-tracking branch 'origin/more-calculus-of-fractions' into…
joelriou Mar 28, 2024
99e5bc9
feat(CategoryTheory): localization of triangulated categories
joelriou Mar 28, 2024
ed57de4
fixed imports
joelriou Mar 28, 2024
2865b80
feat(CategoryTheory): triangulated subcategories
joelriou Mar 28, 2024
58bd6d3
feat(CategoryTheory/Triangulated): homological functors
joelriou Mar 28, 2024
0fa5280
fixing Mathlib.lean
joelriou Mar 28, 2024
05af53c
coding style
joelriou Mar 28, 2024
6da2115
one more constructor
joelriou Mar 29, 2024
42656e4
feat: the homological functor on the homotopy category of an abelian …
joelriou Mar 29, 2024
73051a1
cleaning up
joelriou Mar 29, 2024
684ac3e
feat(CategoryTheory/Shift): the induced shift sequence
joelriou Mar 29, 2024
ec1bbc6
better docstring
joelriou Mar 29, 2024
72fea48
better docstring
joelriou Mar 29, 2024
bd494bb
added docstrings
joelriou Mar 29, 2024
e6ea44c
feat(Algebra/Homology): compatibilities of homology with shifts
joelriou Mar 29, 2024
11f7ac1
added missing file
joelriou Mar 29, 2024
3beeaa3
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Mar 30, 2024
0757f5a
feat(CategoryTheory): the localized category is triangulated
joelriou Mar 30, 2024
db40f63
Merge remote-tracking branch 'origin' into localization-triangulated
joelriou Mar 30, 2024
2ff7664
fixing Mathlib.lean
joelriou Mar 30, 2024
6b90449
fixing long lines
joelriou Mar 30, 2024
9910432
Merge remote-tracking branch 'origin' into triangulated-subcategory-w
joelriou Mar 30, 2024
b12cc98
feat(CategoryTheory): the class of morphisms whose cone belongs to a …
joelriou Mar 30, 2024
7225e05
Merge remote-tracking branch 'origin' into triangulated-subcategory
joelriou Mar 30, 2024
fa0c448
followed @TwoFX suggestions
joelriou Mar 30, 2024
7e48b5f
replaces sets by predicates
joelriou Mar 30, 2024
dd4cd80
fixed coding style
joelriou Mar 30, 2024
d94139a
Merge remote-tracking branch 'origin/triangulated-subcategory' into t…
joelriou Mar 30, 2024
f05ab7b
added isIso variants
joelriou Mar 30, 2024
52d5936
Merge remote-tracking branch 'origin/triangulated-subcategory' into t…
joelriou Mar 30, 2024
dbde1b9
Merge remote-tracking branch 'origin/triangulated-subcategory' into h…
joelriou Mar 30, 2024
a07dd2f
fixed the build
joelriou Mar 30, 2024
7f09d1e
Merge remote-tracking branch 'origin/homological-functor' into homoto…
joelriou Mar 30, 2024
531e5e7
Merge remote-tracking branch 'origin/homological-functor' into homolo…
joelriou Mar 30, 2024
dc006fd
feat(CategoryTheory/Triangulated): the homology sequence of a homolog…
joelriou Mar 30, 2024
bd47555
fixed coding style
joelriou Mar 30, 2024
4676a0e
Merge remote-tracking branch 'origin' into homotopy-category-shift-se…
joelriou Mar 31, 2024
280bb5f
Merge remote-tracking branch 'origin' into homotopy-category-homologi…
joelriou Mar 31, 2024
2df7644
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Mar 31, 2024
535b033
Merge branch 'localization-triangulated-2', remote-tracking branches …
joelriou Mar 31, 2024
58a50c5
feat: the derived category of an abelian category
joelriou Mar 31, 2024
4135d30
fixed references.bib
joelriou Mar 31, 2024
5de084d
Merge remote-tracking branch 'origin' into triangulated-subcategory
joelriou Apr 12, 2024
0353676
Merge remote-tracking branch 'origin' into more-calculus-of-fractions
joelriou Apr 12, 2024
40f07bf
Merge remote-tracking branch 'origin' into more-calculus-of-fractions
joelriou Apr 14, 2024
794fa76
Merge remote-tracking branch 'origin/more-calculus-of-fractions' into…
joelriou Apr 14, 2024
5d8377c
fixing the build
joelriou Apr 14, 2024
80e7971
Merge branch 'master' into calculus-of-fractions-preadditive
jcommelin Apr 18, 2024
861c608
Merge remote-tracking branch 'origin' into homotopy-category-shift-se…
joelriou Apr 18, 2024
ca813a5
Update Mathlib/CategoryTheory/Localization/CalculusOfFractions/Preadd…
joelriou Apr 18, 2024
26efa66
Merge remote-tracking branch 'origin' into calculus-of-fractions-prea…
joelriou Apr 18, 2024
533446e
added comment about implementation details
joelriou Apr 18, 2024
d5c8df7
Merge remote-tracking branch 'origin' into triangulated-subcategory
joelriou Apr 18, 2024
8d93376
fixing names
joelriou Apr 18, 2024
447e037
fixed def of isoClosure
joelriou Apr 18, 2024
79edf14
fixed names
joelriou Apr 18, 2024
d66b03c
Merge remote-tracking branch 'origin/calculus-of-fractions-preadditiv…
joelriou Apr 18, 2024
d35696d
fixing the build
joelriou Apr 18, 2024
a16d1f6
Merge remote-tracking branch 'origin/localization-triangulated' into …
joelriou Apr 18, 2024
3e3326e
fixing the build
joelriou Apr 18, 2024
4f5cd42
Merge remote-tracking branch 'origin/triangulated-subcategory' into h…
joelriou Apr 18, 2024
14e636f
Merge remote-tracking branch 'origin/homological-functor' into homoto…
joelriou Apr 18, 2024
08909a5
Merge remote-tracking branch 'origin/triangulated-subcategory' into t…
joelriou Apr 18, 2024
0457117
fixing the build
joelriou Apr 18, 2024
20b4408
Merge remote-tracking branches 'origin/triangulated-subcategory-w' an…
joelriou Apr 18, 2024
a8e34f2
merged
joelriou Apr 18, 2024
27df5d0
Revert "merged"
joelriou Apr 18, 2024
c56da7e
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Apr 18, 2024
485ee1d
Merge remote-tracking branch 'origin/homotopy-category-shift-sequence…
joelriou Apr 18, 2024
7706a1a
Merge remote-tracking branch 'origin/homotopy-category-homological-fu…
joelriou Apr 18, 2024
eeacef1
fixing the build
joelriou Apr 18, 2024
abe6f93
Merge remote-tracking branch 'origin/homological-kernel-w' into deriv…
joelriou Apr 18, 2024
1cbd903
Merge remote-tracking branch 'origin' into triangulated-subcategory-w
joelriou Apr 18, 2024
8a39841
Merge remote-tracking branch 'origin' into homological-functor
joelriou Apr 18, 2024
c4c9e49
Merge remote-tracking branch 'origin' into localization-triangulated
joelriou Apr 18, 2024
859ac2d
Merge remote-tracking branch 'origin/triangulated-subcategory-w' into…
joelriou Apr 18, 2024
ef4f79a
Merge remote-tracking branch 'origin/homological-functor' into homolo…
joelriou Apr 18, 2024
e91b783
Merge remote-tracking branch 'origin' into homological-kernel-w
joelriou Apr 18, 2024
9809557
Merge remote-tracking branch 'origin/localization-triangulated' into …
joelriou Apr 18, 2024
3c1da91
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Apr 18, 2024
1c31d9f
Merge remote-tracking branch 'origin/homological-kernel-w' into deriv…
joelriou Apr 18, 2024
bba391f
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Apr 18, 2024
ca0c1a8
removed empty line
joelriou Apr 18, 2024
7487ecc
Merge remote-tracking branch 'origin' into localization-triangulated
joelriou Apr 30, 2024
73fd877
Merge remote-tracking branch 'origin' into homotopy-category-homologi…
joelriou Apr 30, 2024
f355a73
typo
joelriou Apr 30, 2024
bbc50bf
Merge remote-tracking branch 'origin' into homotopy-category-homologi…
joelriou May 8, 2024
118dc36
Merge remote-tracking branch 'origin' into homotopy-category-homologi…
joelriou May 9, 2024
406d7bb
shortened names
joelriou May 9, 2024
b6d45f5
Merge remote-tracking branch 'origin' into localization-triangulated
joelriou May 11, 2024
e542e56
Merge remote-tracking branch 'origin' into triangulated-subcategory-w
joelriou May 11, 2024
e5cf093
Merge remote-tracking branch 'origin/localization-triangulated' into …
joelriou May 11, 2024
a6410aa
fixing the build
joelriou May 11, 2024
9a41c58
Merge remote-tracking branch 'origin/triangulated-subcategory-w' into…
joelriou May 11, 2024
0871813
fixing the build
joelriou May 11, 2024
f3bc4c7
fixing the build
joelriou May 11, 2024
06974e3
Merge remote-tracking branch 'origin/homotopy-category-homological-fu…
joelriou May 11, 2024
43269de
Merge remote-tracking branch 'origin/homological-kernel-w' into deriv…
joelriou May 11, 2024
72b301b
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou May 11, 2024
50f3f95
Merge remote-tracking branch 'origin' into localization-triangulated
joelriou May 16, 2024
7ef8657
Merge remote-tracking branch 'origin' into triangulated-subcategory-w
joelriou May 30, 2024
bf6bef5
Merge remote-tracking branch 'origin/triangulated-subcategory-w' into…
joelriou May 30, 2024
5da04e8
Merge remote-tracking branch 'origin/localization-triangulated' into …
joelriou May 30, 2024
c80bb11
Merge remote-tracking branch 'origin' into derived-category
joelriou May 30, 2024
732cd30
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Jun 4, 2024
681074b
Merge remote-tracking branch 'origin' into homological-kernel-w
joelriou Jun 4, 2024
5338410
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Jun 4, 2024
5a1a3a7
Merge remote-tracking branch 'origin/homological-kernel-w' into deriv…
joelriou Jun 4, 2024
9328cd9
s/lemma/instance/
joelriou Jun 4, 2024
cdeac00
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Jun 5, 2024
b710a26
removing refine'
joelriou Jun 5, 2024
1cf6eed
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Jun 5, 2024
9620939
Merge remote-tracking branch 'origin' into derived-category
joelriou Jun 5, 2024
a1d4483
Update Mathlib/CategoryTheory/Localization/CalculusOfFractions/Preadd…
joelriou Jun 5, 2024
d325ce4
added @erdone code for right calculus of fractions
joelriou Jun 6, 2024
0304332
feat: mapComposableArrows is essentially surjective for localization …
joelriou Jun 6, 2024
599b4e4
typo
joelriou Jun 6, 2024
12e7b59
Merge remote-tracking branch 'origin' into localization-triangulated-2
joelriou Jun 6, 2024
9df0a45
Merge remote-tracking branch 'origin/calculus-of-fractions-composable…
joelriou Jun 6, 2024
6824d97
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Jun 6, 2024
68839c7
added docstring
joelriou Jun 6, 2024
8c1bca9
Merge remote-tracking branch 'origin/calculus-of-fractions-composable…
joelriou Jun 6, 2024
c17021d
Merge remote-tracking branch 'origin/localization-triangulated-2' int…
joelriou Jun 6, 2024
9c26aa0
fixing the build
joelriou Jun 6, 2024
be905e1
Merge remote-tracking branch 'origin' into derived-category
joelriou Jun 6, 2024
765ef04
typo
joelriou Jun 6, 2024
3d89d14
feat: shifted morphisms in categories with a shift
joelriou Jun 6, 2024
db52224
added new file
joelriou Jun 6, 2024
50e58a7
fixed imports
joelriou Jun 6, 2024
ad8e748
Merge remote-tracking branch 'origin/derived-category' into large-ext
joelriou Jun 6, 2024
138b9fd
created file
joelriou Jun 6, 2024
7101f38
definition of LargeExt
joelriou Jun 7, 2024
fdd1b92
feat: the single functors from the homotopy category
joelriou Jun 7, 2024
879f406
added docstrings
joelriou Jun 7, 2024
c70288c
removed unnecessary variables
joelriou Jun 7, 2024
564f0ed
Merge remote-tracking branch 'origin/shifted-hom' into large-ext
joelriou Jun 7, 2024
2b94a01
cleaning up
joelriou Jun 7, 2024
907e3ec
Merge remote-tracking branch 'origin/single-functors-homotopy-categor…
joelriou Jun 7, 2024
318d138
added comment about no simps attribute
joelriou Jun 7, 2024
4f442d0
typo
joelriou Jun 7, 2024
2fccf1a
typo
joelriou Jun 7, 2024
1464d4b
Merge remote-tracking branch 'origin' into single-functors-homotopy-c…
joelriou Jun 8, 2024
c2f3b9f
added docstring about singleFunctor defeq
joelriou Jun 8, 2024
932c14a
Merge remote-tracking branch 'origin' into large-ext
joelriou Jun 8, 2024
4502a11
Merge remote-tracking branch 'origin/single-functors-homotopy-categor…
joelriou Jun 8, 2024
6b91643
Merge remote-tracking branch 'origin' into large-ext
joelriou Jun 8, 2024
1aeb416
typo
joelriou Jun 8, 2024
a4a9ec1
better name
joelriou Jun 9, 2024
aa484c1
feat: the mapping cone of a monomorphism, up to a quasi-isomorphism
joelriou Jun 9, 2024
467fa14
updated Mathlib.lean
joelriou Jun 9, 2024
b2f24ea
wip
joelriou Jun 9, 2024
18af13e
Update Mathlib/Algebra/Homology/Refinements.lean
joelriou Jun 9, 2024
fab421a
removed a sorry
joelriou Jun 9, 2024
c99de64
Merge remote-tracking branch 'origin' into large-ext
joelriou Jun 10, 2024
3b5de64
removed a sorry
joelriou Jun 10, 2024
89fe3b0
removed sorries
joelriou Jun 10, 2024
a0d590b
added docstring
joelriou Jun 10, 2024
872879a
fixed def/lemma
joelriou Jun 10, 2024
16e77b9
s/refine'/refine/
joelriou Jun 10, 2024
683b743
feat: the distinguished triangle attached to a short exact sequence o…
joelriou Jun 11, 2024
b7d1af2
Merge remote-tracking branch 'origin' into dist-triangle-ses2
joelriou Jun 11, 2024
42f76c1
feat: more API for commutation of functors with shifts
joelriou Jun 12, 2024
495efc6
Merge remote-tracking branch 'origin/commshift-comp' into dist-triang…
joelriou Jun 12, 2024
127ca96
feat(Algebra/Homology) the single complex functor preserves (co)limits
joelriou Jun 16, 2024
cd70471
Merge remote-tracking branch 'origin' into single-triangle
joelriou Jun 16, 2024
d60e280
Merge remote-tracking branch 'origin/single-preserves-limits' into si…
joelriou Jun 16, 2024
365b9df
feat: the distinguished triangle attached to a short exact sequence
joelriou Jun 16, 2024
b3bb705
Merge remote-tracking branch 'origin' into large-ext
joelriou Jun 16, 2024
9a92163
Merge remote-tracking branch 'origin/single-triangle' into large-ext-…
joelriou Jun 16, 2024
3e407ed
feat: the long exact sequence of LargeExt
joelriou Jun 16, 2024
c7cbd91
fixed coding style
joelriou Jun 16, 2024
c15e70e
better definition of LargeExtFunctor
joelriou Jun 16, 2024
67a4d06
cleaning up
joelriou Jun 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ import Mathlib.Algebra.Homology.ComplexShapeSigns
import Mathlib.Algebra.Homology.ConcreteCategory
import Mathlib.Algebra.Homology.DerivedCategory.Basic
import Mathlib.Algebra.Homology.DerivedCategory.HomologySequence
import Mathlib.Algebra.Homology.DerivedCategory.LargeExt
import Mathlib.Algebra.Homology.DerivedCategory.ShortExact
import Mathlib.Algebra.Homology.DerivedCategory.SingleTriangle
import Mathlib.Algebra.Homology.DifferentialObject
import Mathlib.Algebra.Homology.Embedding.Basic
import Mathlib.Algebra.Homology.Exact
Expand All @@ -316,6 +319,7 @@ import Mathlib.Algebra.Homology.HomotopyCategory.MappingCone
import Mathlib.Algebra.Homology.HomotopyCategory.Pretriangulated
import Mathlib.Algebra.Homology.HomotopyCategory.Shift
import Mathlib.Algebra.Homology.HomotopyCategory.ShiftSequence
import Mathlib.Algebra.Homology.HomotopyCategory.ShortExact
import Mathlib.Algebra.Homology.HomotopyCategory.SingleFunctors
import Mathlib.Algebra.Homology.HomotopyCategory.Triangulated
import Mathlib.Algebra.Homology.HomotopyCofiber
Expand All @@ -326,6 +330,7 @@ import Mathlib.Algebra.Homology.Localization
import Mathlib.Algebra.Homology.ModuleCat
import Mathlib.Algebra.Homology.Opposite
import Mathlib.Algebra.Homology.QuasiIso
import Mathlib.Algebra.Homology.Refinements
import Mathlib.Algebra.Homology.ShortComplex.Ab
import Mathlib.Algebra.Homology.ShortComplex.Abelian
import Mathlib.Algebra.Homology.ShortComplex.Basic
Expand Down Expand Up @@ -1684,6 +1689,7 @@ import Mathlib.CategoryTheory.Triangulated.Subcategory
import Mathlib.CategoryTheory.Triangulated.TStructure.Basic
import Mathlib.CategoryTheory.Triangulated.TriangleShift
import Mathlib.CategoryTheory.Triangulated.Triangulated
import Mathlib.CategoryTheory.Triangulated.Yoneda
import Mathlib.CategoryTheory.Types
import Mathlib.CategoryTheory.UnivLE
import Mathlib.CategoryTheory.Whiskering
Expand Down
65 changes: 63 additions & 2 deletions Mathlib/Algebra/Homology/DerivedCategory/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Authors: Joël Riou
-/
import Mathlib.Algebra.Homology.HomotopyCategory.HomologicalFunctor
import Mathlib.Algebra.Homology.HomotopyCategory.ShiftSequence
import Mathlib.Algebra.Homology.HomotopyCategory.SingleFunctors
import Mathlib.Algebra.Homology.HomotopyCategory.Triangulated
import Mathlib.Algebra.Homology.Localization

Expand Down Expand Up @@ -47,7 +48,7 @@ instance should be obtained at the beginning of the proof, using the term
## TODO (@joelriou)

- construct the distinguished triangle associated to a short exact sequence
of cochain complexes, and compare the associated connecting homomorphism
of cochain complexes (done), and compare the associated connecting homomorphism
with the one defined in `Algebra.Homology.HomologySequence`.
- refactor the definition of Ext groups using morphisms in the derived category
(which may be shrunk to the universe `v` at least when `C` has enough projectives
Expand All @@ -61,7 +62,7 @@ or enough injectives).

universe w v u

open CategoryTheory Limits
open CategoryTheory Limits Pretriangulated

variable (C : Type u) [Category.{v} C] [Abelian C]

Expand Down Expand Up @@ -131,6 +132,11 @@ instance : (Q (C := C)).IsLocalization
dsimp only [Q, DerivedCategory]
infer_instance

instance {K L : CochainComplex C ℤ} (f : K ⟶ L) [QuasiIso f] :
IsIso (Q.map f) :=
Localization.inverts Q (HomologicalComplex.quasiIso C (ComplexShape.up ℤ)) _
(inferInstanceAs (QuasiIso f))

/-- The localization functor `HomotopyCategory C (ComplexShape.up ℤ) ⥤ DerivedCategory C`. -/
def Qh : HomotopyCategory C (ComplexShape.up ℤ) ⥤ DerivedCategory C :=
HomologicalComplexUpToQuasiIso.Qh
Expand Down Expand Up @@ -167,6 +173,12 @@ noncomputable instance : HasShift (DerivedCategory C) ℤ :=
noncomputable instance : (Qh (C := C)).CommShift ℤ :=
Functor.CommShift.localized Qh (HomotopyCategory.subcategoryAcyclic C).W ℤ

noncomputable instance : (Q (C := C)).CommShift ℤ :=
Functor.CommShift.ofIso (quotientCompQhIso C) ℤ

instance : NatTrans.CommShift (quotientCompQhIso C).hom ℤ :=
Functor.CommShift.ofIso_compatibility (quotientCompQhIso C) ℤ

instance (n : ℤ) : (shiftFunctor (DerivedCategory C) n).Additive := by
rw [Localization.functor_additive_iff
Qh (HomotopyCategory.subcategoryAcyclic C).W]
Expand Down Expand Up @@ -195,4 +207,53 @@ instance {D : Type*} [Category D] : ((whiskeringLeft _ _ D).obj (Qh (C := C))).F
inferInstanceAs
(Localization.whiskeringLeftFunctor' _ (HomotopyCategory.quasiIso _ _) D).Faithful

variable {C}

lemma mem_distTriang_iff (T : Triangle (DerivedCategory C)) :
(T ∈ distTriang (DerivedCategory C)) ↔ ∃ (X Y : CochainComplex C ℤ) (f : X ⟶ Y),
Nonempty (T ≅ Q.mapTriangle.obj (CochainComplex.mappingCone.triangle f)) := by
constructor
· rintro ⟨T', e, ⟨X, Y, f, ⟨e'⟩⟩⟩
refine ⟨_, _, f, ⟨?_⟩⟩
exact e ≪≫ Qh.mapTriangle.mapIso e' ≪≫
(Functor.mapTriangleCompIso (HomotopyCategory.quotient C _) Qh).symm.app _ ≪≫
(Functor.mapTriangleIso (quotientCompQhIso C)).app _
· rintro ⟨X, Y, f, ⟨e⟩⟩
refine isomorphic_distinguished _ (Qh.map_distinguished _ ?_) _
(e ≪≫ (Functor.mapTriangleIso (quotientCompQhIso C)).symm.app _ ≪≫
(Functor.mapTriangleCompIso (HomotopyCategory.quotient C _) Qh).app _)
exact ⟨_, _, f, ⟨Iso.refl _⟩⟩

variable (C)

/-- The single functors `C ⥤ DerivedCategory C` for all `n : ℤ` along with
their compatibilities with shifts. -/
noncomputable def singleFunctors : SingleFunctors C (DerivedCategory C) ℤ :=
(HomotopyCategory.singleFunctors C).postcomp Qh

/-- The shift functor `C ⥤ DerivedCategory C` which sends `X : C` to the
single cochain complex with `X` sitting in degree `n : ℤ`. -/
noncomputable abbrev singleFunctor (n : ℤ) := (singleFunctors C).functor n

instance (n : ℤ) : (singleFunctor C n).Additive := by
dsimp [singleFunctor, singleFunctors]
infer_instance

/-- The isomorphism
`DerivedCategory.singleFunctors C ≅ (HomotopyCategory.singleFunctors C).postcomp Qh` given
by the definition of `DerivedCategory.singleFunctors`. -/
noncomputable def singleFunctorsPostcompQhIso :
singleFunctors C ≅ (HomotopyCategory.singleFunctors C).postcomp Qh :=
Iso.refl _

/-- The isomorphism
`DerivedCategory.singleFunctors C ≅ (CochainComplex.singleFunctors C).postcomp Q`. -/
noncomputable def singleFunctorsPostcompQIso :
singleFunctors C ≅ (CochainComplex.singleFunctors C).postcomp Q :=
(SingleFunctors.postcompFunctor C ℤ (Qh : _ ⥤ DerivedCategory C)).mapIso
(HomotopyCategory.singleFunctorsPostcompQuotientIso C) ≪≫
(CochainComplex.singleFunctors C).postcompPostcompIso (HomotopyCategory.quotient _ _) Qh ≪≫
SingleFunctors.postcompIsoOfIso
(CochainComplex.singleFunctors C) (quotientCompQhIso C)

end DerivedCategory
Loading
Loading