Skip to content

Commit e721e52

Browse files
committed
chore: remove use of erw in CategoryTheory.Limits.VanKampen (leanprover-community#31486)
1 parent c0dd18f commit e721e52

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Mathlib/CategoryTheory/Limits/VanKampen.lean

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,7 @@ theorem IsUniversalColimit.map_reflective
323323
ι := { app := fun j ↦ pullback.lift (Gr.map <| c'.ι.app j) (Gr.map (α'.app j) ≫ c.ι.app j) ?_
324324
naturality := ?_ } }
325325
· rw [← Gr.map_comp, ← hc'']
326-
erw [← adj.unit_naturality]
327-
rw [Gl.map_comp, hα'']
328-
dsimp
329-
simp only [Category.assoc, Functor.map_comp, adj.right_triangle_components_assoc]
326+
exact (congrArg _ (Adjunction.unit_naturality _ _).symm).mpr (by simp_all)
330327
· intro i j g
331328
dsimp [α']
332329
ext

0 commit comments

Comments
 (0)