Skip to content

Commit

Permalink
feat(category_theory/limits): strengthen simp lemma (#5326)
Browse files Browse the repository at this point in the history
Makes a simp lemma slightly stronger
  • Loading branch information
b-mehta committed Dec 12, 2020
1 parent e7ca801 commit b02c529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/category_theory/limits/limits.lean
Expand Up @@ -955,8 +955,8 @@ def limit.π (F : J ⥤ C) [has_limit F] (j : J) : limit F ⟶ F.obj j :=
@[simp] lemma limit.cone_X {F : J ⥤ C} [has_limit F] :
(limit.cone F).X = limit F := rfl

@[simp] lemma limit.cone_π {F : J ⥤ C} [has_limit F] (j : J) :
(limit.cone F).π.app j = limit.π _ j := rfl
@[simp] lemma limit.cone_π {F : J ⥤ C} [has_limit F] :
(limit.cone F).π.app = limit.π _ := rfl

@[simp, reassoc] lemma limit.w (F : J ⥤ C) [has_limit F] {j j' : J} (f : j ⟶ j') :
limit.π F j ≫ F.map f = limit.π F j' := (limit.cone F).w f
Expand Down

0 comments on commit b02c529

Please sign in to comment.