Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cubical/Categories/Multicategories.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Cubical.Categories.Multicategories where

open import Cubical.Categories.Multicategories.Base
19 changes: 19 additions & 0 deletions Cubical/Categories/Multicategories/Base.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
open import Cubical.Foundations.Prelude

open import Cubical.WildCat.Functor
open import Cubical.WildCat.Monad
open import Cubical.WildCat.Instances.Types

module Cubical.Categories.Multicategories.Base ℓ (T : WildMonad (TypeCat ℓ)) where

open WildFunctor (T .fst) renaming (F-ob to T-ob; F-hom to T-hom; F-id to T-id; F-seq to T-seq)
open IsMonad (T .snd)
open WildNatTrans η renaming (N-ob to η-ob; N-hom to η-hom)
open WildNatTrans μ renaming (N-ob to μ-ob; N-hom to μ-hom)

record Multicategory ℓ' : Type (ℓ-suc (ℓ-max ℓ ℓ')) where
no-eta-equality
field
Ob : Type ℓ
Hom : T-ob Ob → Ob → Type ℓ'
id : ∀ {x} → Hom (η-ob _ x) x