@@ -419,6 +419,9 @@ instance : SplitMonoCategory C where
419419 rw [Triangle.mor₁_eq_zero_of_mono₂ _ hT hf, zero_comp])
420420 exact ⟨r, hr.symm⟩
421421
422+ /-- If the first and third components of a morphism of distinguished triangles are
423+ isomorphisms, the the second component is as well. This can be thought of as a
424+ pretriangulated category theoretical version of the five lemma. -/
422425lemma isIso₂_of_isIso₁₃ {T T' : Triangle C} (φ : T ⟶ T') (hT : T ∈ distTriang C)
423426 (hT' : T' ∈ distTriang C) (h₁ : IsIso φ.hom₁) (h₃ : IsIso φ.hom₃) : IsIso φ.hom₂ := by
424427 have : Mono φ.hom₂ := by
@@ -451,11 +454,17 @@ lemma isIso₂_of_isIso₁₃ {T T' : Triangle C} (φ : T ⟶ T') (hT : T ∈ di
451454 dsimp
452455 rw [add_comp, assoc, φ.comm₁, reassoc_of% hx₁, ← hy₁, add_sub_cancel]
453456
457+ /-- If the first and second components of a morphism of distinguished triangles are
458+ isomorphisms, the the third component is as well. This can be thought of as a
459+ pretriangulated category theoretical version of the five lemma. -/
454460lemma isIso₃_of_isIso₁₂ {T T' : Triangle C} (φ : T ⟶ T') (hT : T ∈ distTriang C)
455461 (hT' : T' ∈ distTriang C) (h₁ : IsIso φ.hom₁) (h₂ : IsIso φ.hom₂) : IsIso φ.hom₃ :=
456462 isIso₂_of_isIso₁₃ ((rotate C).map φ) (rot_of_distTriang _ hT)
457463 (rot_of_distTriang _ hT') h₂ (by dsimp; infer_instance)
458464
465+ /-- If the second and third components of a morphism of distinguished triangles are
466+ isomorphisms, the the first component is as well. This can be thought of as a
467+ pretriangulated category theoretical version of the five lemma. -/
459468lemma isIso₁_of_isIso₂₃ {T T' : Triangle C} (φ : T ⟶ T') (hT : T ∈ distTriang C)
460469 (hT' : T' ∈ distTriang C) (h₂ : IsIso φ.hom₂) (h₃ : IsIso φ.hom₃) : IsIso φ.hom₁ :=
461470 isIso₂_of_isIso₁₃ ((invRotate C).map φ) (inv_rot_of_distTriang _ hT)
0 commit comments