The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Preadditive.Biproducts
132 declarations. Mathlib docs · Source
Basic facts about biproducts in preadditive categories.
In (or between) preadditive categories,
-
Any biproduct satisfies the equality
total : ∑ j : J, biproduct.π f j ≫ biproduct.ι f j = 𝟙 (⨁ f), or, in the binary case,total : fst ≫ inl + snd ≫ inr = 𝟙 X. -
Any (binary)
productor (binary)coproductis a (binary)biproduct. -
In any category (with zero morphisms), if
biprod.map f gis an isomorphism, then bothfandgare isomorphisms. -
If
fis a morphismX₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂whoseX₁ ⟶ Y₁entry is an isomorphism, then we can construct isomorphismsL : X₁ ⊞ X₂ ≅ X₁ ⊞ X₂andR : Y₁ ⊞ Y₂ ≅ Y₁ ⊞ Y₂so thatL.hom ≫ g ≫ R.homis diagonal (withX₁ ⟶ Y₁component stillf), via Gaussian elimination. -
As a corollary of the previous two facts, if we have an isomorphism
X₁ ⊞ X₂ ≅ Y₁ ⊞ Y₂whoseX₁ ⟶ Y₁entry is an isomorphism, we can construct an isomorphismX₂ ≅ Y₂. -
If
f : W ⊞ X ⟶ Y ⊞ Zis an isomorphism, either𝟙 W = 0, or at least one of the component mapsW ⟶ YandW ⟶ Zis nonzero. -
If
f : ⨁ S ⟶ ⨁ Tis an isomorphism, then every column (corresponding to a nonzero summand in the domain) has some nonzero matrix entry. -
A functor preserves a biproduct if and only if it preserves the corresponding product if and only if it preserves the corresponding coproduct.
There are connections between this material and the special case of the category whose morphisms are
matrices over a ring, in particular the Schur complement (see
Mathlib/LinearAlgebra/Matrix/SchurComplement.lean). In particular, the declarations
CategoryTheory.Biprod.isoElim, CategoryTheory.Biprod.gaussian
and Matrix.invertibleOfFromBlocks₁₁Invertible are all closely related.
theorem CategoryTheory.Limits.splitEpiOfIdempotentOfIsColimitCofork.congr_simp E1 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] {X : C} {f : X ⟶ X}
(hf : CategoryTheory.CategoryStruct.comp f f = f)
{c : CategoryTheory.Limits.Cofork (CategoryTheory.CategoryStruct.id X) f} (i i_1 : CategoryTheory.Limits.IsColimit c),
i = i_1 →
CategoryTheory.Limits.splitEpiOfIdempotentOfIsColimitCofork C hf i =
CategoryTheory.Limits.splitEpiOfIdempotentOfIsColimitCofork C hf i_1
theorem CategoryTheory.Functor.splitEpiBiprodComparison.congr_simp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D]
(F : CategoryTheory.Functor C D) (X Y : C) [inst_4 : CategoryTheory.Limits.HasBinaryBiproduct X Y]
[inst_5 : CategoryTheory.Limits.HasBinaryBiproduct (F.obj X) (F.obj Y)] [inst_6 : F.PreservesZeroMorphisms],
F.splitEpiBiprodComparison X Y = F.splitEpiBiprodComparison X Y
theorem CategoryTheory.Limits.isCokernelEpiComp.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
{f : Y ⟶ X} {c : CategoryTheory.Limits.CokernelCofork f} (i i_1 : CategoryTheory.Limits.IsColimit c),
i = i_1 →
∀ {Z : C} (g : Z ⟶ Y) [hg : CategoryTheory.Epi g] {h : Z ⟶ X} (hh : h = CategoryTheory.CategoryStruct.comp g f),
CategoryTheory.Limits.isCokernelEpiComp i g hh = CategoryTheory.Limits.isCokernelEpiComp i_1 g hh
theorem CategoryTheory.Functor.splitEpiBiproductComparison.congr_simp E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
[inst_2 : CategoryTheory.Limits.HasZeroMorphisms C] [inst_3 : CategoryTheory.Limits.HasZeroMorphisms D] {J : Type w₁}
(F : CategoryTheory.Functor C D) (f : J → C) [inst_4 : CategoryTheory.Limits.HasBiproduct f]
[inst_5 : CategoryTheory.Limits.HasBiproduct (F.obj ∘ f)] [inst_6 : F.PreservesZeroMorphisms],
F.splitEpiBiproductComparison f = F.splitEpiBiproductComparison f
def CategoryTheory.Limits.isBilimitOfTotal E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{J : Type u_1} →
[inst_2 : Fintype J] →
{f : J → C} →
(b : CategoryTheory.Limits.Bicone f) →
∑ j, CategoryTheory.CategoryStruct.comp (b.π j) (b.ι j) = CategoryTheory.CategoryStruct.id b.pt →
b.IsBilimit
In a preadditive category, we can construct a biproduct for f : J → C from
any bicone b for f satisfying total : ∑ j : J, b.π j ≫ b.ι j = 𝟙 b.X.
(That is, such a bicone is a limit cone and a colimit cocone.)
theorem CategoryTheory.Limits.IsBilimit.total E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} {b : CategoryTheory.Limits.Bicone f} (i : b.IsBilimit),
∑ j, CategoryTheory.CategoryStruct.comp (b.π j) (b.ι j) = CategoryTheory.CategoryStruct.id b.pt
theorem CategoryTheory.Limits.hasBiproduct_of_total E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} (b : CategoryTheory.Limits.Bicone f),
∑ j, CategoryTheory.CategoryStruct.comp (b.π j) (b.ι j) = CategoryTheory.CategoryStruct.id b.pt →
CategoryTheory.Limits.HasBiproduct f
In a preadditive category, we can construct a biproduct for f : J → C from
any bicone b for f satisfying total : ∑ j : J, b.π j ≫ b.ι j = 𝟙 b.X.
(That is, such a bicone is a limit cone and a colimit cocone.)
def CategoryTheory.Limits.isBilimitOfIsLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{J : Type u_1} →
[Fintype J] →
{f : J → C} → (t : CategoryTheory.Limits.Bicone f) → CategoryTheory.Limits.IsLimit t.toCone → t.IsBilimit
In a preadditive category, any finite bicone which is a limit cone is in fact a bilimit bicone.
def CategoryTheory.Limits.biconeIsBilimitOfLimitConeOfIsLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{J : Type u_1} →
[Fintype J] →
{f : J → C} →
{t : CategoryTheory.Limits.Cone (CategoryTheory.Discrete.functor f)} →
(ht : CategoryTheory.Limits.IsLimit t) → (CategoryTheory.Limits.Bicone.ofLimitCone ht).IsBilimit
We can turn any limit cone over a pair into a bilimit bicone.
def CategoryTheory.Limits.isBilimitOfIsColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{J : Type u_1} →
[Fintype J] →
{f : J → C} → (t : CategoryTheory.Limits.Bicone f) → CategoryTheory.Limits.IsColimit t.toCocone → t.IsBilimit
In a preadditive category, any finite bicone which is a colimit cocone is in fact a bilimit bicone.
def CategoryTheory.Limits.biconeIsBilimitOfColimitCoconeOfIsColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{J : Type u_1} →
[Fintype J] →
{f : J → C} →
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Discrete.functor f)} →
(ht : CategoryTheory.Limits.IsColimit t) → (CategoryTheory.Limits.Bicone.ofColimitCocone ht).IsBilimit
We can turn any limit cone over a pair into a bilimit bicone.
theorem CategoryTheory.Limits.HasBiproduct.of_hasProduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[Finite J] (f : J → C) [CategoryTheory.Limits.HasProduct f], CategoryTheory.Limits.HasBiproduct f
In a preadditive category, if the product over f : J → C exists,
then the biproduct over f exists.
theorem CategoryTheory.Limits.HasBiproduct.of_hasCoproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[Finite J] (f : J → C) [CategoryTheory.Limits.HasCoproduct f], CategoryTheory.Limits.HasBiproduct f
In a preadditive category, if the coproduct over f : J → C exists,
then the biproduct over f exists.
theorem CategoryTheory.Limits.HasFiniteBiproducts.of_hasFiniteProducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[CategoryTheory.Limits.HasFiniteProducts C], CategoryTheory.Limits.HasFiniteBiproducts C
A preadditive category with finite products has finite biproducts.
theorem CategoryTheory.Limits.HasFiniteBiproducts.of_hasFiniteCoproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[CategoryTheory.Limits.HasFiniteCoproducts C], CategoryTheory.Limits.HasFiniteBiproducts C
A preadditive category with finite coproducts has finite biproducts.
theorem CategoryTheory.Limits.biproduct.total E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} [inst_3 : CategoryTheory.Limits.HasBiproduct f],
∑ j,
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.π f j)
(CategoryTheory.Limits.biproduct.ι f j) =
CategoryTheory.CategoryStruct.id (⨁ f)
In any preadditive category, any biproduct satisfies
∑ j : J, biproduct.π f j ≫ biproduct.ι f j = 𝟙 (⨁ f)
theorem CategoryTheory.Limits.biproduct.lift_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} [inst_3 : CategoryTheory.Limits.HasBiproduct f] {T : C} {g : (j : J) → T ⟶ f j},
CategoryTheory.Limits.biproduct.lift g =
∑ j, CategoryTheory.CategoryStruct.comp (g j) (CategoryTheory.Limits.biproduct.ι f j)
theorem CategoryTheory.Limits.biproduct.desc_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} [inst_3 : CategoryTheory.Limits.HasBiproduct f] {T : C} {g : (j : J) → f j ⟶ T},
CategoryTheory.Limits.biproduct.desc g =
∑ j, CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.π f j) (g j)
theorem CategoryTheory.Limits.biproduct.lift_desc_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} [inst_3 : CategoryTheory.Limits.HasBiproduct f] {T U : C} {g : (j : J) → T ⟶ f j}
{h : (j : J) → f j ⟶ U} {Z : C} (h_1 : U ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.lift g)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.desc h) h_1) =
CategoryTheory.CategoryStruct.comp (∑ j, CategoryTheory.CategoryStruct.comp (g j) (h j)) h_1
theorem CategoryTheory.Limits.biproduct.lift_desc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {f : J → C} [inst_3 : CategoryTheory.Limits.HasBiproduct f] {T U : C} {g : (j : J) → T ⟶ f j}
{h : (j : J) → f j ⟶ U},
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.lift g) (CategoryTheory.Limits.biproduct.desc h) =
∑ j, CategoryTheory.CategoryStruct.comp (g j) (h j)
theorem CategoryTheory.Limits.biproduct.map_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] {f g : J → C} {h : (j : J) → f j ⟶ g j},
CategoryTheory.Limits.biproduct.map h =
∑ j,
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.π f j)
(CategoryTheory.CategoryStruct.comp (h j) (CategoryTheory.Limits.biproduct.ι g j))
theorem CategoryTheory.Limits.biproduct.lift_matrix_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {K : Type} [inst_3 : Finite K] [inst_4 : CategoryTheory.Limits.HasFiniteBiproducts C] {f : J → C}
{g : K → C} {P : C} (x : (j : J) → P ⟶ f j) (m : (j : J) → (k : K) → f j ⟶ g k) {Z : C} (h : ⨁ g ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.lift x)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix m) h) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biproduct.lift fun k ↦ ∑ j, CategoryTheory.CategoryStruct.comp (x j) (m j k)) h
theorem CategoryTheory.Limits.biproduct.lift_matrix E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J : Type u_1}
[inst_2 : Fintype J] {K : Type} [inst_3 : Finite K] [inst_4 : CategoryTheory.Limits.HasFiniteBiproducts C] {f : J → C}
{g : K → C} {P : C} (x : (j : J) → P ⟶ f j) (m : (j : J) → (k : K) → f j ⟶ g k),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.lift x)
(CategoryTheory.Limits.biproduct.matrix m) =
CategoryTheory.Limits.biproduct.lift fun k ↦ ∑ j, CategoryTheory.CategoryStruct.comp (x j) (m j k)
theorem CategoryTheory.Limits.biproduct.matrix_desc_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Fintype K] {f : J → C}
{g : K → C} (m : (j : J) → (k : K) → f j ⟶ g k) {P : C} (x : (k : K) → g k ⟶ P) {Z : C} (h : P ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix m)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.desc x) h) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biproduct.desc fun j ↦ ∑ k, CategoryTheory.CategoryStruct.comp (m j k) (x k)) h
theorem CategoryTheory.Limits.biproduct.matrix_desc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Fintype K] {f : J → C}
{g : K → C} (m : (j : J) → (k : K) → f j ⟶ g k) {P : C} (x : (k : K) → g k ⟶ P),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix m)
(CategoryTheory.Limits.biproduct.desc x) =
CategoryTheory.Limits.biproduct.desc fun j ↦ ∑ k, CategoryTheory.CategoryStruct.comp (m j k) (x k)
theorem CategoryTheory.Limits.biproduct.matrix_map_assoc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Finite K] {f : J → C}
{g h : K → C} (m : (j : J) → (k : K) → f j ⟶ g k) (n : (k : K) → g k ⟶ h k) {Z : C} (h_1 : ⨁ h ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix m)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.map n) h_1) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biproduct.matrix fun j k ↦ CategoryTheory.CategoryStruct.comp (m j k) (n k)) h_1
theorem CategoryTheory.Limits.biproduct.matrix_map E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Finite K] {f : J → C}
{g h : K → C} (m : (j : J) → (k : K) → f j ⟶ g k) (n : (k : K) → g k ⟶ h k),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix m)
(CategoryTheory.Limits.biproduct.map n) =
CategoryTheory.Limits.biproduct.matrix fun j k ↦ CategoryTheory.CategoryStruct.comp (m j k) (n k)
theorem CategoryTheory.Limits.biproduct.map_matrix_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Finite K] {f g : J → C}
{h : K → C} (m : (k : J) → f k ⟶ g k) (n : (j : J) → (k : K) → g j ⟶ h k) {Z : C} (h_1 : ⨁ h ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.map m)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.matrix n) h_1) =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biproduct.matrix fun j k ↦ CategoryTheory.CategoryStruct.comp (m j) (n j k)) h_1
theorem CategoryTheory.Limits.biproduct.map_matrix E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {J K : Type}
[inst_2 : Finite J] [inst_3 : CategoryTheory.Limits.HasFiniteBiproducts C] [inst_4 : Finite K] {f g : J → C}
{h : K → C} (m : (k : J) → f k ⟶ g k) (n : (j : J) → (k : K) → g j ⟶ h k),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.map m)
(CategoryTheory.Limits.biproduct.matrix n) =
CategoryTheory.Limits.biproduct.matrix fun j k ↦ CategoryTheory.CategoryStruct.comp (m j) (n j k)
def CategoryTheory.Limits.biproduct.reindex E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{β γ : Type} →
[Finite β] →
(ε : β ≃ γ) →
(f : γ → C) →
[inst_3 : CategoryTheory.Limits.HasBiproduct f] →
[inst_4 : CategoryTheory.Limits.HasBiproduct (f ∘ ⇑ε)] → ⨁ f ∘ ⇑ε ≅ ⨁ f
Reindex a categorical biproduct via an equivalence of the index types.
theorem CategoryTheory.Limits.biproduct.reindex_inv E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {β γ : Type}
[inst_2 : Finite β] (ε : β ≃ γ) (f : γ → C) [inst_3 : CategoryTheory.Limits.HasBiproduct f]
[inst_4 : CategoryTheory.Limits.HasBiproduct (f ∘ ⇑ε)],
(CategoryTheory.Limits.biproduct.reindex ε f).inv =
CategoryTheory.Limits.biproduct.lift fun b ↦ CategoryTheory.Limits.biproduct.π f (ε b)
theorem CategoryTheory.Limits.biproduct.reindex_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {β γ : Type}
[inst_2 : Finite β] (ε : β ≃ γ) (f : γ → C) [inst_3 : CategoryTheory.Limits.HasBiproduct f]
[inst_4 : CategoryTheory.Limits.HasBiproduct (f ∘ ⇑ε)],
(CategoryTheory.Limits.biproduct.reindex ε f).hom =
CategoryTheory.Limits.biproduct.desc fun b ↦ CategoryTheory.Limits.biproduct.ι f (ε b)
def CategoryTheory.Limits.isBinaryBilimitOfTotal E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(b : CategoryTheory.Limits.BinaryBicone X Y) →
CategoryTheory.CategoryStruct.comp b.fst b.inl + CategoryTheory.CategoryStruct.comp b.snd b.inr =
CategoryTheory.CategoryStruct.id b.pt →
b.IsBilimit
In a preadditive category, we can construct a binary biproduct for X Y : C from
any binary bicone b satisfying total : b.fst ≫ b.inl + b.snd ≫ b.inr = 𝟙 b.X.
(That is, such a bicone is a limit cone and a colimit cocone.)
theorem CategoryTheory.Limits.IsBilimit.binary_total E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{b : CategoryTheory.Limits.BinaryBicone X Y} (i : b.IsBilimit),
CategoryTheory.CategoryStruct.comp b.fst b.inl + CategoryTheory.CategoryStruct.comp b.snd b.inr =
CategoryTheory.CategoryStruct.id b.pt
theorem CategoryTheory.Limits.hasBinaryBiproduct_of_total E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
(b : CategoryTheory.Limits.BinaryBicone X Y),
CategoryTheory.CategoryStruct.comp b.fst b.inl + CategoryTheory.CategoryStruct.comp b.snd b.inr =
CategoryTheory.CategoryStruct.id b.pt →
CategoryTheory.Limits.HasBinaryBiproduct X Y
In a preadditive category, we can construct a binary biproduct for X Y : C from
any binary bicone b satisfying total : b.fst ≫ b.inl + b.snd ≫ b.inr = 𝟙 b.X.
(That is, such a bicone is a limit cone and a colimit cocone.)
def CategoryTheory.Limits.BinaryBicone.ofLimitCone E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} →
CategoryTheory.Limits.IsLimit t → CategoryTheory.Limits.BinaryBicone X Y
We can turn any limit cone over a pair into a bicone.
theorem CategoryTheory.Limits.BinaryBicone.ofLimitCone_inl E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsLimit t),
(CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).inl =
CategoryTheory.Limits.BinaryFan.IsLimit.lift ht (CategoryTheory.CategoryStruct.id X) 0
theorem CategoryTheory.Limits.BinaryBicone.ofLimitCone_inr E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsLimit t),
(CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).inr =
CategoryTheory.Limits.BinaryFan.IsLimit.lift ht 0 (CategoryTheory.CategoryStruct.id Y)
theorem CategoryTheory.Limits.BinaryBicone.ofLimitCone_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsLimit t),
(CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).snd = t.π.app { as := CategoryTheory.Limits.WalkingPair.right }
theorem CategoryTheory.Limits.BinaryBicone.ofLimitCone_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsLimit t),
(CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).fst = t.π.app { as := CategoryTheory.Limits.WalkingPair.left }
theorem CategoryTheory.Limits.BinaryBicone.ofLimitCone_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsLimit t),
(CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).pt = t.pt
theorem CategoryTheory.Limits.inl_of_isLimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.BinaryBicone X Y} (ht : CategoryTheory.Limits.IsLimit t.toCone),
t.inl = CategoryTheory.Limits.BinaryFan.IsLimit.lift ht (CategoryTheory.CategoryStruct.id X) 0
theorem CategoryTheory.Limits.inr_of_isLimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.BinaryBicone X Y} (ht : CategoryTheory.Limits.IsLimit t.toCone),
t.inr = CategoryTheory.Limits.BinaryFan.IsLimit.lift ht 0 (CategoryTheory.CategoryStruct.id Y)
def CategoryTheory.Limits.isBinaryBilimitOfIsLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} → (t : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsLimit t.toCone → t.IsBilimit
In a preadditive category, any binary bicone which is a limit cone is in fact a bilimit bicone.
def CategoryTheory.Limits.binaryBiconeIsBilimitOfLimitConeOfIsLimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{t : CategoryTheory.Limits.Cone (CategoryTheory.Limits.pair X Y)} →
(ht : CategoryTheory.Limits.IsLimit t) → (CategoryTheory.Limits.BinaryBicone.ofLimitCone ht).IsBilimit
We can turn any limit cone over a pair into a bilimit bicone.
theorem CategoryTheory.Limits.HasBinaryBiproduct.of_hasBinaryProduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X Y : C)
[CategoryTheory.Limits.HasBinaryProduct X Y], CategoryTheory.Limits.HasBinaryBiproduct X Y
In a preadditive category, if the product of X and Y exists, then the
binary biproduct of X and Y exists.
theorem CategoryTheory.Limits.HasBinaryBiproducts.of_hasBinaryProducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[CategoryTheory.Limits.HasBinaryProducts C], CategoryTheory.Limits.HasBinaryBiproducts C
In a preadditive category, if all binary products exist, then all binary biproducts exist.
def CategoryTheory.Limits.BinaryBicone.ofColimitCocone E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} →
CategoryTheory.Limits.IsColimit t → CategoryTheory.Limits.BinaryBicone X Y
We can turn any colimit cocone over a pair into a bicone.
theorem CategoryTheory.Limits.BinaryBicone.ofColimitCocone_inl E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsColimit t),
(CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).inl = t.ι.app { as := CategoryTheory.Limits.WalkingPair.left }
theorem CategoryTheory.Limits.BinaryBicone.ofColimitCocone_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsColimit t),
(CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).fst =
CategoryTheory.Limits.BinaryCofan.IsColimit.desc ht (CategoryTheory.CategoryStruct.id X) 0
theorem CategoryTheory.Limits.BinaryBicone.ofColimitCocone_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsColimit t),
(CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).pt = t.pt
theorem CategoryTheory.Limits.BinaryBicone.ofColimitCocone_inr E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsColimit t),
(CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).inr =
t.ι.app { as := CategoryTheory.Limits.WalkingPair.right }
theorem CategoryTheory.Limits.BinaryBicone.ofColimitCocone_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} (ht : CategoryTheory.Limits.IsColimit t),
(CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).snd =
CategoryTheory.Limits.BinaryCofan.IsColimit.desc ht 0 (CategoryTheory.CategoryStruct.id Y)
theorem CategoryTheory.Limits.fst_of_isColimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.BinaryBicone X Y} (ht : CategoryTheory.Limits.IsColimit t.toCocone),
t.fst = CategoryTheory.Limits.BinaryCofan.IsColimit.desc ht (CategoryTheory.CategoryStruct.id X) 0
theorem CategoryTheory.Limits.snd_of_isColimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{t : CategoryTheory.Limits.BinaryBicone X Y} (ht : CategoryTheory.Limits.IsColimit t.toCocone),
t.snd = CategoryTheory.Limits.BinaryCofan.IsColimit.desc ht 0 (CategoryTheory.CategoryStruct.id Y)
def CategoryTheory.Limits.isBinaryBilimitOfIsColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(t : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsColimit t.toCocone → t.IsBilimit
In a preadditive category, any binary bicone which is a colimit cocone is in fact a bilimit bicone.
def CategoryTheory.Limits.binaryBiconeIsBilimitOfColimitCoconeOfIsColimit E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{t : CategoryTheory.Limits.Cocone (CategoryTheory.Limits.pair X Y)} →
(ht : CategoryTheory.Limits.IsColimit t) → (CategoryTheory.Limits.BinaryBicone.ofColimitCocone ht).IsBilimit
We can turn any colimit cocone over a pair into a bilimit bicone.
theorem CategoryTheory.Limits.HasBinaryBiproduct.of_hasBinaryCoproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X Y : C)
[CategoryTheory.Limits.HasBinaryCoproduct X Y], CategoryTheory.Limits.HasBinaryBiproduct X Y
In a preadditive category, if the coproduct of X and Y exists, then the
binary biproduct of X and Y exists.
theorem CategoryTheory.Limits.HasBinaryBiproducts.of_hasBinaryCoproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[CategoryTheory.Limits.HasBinaryCoproducts C], CategoryTheory.Limits.HasBinaryBiproducts C
In a preadditive category, if all binary coproducts exist, then all binary biproducts exist.
theorem CategoryTheory.Limits.biprod.total E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y],
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst CategoryTheory.Limits.biprod.inl +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd CategoryTheory.Limits.biprod.inr =
CategoryTheory.CategoryStruct.id (X ⊞ Y)
In any preadditive category, any binary biproduct satisfies
biprod.fst ≫ biprod.inl + biprod.snd ≫ biprod.inr = 𝟙 (X ⊞ Y).
theorem CategoryTheory.Limits.biprod.lift_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {T : C} {f : T ⟶ X} {g : T ⟶ Y},
CategoryTheory.Limits.biprod.lift f g =
CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.inl +
CategoryTheory.CategoryStruct.comp g CategoryTheory.Limits.biprod.inr
theorem CategoryTheory.Limits.biprod.desc_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {T : C} {f : X ⟶ T} {g : Y ⟶ T},
CategoryTheory.Limits.biprod.desc f g =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst f +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd g
theorem CategoryTheory.Limits.biprod.lift_desc_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {T U : C} {f : T ⟶ X} {g : T ⟶ Y} {h : X ⟶ U} {i : Y ⟶ U}
{Z : C} (h_1 : U ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biprod.lift f g)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biprod.desc h i) h_1) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f h + CategoryTheory.CategoryStruct.comp g i)
h_1
theorem CategoryTheory.Limits.biprod.lift_desc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {T U : C} {f : T ⟶ X} {g : T ⟶ Y} {h : X ⟶ U} {i : Y ⟶ U},
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biprod.lift f g) (CategoryTheory.Limits.biprod.desc h i) =
CategoryTheory.CategoryStruct.comp f h + CategoryTheory.CategoryStruct.comp g i
theorem CategoryTheory.Limits.biprod.map_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {W X Y Z : C} {f : W ⟶ Y} {g : X ⟶ Z},
CategoryTheory.Limits.biprod.map f g =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.inl) +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd
(CategoryTheory.CategoryStruct.comp g CategoryTheory.Limits.biprod.inr)
theorem CategoryTheory.Limits.biprod.decomp_hom_to E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {Z : C} (f : Z ⟶ X ⊞ Y),
∃ f₁ f₂,
f =
CategoryTheory.CategoryStruct.comp f₁ CategoryTheory.Limits.biprod.inl +
CategoryTheory.CategoryStruct.comp f₂ CategoryTheory.Limits.biprod.inr
theorem CategoryTheory.Limits.biprod.ext_to_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {Z : C} {f g : Z ⟶ X ⊞ Y},
f = g ↔
CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst =
CategoryTheory.CategoryStruct.comp g CategoryTheory.Limits.biprod.fst ∧
CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.snd =
CategoryTheory.CategoryStruct.comp g CategoryTheory.Limits.biprod.snd
theorem CategoryTheory.Limits.biprod.decomp_hom_from E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {Z : C} (f : X ⊞ Y ⟶ Z),
∃ f₁ f₂,
f =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst f₁ +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd f₂
theorem CategoryTheory.Limits.biprod.ext_from_iff E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X Y] {Z : C} {f g : X ⊞ Y ⟶ Z},
f = g ↔
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl f =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl g ∧
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr f =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr g
def CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
[CategoryTheory.IsSplitMono f] →
{c : CategoryTheory.Limits.CokernelCofork f} →
CategoryTheory.Limits.IsColimit c → CategoryTheory.Limits.BinaryBicone X c.pt
Every split mono f with a cokernel induces a binary bicone with f as its inl and
the cokernel map as its snd.
We will show in isBilimitBinaryBiconeOfIsSplitMonoOfCokernel that this binary bicone is in
fact already a biproduct.
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel_inr E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitMono f] {c : CategoryTheory.Limits.CokernelCofork f}
(i : CategoryTheory.Limits.IsColimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).inr =
let c' := CategoryTheory.Limits.CokernelCofork.ofπ (CategoryTheory.Limits.Cofork.π c) ⋯;
have i' := CategoryTheory.Limits.isCokernelEpiComp i (CategoryTheory.retraction f) ⋯;
have i'' := CategoryTheory.Preadditive.isColimitCoforkOfCokernelCofork i';
(CategoryTheory.Limits.splitEpiOfIdempotentOfIsColimitCofork C ⋯ i'').section_
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitMono f] {c : CategoryTheory.Limits.CokernelCofork f}
(i : CategoryTheory.Limits.IsColimit c), (CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).pt = Y
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitMono f] {c : CategoryTheory.Limits.CokernelCofork f}
(i : CategoryTheory.Limits.IsColimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).snd = CategoryTheory.Limits.Cofork.π c
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel_inl E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitMono f] {c : CategoryTheory.Limits.CokernelCofork f}
(i : CategoryTheory.Limits.IsColimit c), (CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).inl = f
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitMono f] {c : CategoryTheory.Limits.CokernelCofork f}
(i : CategoryTheory.Limits.IsColimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).fst = CategoryTheory.retraction f
def CategoryTheory.Limits.isBilimitBinaryBiconeOfIsSplitMonoOfCokernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
[inst_2 : CategoryTheory.IsSplitMono f] →
{c : CategoryTheory.Limits.CokernelCofork f} →
(i : CategoryTheory.Limits.IsColimit c) →
(CategoryTheory.Limits.binaryBiconeOfIsSplitMonoOfCokernel i).IsBilimit
The bicone constructed in binaryBiconeOfSplitMonoOfCokernel is a bilimit.
This is a version of the splitting lemma that holds in all preadditive categories.
def CategoryTheory.Limits.BinaryBicone.isBilimitOfKernelInl E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(b : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsLimit b.sndKernelFork → b.IsBilimit
If b is a binary bicone such that b.inl is a kernel of b.snd, then b is a bilimit
bicone.
def CategoryTheory.Limits.BinaryBicone.isBilimitOfKernelInr E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(b : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsLimit b.fstKernelFork → b.IsBilimit
If b is a binary bicone such that b.inr is a kernel of b.fst, then b is a bilimit
bicone.
def CategoryTheory.Limits.BinaryBicone.isBilimitOfCokernelFst E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(b : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsColimit b.inrCokernelCofork → b.IsBilimit
If b is a binary bicone such that b.fst is a cokernel of b.inr, then b is a bilimit
bicone.
def CategoryTheory.Limits.BinaryBicone.isBilimitOfCokernelSnd E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
(b : CategoryTheory.Limits.BinaryBicone X Y) → CategoryTheory.Limits.IsColimit b.inlCokernelCofork → b.IsBilimit
If b is a binary bicone such that b.snd is a cokernel of b.inl, then b is a bilimit
bicone.
def CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
[CategoryTheory.IsSplitEpi f] →
{c : CategoryTheory.Limits.KernelFork f} →
CategoryTheory.Limits.IsLimit c → CategoryTheory.Limits.BinaryBicone c.pt Y
Every split epi f with a kernel induces a binary bicone with f as its snd and
the kernel map as its inl.
We will show in isBilimitBinaryBiconeOfIsSplitEpiOfKernel that this binary bicone is in fact
already a biproduct.
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel_inl E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitEpi f] {c : CategoryTheory.Limits.KernelFork f} (i : CategoryTheory.Limits.IsLimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).inl = CategoryTheory.Limits.Fork.ι c
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel_pt E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitEpi f] {c : CategoryTheory.Limits.KernelFork f} (i : CategoryTheory.Limits.IsLimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).pt = X
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitEpi f] {c : CategoryTheory.Limits.KernelFork f} (i : CategoryTheory.Limits.IsLimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).snd = f
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitEpi f] {c : CategoryTheory.Limits.KernelFork f} (i : CategoryTheory.Limits.IsLimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).fst =
let c' := CategoryTheory.Limits.KernelFork.ofι (CategoryTheory.Limits.Fork.ι c) ⋯;
have i' := CategoryTheory.Limits.isKernelCompMono i (CategoryTheory.section_ f) ⋯;
have i'' := CategoryTheory.Preadditive.isLimitForkOfKernelFork i';
(CategoryTheory.Limits.splitMonoOfIdempotentOfIsLimitFork C ⋯ i'').retraction
theorem CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel_inr E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} {f : X ⟶ Y}
[inst_2 : CategoryTheory.IsSplitEpi f] {c : CategoryTheory.Limits.KernelFork f} (i : CategoryTheory.Limits.IsLimit c),
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).inr = CategoryTheory.section_ f
def CategoryTheory.Limits.isBilimitBinaryBiconeOfIsSplitEpiOfKernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
[inst_2 : CategoryTheory.IsSplitEpi f] →
{c : CategoryTheory.Limits.KernelFork f} →
(i : CategoryTheory.Limits.IsLimit c) →
(CategoryTheory.Limits.binaryBiconeOfIsSplitEpiOfKernel i).IsBilimit
The bicone constructed in binaryBiconeOfIsSplitEpiOfKernel is a bilimit.
This is a version of the splitting lemma that holds in all preadditive categories.
theorem CategoryTheory.Limits.biprod.add_eq_lift_id_desc E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} (f g : X ⟶ Y)
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X X],
f + g =
CategoryTheory.CategoryStruct.comp
(CategoryTheory.Limits.biprod.lift (CategoryTheory.CategoryStruct.id X) (CategoryTheory.CategoryStruct.id X))
(CategoryTheory.Limits.biprod.desc f g)
The existence of binary biproducts implies that there is at most one preadditive structure.
theorem CategoryTheory.Limits.biprod.add_eq_lift_desc_id E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C} (f g : X ⟶ Y)
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct Y Y],
f + g =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biprod.lift f g)
(CategoryTheory.Limits.biprod.desc (CategoryTheory.CategoryStruct.id Y) (CategoryTheory.CategoryStruct.id Y))
The existence of binary biproducts implies that there is at most one preadditive structure.
theorem CategoryTheory.Preadditive.ext_iff E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {x y : CategoryTheory.Preadditive C},
x = y ↔ CategoryTheory.Preadditive.homGroup = CategoryTheory.Preadditive.homGroup
theorem CategoryTheory.Preadditive.ext E1 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {x y : CategoryTheory.Preadditive C},
CategoryTheory.Preadditive.homGroup = CategoryTheory.Preadditive.homGroup → x = y
instance CategoryTheory.subsingleton_preadditive_of_hasBinaryBiproducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[CategoryTheory.Limits.HasBinaryBiproducts C], Subsingleton (CategoryTheory.Preadditive C)
The existence of binary biproducts implies that there is at most one preadditive structure.
def CategoryTheory.Biprod.ofComponents E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] →
{X₁ X₂ Y₁ Y₂ : C} → (X₁ ⟶ Y₁) → (X₁ ⟶ Y₂) → (X₂ ⟶ Y₁) → (X₂ ⟶ Y₂) → (X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂)
The "matrix" morphism X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂ with specified components.
theorem CategoryTheory.Biprod.inl_ofComponents E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ : C} (f₁₁ : X₁ ⟶ Y₁) (f₁₂ : X₁ ⟶ Y₂)
(f₂₁ : X₂ ⟶ Y₁) (f₂₂ : X₂ ⟶ Y₂),
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂) =
CategoryTheory.CategoryStruct.comp f₁₁ CategoryTheory.Limits.biprod.inl +
CategoryTheory.CategoryStruct.comp f₁₂ CategoryTheory.Limits.biprod.inr
theorem CategoryTheory.Biprod.inr_ofComponents E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ : C} (f₁₁ : X₁ ⟶ Y₁) (f₁₂ : X₁ ⟶ Y₂)
(f₂₁ : X₂ ⟶ Y₁) (f₂₂ : X₂ ⟶ Y₂),
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
(CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂) =
CategoryTheory.CategoryStruct.comp f₂₁ CategoryTheory.Limits.biprod.inl +
CategoryTheory.CategoryStruct.comp f₂₂ CategoryTheory.Limits.biprod.inr
theorem CategoryTheory.Biprod.ofComponents_fst E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ : C} (f₁₁ : X₁ ⟶ Y₁) (f₁₂ : X₁ ⟶ Y₂)
(f₂₁ : X₂ ⟶ Y₁) (f₂₂ : X₂ ⟶ Y₂),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂)
CategoryTheory.Limits.biprod.fst =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst f₁₁ +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd f₂₁
theorem CategoryTheory.Biprod.ofComponents_snd E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ : C} (f₁₁ : X₁ ⟶ Y₁) (f₁₂ : X₁ ⟶ Y₂)
(f₂₁ : X₂ ⟶ Y₁) (f₂₂ : X₂ ⟶ Y₂),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂)
CategoryTheory.Limits.biprod.snd =
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst f₁₂ +
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd f₂₂
theorem CategoryTheory.Biprod.ofComponents_eq E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ : C} (f : X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂),
CategoryTheory.Biprod.ofComponents
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst))
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.snd))
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst))
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.snd)) =
f
theorem CategoryTheory.Biprod.ofComponents_comp E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ Y₁ Y₂ Z₁ Z₂ : C} (f₁₁ : X₁ ⟶ Y₁) (f₁₂ : X₁ ⟶ Y₂)
(f₂₁ : X₂ ⟶ Y₁) (f₂₂ : X₂ ⟶ Y₂) (g₁₁ : Y₁ ⟶ Z₁) (g₁₂ : Y₁ ⟶ Z₂) (g₂₁ : Y₂ ⟶ Z₁) (g₂₂ : Y₂ ⟶ Z₂),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂)
(CategoryTheory.Biprod.ofComponents g₁₁ g₁₂ g₂₁ g₂₂) =
CategoryTheory.Biprod.ofComponents
(CategoryTheory.CategoryStruct.comp f₁₁ g₁₁ + CategoryTheory.CategoryStruct.comp f₁₂ g₂₁)
(CategoryTheory.CategoryStruct.comp f₁₁ g₁₂ + CategoryTheory.CategoryStruct.comp f₁₂ g₂₂)
(CategoryTheory.CategoryStruct.comp f₂₁ g₁₁ + CategoryTheory.CategoryStruct.comp f₂₂ g₂₁)
(CategoryTheory.CategoryStruct.comp f₂₁ g₁₂ + CategoryTheory.CategoryStruct.comp f₂₂ g₂₂)
def CategoryTheory.Biprod.unipotentUpper E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] → {X₁ X₂ : C} → (X₁ ⟶ X₂) → (X₁ ⊞ X₂ ≅ X₁ ⊞ X₂)
The unipotent upper triangular matrix
(1 r)
(0 1)
as an isomorphism.
theorem CategoryTheory.Biprod.unipotentUpper_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ : C} (r : X₁ ⟶ X₂),
(CategoryTheory.Biprod.unipotentUpper r).hom =
CategoryTheory.Biprod.ofComponents (CategoryTheory.CategoryStruct.id X₁) r 0 (CategoryTheory.CategoryStruct.id X₂)
theorem CategoryTheory.Biprod.unipotentUpper_inv E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ : C} (r : X₁ ⟶ X₂),
(CategoryTheory.Biprod.unipotentUpper r).inv =
CategoryTheory.Biprod.ofComponents (CategoryTheory.CategoryStruct.id X₁) (-r) 0
(CategoryTheory.CategoryStruct.id X₂)
def CategoryTheory.Biprod.unipotentLower E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] → {X₁ X₂ : C} → (X₂ ⟶ X₁) → (X₁ ⊞ X₂ ≅ X₁ ⊞ X₂)
The unipotent lower triangular matrix
(1 0)
(r 1)
as an isomorphism.
theorem CategoryTheory.Biprod.unipotentLower_inv E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ : C} (r : X₂ ⟶ X₁),
(CategoryTheory.Biprod.unipotentLower r).inv =
CategoryTheory.Biprod.ofComponents (CategoryTheory.CategoryStruct.id X₁) 0 (-r)
(CategoryTheory.CategoryStruct.id X₂)
theorem CategoryTheory.Biprod.unipotentLower_hom E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {X₁ X₂ : C} (r : X₂ ⟶ X₁),
(CategoryTheory.Biprod.unipotentLower r).hom =
CategoryTheory.Biprod.ofComponents (CategoryTheory.CategoryStruct.id X₁) 0 r (CategoryTheory.CategoryStruct.id X₂)
def CategoryTheory.Biprod.gaussian' E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] →
{X₁ X₂ Y₁ Y₂ : C} →
(f₁₁ : X₁ ⟶ Y₁) →
(f₁₂ : X₁ ⟶ Y₂) →
(f₂₁ : X₂ ⟶ Y₁) →
(f₂₂ : X₂ ⟶ Y₂) →
[CategoryTheory.IsIso f₁₁] →
(L : X₁ ⊞ X₂ ≅ X₁ ⊞ X₂) ×'
(R : Y₁ ⊞ Y₂ ≅ Y₁ ⊞ Y₂) ×'
(g₂₂ : X₂ ⟶ Y₂) ×'
CategoryTheory.CategoryStruct.comp L.hom
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂)
R.hom) =
CategoryTheory.Limits.biprod.map f₁₁ g₂₂
If f is a morphism X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂ whose X₁ ⟶ Y₁ entry is an isomorphism,
then we can construct isomorphisms L : X₁ ⊞ X₂ ≅ X₁ ⊞ X₂ and R : Y₁ ⊞ Y₂ ≅ Y₁ ⊞ Y₂
so that L.hom ≫ g ≫ R.hom is diagonal (with X₁ ⟶ Y₁ component still f),
via Gaussian elimination.
(This is the version of Biprod.gaussian written in terms of components.)
def CategoryTheory.Biprod.gaussian E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] →
{X₁ X₂ Y₁ Y₂ : C} →
(f : X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂) →
[CategoryTheory.IsIso
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst))] →
(L : X₁ ⊞ X₂ ≅ X₁ ⊞ X₂) ×'
(R : Y₁ ⊞ Y₂ ≅ Y₁ ⊞ Y₂) ×'
(g₂₂ : X₂ ⟶ Y₂) ×'
CategoryTheory.CategoryStruct.comp L.hom (CategoryTheory.CategoryStruct.comp f R.hom) =
CategoryTheory.Limits.biprod.map
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst))
g₂₂
If f is a morphism X₁ ⊞ X₂ ⟶ Y₁ ⊞ Y₂ whose X₁ ⟶ Y₁ entry is an isomorphism,
then we can construct isomorphisms L : X₁ ⊞ X₂ ≅ X₁ ⊞ X₂ and R : Y₁ ⊞ Y₂ ≅ Y₁ ⊞ Y₂
so that L.hom ≫ g ≫ R.hom is diagonal (with X₁ ⟶ Y₁ component still f),
via Gaussian elimination.
def CategoryTheory.Biprod.isoElim' E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] →
{X₁ X₂ Y₁ Y₂ : C} →
(f₁₁ : X₁ ⟶ Y₁) →
(f₁₂ : X₁ ⟶ Y₂) →
(f₂₁ : X₂ ⟶ Y₁) →
(f₂₂ : X₂ ⟶ Y₂) →
[CategoryTheory.IsIso f₁₁] →
[CategoryTheory.IsIso (CategoryTheory.Biprod.ofComponents f₁₁ f₁₂ f₂₁ f₂₂)] → X₂ ≅ Y₂
If X₁ ⊞ X₂ ≅ Y₁ ⊞ Y₂ via a two-by-two matrix whose X₁ ⟶ Y₁ entry is an isomorphism,
then we can construct an isomorphism X₂ ≅ Y₂, via Gaussian elimination.
def CategoryTheory.Biprod.isoElim E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] →
{X₁ X₂ Y₁ Y₂ : C} →
(f : X₁ ⊞ X₂ ≅ Y₁ ⊞ Y₂) →
[CategoryTheory.IsIso
(CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f.hom CategoryTheory.Limits.biprod.fst))] →
X₂ ≅ Y₂
If f is an isomorphism X₁ ⊞ X₂ ≅ Y₁ ⊞ Y₂ whose X₁ ⟶ Y₁ entry is an isomorphism,
then we can construct an isomorphism X₂ ≅ Y₂, via Gaussian elimination.
theorem CategoryTheory.Biprod.column_nonzero_of_iso E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasBinaryBiproducts C] {W X Y Z : C} (f : W ⊞ X ⟶ Y ⊞ Z) [CategoryTheory.IsIso f],
CategoryTheory.CategoryStruct.id W = 0 ∨
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.fst) ≠
0 ∨
CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
(CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.snd) ≠
0
theorem CategoryTheory.Biproduct.column_nonzero_of_iso' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {σ τ : Type} [Finite τ]
{S : σ → C} [inst_3 : CategoryTheory.Limits.HasBiproduct S] {T : τ → C}
[inst_4 : CategoryTheory.Limits.HasBiproduct T] (s : σ) (f : ⨁ S ⟶ ⨁ T) [CategoryTheory.IsIso f],
(∀ (t : τ),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.ι S s)
(CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.biproduct.π T t)) =
0) →
CategoryTheory.CategoryStruct.id (S s) = 0
def CategoryTheory.Biproduct.columnNonzeroOfIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{σ τ : Type} →
[Fintype τ] →
{S : σ → C} →
[inst_3 : CategoryTheory.Limits.HasBiproduct S] →
{T : τ → C} →
[inst_4 : CategoryTheory.Limits.HasBiproduct T] →
(s : σ) →
CategoryTheory.CategoryStruct.id (S s) ≠ 0 →
(f : ⨁ S ⟶ ⨁ T) →
[CategoryTheory.IsIso f] →
Trunc
((t : τ) ×'
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.biproduct.ι S s)
(CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.biproduct.π T t)) ≠
0)
If f : ⨁ S ⟶ ⨁ T is an isomorphism, and s is a non-trivial summand of the source,
then there is some t in the target so that the s, t matrix entry of f is nonzero.
theorem CategoryTheory.Limits.preservesProduct_of_preservesBiproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[CategoryTheory.Limits.PreservesBiproduct f F],
CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) F
A functor between preadditive categories that preserves (zero morphisms and) finite biproducts preserves finite products.
theorem CategoryTheory.Limits.preservesProductsOfShape_of_preservesBiproductsOfShape E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] [CategoryTheory.Limits.PreservesBiproductsOfShape J F],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) F
A functor between preadditive categories that preserves (zero morphisms and) finite biproducts preserves finite products.
theorem CategoryTheory.Limits.preservesBiproduct_of_preservesProduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Discrete.functor f) F],
CategoryTheory.Limits.PreservesBiproduct f F
A functor between preadditive categories that preserves (zero morphisms and) finite products preserves finite biproducts.
theorem CategoryTheory.Limits.preservesBiproduct_of_mono_biproductComparison E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[inst_6 : CategoryTheory.Limits.HasBiproduct f] [inst_7 : CategoryTheory.Limits.HasBiproduct (F.obj ∘ f)]
[CategoryTheory.Mono (F.biproductComparison f)], CategoryTheory.Limits.PreservesBiproduct f F
If the (product-like) biproduct comparison for F and f is a monomorphism, then F
preserves the biproduct of f. For the converse, see mapBiproduct.
theorem CategoryTheory.Limits.preservesBiproduct_of_epi_biproductComparison' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[inst_6 : CategoryTheory.Limits.HasBiproduct f] [inst_7 : CategoryTheory.Limits.HasBiproduct (F.obj ∘ f)]
[CategoryTheory.Epi (F.biproductComparison' f)], CategoryTheory.Limits.PreservesBiproduct f F
If the (coproduct-like) biproduct comparison for F and f is an epimorphism, then F
preserves the biproduct of F and f. For the converse, see mapBiproduct.
theorem CategoryTheory.Limits.preservesBiproductsOfShape_of_preservesProductsOfShape E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) F],
CategoryTheory.Limits.PreservesBiproductsOfShape J F
A functor between preadditive categories that preserves (zero morphisms and) finite products preserves finite biproducts.
theorem CategoryTheory.Limits.preservesCoproduct_of_preservesBiproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[CategoryTheory.Limits.PreservesBiproduct f F],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) F
A functor between preadditive categories that preserves (zero morphisms and) finite biproducts preserves finite coproducts.
theorem CategoryTheory.Limits.preservesCoproductsOfShape_of_preservesBiproductsOfShape E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] [CategoryTheory.Limits.PreservesBiproductsOfShape J F],
CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) F
A functor between preadditive categories that preserves (zero morphisms and) finite biproducts preserves finite coproducts.
theorem CategoryTheory.Limits.preservesBiproduct_of_preservesCoproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J] {f : J → C}
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Discrete.functor f) F],
CategoryTheory.Limits.PreservesBiproduct f F
A functor between preadditive categories that preserves (zero morphisms and) finite coproducts preserves finite biproducts.
theorem CategoryTheory.Limits.preservesBiproductsOfShape_of_preservesCoproductsOfShape E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {J : Type u_1} [Finite J]
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete J) F],
CategoryTheory.Limits.PreservesBiproductsOfShape J F
A functor between preadditive categories that preserves (zero morphisms and) finite coproducts preserves finite biproducts.
theorem CategoryTheory.Limits.preservesBinaryProduct_of_preservesBinaryBiproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C} [CategoryTheory.Limits.PreservesBinaryBiproduct X Y F],
CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X Y) F
A functor between preadditive categories that preserves (zero morphisms and) binary biproducts preserves binary products.
theorem CategoryTheory.Limits.preservesBinaryProducts_of_preservesBinaryBiproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] [CategoryTheory.Limits.PreservesBinaryBiproducts F],
CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F
A functor between preadditive categories that preserves (zero morphisms and) binary biproducts preserves binary products.
theorem CategoryTheory.Limits.preservesBinaryBiproduct_of_preservesBinaryProduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C}
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.pair X Y) F],
CategoryTheory.Limits.PreservesBinaryBiproduct X Y F
A functor between preadditive categories that preserves (zero morphisms and) binary products preserves binary biproducts.
theorem CategoryTheory.Limits.preservesBinaryBiproduct_of_mono_biprodComparison E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C} [inst_5 : CategoryTheory.Limits.HasBinaryBiproduct X Y]
[inst_6 : CategoryTheory.Limits.HasBinaryBiproduct (F.obj X) (F.obj Y)]
[CategoryTheory.Mono (F.biprodComparison X Y)], CategoryTheory.Limits.PreservesBinaryBiproduct X Y F
If the (product-like) biproduct comparison for F, X and Y is a monomorphism, then
F preserves the biproduct of X and Y. For the converse, see map_biprod.
theorem CategoryTheory.Limits.preservesBinaryBiproduct_of_epi_biprodComparison' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C} [inst_5 : CategoryTheory.Limits.HasBinaryBiproduct X Y]
[inst_6 : CategoryTheory.Limits.HasBinaryBiproduct (F.obj X) (F.obj Y)]
[CategoryTheory.Epi (F.biprodComparison' X Y)], CategoryTheory.Limits.PreservesBinaryBiproduct X Y F
If the (coproduct-like) biproduct comparison for F, X and Y is an epimorphism, then
F preserves the biproduct of X and Y. For the converse, see mapBiprod.
theorem CategoryTheory.Limits.preservesBinaryBiproducts_of_preservesBinaryProducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms]
[CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F],
CategoryTheory.Limits.PreservesBinaryBiproducts F
A functor between preadditive categories that preserves (zero morphisms and) binary products preserves binary biproducts.
theorem CategoryTheory.Limits.preservesBinaryCoproduct_of_preservesBinaryBiproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C} [CategoryTheory.Limits.PreservesBinaryBiproduct X Y F],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.pair X Y) F
A functor between preadditive categories that preserves (zero morphisms and) binary biproducts preserves binary coproducts.
theorem CategoryTheory.Limits.preservesBinaryCoproducts_of_preservesBinaryBiproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] [CategoryTheory.Limits.PreservesBinaryBiproducts F],
CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F
A functor between preadditive categories that preserves (zero morphisms and) binary biproducts preserves binary coproducts.
theorem CategoryTheory.Limits.preservesBinaryBiproduct_of_preservesBinaryCoproduct E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms] {X Y : C}
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.pair X Y) F],
CategoryTheory.Limits.PreservesBinaryBiproduct X Y F
A functor between preadditive categories that preserves (zero morphisms and) binary coproducts preserves binary biproducts.
theorem CategoryTheory.Limits.preservesBinaryBiproducts_of_preservesBinaryCoproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u'}
[inst_2 : CategoryTheory.Category.{v', u'} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
[inst_4 : F.PreservesZeroMorphisms]
[CategoryTheory.Limits.PreservesColimitsOfShape (CategoryTheory.Discrete CategoryTheory.Limits.WalkingPair) F],
CategoryTheory.Limits.PreservesBinaryBiproducts F
A functor between preadditive categories that preserves (zero morphisms and) binary coproducts preserves binary biproducts.