diff options
| author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2026-03-24 16:20:19 -0500 |
|---|---|---|
| committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2026-03-24 16:20:19 -0500 |
| commit | b9b9349fcebac862e77ccefb24f3b1c86298c711 (patch) | |
| tree | c53a5d274ea1f9f24e902a90b87613c00068dc75 /Morphism/SplitIdempotent.agda | |
| parent | 08ebbbb1876d6a5111f61f5b1d86413f7381f47d (diff) | |
Add split idempotents
Diffstat (limited to 'Morphism/SplitIdempotent.agda')
| -rw-r--r-- | Morphism/SplitIdempotent.agda | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Morphism/SplitIdempotent.agda b/Morphism/SplitIdempotent.agda new file mode 100644 index 0000000..a9b4396 --- /dev/null +++ b/Morphism/SplitIdempotent.agda @@ -0,0 +1,22 @@ +{-# OPTIONS --without-K --safe #-} + +open import Level using (Level; _⊔_) +open import Categories.Category using (Category) + +module Morphism.SplitIdempotent {o ℓ e : Level} (𝒞 : Category o ℓ e) where + +open Category 𝒞 + +record IsSplitIdempotent {A : Obj} (i : A ⇒ A) : Set (o ⊔ ℓ ⊔ e) where + field + B : Obj + r : A ⇒ B + s : B ⇒ A + s∘r : s ∘ r ≈ i + r∘s : r ∘ s ≈ id + +record SplitIdempotent : Set (o ⊔ ℓ ⊔ e) where + field + {A} : Obj + i : A ⇒ A + isSplitIdempotent : IsSplitIdempotent i |
