aboutsummaryrefslogtreecommitdiff
path: root/Morphism/Zero.agda
blob: 01e09536ce1f3e26e6482f203882430cf5e50196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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