aboutsummaryrefslogtreecommitdiff
path: root/Category
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2026-03-25 08:53:18 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2026-03-25 08:53:18 -0500
commit11e8c93b5426ddfd75f1c9c495e4da0defbc08a6 (patch)
tree5259224ded58d16a66f47fc3a62a9a1e142fc8eb /Category
parente6de73dd1d40524bc9198096415e99fb45d4432a (diff)
Add looped wiring diagrams and merge functor
Diffstat (limited to 'Category')
-rw-r--r--Category/KaroubiComplete.agda16
1 files changed, 16 insertions, 0 deletions
diff --git a/Category/KaroubiComplete.agda b/Category/KaroubiComplete.agda
new file mode 100644
index 0000000..e4005d1
--- /dev/null
+++ b/Category/KaroubiComplete.agda
@@ -0,0 +1,16 @@
+{-# OPTIONS --without-K --safe #-}
+
+open import Categories.Category using (Category)
+open import Level using (Level; suc; _⊔_)
+
+module Category.KaroubiComplete {o ℓ e : Level} (𝒞 : Category o ℓ e) where
+
+open import Categories.Morphism.Idempotent 𝒞 using (IsSplitIdempotent)
+
+open Category 𝒞
+
+-- A Karoubi complete category is one in which all idempotents split
+record KaroubiComplete : Set (suc (o ⊔ ℓ ⊔ e)) where
+
+ field
+ split : {A : Obj} {f : A ⇒ A} → f ∘ f ≈ f → IsSplitIdempotent f