Skip to content

Commit

Permalink
display forms for coproducts
Browse files Browse the repository at this point in the history
  • Loading branch information
plt-amy committed Sep 18, 2024
1 parent 190a029 commit 316ec0c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Cat/Diagram/Coproduct.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,12 @@ has-coproducts = ∀ a b → Coproduct a b

module Binary-coproducts (all-coproducts : has-coproducts) where

module coproduct {a} {b} = Coproduct (all-coproducts a b)

open coproduct renaming
(unique to []-unique) public
module _ {a b} where open Coproduct (all-coproducts a b) renaming (unique to []-unique) hiding (coapex) public
module _ a b where open Coproduct (all-coproducts a b) renaming (coapex to infixr 7 _⊕₀_) using () public
open Functor

infixr 7 _⊕₀_
infix 50 _⊕₁_

_⊕₀_ : Ob Ob Ob
a ⊕₀ b = coproduct.coapex {a} {b}

_⊕₁_ : {a b x y} Hom a x Hom b y Hom (a ⊕₀ b) (x ⊕₀ y)
f ⊕₁ g = [ ι₁ ∘ f , ι₂ ∘ g ]

Expand Down

0 comments on commit 316ec0c

Please sign in to comment.