Skip to content

Commit 1b3b670

Browse files
eupruningaetanserre
authored andcommitted
chore(CategoryTheory/Limits): remove use of erw in Cofork.IsColimit.mk (#27611)
1 parent 23b1256 commit 1b3b670

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Mathlib/CategoryTheory/Limits/Shapes/Equalizers.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ def Cofork.IsColimit.mk (t : Cofork f g) (desc : ∀ s : Cofork f g, t.pt ⟶ s.
452452
(uniq : ∀ (s : Cofork f g) (m : t.pt ⟶ s.pt) (_ : t.π ≫ m = s.π), m = desc s) : IsColimit t :=
453453
{ desc
454454
fac := fun s j =>
455-
WalkingParallelPair.casesOn j (by erw [← s.w left, ← t.w left, Category.assoc, fac]; rfl)
456-
(fac s)
455+
WalkingParallelPair.casesOn j (by simp_all) (fac s)
457456
uniq := by aesop }
458457

459458
/-- This is another convenient method to verify that a fork is a limit cone. It

0 commit comments

Comments
 (0)