aboutsummaryrefslogtreecommitdiff
path: root/Morphism
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2026-07-17 17:16:37 -0700
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2026-07-17 17:16:37 -0700
commit7093fb4fa137b63ae7f2b8a00269ef63da9d70ee (patch)
tree381f3a024f12279ccb4651f70e5b4ae2e2726d01 /Morphism
parent78319064329e6b334298ea4bed2eec01d2fc8b47 (diff)
Add categories with all binary biproducts
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