Module-ify

This commit is contained in:
Frederik Hanghøj Iversen 2018-02-25 14:27:37 +01:00
parent 12dddc2067
commit ce46e0ae7a

View file

@ -8,13 +8,14 @@ open import Cubical
open import Cat.Category
open import Cat.Category.Functor
open import Cat.Categories.Sets
open import Cat.Equality
open Equality.Data.Product
module _ { ' : Level} { : Category '} { A B : Category.Object } {X : Category.Object } (f : Category.Arrow A B) where
-- Maybe inline into RawCategory"
module _ {a b : Level} ( : Category a b) where
open Category
module _ {A B : Category.Object } {X : Category.Object } (f : Category.Arrow A B) where
iso-is-epi : Isomorphism f Epimorphism {X = X} f
iso-is-epi (f- , left-inv , right-inv) g₀ g₁ eq = begin
g₀ ≡⟨ sym (proj₁ isIdentity)