fix(library/hott): adjust expliciteness of arguments
This commit is contained in:
parent
cda828bfe8
commit
6124b87870
1 changed files with 5 additions and 3 deletions
|
@ -10,16 +10,18 @@ structure category [class] (ob : Type) : Type :=
|
|||
(hom : ob → ob → Type)
|
||||
(comp : Π⦃a b c : ob⦄, hom b c → hom a b → hom a c)
|
||||
(ID : Π (a : ob), hom a a)
|
||||
(assoc : Π ⦃a b c d : ob⦄ {h : hom c d} {g : hom b c} {f : hom a b},
|
||||
(assoc : Π ⦃a b c d : ob⦄ (h : hom c d) (g : hom b c) (f : hom a b),
|
||||
comp h (comp g f) = comp (comp h g) f)
|
||||
(id_left : Π ⦃a b : ob⦄ {f : hom a b}, comp !ID f = f)
|
||||
(id_right : Π ⦃a b : ob⦄ {f : hom a b}, comp f !ID = f)
|
||||
(id_left : Π ⦃a b : ob⦄ (f : hom a b), comp !ID f = f)
|
||||
(id_right : Π ⦃a b : ob⦄ (f : hom a b), comp f !ID = f)
|
||||
|
||||
namespace category
|
||||
variables {ob : Type} [C : category ob]
|
||||
variables {a b c d : ob}
|
||||
include C
|
||||
|
||||
definition compose := comp
|
||||
|
||||
definition id [reducible] {a : ob} : hom a a := ID a
|
||||
|
||||
infixr `∘` := comp
|
||||
|
|
Loading…
Add table
Reference in a new issue