view category-ex.agda @ 793:f37f11e1b871

Hom a,b = Hom 1 b^a
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 22 Apr 2019 02:41:53 +0900 (2019-04-21)
parents 3249aaddc405
children
line wrap: on
line source
module category-ex where

open import Level
open import Category
postulate c₁ c₂ ℓ : Level
postulate A : Category c₁ c₂ ℓ

postulate a b c : Obj A
postulate g : Hom A a b
postulate f : Hom A b c

open Category.Category

h = _o_  A f g

i = A [ f o g ]