-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Porting note: instance was not necessary (category theory) #10670
Copy link
Copy link
Closed
Labels
porting-notesMathlib3 to Mathlib4 porting notes.Mathlib3 to Mathlib4 porting notes.t-category-theoryCategory theoryCategory theory
Description
This issue is specifically for cases of this in the category theory library.
Examples
mathlib4/Mathlib/Algebra/Category/GroupCat/Basic.lean
Lines 62 to 65 in 5e53cc1
| -- porting note: this instance was not necessary in mathlib | |
| @[to_additive] | |
| instance {X Y : GroupCat} : CoeFun (X ⟶ Y) fun _ => X → Y where | |
| coe (f : X →* Y) := f |
mathlib4/Mathlib/Algebra/Category/GroupCat/Preadditive.lean
Lines 21 to 23 in 5e53cc1
| -- porting note: this instance was not necessary in mathlib | |
| instance (P Q : AddCommGroupCat) : AddCommGroup (P ⟶ Q) := | |
| (inferInstance : AddCommGroup (AddMonoidHom P Q)) |
mathlib4/Mathlib/Algebra/Category/MonCat/Basic.lean
Lines 83 to 86 in 5e53cc1
| -- porting note: this instance was not necessary in mathlib | |
| @[to_additive] | |
| instance {X Y : MonCat} : CoeFun (X ⟶ Y) fun _ => X → Y where | |
| coe (f : X →* Y) := f |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
porting-notesMathlib3 to Mathlib4 porting notes.Mathlib3 to Mathlib4 porting notes.t-category-theoryCategory theoryCategory theory