Skip to content

Commit f25fbf7

Browse files
committed
chore(CategoryTheory/Subobject): remove use of erw in Factors (leanprover-community#32622)
1 parent 790901a commit f25fbf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mathlib/CategoryTheory/Subobject/FactorThru.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def Factors {X Y : C} (P : Subobject Y) (f : X ⟶ Y) : Prop :=
6464
apply propext
6565
constructor
6666
· rintro ⟨i, w⟩
67-
exact ⟨i ≫ h.hom.left, by erw [Category.assoc, Over.w h.hom, w]⟩
67+
exact ⟨i ≫ h.hom.left, by rw [Category.assoc, MonoOver.w, w]⟩
6868
· rintro ⟨i, w⟩
69-
exact ⟨i ≫ h.inv.left, by erw [Category.assoc, Over.w h.inv, w]⟩)
69+
exact ⟨i ≫ h.inv.left, by rw [Category.assoc, MonoOver.w, w]⟩)
7070

7171
@[simp]
7272
theorem mk_factors_iff {X Y Z : C} (f : Y ⟶ X) [Mono f] (g : Z ⟶ X) :

0 commit comments

Comments
 (0)