Skip to content

Commit b32362e

Browse files
committed
chore(CategoryTheory): remove use of erw in ι_gluedIso_hom (#32523)
1 parent 9a65ee0 commit b32362e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Mathlib/CategoryTheory/GlueData.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,8 @@ def gluedIso : F.obj D.glued ≅ (D.mapGlueData F).glued :=
298298

299299
@[reassoc (attr := simp)]
300300
theorem ι_gluedIso_hom (i : D.J) : F.map (D.ι i) ≫ (D.gluedIso F).hom = (D.mapGlueData F).ι i := by
301-
haveI : HasColimit (MultispanIndex.multispan (diagram (mapGlueData D F))) := inferInstance
302301
erw [ι_preservesColimitIso_hom_assoc]
303-
rw [HasColimit.isoOfNatIso_ι_hom]
304-
erw [Category.id_comp]
305-
rfl
302+
simp [GlueData.ι]
306303

307304
@[reassoc (attr := simp)]
308305
theorem ι_gluedIso_inv (i : D.J) : (D.mapGlueData F).ι i ≫ (D.gluedIso F).inv = F.map (D.ι i) := by

0 commit comments

Comments
 (0)