The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Idempotents.Karoubi
80 declarations. Mathlib docs · Source
The Karoubi envelope of a category
In this file, we define the Karoubi envelope Karoubi C of a category C.
Main constructions and definitions
Karoubi Cis the Karoubi envelope of a categoryC: it is an idempotent complete category. It is also preadditive whenCis preadditive.toKaroubi C : C ⥤ Karoubi Cis a fully faithful functor, which is an equivalence (toKaroubiIsEquivalence) whenCis idempotent complete.
theorem CategoryTheory.Idempotents.Karoubi.Hom.mk.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f f_1 : P.X ⟶ Q.X) (e_f : f = f_1)
(comm : CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f Q.p) = f),
{ f := f, comm := comm } = { f := f_1, comm := ⋯ }
theorem CategoryTheory.Idempotents.Karoubi.Hom.mk.inj E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {P Q : CategoryTheory.Idempotents.Karoubi C}
{f : P.X ⟶ Q.X}
{comm :
autoParam (CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f Q.p) = f)
CategoryTheory.Idempotents.Karoubi.Hom.comm._autoParam}
{f_1 : P.X ⟶ Q.X}
{comm_1 :
autoParam (CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f_1 Q.p) = f_1)
CategoryTheory.Idempotents.Karoubi.Hom.comm._autoParam},
{ f := f, comm := comm } = { f := f_1, comm := comm_1 } → f = f_1
def CategoryTheory.Idempotents.Karoubi.Hom.ctorIdx E1 #
{C : Type u_1} →
{inst : CategoryTheory.Category.{v_1, u_1} C} → {P Q : CategoryTheory.Idempotents.Karoubi C} → P.Hom Q → ℕ
theorem CategoryTheory.Idempotents.Karoubi.mk.inj E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {X : C} {p : X ⟶ X}
{idem : autoParam (CategoryTheory.CategoryStruct.comp p p = p) CategoryTheory.Idempotents.Karoubi.idem._autoParam}
{X_1 : C} {p_1 : X_1 ⟶ X_1}
{idem_1 :
autoParam (CategoryTheory.CategoryStruct.comp p_1 p_1 = p_1) CategoryTheory.Idempotents.Karoubi.idem._autoParam},
{ X := X, p := p, idem := idem } = { X := X_1, p := p_1, idem := idem_1 } → X = X_1 ∧ p ≍ p_1
theorem CategoryTheory.Idempotents.Karoubi.mk.injEq E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C) (p : X ⟶ X)
(idem : autoParam (CategoryTheory.CategoryStruct.comp p p = p) CategoryTheory.Idempotents.Karoubi.idem._autoParam)
(X_1 : C) (p_1 : X_1 ⟶ X_1)
(idem_1 :
autoParam (CategoryTheory.CategoryStruct.comp p_1 p_1 = p_1) CategoryTheory.Idempotents.Karoubi.idem._autoParam),
({ X := X, p := p, idem := idem } = { X := X_1, p := p_1, idem := idem_1 }) = (X = X_1 ∧ p ≍ p_1)
theorem CategoryTheory.Idempotents.Karoubi.Hom.mk.injEq E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.X ⟶ Q.X)
(comm :
autoParam (CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f Q.p) = f)
CategoryTheory.Idempotents.Karoubi.Hom.comm._autoParam)
(f_1 : P.X ⟶ Q.X)
(comm_1 :
autoParam (CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f_1 Q.p) = f_1)
CategoryTheory.Idempotents.Karoubi.Hom.comm._autoParam),
({ f := f, comm := comm } = { f := f_1, comm := comm_1 }) = (f = f_1)
theorem CategoryTheory.Idempotents.Karoubi.mk.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C) (p p_1 : X ⟶ X) (e_p : p = p_1)
(idem : CategoryTheory.CategoryStruct.comp p p = p),
{ X := X, p := p, idem := idem } = { X := X, p := p_1, idem := ⋯ }
def CategoryTheory.Idempotents.Karoubi.ctorIdx E1 #
{C : Type u_1} → {inst : CategoryTheory.Category.{v_1, u_1} C} → CategoryTheory.Idempotents.Karoubi C → ℕ
structure CategoryTheory.Idempotents.Karoubi E1 #
(C : Type u_1) → [CategoryTheory.Category.{v_1, u_1} C] → Type (max u_1 v_1)
In a preadditive category C, when an object X decomposes as X ≅ P ⨿ Q, one may
consider P as a direct factor of X and up to unique isomorphism, it is determined by the
obvious idempotent X ⟶ P ⟶ X which is the projection onto P with kernel Q. More generally,
one may define a formal direct factor of an object X : C : it consists of an idempotent
p : X ⟶ X which is thought as the "formal image" of p. The type Karoubi C shall be the
type of the objects of the karoubi envelope of C. It makes sense for any category C.
ctor CategoryTheory.Idempotents.Karoubi.mk E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
(X : C) →
(p : X ⟶ X) →
autoParam (CategoryTheory.CategoryStruct.comp p p = p) CategoryTheory.Idempotents.Karoubi.idem._autoParam →
CategoryTheory.Idempotents.Karoubi C
abbrev CategoryTheory.Idempotents.Karoubi.X E1 #
{C : Type u_1} → [inst : CategoryTheory.Category.{v_1, u_1} C] → CategoryTheory.Idempotents.Karoubi C → C
an object of the underlying category
abbrev CategoryTheory.Idempotents.Karoubi.p E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] → (self : CategoryTheory.Idempotents.Karoubi C) → self.X ⟶ self.X
an endomorphism of the object
theorem CategoryTheory.Idempotents.Karoubi.idem E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (self : CategoryTheory.Idempotents.Karoubi C),
CategoryTheory.CategoryStruct.comp self.p self.p = self.p
the condition that the given endomorphism is an idempotent
theorem CategoryTheory.Idempotents.Karoubi.idem_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (self : CategoryTheory.Idempotents.Karoubi C) {Z : C}
(h : self.X ⟶ Z),
CategoryTheory.CategoryStruct.comp self.p (CategoryTheory.CategoryStruct.comp self.p h) =
CategoryTheory.CategoryStruct.comp self.p h
the condition that the given endomorphism is an idempotent
theorem CategoryTheory.Idempotents.Karoubi.ext E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(h_X : P.X = Q.X),
CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.eqToHom h_X) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.eqToHom h_X) Q.p →
P = Q
structure CategoryTheory.Idempotents.Karoubi.Hom E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
CategoryTheory.Idempotents.Karoubi C → CategoryTheory.Idempotents.Karoubi C → Type v_1
A morphism P ⟶ Q in the category Karoubi C is a morphism in the underlying category
C which satisfies a relation, which in the preadditive case, expresses that it induces a
map between the corresponding "formal direct factors" and that it vanishes on the complement
formal direct factor.
theorem CategoryTheory.Idempotents.Karoubi.Hom.ext E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {P Q : CategoryTheory.Idempotents.Karoubi C}
{x y : P.Hom Q}, x.f = y.f → x = y
theorem CategoryTheory.Idempotents.Karoubi.Hom.ext_iff E0 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{v_1, u_1} C} {P Q : CategoryTheory.Idempotents.Karoubi C}
{x y : P.Hom Q}, x = y ↔ x.f = y.f
ctor CategoryTheory.Idempotents.Karoubi.Hom.mk E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
{P Q : CategoryTheory.Idempotents.Karoubi C} →
(f : P.X ⟶ Q.X) →
autoParam (CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f Q.p) = f)
CategoryTheory.Idempotents.Karoubi.Hom.comm._autoParam →
P.Hom Q
abbrev CategoryTheory.Idempotents.Karoubi.Hom.f E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] → {P Q : CategoryTheory.Idempotents.Karoubi C} → P.Hom Q → (P.X ⟶ Q.X)
a morphism between the underlying objects
theorem CategoryTheory.Idempotents.Karoubi.Hom.comm E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(self : P.Hom Q), CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp self.f Q.p) = self.f
compatibility of the given morphism with the given idempotents
instance CategoryTheory.Idempotents.Karoubi.instInhabitedHomOfPreadditive E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → (P Q : CategoryTheory.Idempotents.Karoubi C) → Inhabited (P.Hom Q)
theorem CategoryTheory.Idempotents.Karoubi.p_comp E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q), CategoryTheory.CategoryStruct.comp P.p f.f = f.f
theorem CategoryTheory.Idempotents.Karoubi.p_comp_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q) {Z : C} (h : Q.X ⟶ Z),
CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f.f h) =
CategoryTheory.CategoryStruct.comp f.f h
theorem CategoryTheory.Idempotents.Karoubi.comp_p E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q), CategoryTheory.CategoryStruct.comp f.f Q.p = f.f
theorem CategoryTheory.Idempotents.Karoubi.comp_p_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q) {Z : C} (h : Q.X ⟶ Z),
CategoryTheory.CategoryStruct.comp f.f (CategoryTheory.CategoryStruct.comp Q.p h) =
CategoryTheory.CategoryStruct.comp f.f h
theorem CategoryTheory.Idempotents.Karoubi.p_comm_assoc E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q) {Z : C} (h : Q.X ⟶ Z),
CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.CategoryStruct.comp f.f h) =
CategoryTheory.CategoryStruct.comp f.f (CategoryTheory.CategoryStruct.comp Q.p h)
theorem CategoryTheory.Idempotents.Karoubi.p_comm E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f : P.Hom Q), CategoryTheory.CategoryStruct.comp P.p f.f = CategoryTheory.CategoryStruct.comp f.f Q.p
theorem CategoryTheory.Idempotents.Karoubi.comp_proof E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q R : CategoryTheory.Idempotents.Karoubi C}
(g : Q.Hom R) (f : P.Hom Q),
CategoryTheory.CategoryStruct.comp P.p
(CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f.f g.f) R.p) =
CategoryTheory.CategoryStruct.comp f.f g.f
instance CategoryTheory.Idempotents.Karoubi.instCategory E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
CategoryTheory.Category.{v_1, max u_1 v_1} (CategoryTheory.Idempotents.Karoubi C)
The category structure on the karoubi envelope of a category.
theorem CategoryTheory.Idempotents.Karoubi.hom_ext_iff E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
{f g : P ⟶ Q}, f = g ↔ f.f = g.f
theorem CategoryTheory.Idempotents.Karoubi.hom_ext E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C}
(f g : P ⟶ Q), f.f = g.f → f = g
theorem CategoryTheory.Idempotents.Karoubi.comp_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q R : CategoryTheory.Idempotents.Karoubi C}
(f : P ⟶ Q) (g : Q ⟶ R), (CategoryTheory.CategoryStruct.comp f g).f = CategoryTheory.CategoryStruct.comp f.f g.f
theorem CategoryTheory.Idempotents.Karoubi.id_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P : CategoryTheory.Idempotents.Karoubi C},
(CategoryTheory.CategoryStruct.id P).f = P.p
instance CategoryTheory.Idempotents.Karoubi.coe E0 #
{C : Type u_1} → [inst : CategoryTheory.Category.{v_1, u_1} C] → CoeTC C (CategoryTheory.Idempotents.Karoubi C)
It is possible to coerce an object of C into an object of Karoubi C.
See also the functor toKaroubi.
theorem CategoryTheory.Idempotents.Karoubi.coe_X E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
{ X := X, p := CategoryTheory.CategoryStruct.id X, idem := ⋯ }.X = X
theorem CategoryTheory.Idempotents.Karoubi.coe_p E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
{ X := X, p := CategoryTheory.CategoryStruct.id X, idem := ⋯ }.p = CategoryTheory.CategoryStruct.id X
theorem CategoryTheory.Idempotents.Karoubi.eqToHom_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C} (h : P = Q),
(CategoryTheory.eqToHom h).f = CategoryTheory.CategoryStruct.comp P.p (CategoryTheory.eqToHom ⋯)
def CategoryTheory.Idempotents.toKaroubi E1 #
(C : Type u_1) →
[inst : CategoryTheory.Category.{v_1, u_1} C] → CategoryTheory.Functor C (CategoryTheory.Idempotents.Karoubi C)
The obvious fully faithful functor toKaroubi sends an object X : C to the obvious
formal direct factor of X given by 𝟙 X.
theorem CategoryTheory.Idempotents.toKaroubi_map_f E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] {X Y : C} (f : X ⟶ Y),
((CategoryTheory.Idempotents.toKaroubi C).map f).f = f
theorem CategoryTheory.Idempotents.toKaroubi_obj_X E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
((CategoryTheory.Idempotents.toKaroubi C).obj X).X = X
theorem CategoryTheory.Idempotents.toKaroubi_obj_p E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
((CategoryTheory.Idempotents.toKaroubi C).obj X).p = CategoryTheory.CategoryStruct.id X
def CategoryTheory.Idempotents.fullyFaithfulToKaroubi E1 #
(C : Type u_1) → [inst : CategoryTheory.Category.{v_1, u_1} C] → (CategoryTheory.Idempotents.toKaroubi C).FullyFaithful
The functor toKaroubi C : C ⥤ Karoubi C is fully faithful.
instance CategoryTheory.Idempotents.instFullKaroubiToKaroubi E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C], (CategoryTheory.Idempotents.toKaroubi C).Full
instance CategoryTheory.Idempotents.instFaithfulKaroubiToKaroubi E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C], (CategoryTheory.Idempotents.toKaroubi C).Faithful
instance CategoryTheory.Idempotents.instAdd E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → {P Q : CategoryTheory.Idempotents.Karoubi C} → Add (P ⟶ Q)
theorem CategoryTheory.Idempotents.add_def E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C} (f g : P ⟶ Q), f + g = { f := f.f + g.f, comm := ⋯ }
theorem CategoryTheory.Idempotents.neg_def E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C} (f : P ⟶ Q), -f = { f := -f.f, comm := ⋯ }
instance CategoryTheory.Idempotents.instNeg E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → {P Q : CategoryTheory.Idempotents.Karoubi C} → Neg (P ⟶ Q)
theorem CategoryTheory.Idempotents.zero_def E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C}, 0 = { f := 0, comm := ⋯ }
instance CategoryTheory.Idempotents.instZero E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → {P Q : CategoryTheory.Idempotents.Karoubi C} → Zero (P ⟶ Q)
instance CategoryTheory.Idempotents.instAddCommGroupHom E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → {P Q : CategoryTheory.Idempotents.Karoubi C} → AddCommGroup (P ⟶ Q)
theorem CategoryTheory.Idempotents.Karoubi.hom_eq_zero_iff E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C} {f : P ⟶ Q}, f = 0 ↔ f.f = 0
def CategoryTheory.Idempotents.Karoubi.inclusionHom E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] → (P Q : CategoryTheory.Idempotents.Karoubi C) → (P ⟶ Q) →+ (P.X ⟶ Q.X)
The map sending f : P ⟶ Q to f.f : P.X ⟶ Q.X is additive.
theorem CategoryTheory.Idempotents.Karoubi.inclusionHom_apply E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
(P Q : CategoryTheory.Idempotents.Karoubi C) (f : P ⟶ Q), (P.inclusionHom Q) f = f.f
theorem CategoryTheory.Idempotents.Karoubi.sum_hom E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C} {α : Type u_2} (s : Finset α) (f : α → (P ⟶ Q)),
(∑ x ∈ s, f x).f = ∑ x ∈ s, (f x).f
instance CategoryTheory.Idempotents.instPreadditiveKaroubi E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.Idempotents.Karoubi C)
The category Karoubi C is preadditive if C is.
instance CategoryTheory.Idempotents.instAdditiveKaroubiToKaroubi E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C],
(CategoryTheory.Idempotents.toKaroubi C).Additive
instance CategoryTheory.Idempotents.instIsIdempotentCompleteKaroubi E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C],
CategoryTheory.IsIdempotentComplete (CategoryTheory.Idempotents.Karoubi C)
instance CategoryTheory.Idempotents.instEssSurjKaroubiToKaroubiOfIsIdempotentComplete E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.IsIdempotentComplete C],
(CategoryTheory.Idempotents.toKaroubi C).EssSurj
instance CategoryTheory.Idempotents.toKaroubi_isEquivalence E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [CategoryTheory.IsIdempotentComplete C],
(CategoryTheory.Idempotents.toKaroubi C).IsEquivalence
If C is idempotent complete, the functor toKaroubi : C ⥤ Karoubi C is an equivalence.
def CategoryTheory.Idempotents.toKaroubiEquivalence E1 #
(C : Type u_1) →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[CategoryTheory.IsIdempotentComplete C] → C ≌ CategoryTheory.Idempotents.Karoubi C
The equivalence C ≅ Karoubi C when C is idempotent complete.
instance CategoryTheory.Idempotents.toKaroubiEquivalence_functor_additive E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.IsIdempotentComplete C], (CategoryTheory.Idempotents.toKaroubiEquivalence C).functor.Additive
def CategoryTheory.Idempotents.Karoubi.decompId_i E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
(P : CategoryTheory.Idempotents.Karoubi C) → P ⟶ { X := P.X, p := CategoryTheory.CategoryStruct.id P.X, idem := ⋯ }
The split mono which appears in the factorisation decompId P.
theorem CategoryTheory.Idempotents.Karoubi.decompId_i_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Idempotents.Karoubi C),
P.decompId_i.f = P.p
def CategoryTheory.Idempotents.Karoubi.decompId_p E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
(P : CategoryTheory.Idempotents.Karoubi C) → { X := P.X, p := CategoryTheory.CategoryStruct.id P.X, idem := ⋯ } ⟶ P
The split epi which appears in the factorisation decompId P.
theorem CategoryTheory.Idempotents.Karoubi.decompId_p_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Idempotents.Karoubi C),
P.decompId_p.f = P.p
theorem CategoryTheory.Idempotents.Karoubi.decompId E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Idempotents.Karoubi C),
CategoryTheory.CategoryStruct.id P = CategoryTheory.CategoryStruct.comp P.decompId_i P.decompId_p
The formal direct factor of P.X given by the idempotent P.p in the category C
is actually a direct factor in the category Karoubi C.
theorem CategoryTheory.Idempotents.Karoubi.decompId_assoc E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Idempotents.Karoubi C)
{Z : CategoryTheory.Idempotents.Karoubi C} (h : P ⟶ Z),
h = CategoryTheory.CategoryStruct.comp P.decompId_i (CategoryTheory.CategoryStruct.comp P.decompId_p h)
The formal direct factor of P.X given by the idempotent P.p in the category C
is actually a direct factor in the category Karoubi C.
theorem CategoryTheory.Idempotents.Karoubi.decomp_p E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (P : CategoryTheory.Idempotents.Karoubi C),
(CategoryTheory.Idempotents.toKaroubi C).map P.p = CategoryTheory.CategoryStruct.comp P.decompId_p P.decompId_i
theorem CategoryTheory.Idempotents.Karoubi.decompId_i_toKaroubi E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
((CategoryTheory.Idempotents.toKaroubi C).obj X).decompId_i =
CategoryTheory.CategoryStruct.id ((CategoryTheory.Idempotents.toKaroubi C).obj X)
theorem CategoryTheory.Idempotents.Karoubi.decompId_p_toKaroubi E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : C),
((CategoryTheory.Idempotents.toKaroubi C).obj X).decompId_p =
CategoryTheory.CategoryStruct.id
{ X := ((CategoryTheory.Idempotents.toKaroubi C).obj X).X,
p := CategoryTheory.CategoryStruct.id ((CategoryTheory.Idempotents.toKaroubi C).obj X).X, idem := ⋯ }
theorem CategoryTheory.Idempotents.Karoubi.decompId_i_naturality E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C} (f : P ⟶ Q),
CategoryTheory.CategoryStruct.comp f Q.decompId_i =
CategoryTheory.CategoryStruct.comp P.decompId_i { f := f.f, comm := ⋯ }
theorem CategoryTheory.Idempotents.Karoubi.decompId_p_naturality E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {P Q : CategoryTheory.Idempotents.Karoubi C} (f : P ⟶ Q),
CategoryTheory.CategoryStruct.comp P.decompId_p f =
CategoryTheory.CategoryStruct.comp { f := f.f, comm := ⋯ } Q.decompId_p
theorem CategoryTheory.Idempotents.Karoubi.zsmul_hom E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C]
{P Q : CategoryTheory.Idempotents.Karoubi C} (n : ℤ) (f : P ⟶ Q), (n • f).f = n • f.f
def CategoryTheory.Idempotents.Karoubi.retract E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
(X : CategoryTheory.Idempotents.Karoubi C) →
CategoryTheory.Retract X ((CategoryTheory.Idempotents.toKaroubi C).obj X.X)
If X : Karoubi C, then X is a retract of ((toKaroubi C).obj X.X).
theorem CategoryTheory.Idempotents.Karoubi.retract_r_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Idempotents.Karoubi C),
X.retract.r.f = X.p
theorem CategoryTheory.Idempotents.Karoubi.retract_i_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] (X : CategoryTheory.Idempotents.Karoubi C),
X.retract.i.f = X.p
instance CategoryTheory.Idempotents.instPreservesEpimorphismsKaroubiToKaroubi E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C],
(CategoryTheory.Idempotents.toKaroubi C).PreservesEpimorphisms
instance CategoryTheory.Idempotents.instPreservesMonomorphismsKaroubiToKaroubi E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C],
(CategoryTheory.Idempotents.toKaroubi C).PreservesMonomorphisms