Skip to content

Commit

Permalink
chore: classify added lemma porting notes (#10757)
Browse files Browse the repository at this point in the history
Classifies by adding issue number (#10756) to porting notes claiming `added lemma`.
  • Loading branch information
pitmonticone committed Feb 20, 2024
1 parent ecce7d9 commit a5e4848
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Mathlib/Algebra/Category/GroupWithZeroCat.lean
Expand Up @@ -60,10 +60,10 @@ instance {M N : GroupWithZeroCat} : FunLike (M ⟶ N) M N :=
apply DFunLike.coe_injective'
exact h⟩

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_id {X : GroupWithZeroCat} : (𝟙 X : X → X) = id := rfl

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_comp {X Y Z : GroupWithZeroCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

instance groupWithZeroConcreteCategory : ConcreteCategory GroupWithZeroCat where
Expand Down
16 changes: 8 additions & 8 deletions Mathlib/Algebra/Category/Ring/Basic.lean
Expand Up @@ -85,10 +85,10 @@ instance instFunLike {X Y : SemiRingCat} : FunLike (X ⟶ Y) X Y :=
instance instRingHomClass {X Y : SemiRingCat} : RingHomClass (X ⟶ Y) X Y :=
RingHom.instRingHomClass

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_id {X : SemiRingCat} : (𝟙 X : X → X) = id := rfl

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_comp {X Y Z : SemiRingCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

-- porting note: added
Expand Down Expand Up @@ -209,10 +209,10 @@ instance instFunLike {X Y : RingCat} : FunLike (X ⟶ Y) X Y :=
instance instRingHomClass {X Y : RingCat} : RingHomClass (X ⟶ Y) X Y :=
RingHom.instRingHomClass

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_id {X : RingCat} : (𝟙 X : X → X) = id := rfl

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_comp {X Y Z : RingCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

-- porting note: added
Expand Down Expand Up @@ -315,10 +315,10 @@ instance instFunLike {X Y : CommSemiRingCat} : FunLike (X ⟶ Y) X Y :=
instance instRingHomClass {X Y : CommSemiRingCat} : RingHomClass (X ⟶ Y) X Y :=
RingHom.instRingHomClass

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_id {X : CommSemiRingCat} : (𝟙 X : X → X) = id := rfl

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_comp {X Y Z : CommSemiRingCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

-- porting note: added
Expand Down Expand Up @@ -435,10 +435,10 @@ instance instFunLike {X Y : CommRingCat} : FunLike (X ⟶ Y) X Y :=
instance instRingHomClass {X Y : CommRingCat} : RingHomClass (X ⟶ Y) X Y :=
RingHom.instRingHomClass

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_id {X : CommRingCat} : (𝟙 X : X → X) = id := rfl

-- porting note: added
-- Porting note (#10756): added lemma
lemma coe_comp {X Y Z : CommRingCat} {f : X ⟶ Y} {g : Y ⟶ Z} : (f ≫ g : X → Z) = g ∘ f := rfl

-- porting note: added
Expand Down

0 comments on commit a5e4848

Please sign in to comment.