The areas / V26. Homological algebra
Mathlib.Algebra.Homology.CommSq
24 declarations. Mathlib docs · Source
theorem CategoryTheory.Limits.KernelFork.ofι.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
{f : X ⟶ Y} {Z : C} (ι ι_1 : Z ⟶ X) (e_ι : ι = ι_1) (w : CategoryTheory.CategoryStruct.comp ι f = 0),
CategoryTheory.Limits.KernelFork.ofι ι w = CategoryTheory.Limits.KernelFork.ofι ι_1 ⋯
theorem CategoryTheory.CommSq.kernelFork.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst fst_1 : X₁ ⟶ X₂} (e_fst : fst = fst_1)
{snd snd_1 : X₁ ⟶ X₃} (e_snd : snd = snd_1) {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄} (sq : CategoryTheory.CommSq fst snd f g),
sq.kernelFork = ⋯.kernelFork
theorem CategoryTheory.Limits.CokernelCofork.ofπ.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] {X Y : C}
{f : Y ⟶ X} {Z : C} (π π_1 : X ⟶ Z) (e_π : π = π_1) (w : CategoryTheory.CategoryStruct.comp f π = 0),
CategoryTheory.Limits.CokernelCofork.ofπ π w = CategoryTheory.Limits.CokernelCofork.ofπ π_1 ⋯
theorem CategoryTheory.CommSq.cokernelCofork.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl inl_1 : X₂ ⟶ X₄}
(e_inl : inl = inl_1) {inr inr_1 : X₃ ⟶ X₄} (e_inr : inr = inr_1) (sq : CategoryTheory.CommSq f g inl inr),
sq.cokernelCofork = ⋯.cokernelCofork
abbrev CategoryTheory.CommSq.cokernelCofork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{f : X₁ ⟶ X₂} →
{g : X₁ ⟶ X₃} →
{inl : X₂ ⟶ X₄} →
{inr : X₃ ⟶ X₄} →
CategoryTheory.CommSq f g inl inr →
CategoryTheory.Limits.CokernelCofork (CategoryTheory.Limits.biprod.lift f (-g))
The cokernel cofork attached to a commutative square in a preadditive category.
def CategoryTheory.CommSq.shortComplex E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{f : X₁ ⟶ X₂} →
{g : X₁ ⟶ X₃} →
{inl : X₂ ⟶ X₄} → {inr : X₃ ⟶ X₄} → CategoryTheory.CommSq f g inl inr → CategoryTheory.ShortComplex C
The short complex attached to the cokernel cofork of a commutative square.
theorem CategoryTheory.CommSq.shortComplex_g E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq f g inl inr), sq.shortComplex.g = CategoryTheory.Limits.biprod.desc inl inr
theorem CategoryTheory.CommSq.shortComplex_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq f g inl inr), sq.shortComplex.f = CategoryTheory.Limits.biprod.lift f (-g)
theorem CategoryTheory.CommSq.shortComplex_X₃ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq f g inl inr), sq.shortComplex.X₃ = X₄
theorem CategoryTheory.CommSq.shortComplex_X₁ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq f g inl inr), sq.shortComplex.X₁ = X₁
theorem CategoryTheory.CommSq.shortComplex_X₂ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq f g inl inr), sq.shortComplex.X₂ = (X₂ ⊞ X₃)
def CategoryTheory.CommSq.isColimitEquivIsColimitCokernelCofork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{f : X₁ ⟶ X₂} →
{g : X₁ ⟶ X₃} →
{inl : X₂ ⟶ X₄} →
{inr : X₃ ⟶ X₄} →
(sq : CategoryTheory.CommSq f g inl inr) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.PushoutCocone.mk inl inr ⋯) ≃
CategoryTheory.Limits.IsColimit sq.cokernelCofork
A commutative square in a preadditive category is a pushout square iff
the corresponding diagram X₁ ⟶ X₂ ⊞ X₃ ⟶ X₄ ⟶ 0 makes X₄ a cokernel.
def CategoryTheory.IsPushout.isColimitCokernelCofork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{f : X₁ ⟶ X₂} →
{g : X₁ ⟶ X₃} →
{inl : X₂ ⟶ X₄} →
{inr : X₃ ⟶ X₄} →
(h : CategoryTheory.IsPushout f g inl inr) → CategoryTheory.Limits.IsColimit ⋯.cokernelCofork
The colimit cokernel cofork attached to a pushout square.
theorem CategoryTheory.IsPushout.epi_shortComplex_g E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {f : X₁ ⟶ X₂} {g : X₁ ⟶ X₃} {inl : X₂ ⟶ X₄} {inr : X₃ ⟶ X₄}
(h : CategoryTheory.IsPushout f g inl inr), CategoryTheory.Epi ⋯.shortComplex.g
abbrev CategoryTheory.CommSq.kernelFork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{fst : X₁ ⟶ X₂} →
{snd : X₁ ⟶ X₃} →
{f : X₂ ⟶ X₄} →
{g : X₃ ⟶ X₄} →
CategoryTheory.CommSq fst snd f g →
CategoryTheory.Limits.KernelFork (CategoryTheory.Limits.biprod.desc f (-g))
The kernel fork attached to a commutative square in a preadditive category.
def CategoryTheory.CommSq.shortComplex' E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{fst : X₁ ⟶ X₂} →
{snd : X₁ ⟶ X₃} →
{f : X₂ ⟶ X₄} → {g : X₃ ⟶ X₄} → CategoryTheory.CommSq fst snd f g → CategoryTheory.ShortComplex C
The short complex attached to the kernel fork of a commutative square.
(This is similar to CommSq.shortComplex, but with different signs.)
theorem CategoryTheory.CommSq.shortComplex'_X₁ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq fst snd f g), sq.shortComplex'.X₁ = X₁
theorem CategoryTheory.CommSq.shortComplex'_X₂ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq fst snd f g), sq.shortComplex'.X₂ = (X₂ ⊞ X₃)
theorem CategoryTheory.CommSq.shortComplex'_g E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq fst snd f g), sq.shortComplex'.g = CategoryTheory.Limits.biprod.desc f (-g)
theorem CategoryTheory.CommSq.shortComplex'_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq fst snd f g), sq.shortComplex'.f = CategoryTheory.Limits.biprod.lift fst snd
theorem CategoryTheory.CommSq.shortComplex'_X₃ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(sq : CategoryTheory.CommSq fst snd f g), sq.shortComplex'.X₃ = X₄
def CategoryTheory.CommSq.isLimitEquivIsLimitKernelFork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{fst : X₁ ⟶ X₂} →
{snd : X₁ ⟶ X₃} →
{f : X₂ ⟶ X₄} →
{g : X₃ ⟶ X₄} →
(sq : CategoryTheory.CommSq fst snd f g) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.PullbackCone.mk fst snd ⋯) ≃
CategoryTheory.Limits.IsLimit sq.kernelFork
A commutative square in a preadditive category is a pullback square iff
the corresponding diagram 0 ⟶ X₁ ⟶ X₂ ⊞ X₃ ⟶ X₄ ⟶ 0 makes X₁ a kernel.
def CategoryTheory.IsPullback.isLimitKernelFork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X₁ X₂ X₃ X₄ : C} →
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] →
{fst : X₁ ⟶ X₂} →
{snd : X₁ ⟶ X₃} →
{f : X₂ ⟶ X₄} →
{g : X₃ ⟶ X₄} → (h : CategoryTheory.IsPullback fst snd f g) → CategoryTheory.Limits.IsLimit ⋯.kernelFork
The limit kernel fork attached to a pullback square.
theorem CategoryTheory.IsPullback.mono_shortComplex'_f E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X₁ X₂ X₃ X₄ : C}
[inst_2 : CategoryTheory.Limits.HasBinaryBiproduct X₂ X₃] {fst : X₁ ⟶ X₂} {snd : X₁ ⟶ X₃} {f : X₂ ⟶ X₄} {g : X₃ ⟶ X₄}
(h : CategoryTheory.IsPullback fst snd f g), CategoryTheory.Mono ⋯.shortComplex'.f