The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Preadditive.OfBiproducts
11 declarations. Mathlib docs · Source
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] (X Y : C) (f f_1 : X ⟶ Y),
f = f_1 →
∀ (g g_1 : X ⟶ Y),
g = g_1 →
CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y f g =
CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y f_1 g_1
def CategoryTheory.SemiadditiveOfBinaryBiproducts.leftAdd E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[CategoryTheory.Limits.HasBinaryBiproducts C] → (X Y : C) → (X ⟶ Y) → (X ⟶ Y) → (X ⟶ Y)
f +ₗ g is the composite X ⟶ Y ⊞ Y ⟶ Y, where the first map is (f, g) and the second map
is (𝟙 𝟙).
def CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[CategoryTheory.Limits.HasBinaryBiproducts C] → (X Y : C) → (X ⟶ Y) → (X ⟶ Y) → (X ⟶ Y)
f +ᵣ g is the composite X ⟶ X ⊞ X ⟶ Y, where the first map is (𝟙, 𝟙) and the second map
is (f g).
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.isUnital_leftAdd E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] (X Y : C),
EckmannHilton.IsUnital (fun x1 x2 ↦ CategoryTheory.SemiadditiveOfBinaryBiproducts.leftAdd X Y x1 x2) 0
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.isUnital_rightAdd E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] (X Y : C),
EckmannHilton.IsUnital (fun x1 x2 ↦ CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y x1 x2) 0
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.distrib E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] (X Y : C) (f g h k : X ⟶ Y),
CategoryTheory.SemiadditiveOfBinaryBiproducts.leftAdd X Y
(CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y f g)
(CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y h k) =
CategoryTheory.SemiadditiveOfBinaryBiproducts.rightAdd X Y
(CategoryTheory.SemiadditiveOfBinaryBiproducts.leftAdd X Y f h)
(CategoryTheory.SemiadditiveOfBinaryBiproducts.leftAdd X Y g k)
def CategoryTheory.SemiadditiveOfBinaryBiproducts.addCommMonoidHomOfHasBinaryBiproducts E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[CategoryTheory.Limits.HasBinaryBiproducts C] → (X Y : C) → AddCommMonoid (X ⟶ Y)
In a category with binary biproducts, the morphisms form a commutative monoid.
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.add_eq_right_addition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X Y : C} (f g : X ⟶ Y),
f + g =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biprod.lift (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id X))
(CategoryTheory.Limits.biprod.desc f g)
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.add_eq_left_addition E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X Y : C} (f g : X ⟶ Y),
f + g =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biprod.lift f g)
(CategoryTheory.Limits.biprod.desc (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Y))
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.add_comp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X Y Z : C} (f g : X ⟶ Y) (h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (f + g) h =
CategoryTheory.CategoryStruct.comp f h + CategoryTheory.CategoryStruct.comp g h
theorem CategoryTheory.SemiadditiveOfBinaryBiproducts.comp_add E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X Y Z : C} (f : X ⟶ Y) (g h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp f (g + h) =
CategoryTheory.CategoryStruct.comp f g + CategoryTheory.CategoryStruct.comp f h