Add notion of strict category

This commit is contained in:
Frederik Hanghøj Iversen 2018-04-05 15:13:59 +02:00
parent 6c5b68a8ac
commit b5f89322ac

View file

@ -319,6 +319,14 @@ record PreCategory (a b : Level) : Set (lsuc (a ⊔ b)) where
isPreCategory : IsPreCategory raw
open IsPreCategory isPreCategory public
-- Definition 9.6.1 in [HoTT]
record StrictCategory (a b : Level) : Set (lsuc (a b)) where
field
preCategory : PreCategory a b
open PreCategory preCategory
field
objectsAreSets : isSet Object
record IsCategory {a b : Level} ( : RawCategory a b) : Set (lsuc (a b)) where
field
isPreCategory : IsPreCategory