Skip to content

Commit f8cd90e

Browse files
committed
chore: remove use of erw in Algebra.Homology.ShortComplex.Exact (leanprover-community#31676)
1 parent fff5a28 commit f8cd90e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Mathlib/Algebra/Homology/ShortComplex/Exact.lean

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,11 +539,7 @@ noncomputable def leftHomologyData [HasZeroObject C] (s : S.Splitting) :
539539
sub_eq_self, reassoc_of% hx, zero_comp])
540540
(fun x _ b hb => by simp only [← hb, assoc, f_r, comp_id])
541541
let f' := hi.lift (KernelFork.ofι S.f S.zero)
542-
have hf' : f' = 𝟙 _ := by
543-
apply Fork.IsLimit.hom_ext hi
544-
dsimp
545-
erw [Fork.IsLimit.lift_ι hi]
546-
simp only [Fork.ι_ofι, id_comp]
542+
have hf' : f' = 𝟙 _ := by simp [f']
547543
have wπ : f' ≫ (0 : S.X₁ ⟶ 0) = 0 := comp_zero
548544
have hπ : IsColimit (CokernelCofork.ofπ 0 wπ) := CokernelCofork.IsColimit.ofEpiOfIsZero _
549545
(by rw [hf']; infer_instance) (isZero_zero _)

0 commit comments

Comments
 (0)