Skip to content

Commit d7c8cc9

Browse files
committed
chore(CategoryTheory/Monoidal): remove use of erw in whiskerLeft_id_bimod and id_whiskerRight_bimod (leanprover-community#32636)
1 parent f25fbf7 commit d7c8cc9

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

Mathlib/CategoryTheory/Monoidal/Bimod.lean

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -723,19 +723,13 @@ theorem whiskerLeft_id_bimod {X Y Z : Mon C} {M : Bimod X Y} {N : Bimod Y Z} :
723723
whiskerLeft M (𝟙 N) = 𝟙 (M.tensorBimod N) := by
724724
ext
725725
apply Limits.coequalizer.hom_ext
726-
dsimp only [tensorBimod_X, whiskerLeft_hom, id_hom']
727-
simp only [whiskerLeft_id, ι_colimMap, parallelPair_obj_one,
728-
parallelPairHom_app_one, Category.id_comp]
729-
erw [Category.comp_id]
726+
simp [TensorBimod.X]
730727

731728
theorem id_whiskerRight_bimod {X Y Z : Mon C} {M : Bimod X Y} {N : Bimod Y Z} :
732729
whiskerRight (𝟙 M) N = 𝟙 (M.tensorBimod N) := by
733730
ext
734731
apply Limits.coequalizer.hom_ext
735-
dsimp only [tensorBimod_X, whiskerRight_hom, id_hom']
736-
simp only [id_whiskerRight, ι_colimMap, parallelPair_obj_one,
737-
parallelPairHom_app_one, Category.id_comp]
738-
erw [Category.comp_id]
732+
simp [TensorBimod.X]
739733

740734
theorem whiskerLeft_comp_bimod {X Y Z : Mon C} (M : Bimod X Y) {N P Q : Bimod Y Z} (f : N ⟶ P)
741735
(g : P ⟶ Q) : whiskerLeft M (f ≫ g) = whiskerLeft M f ≫ whiskerLeft M g := by

0 commit comments

Comments
 (0)