The areas / V26. Homological algebra
Mathlib.Algebra.Homology.AlternatingConst
26 declarations. Mathlib docs · Source
theorem ComplexShape.up_nat_odd_add E1 #
∀ {i j : ℕ}, (ComplexShape.up ℕ).Rel i j → Odd (i + j)
theorem ComplexShape.down_nat_odd_add E2 #
∀ {i j : ℕ}, (ComplexShape.down ℕ).Rel i j → Odd (i + j)
def HomologicalComplex.alternatingConst E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(A : C) →
{φ ψ : A ⟶ A} →
CategoryTheory.CategoryStruct.comp φ ψ = 0 →
CategoryTheory.CategoryStruct.comp ψ φ = 0 →
{c : ComplexShape ℕ} →
[DecidableRel c.Rel] → (∀ (i j : ℕ), c.Rel i j → Odd (i + j)) → HomologicalComplex C c
Let c : ComplexShape ℕ be such that i j : ℕ have opposite parity if they are related by
c. Let φ, ψ : A ⟶ A be such that φ ∘ ψ = ψ ∘ φ = 0. This is a complex of shape c whose
objects are all A. For all i, j related by c, dᵢⱼ = φ when i is even, and dᵢⱼ = ψ when
i is odd.
theorem HomologicalComplex.alternatingConst_d E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) (i j : ℕ),
(HomologicalComplex.alternatingConst A hOdd hEven hc).d i j = if c.Rel i j then if Even i then φ else ψ else 0
theorem HomologicalComplex.alternatingConst_X E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) (n : ℕ), (HomologicalComplex.alternatingConst A hOdd hEven hc).X n = A
def HomologicalComplex.alternatingConstScIsoEven E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(A : C) →
{φ ψ : A ⟶ A} →
(hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0) →
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) →
{c : ComplexShape ℕ} →
[inst_2 : DecidableRel c.Rel] →
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) →
{i j k : ℕ} →
c.Rel i j →
c.Rel j k →
Even j →
((HomologicalComplex.alternatingConst A hOdd hEven hc).sc' i j k ≅
{ X₁ := A, X₂ := A, X₃ := A, f := ψ, g := φ, zero := hEven })
The i, j, kth short complex associated to the alternating constant complex on φ, ψ : A ⟶ A
is A --ψ--> A --φ--> A when i ~ j, j ~ k and j is even.
def HomologicalComplex.alternatingConstScIsoOdd E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(A : C) →
{φ ψ : A ⟶ A} →
(hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0) →
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) →
{c : ComplexShape ℕ} →
[inst_2 : DecidableRel c.Rel] →
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) →
{i j k : ℕ} →
c.Rel i j →
c.Rel j k →
Odd j →
((HomologicalComplex.alternatingConst A hOdd hEven hc).sc' i j k ≅
{ X₁ := A, X₂ := A, X₃ := A, f := φ, g := ψ, zero := hOdd })
The i, j, kth short complex associated to the alternating constant complex on φ, ψ : A ⟶ A
is A --φ--> A --ψ--> A when i ~ j, j ~ k and j is even.
theorem HomologicalComplex.alternatingConst_iCycles_even_comp_apply E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Even j →
∀ {F : C → C → Type uF} {carrier : C → Type w} {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)}
[inst_4 : CategoryTheory.ConcreteCategory C F]
(x : carrier ((HomologicalComplex.alternatingConst A hOdd hEven hc).cycles j)),
(CategoryTheory.ConcreteCategory.hom φ)
((CategoryTheory.ConcreteCategory.hom ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j))
x) =
(CategoryTheory.ConcreteCategory.hom 0) x
theorem HomologicalComplex.alternatingConst_iCycles_even_comp E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Even j → CategoryTheory.CategoryStruct.comp ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j) φ = 0
theorem HomologicalComplex.alternatingConst_iCycles_even_comp_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Even j →
∀ {Z : C} (h : A ⟶ Z),
CategoryTheory.CategoryStruct.comp ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j)
(CategoryTheory.CategoryStruct.comp φ h) =
CategoryTheory.CategoryStruct.comp 0 h
theorem HomologicalComplex.alternatingConst_iCycles_odd_comp_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Odd j →
∀ {Z : C} (h : A ⟶ Z),
CategoryTheory.CategoryStruct.comp ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j)
(CategoryTheory.CategoryStruct.comp ψ h) =
CategoryTheory.CategoryStruct.comp 0 h
theorem HomologicalComplex.alternatingConst_iCycles_odd_comp E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Odd j → CategoryTheory.CategoryStruct.comp ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j) ψ = 0
theorem HomologicalComplex.alternatingConst_iCycles_odd_comp_apply E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(A : C) {φ ψ : A ⟶ A} (hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0)
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) {c : ComplexShape ℕ} [inst_2 : DecidableRel c.Rel]
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) [inst_3 : CategoryTheory.CategoryWithHomology C] {j : ℕ},
c.Rel j (c.next j) →
Odd j →
∀ {F : C → C → Type uF} {carrier : C → Type w} {instFunLike : (X Y : C) → FunLike (F X Y) (carrier X) (carrier Y)}
[inst_4 : CategoryTheory.ConcreteCategory C F]
(x : carrier ((HomologicalComplex.alternatingConst A hOdd hEven hc).cycles j)),
(CategoryTheory.ConcreteCategory.hom ψ)
((CategoryTheory.ConcreteCategory.hom ((HomologicalComplex.alternatingConst A hOdd hEven hc).iCycles j))
x) =
(CategoryTheory.ConcreteCategory.hom 0) x
def HomologicalComplex.alternatingConstHomologyIsoEven E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(A : C) →
{φ ψ : A ⟶ A} →
(hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0) →
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) →
{c : ComplexShape ℕ} →
[inst_2 : DecidableRel c.Rel] →
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) →
[inst_3 : CategoryTheory.CategoryWithHomology C] →
{j : ℕ} →
c.Rel (c.prev j) j →
c.Rel j (c.next j) →
Even j →
((HomologicalComplex.alternatingConst A hOdd hEven hc).homology j ≅
{ X₁ := A, X₂ := A, X₃ := A, f := ψ, g := φ, zero := hEven }.homology)
The jth homology of the alternating constant complex on φ, ψ : A ⟶ A is the homology of
A --ψ--> A --φ--> A when prev(j) ~ j, j ~ next(j) and j is even.
def HomologicalComplex.alternatingConstHomologyIsoOdd E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(A : C) →
{φ ψ : A ⟶ A} →
(hOdd : CategoryTheory.CategoryStruct.comp φ ψ = 0) →
(hEven : CategoryTheory.CategoryStruct.comp ψ φ = 0) →
{c : ComplexShape ℕ} →
[inst_2 : DecidableRel c.Rel] →
(hc : ∀ (i j : ℕ), c.Rel i j → Odd (i + j)) →
[inst_3 : CategoryTheory.CategoryWithHomology C] →
{j : ℕ} →
c.Rel (c.prev j) j →
c.Rel j (c.next j) →
Odd j →
((HomologicalComplex.alternatingConst A hOdd hEven hc).homology j ≅
{ X₁ := A, X₂ := A, X₃ := A, f := φ, g := ψ, zero := hOdd }.homology)
The jth homology of the alternating constant complex on φ, ψ : A ⟶ A is the homology of
A --φ--> A --ψ--> A when prev(j) ~ j, j ~ next(j) and j is odd.
def ChainComplex.alternatingConst E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] → CategoryTheory.Functor C (ChainComplex C ℕ)
The chain complex X ←0- X ←𝟙- X ←0- X ←𝟙- X ⋯.
It is exact away from 0 and has homology X at 0.
theorem ChainComplex.alternatingConst_map_f E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
{X Y : C} (f : X ⟶ Y) (x : ℕ), (ChainComplex.alternatingConst.map f).f x = f
theorem ChainComplex.alternatingConst_obj E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
(X : C), ChainComplex.alternatingConst.obj X = HomologicalComplex.alternatingConst X ⋯ ⋯ ⋯
def ChainComplex.alternatingConstHomologyDataEvenNEZero E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[CategoryTheory.Limits.HasZeroObject C] →
(X : C) →
(n : ℕ) → Even n → n ≠ 0 → (HomologicalComplex.sc (ChainComplex.alternatingConst.obj X) n).HomologyData
The n-th homology of the alternating constant complex is zero for non-zero even n.
def ChainComplex.alternatingConstHomologyDataOdd E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[CategoryTheory.Limits.HasZeroObject C] →
(X : C) → (n : ℕ) → Odd n → (HomologicalComplex.sc (ChainComplex.alternatingConst.obj X) n).HomologyData
The n-th homology of the alternating constant complex is zero for odd n.
def ChainComplex.alternatingConstHomologyDataZero E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
(X : C) → (n : ℕ) → n = 0 → (HomologicalComplex.sc (ChainComplex.alternatingConst.obj X) n).HomologyData
The n-th homology of the alternating constant complex is X for n = 0.
instance ChainComplex.instHasHomologyNatObjAlternatingConst E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[CategoryTheory.Limits.HasZeroObject C] (X : C) (n : ℕ),
HomologicalComplex.HasHomology (ChainComplex.alternatingConst.obj X) n
theorem ChainComplex.alternatingConst_exactAt E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
[CategoryTheory.Limits.HasZeroObject C] (X : C) (n : ℕ),
n ≠ 0 → HomologicalComplex.ExactAt (ChainComplex.alternatingConst.obj X) n
The n-th homology of the alternating constant complex is X for n ≠ 0.
def ChainComplex.alternatingConstHomologyZero E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
[inst_2 : CategoryTheory.Limits.HasZeroObject C] →
(X : C) → HomologicalComplex.homology (ChainComplex.alternatingConst.obj X) 0 ≅ X
The n-th homology of the alternating constant complex is X for n = 0.
def AlgebraicTopology.alternatingFaceMapComplexConst E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
(CategoryTheory.Functor.const SimplexCategoryᵒᵖ).comp (AlgebraicTopology.alternatingFaceMapComplex C) ≅
ChainComplex.alternatingConst
The alternating face complex of the constant complex is the alternating constant complex.
def ChainComplex.alternatingConstHomotopyEquiv E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasZeroObject C] →
(X : C) → HomotopyEquiv (ChainComplex.alternatingConst.obj X) ((ChainComplex.single₀ C).obj X)
alternatingConst.obj X is homotopy equivalent to the chain
complex (single₀ C).obj X.