aboutsummaryrefslogtreecommitdiff
path: root/Morphism
diff options
context:
space:
mode:
Diffstat (limited to 'Morphism')
-rw-r--r--Morphism/Zero.agda13
1 files changed, 13 insertions, 0 deletions
diff --git a/Morphism/Zero.agda b/Morphism/Zero.agda
new file mode 100644
index 0000000..01e0953
--- /dev/null
+++ b/Morphism/Zero.agda
@@ -0,0 +1,13 @@
+{-# OPTIONS --without-K --safe #-}
+
+open import Categories.Category using (Category)
+open import Level using (Level; _βŠ”_)
+
+module Morphism.Zero {o β„“ e : Level} (π’ž : Category o β„“ e) where
+
+open Category π’ž
+
+record IsZeroβ‡’ {A B : Obj} (z : A β‡’ B) : Set (o βŠ” β„“ βŠ” e) where
+ field
+ constant : {C : Obj} (f g : C β‡’ A) β†’ z ∘ f β‰ˆ z ∘ g
+ coconstant : {C : Obj} (f g : B β‡’ C) β†’ f ∘ z β‰ˆ g ∘ z