Skip to content

Commit ea9c914

Browse files
doc(CategoryTheory/Triangulated/Yoneda): Add stacks tag 0149 (#36766)
Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
1 parent 2d78c61 commit ea9c914

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Mathlib/CategoryTheory/Triangulated/Yoneda.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ section
3939
variable [HasZeroObject C] [∀ (n : ℤ), (shiftFunctor C n).Additive]
4040
[Pretriangulated C]
4141

42+
@[stacks 0149]
4243
instance (A : Cᵒᵖ) : (preadditiveCoyoneda.obj A).IsHomological where
4344
exact T hT := by
4445
rw [ShortComplex.ab_exact_iff]
4546
intro (x₂ : A.unop ⟶ T.obj₂) (hx₂ : x₂ ≫ T.mor₂ = 0)
4647
obtain ⟨x₁, hx₁⟩ := T.coyoneda_exact₂ hT x₂ hx₂
4748
exact ⟨x₁, hx₁.symm⟩
4849

50+
@[stacks 0149]
4951
instance (B : C) : (preadditiveYoneda.obj B).IsHomological where
5052
exact T hT := by
5153
rw [ShortComplex.ab_exact_iff]

0 commit comments

Comments
 (0)