Let IsCategory reexport RawCategory

This commit is contained in:
Frederik Hanghøj Iversen 2018-02-25 14:37:28 +01:00
parent 5deabb7546
commit caddf83a09
2 changed files with 2 additions and 5 deletions

View file

@ -7,8 +7,6 @@ open import Data.Product
open import Cat.Category
open IsCategory
data Path { ' : Level} {A : Set } (R : A A Set ') : (a b : A) Set ( ') where
empty : {a : A} Path R a a
cons : {a b c : A} R b c Path R a b Path R a c

View file

@ -100,7 +100,7 @@ module Univalence {a b : Level} ( : RawCategory a b) where
Univalent = {A B : Object} isEquiv (A B) (A B) (id-to-iso A B)
record IsCategory {a b : Level} ( : RawCategory a b) : Set (lsuc (a b)) where
open RawCategory
open RawCategory public
open Univalence public
field
isAssociative : IsAssociative
@ -112,7 +112,7 @@ record IsCategory {a b : Level} ( : RawCategory a b) : Set (lsuc
module _ {a b : Level} {C : RawCategory a b} where
open RawCategory C
module _ ( : IsCategory C) where
open IsCategory
open IsCategory using (isAssociative ; arrowsAreSets ; isIdentity ; Univalent)
open import Cubical.NType
open import Cubical.NType.Properties
@ -196,7 +196,6 @@ record Category (a b : Level) : Set (lsuc (a ⊔ b)) where
raw : RawCategory a b
{{isCategory}} : IsCategory raw
open RawCategory raw public
open IsCategory isCategory public
module _ {a b : Level} ( : Category a b) where