The areas / V26. Homological algebra
Mathlib.Algebra.Homology.Homotopy
152 declarations. Mathlib docs · Source
Chain homotopies
We define chain homotopies, and prove that homotopic chain maps induce the same map on homology.
Null homotopic maps can be constructed using the formula hd+dh. We show that
these morphisms are homotopic to 0 and provide some convenient simplification
lemmas that give a degreewise description of hd+dh, depending on whether we have
two differentials going to and from a certain degree, only one, or none.
This lemma and the following ones can be used in order to compute
the degreewise morphisms induced by the null homotopic maps constructed
with nullHomotopicMap or nullHomotopicMap'
Homotopy.mkInductive allows us to build a homotopy of chain complexes inductively,
so that as we construct each component, we have available the previous two components,
and the fact that they satisfy the homotopy condition.
To simplify the situation, we only construct homotopies of the form Homotopy e 0.
Homotopy.equivSubZero can provide the general case.
Notice however, that this construction does not have particularly good definitional properties:
we have to insert eqToHom in several places.
Hopefully this is okay in most applications, where we only need to have the existence of some
homotopy.
Homotopy.mkCoinductive allows us to build a homotopy of cochain complexes inductively,
so that as we construct each component, we have available the previous two components,
and the fact that they satisfy the homotopy condition.
theorem Homotopy.mk.congr_simp E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (hom hom_1 : (i j : ι) → C.X i ⟶ D.X j)
(e_hom : hom = hom_1) (zero : ∀ (i j : ι), ¬c.Rel j i → hom i j = 0)
(comm : ∀ (i : ι), f.f i = (dNext i) hom + (prevD i) hom + g.f i),
{ hom := hom, zero := zero, comm := comm } = { hom := hom_1, zero := ⋯, comm := ⋯ }
theorem Homotopy.mkInductiveAux₂.congr_simp E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (e : P ⟶ Q) (zero zero_1 : P.X 0 ⟶ Q.X 1) (e_zero : zero = zero_1)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0)) (one one_1 : P.X 1 ⟶ Q.X 2)
(e_one : one = one_1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1))
(succ succ_1 :
(n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))),
succ = succ_1 →
∀ (n : ℕ),
Homotopy.mkInductiveAux₂ e zero comm_zero one comm_one succ n =
Homotopy.mkInductiveAux₂ e zero_1 ⋯ one_1 ⋯ succ_1 n
theorem Homotopy.mkCoinductiveAux₂.congr_simp E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (e : P ⟶ Q) (zero zero_1 : P.X 1 ⟶ Q.X 0) (e_zero : zero = zero_1)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero) (one one_1 : P.X 2 ⟶ Q.X 1)
(e_one : one = one_1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one)
(succ succ_1 :
(n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f''),
succ = succ_1 →
∀ (n : ℕ),
Homotopy.mkCoinductiveAux₂ e zero comm_zero one comm_one succ n =
Homotopy.mkCoinductiveAux₂ e zero_1 ⋯ one_1 ⋯ succ_1 n
theorem Homotopy.mkInductiveAux₂.match_1.congr_eq_2 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ) (n : ℕ),
x = n.succ →
(match x with
| 0 => h_1 ()
| n.succ => h_2 n) ≍
h_2 n
theorem Homotopy.mk.inj E1 #
∀ {ι : Type u_1} {V : Type u} {inst : CategoryTheory.Category.{v, u} V} {inst_1 : CategoryTheory.Preadditive V}
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} {hom : (i j : ι) → C.X i ⟶ D.X j}
{zero : autoParam (∀ (i j : ι), ¬c.Rel j i → hom i j = 0) Homotopy.zero._autoParam}
{comm : autoParam (∀ (i : ι), f.f i = (dNext i) hom + (prevD i) hom + g.f i) Homotopy.comm._autoParam}
{hom_1 : (i j : ι) → C.X i ⟶ D.X j}
{zero_1 : autoParam (∀ (i j : ι), ¬c.Rel j i → hom_1 i j = 0) Homotopy.zero._autoParam}
{comm_1 : autoParam (∀ (i : ι), f.f i = (dNext i) hom_1 + (prevD i) hom_1 + g.f i) Homotopy.comm._autoParam},
{ hom := hom, zero := zero, comm := comm } = { hom := hom_1, zero := zero_1, comm := comm_1 } → hom = hom_1
theorem HomotopyEquiv.mk.inj E1 #
∀ {ι : Type u_1} {V : Type u} {inst : CategoryTheory.Category.{v, u} V} {inst_1 : CategoryTheory.Preadditive V}
{c : ComplexShape ι} {C D : HomologicalComplex V c} {hom : C ⟶ D} {inv : D ⟶ C}
{homotopyHomInvId : Homotopy (CategoryTheory.CategoryStruct.comp hom inv) (CategoryTheory.CategoryStruct.id C)}
{homotopyInvHomId : Homotopy (CategoryTheory.CategoryStruct.comp inv hom) (CategoryTheory.CategoryStruct.id D)}
{hom_1 : C ⟶ D} {inv_1 : D ⟶ C}
{homotopyHomInvId_1 : Homotopy (CategoryTheory.CategoryStruct.comp hom_1 inv_1) (CategoryTheory.CategoryStruct.id C)}
{homotopyInvHomId_1 : Homotopy (CategoryTheory.CategoryStruct.comp inv_1 hom_1) (CategoryTheory.CategoryStruct.id D)},
{ hom := hom, inv := inv, homotopyHomInvId := homotopyHomInvId, homotopyInvHomId := homotopyInvHomId } =
{ hom := hom_1, inv := inv_1, homotopyHomInvId := homotopyHomInvId_1, homotopyInvHomId := homotopyInvHomId_1 } →
hom = hom_1 ∧ inv = inv_1 ∧ homotopyHomInvId ≍ homotopyHomInvId_1 ∧ homotopyInvHomId ≍ homotopyInvHomId_1
theorem Homotopy.mkInductiveAux₁.match_1.congr_eq_2 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1) (h_3 : (n : ℕ) → motive n.succ.succ),
x = 1 →
(match x with
| 0 => h_1 ()
| 1 => h_2 ()
| n.succ.succ => h_3 n) ≍
h_2 ()
theorem Homotopy.mkInductiveAux₁.match_1.congr_eq_1 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1) (h_3 : (n : ℕ) → motive n.succ.succ),
x = 0 →
(match x with
| 0 => h_1 ()
| 1 => h_2 ()
| n.succ.succ => h_3 n) ≍
h_1 ()
theorem Homotopy.mkInductiveAux₁.match_1.congr_eq_3 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : Unit → motive 1) (h_3 : (n : ℕ) → motive n.succ.succ)
(n : ℕ),
x = n.succ.succ →
(match x with
| 0 => h_1 ()
| 1 => h_2 ()
| n.succ.succ => h_3 n) ≍
h_3 n
def Homotopy.ctorIdx E1 #
{ι : Type u_1} →
{V : Type u} →
{inst : CategoryTheory.Category.{v, u} V} →
{inst_1 : CategoryTheory.Preadditive V} →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → {f g : C ⟶ D} → Homotopy f g → ℕ
theorem Homotopy.mkInductiveAux₁.congr_simp E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (e : P ⟶ Q) (zero zero_1 : P.X 0 ⟶ Q.X 1) (e_zero : zero = zero_1)
(one one_1 : P.X 1 ⟶ Q.X 2) (e_one : one = one_1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1))
(succ succ_1 :
(n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))),
succ = succ_1 →
∀ (n : ℕ), Homotopy.mkInductiveAux₁ e zero one comm_one succ n = Homotopy.mkInductiveAux₁ e zero_1 one_1 ⋯ succ_1 n
theorem Homotopy.mkInductiveAux₂.match_1.congr_eq_1 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ),
x = 0 →
(match x with
| 0 => h_1 ()
| n.succ => h_2 n) ≍
h_1 ()
def HomotopyEquiv.ctorIdx E1 #
{ι : Type u_1} →
{V : Type u} →
{inst : CategoryTheory.Category.{v, u} V} →
{inst_1 : CategoryTheory.Preadditive V} →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → HomotopyEquiv C D → ℕ
theorem Homotopy.mkCoinductiveAux₁.congr_simp E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (e : P ⟶ Q) (zero zero_1 : P.X 1 ⟶ Q.X 0) (e_zero : zero = zero_1)
(one one_1 : P.X 2 ⟶ Q.X 1) (e_one : one = one_1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one)
(succ succ_1 :
(n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f''),
succ = succ_1 →
∀ (n : ℕ),
Homotopy.mkCoinductiveAux₁ e zero one comm_one succ n = Homotopy.mkCoinductiveAux₁ e zero_1 one_1 ⋯ succ_1 n
theorem HomotopyEquiv.mk.injEq E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (hom : C ⟶ D) (inv : D ⟶ C)
(homotopyHomInvId : Homotopy (CategoryTheory.CategoryStruct.comp hom inv) (CategoryTheory.CategoryStruct.id C))
(homotopyInvHomId : Homotopy (CategoryTheory.CategoryStruct.comp inv hom) (CategoryTheory.CategoryStruct.id D))
(hom_1 : C ⟶ D) (inv_1 : D ⟶ C)
(homotopyHomInvId_1 : Homotopy (CategoryTheory.CategoryStruct.comp hom_1 inv_1) (CategoryTheory.CategoryStruct.id C))
(homotopyInvHomId_1 : Homotopy (CategoryTheory.CategoryStruct.comp inv_1 hom_1) (CategoryTheory.CategoryStruct.id D)),
({ hom := hom, inv := inv, homotopyHomInvId := homotopyHomInvId, homotopyInvHomId := homotopyInvHomId } =
{ hom := hom_1, inv := inv_1, homotopyHomInvId := homotopyHomInvId_1, homotopyInvHomId := homotopyInvHomId_1 }) =
(hom = hom_1 ∧ inv = inv_1 ∧ homotopyHomInvId ≍ homotopyHomInvId_1 ∧ homotopyInvHomId ≍ homotopyInvHomId_1)
theorem Homotopy.mk.injEq E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (hom : (i j : ι) → C.X i ⟶ D.X j)
(zero : autoParam (∀ (i j : ι), ¬c.Rel j i → hom i j = 0) Homotopy.zero._autoParam)
(comm : autoParam (∀ (i : ι), f.f i = (dNext i) hom + (prevD i) hom + g.f i) Homotopy.comm._autoParam)
(hom_1 : (i j : ι) → C.X i ⟶ D.X j)
(zero_1 : autoParam (∀ (i j : ι), ¬c.Rel j i → hom_1 i j = 0) Homotopy.zero._autoParam)
(comm_1 : autoParam (∀ (i : ι), f.f i = (dNext i) hom_1 + (prevD i) hom_1 + g.f i) Homotopy.comm._autoParam),
({ hom := hom, zero := zero, comm := comm } = { hom := hom_1, zero := zero_1, comm := comm_1 }) = (hom = hom_1)
def dNext E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → (i : ι) → ((i j : ι) → C.X i ⟶ D.X j) →+ (C.X i ⟶ D.X i)
The composition of C.d i (c.next i) ≫ f (c.next i) i.
def fromNext E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} → (i : ι) → ((i j : ι) → C.X i ⟶ D.X j) →+ (C.xNext i ⟶ D.X i)
f (c.next i) i.
theorem dNext_eq_dFrom_fromNext E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (i : ι),
(dNext i) f = CategoryTheory.CategoryStruct.comp (C.dFrom i) ((fromNext i) f)
theorem dNext_eq E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) {i i' : ι},
c.Rel i i' → (dNext i) f = CategoryTheory.CategoryStruct.comp (C.d i i') (f i' i)
theorem dNext_eq_zero E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (i : ι),
¬c.Rel i (c.next i) → (dNext i) f = 0
theorem dNext_comp_left E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : C ⟶ D) (g : (i j : ι) → D.X i ⟶ E.X j) (i : ι),
((dNext i) fun i j ↦ CategoryTheory.CategoryStruct.comp (f.f i) (g i j)) =
CategoryTheory.CategoryStruct.comp (f.f i) ((dNext i) g)
theorem dNext_comp_right E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (g : D ⟶ E) (i : ι),
((dNext i) fun i j ↦ CategoryTheory.CategoryStruct.comp (f i j) (g.f j)) =
CategoryTheory.CategoryStruct.comp ((dNext i) f) (g.f i)
def prevD E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → (j : ι) → ((i j : ι) → C.X i ⟶ D.X j) →+ (C.X j ⟶ D.X j)
The composition f j (c.prev j) ≫ D.d (c.prev j) j.
theorem prevD_eq_zero E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (i : ι),
¬c.Rel (c.prev i) i → (prevD i) f = 0
def toPrev E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} → (j : ι) → ((i j : ι) → C.X i ⟶ D.X j) →+ (C.X j ⟶ D.xPrev j)
f j (c.prev j).
theorem prevD_eq_toPrev_dTo E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (j : ι),
(prevD j) f = CategoryTheory.CategoryStruct.comp ((toPrev j) f) (D.dTo j)
theorem prevD_eq E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) {j j' : ι},
c.Rel j' j → (prevD j) f = CategoryTheory.CategoryStruct.comp (f j j') (D.d j' j)
theorem prevD_comp_left E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : C ⟶ D) (g : (i j : ι) → D.X i ⟶ E.X j) (j : ι),
((prevD j) fun i j ↦ CategoryTheory.CategoryStruct.comp (f.f i) (g i j)) =
CategoryTheory.CategoryStruct.comp (f.f j) ((prevD j) g)
theorem prevD_comp_right E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : (i j : ι) → C.X i ⟶ D.X j) (g : D ⟶ E) (j : ι),
((prevD j) fun i j ↦ CategoryTheory.CategoryStruct.comp (f i j) (g.f j)) =
CategoryTheory.CategoryStruct.comp ((prevD j) f) (g.f j)
theorem dNext_nat E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
(C D : ChainComplex V ℕ) (i : ℕ) (f : (i j : ℕ) → C.X i ⟶ D.X j),
(dNext i) f = CategoryTheory.CategoryStruct.comp (C.d i (i - 1)) (f (i - 1) i)
theorem prevD_nat E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
(C D : CochainComplex V ℕ) (i : ℕ) (f : (i j : ℕ) → C.X i ⟶ D.X j),
(prevD i) f = CategoryTheory.CategoryStruct.comp (f i (i - 1)) (D.d (i - 1) i)
structure Homotopy E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → (C ⟶ D) → (C ⟶ D) → Type (max u_1 v)
A homotopy h between chain maps f and g consists of components h i j : C.X i ⟶ D.X j
which are zero unless c.Rel j i, satisfying the homotopy condition.
theorem Homotopy.ext E1 #
∀ {ι : Type u_1} {V : Type u} {inst : CategoryTheory.Category.{v, u} V} {inst_1 : CategoryTheory.Preadditive V}
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} {x y : Homotopy f g}, x.hom = y.hom → x = y
theorem Homotopy.ext_iff E0 #
∀ {ι : Type u_1} {V : Type u} {inst : CategoryTheory.Category.{v, u} V} {inst_1 : CategoryTheory.Preadditive V}
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} {x y : Homotopy f g}, x = y ↔ x.hom = y.hom
ctor Homotopy.mk E0 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{f g : C ⟶ D} →
(hom : (i j : ι) → C.X i ⟶ D.X j) →
autoParam (∀ (i j : ι), ¬c.Rel j i → hom i j = 0) Homotopy.zero._autoParam →
autoParam (∀ (i : ι), f.f i = (dNext i) hom + (prevD i) hom + g.f i) Homotopy.comm._autoParam →
Homotopy f g
abbrev Homotopy.hom E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → {f g : C ⟶ D} → Homotopy f g → (i j : ι) → C.X i ⟶ D.X j
theorem Homotopy.zero E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (self : Homotopy f g) (i j : ι),
¬c.Rel j i → self.hom i j = 0
theorem Homotopy.comm E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (self : Homotopy f g) (i : ι),
f.f i = (dNext i) self.hom + (prevD i) self.hom + g.f i
def Homotopy.equivSubZero E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → {f g : C ⟶ D} → Homotopy f g ≃ Homotopy (f - g) 0
f is homotopic to g iff f - g is homotopic to 0.
def Homotopy.ofEq E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → {f g : C ⟶ D} → f = g → Homotopy f g
Equal chain maps are homotopic.
theorem Homotopy.ofEq_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (h : f = g) (i j : ι),
(Homotopy.ofEq h).hom i j = 0 i j
def Homotopy.refl E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → (f : C ⟶ D) → Homotopy f f
Every chain map is homotopic to itself.
theorem Homotopy.refl_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : C ⟶ D) (i j : ι), (Homotopy.refl f).hom i j = 0
def Homotopy.symm E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → {f g : C ⟶ D} → Homotopy f g → Homotopy g f
f is homotopic to g iff g is homotopic to f.
theorem Homotopy.symm_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (h : Homotopy f g) (i j : ι),
h.symm.hom i j = -h.hom i j
def Homotopy.trans E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} → {e f g : C ⟶ D} → Homotopy e f → Homotopy f g → Homotopy e g
homotopy is a transitive relation.
theorem Homotopy.trans_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {e f g : C ⟶ D} (h : Homotopy e f) (k : Homotopy f g) (i j : ι),
(h.trans k).hom i j = h.hom i j + k.hom i j
def Homotopy.add E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{f₁ g₁ f₂ g₂ : C ⟶ D} → Homotopy f₁ g₁ → Homotopy f₂ g₂ → Homotopy (f₁ + f₂) (g₁ + g₂)
the sum of two homotopies is a homotopy between the sum of the respective morphisms.
theorem Homotopy.add_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f₁ g₁ f₂ g₂ : C ⟶ D} (h₁ : Homotopy f₁ g₁) (h₂ : Homotopy f₂ g₂)
(i j : ι), (h₁.add h₂).hom i j = h₁.hom i j + h₂.hom i j
def Homotopy.smul E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{f g : C ⟶ D} →
{R : Type u_2} →
[inst_2 : Semiring R] →
[inst_3 : CategoryTheory.Linear R V] → Homotopy f g → (a : R) → Homotopy (a • f) (a • g)
the scalar multiplication of a homotopy
theorem Homotopy.smul_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} {R : Type u_2} [inst_2 : Semiring R]
[inst_3 : CategoryTheory.Linear R V] (h : Homotopy f g) (a : R) (i j : ι), (h.smul a).hom i j = a • h.hom i j
def Homotopy.compRight E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D E : HomologicalComplex V c} →
{e f : C ⟶ D} →
Homotopy e f →
(g : D ⟶ E) → Homotopy (CategoryTheory.CategoryStruct.comp e g) (CategoryTheory.CategoryStruct.comp f g)
homotopy is closed under composition (on the right)
theorem Homotopy.compRight_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} {e f : C ⟶ D} (h : Homotopy e f) (g : D ⟶ E) (i j : ι),
(h.compRight g).hom i j = CategoryTheory.CategoryStruct.comp (h.hom i j) (g.f j)
def Homotopy.compLeft E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D E : HomologicalComplex V c} →
{f g : D ⟶ E} →
Homotopy f g →
(e : C ⟶ D) → Homotopy (CategoryTheory.CategoryStruct.comp e f) (CategoryTheory.CategoryStruct.comp e g)
homotopy is closed under composition (on the left)
theorem Homotopy.compLeft_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} {f g : D ⟶ E} (h : Homotopy f g) (e : C ⟶ D) (i j : ι),
(h.compLeft e).hom i j = CategoryTheory.CategoryStruct.comp (e.f i) (h.hom i j)
def Homotopy.comp E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C₁ C₂ C₃ : HomologicalComplex V c} →
{f₁ g₁ : C₁ ⟶ C₂} →
{f₂ g₂ : C₂ ⟶ C₃} →
Homotopy f₁ g₁ →
Homotopy f₂ g₂ →
Homotopy (CategoryTheory.CategoryStruct.comp f₁ f₂) (CategoryTheory.CategoryStruct.comp g₁ g₂)
homotopy is closed under composition
theorem Homotopy.comp_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C₁ C₂ C₃ : HomologicalComplex V c} {f₁ g₁ : C₁ ⟶ C₂} {f₂ g₂ : C₂ ⟶ C₃} (h₁ : Homotopy f₁ g₁)
(h₂ : Homotopy f₂ g₂) (i j : ι),
(h₁.comp h₂).hom i j =
CategoryTheory.CategoryStruct.comp (h₁.hom i j) (f₂.f j) + CategoryTheory.CategoryStruct.comp (g₁.f i) (h₂.hom i j)
def Homotopy.compRightId E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{f : C ⟶ C} →
Homotopy f (CategoryTheory.CategoryStruct.id C) →
(g : C ⟶ D) → Homotopy (CategoryTheory.CategoryStruct.comp f g) g
a variant of Homotopy.compRight useful for dealing with homotopy equivalences.
theorem Homotopy.compRightId_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f : C ⟶ C} (h : Homotopy f (CategoryTheory.CategoryStruct.id C))
(g : C ⟶ D) (i j : ι), (h.compRightId g).hom i j = CategoryTheory.CategoryStruct.comp (h.hom i j) (g.f j)
def Homotopy.compLeftId E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{f : D ⟶ D} →
Homotopy f (CategoryTheory.CategoryStruct.id D) →
(g : C ⟶ D) → Homotopy (CategoryTheory.CategoryStruct.comp g f) g
a variant of Homotopy.compLeft useful for dealing with homotopy equivalences.
theorem Homotopy.compLeftId_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f : D ⟶ D} (h : Homotopy f (CategoryTheory.CategoryStruct.id D))
(g : C ⟶ D) (i j : ι), (h.compLeftId g).hom i j = CategoryTheory.CategoryStruct.comp (g.f i) (h.hom i j)
def Homotopy.nullHomotopicMap E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → ((i j : ι) → C.X i ⟶ D.X j) → (C ⟶ D)
The null homotopic map associated to a family hom of morphisms C_i ⟶ D_j.
This is the same datum as for the field hom in the structure Homotopy. For
this definition, we do not need the field zero of that structure
as this definition uses only the maps C_i ⟶ C_j when c.Rel j i.
def Homotopy.nullHomotopicMap' E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → ((i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)) → (C ⟶ D)
Variant of nullHomotopicMap where the input consists only of the
relevant maps C_i ⟶ D_j such that c.Rel j i.
theorem Homotopy.nullHomotopicMap_comp E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (hom : (i j : ι) → C.X i ⟶ D.X j) (g : D ⟶ E),
CategoryTheory.CategoryStruct.comp (Homotopy.nullHomotopicMap hom) g =
Homotopy.nullHomotopicMap fun i j ↦ CategoryTheory.CategoryStruct.comp (hom i j) (g.f j)
Compatibility of nullHomotopicMap with the postcomposition by a morphism
of complexes.
theorem Homotopy.nullHomotopicMap'_comp E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (hom : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)) (g : D ⟶ E),
CategoryTheory.CategoryStruct.comp (Homotopy.nullHomotopicMap' hom) g =
Homotopy.nullHomotopicMap' fun i j hij ↦ CategoryTheory.CategoryStruct.comp (hom i j hij) (g.f j)
Compatibility of nullHomotopicMap' with the postcomposition by a morphism
of complexes.
theorem Homotopy.comp_nullHomotopicMap E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : C ⟶ D) (hom : (i j : ι) → D.X i ⟶ E.X j),
CategoryTheory.CategoryStruct.comp f (Homotopy.nullHomotopicMap hom) =
Homotopy.nullHomotopicMap fun i j ↦ CategoryTheory.CategoryStruct.comp (f.f i) (hom i j)
Compatibility of nullHomotopicMap with the precomposition by a morphism
of complexes.
theorem Homotopy.comp_nullHomotopicMap' E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : C ⟶ D) (hom : (i j : ι) → c.Rel j i → (D.X i ⟶ E.X j)),
CategoryTheory.CategoryStruct.comp f (Homotopy.nullHomotopicMap' hom) =
Homotopy.nullHomotopicMap' fun i j hij ↦ CategoryTheory.CategoryStruct.comp (f.f i) (hom i j hij)
Compatibility of nullHomotopicMap' with the precomposition by a morphism
of complexes.
theorem Homotopy.nullHomotopicMap_add E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (h₁ h₂ : (i j : ι) → C.X i ⟶ D.X j),
Homotopy.nullHomotopicMap (h₁ + h₂) = Homotopy.nullHomotopicMap h₁ + Homotopy.nullHomotopicMap h₂
theorem Homotopy.nullHomotopicMap_neg E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (h₁ : (i j : ι) → C.X i ⟶ D.X j),
Homotopy.nullHomotopicMap (-h₁) = -Homotopy.nullHomotopicMap h₁
theorem Homotopy.nullHomotopicMap_sub E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (h₁ h₂ : (i j : ι) → C.X i ⟶ D.X j),
Homotopy.nullHomotopicMap (h₁ - h₂) = Homotopy.nullHomotopicMap h₁ - Homotopy.nullHomotopicMap h₂
theorem Homotopy.map_nullHomotopicMap E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (G : CategoryTheory.Functor V W) [inst_4 : G.Additive]
(hom : (i j : ι) → C.X i ⟶ D.X j),
(G.mapHomologicalComplex c).map (Homotopy.nullHomotopicMap hom) = Homotopy.nullHomotopicMap fun i j ↦ G.map (hom i j)
Compatibility of nullHomotopicMap with the application of additive functors
theorem Homotopy.map_nullHomotopicMap' E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (G : CategoryTheory.Functor V W) [inst_4 : G.Additive]
(hom : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)),
(G.mapHomologicalComplex c).map (Homotopy.nullHomotopicMap' hom) =
Homotopy.nullHomotopicMap' fun i j hij ↦ G.map (hom i j hij)
Compatibility of nullHomotopicMap' with the application of additive functors
def Homotopy.nullHomotopy E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
(hom : (i j : ι) → C.X i ⟶ D.X j) →
(∀ (i j : ι), ¬c.Rel j i → hom i j = 0) → Homotopy (Homotopy.nullHomotopicMap hom) 0
Tautological construction of the Homotopy to zero for maps constructed by
nullHomotopicMap, at least when we have the zero condition.
theorem Homotopy.nullHomotopy_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (hom : (i j : ι) → C.X i ⟶ D.X j)
(zero : ∀ (i j : ι), ¬c.Rel j i → hom i j = 0) (i j : ι), (Homotopy.nullHomotopy hom zero).hom i j = hom i j
def Homotopy.nullHomotopy' E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
(h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)) → Homotopy (Homotopy.nullHomotopicMap' h) 0
Homotopy to zero for maps constructed with nullHomotopicMap'
theorem Homotopy.nullHomotopy'_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)) (i j : ι),
(Homotopy.nullHomotopy' h).hom i j = dite (c.Rel j i) (h i j) fun x ↦ 0
theorem Homotopy.nullHomotopicMap_f E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₂ k₁ k₀ : ι},
c.Rel k₂ k₁ →
c.Rel k₁ k₀ →
∀ (hom : (i j : ι) → C.X i ⟶ D.X j),
(Homotopy.nullHomotopicMap hom).f k₁ =
CategoryTheory.CategoryStruct.comp (C.d k₁ k₀) (hom k₀ k₁) +
CategoryTheory.CategoryStruct.comp (hom k₁ k₂) (D.d k₂ k₁)
theorem Homotopy.nullHomotopicMap'_f E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₂ k₁ k₀ : ι} (r₂₁ : c.Rel k₂ k₁) (r₁₀ : c.Rel k₁ k₀)
(h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)),
(Homotopy.nullHomotopicMap' h).f k₁ =
CategoryTheory.CategoryStruct.comp (C.d k₁ k₀) (h k₀ k₁ r₁₀) +
CategoryTheory.CategoryStruct.comp (h k₁ k₂ r₂₁) (D.d k₂ k₁)
theorem Homotopy.nullHomotopicMap_f_of_not_rel_left E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₁ k₀ : ι},
c.Rel k₁ k₀ →
(∀ (l : ι), ¬c.Rel k₀ l) →
∀ (hom : (i j : ι) → C.X i ⟶ D.X j),
(Homotopy.nullHomotopicMap hom).f k₀ = CategoryTheory.CategoryStruct.comp (hom k₀ k₁) (D.d k₁ k₀)
theorem Homotopy.nullHomotopicMap'_f_of_not_rel_left E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₁ k₀ : ι} (r₁₀ : c.Rel k₁ k₀),
(∀ (l : ι), ¬c.Rel k₀ l) →
∀ (h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)),
(Homotopy.nullHomotopicMap' h).f k₀ = CategoryTheory.CategoryStruct.comp (h k₀ k₁ r₁₀) (D.d k₁ k₀)
theorem Homotopy.nullHomotopicMap_f_of_not_rel_right E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₁ k₀ : ι},
c.Rel k₁ k₀ →
(∀ (l : ι), ¬c.Rel l k₁) →
∀ (hom : (i j : ι) → C.X i ⟶ D.X j),
(Homotopy.nullHomotopicMap hom).f k₁ = CategoryTheory.CategoryStruct.comp (C.d k₁ k₀) (hom k₀ k₁)
theorem Homotopy.nullHomotopicMap'_f_of_not_rel_right E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₁ k₀ : ι} (r₁₀ : c.Rel k₁ k₀),
(∀ (l : ι), ¬c.Rel l k₁) →
∀ (h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)),
(Homotopy.nullHomotopicMap' h).f k₁ = CategoryTheory.CategoryStruct.comp (C.d k₁ k₀) (h k₀ k₁ r₁₀)
theorem Homotopy.nullHomotopicMap_f_eq_zero E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₀ : ι},
(∀ (l : ι), ¬c.Rel k₀ l) →
(∀ (l : ι), ¬c.Rel l k₀) → ∀ (hom : (i j : ι) → C.X i ⟶ D.X j), (Homotopy.nullHomotopicMap hom).f k₀ = 0
theorem Homotopy.nullHomotopicMap'_f_eq_zero E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {k₀ : ι},
(∀ (l : ι), ¬c.Rel k₀ l) →
(∀ (l : ι), ¬c.Rel l k₀) → ∀ (h : (i j : ι) → c.Rel j i → (C.X i ⟶ D.X j)), (Homotopy.nullHomotopicMap' h).f k₀ = 0
theorem Homotopy.sub_eq_nullHomotopicMap E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D} (h : Homotopy f g),
f - g = Homotopy.nullHomotopicMap h.hom
theorem Homotopy.prevD_chainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j) (j : ℕ),
(prevD j) f = CategoryTheory.CategoryStruct.comp (f j (j + 1)) (Q.d (j + 1) j)
theorem Homotopy.dNext_succ_chainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j) (i : ℕ),
(dNext (i + 1)) f = CategoryTheory.CategoryStruct.comp (P.d (i + 1) i) (f i (i + 1))
theorem Homotopy.dNext_zero_chainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j), (dNext 0) f = 0
def Homotopy.mkInductiveAux₁ E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : ChainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 0 ⟶ Q.X 1) →
(one : P.X 1 ⟶ Q.X 2) →
e.f 1 =
CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1) →
((n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))) →
(n : ℕ) →
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))
An auxiliary construction for mkInductive.
Here we build by induction a family of diagrams,
but don't require at the type level that these successive diagrams actually agree.
They do in fact agree, and we then capture that at the type level (i.e. by constructing a homotopy)
in mkInductive.
At this stage, we don't check the homotopy condition in degree 0,
because it "falls off the end", and is easier to treat using xNext and xPrev,
which we do in mkInductiveAux₂.
def Homotopy.mkInductiveAux₂ E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : ChainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 0 ⟶ Q.X 1) →
e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0) →
(one : P.X 1 ⟶ Q.X 2) →
e.f 1 =
CategoryTheory.CategoryStruct.comp (P.d 1 0) zero +
CategoryTheory.CategoryStruct.comp one (Q.d 2 1) →
((n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))) →
(n : ℕ) →
(f : HomologicalComplex.xNext P n ⟶ Q.X n) ×'
(f' : P.X n ⟶ HomologicalComplex.xPrev Q n) ×'
e.f n =
CategoryTheory.CategoryStruct.comp (HomologicalComplex.dFrom P n) f +
CategoryTheory.CategoryStruct.comp f' (HomologicalComplex.dTo Q n)
An auxiliary construction for mkInductive.
theorem Homotopy.mkInductiveAux₂_zero E0 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 0 ⟶ Q.X 1)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0)) (one : P.X 1 ⟶ Q.X 2)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1))
(succ :
(n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))),
Homotopy.mkInductiveAux₂ e zero comm_zero one comm_one succ 0 =
⟨0, ⟨CategoryTheory.CategoryStruct.comp zero (HomologicalComplex.xPrevIso Q ⋯).inv, ⋯⟩⟩
theorem Homotopy.mkInductiveAux₂_add_one E0 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 0 ⟶ Q.X 1)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0)) (one : P.X 1 ⟶ Q.X 2)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1))
(succ :
(n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2)))
(n : ℕ),
Homotopy.mkInductiveAux₂ e zero comm_zero one comm_one succ (n + 1) =
⟨CategoryTheory.CategoryStruct.comp (HomologicalComplex.xNextIso P ⋯).hom
(Homotopy.mkInductiveAux₁ e zero one comm_one succ n).fst,
⟨CategoryTheory.CategoryStruct.comp (Homotopy.mkInductiveAux₁ e zero one comm_one succ n).snd.fst
(HomologicalComplex.xPrevIso Q ⋯).inv,
⋯⟩⟩
theorem Homotopy.mkInductiveAux₃ E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : ChainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 0 ⟶ Q.X 1)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0)) (one : P.X 1 ⟶ Q.X 2)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp (P.d 1 0) zero + CategoryTheory.CategoryStruct.comp one (Q.d 2 1))
(succ :
(n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2)))
(i j : ℕ) (h : i + 1 = j),
CategoryTheory.CategoryStruct.comp (Homotopy.mkInductiveAux₂ e zero comm_zero one comm_one succ i).snd.fst
(HomologicalComplex.xPrevIso Q h).hom =
CategoryTheory.CategoryStruct.comp (HomologicalComplex.xNextIso P h).inv
(Homotopy.mkInductiveAux₂ e zero comm_zero one comm_one succ j).fst
def Homotopy.mkInductive E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : ChainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 0 ⟶ Q.X 1) →
e.f 0 = CategoryTheory.CategoryStruct.comp zero (Q.d 1 0) →
(one : P.X 1 ⟶ Q.X 2) →
e.f 1 =
CategoryTheory.CategoryStruct.comp (P.d 1 0) zero +
CategoryTheory.CategoryStruct.comp one (Q.d 2 1) →
((n : ℕ) →
(p :
(f : P.X n ⟶ Q.X (n + 1)) ×'
(f' : P.X (n + 1) ⟶ Q.X (n + 2)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp (P.d (n + 1) n) f +
CategoryTheory.CategoryStruct.comp f' (Q.d (n + 2) (n + 1))) →
(f'' : P.X (n + 2) ⟶ Q.X (n + 3)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 1)) p.snd.fst +
CategoryTheory.CategoryStruct.comp f'' (Q.d (n + 3) (n + 2))) →
Homotopy e 0
A constructor for a Homotopy e 0, for e a chain map between ℕ-indexed chain complexes,
working by induction.
You need to provide the components of the homotopy in degrees 0 and 1, show that these satisfy the homotopy condition, and then give a construction of each component, and the fact that it satisfies the homotopy condition, using as an inductive hypothesis the data and homotopy condition for the previous two components.
theorem Homotopy.dNext_cochainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j) (j : ℕ),
(dNext j) f = CategoryTheory.CategoryStruct.comp (P.d j (j + 1)) (f (j + 1) j)
theorem Homotopy.prevD_succ_cochainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j) (i : ℕ),
(prevD (i + 1)) f = CategoryTheory.CategoryStruct.comp (f (i + 1) i) (Q.d i (i + 1))
theorem Homotopy.prevD_zero_cochainComplex E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (f : (i j : ℕ) → P.X i ⟶ Q.X j), (prevD 0) f = 0
def Homotopy.mkCoinductiveAux₁ E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : CochainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 1 ⟶ Q.X 0) →
(one : P.X 2 ⟶ Q.X 1) →
e.f 1 =
CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one →
((n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f'') →
(n : ℕ) →
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f'
An auxiliary construction for mkCoinductive.
Here we build by induction a family of diagrams,
but don't require at the type level that these successive diagrams actually agree.
They do in fact agree, and we then capture that at the type level (i.e. by constructing a homotopy)
in mkCoinductive.
At this stage, we don't check the homotopy condition in degree 0,
because it "falls off the end", and is easier to treat using xNext and xPrev,
which we do in mkInductiveAux₂.
def Homotopy.mkCoinductiveAux₂ E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : CochainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 1 ⟶ Q.X 0) →
e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero →
(one : P.X 2 ⟶ Q.X 1) →
e.f 1 =
CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) +
CategoryTheory.CategoryStruct.comp (P.d 1 2) one →
((n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f'') →
(n : ℕ) →
(f : P.X n ⟶ HomologicalComplex.xPrev Q n) ×'
(f' : HomologicalComplex.xNext P n ⟶ Q.X n) ×'
e.f n =
CategoryTheory.CategoryStruct.comp f (HomologicalComplex.dTo Q n) +
CategoryTheory.CategoryStruct.comp (HomologicalComplex.dFrom P n) f'
An auxiliary construction for mkInductive.
theorem Homotopy.mkCoinductiveAux₂_zero E0 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 1 ⟶ Q.X 0)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero) (one : P.X 2 ⟶ Q.X 1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one)
(succ :
(n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f''),
Homotopy.mkCoinductiveAux₂ e zero comm_zero one comm_one succ 0 =
⟨0, ⟨CategoryTheory.CategoryStruct.comp (HomologicalComplex.xNextIso P ⋯).hom zero, ⋯⟩⟩
theorem Homotopy.mkCoinductiveAux₂_add_one E0 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 1 ⟶ Q.X 0)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero) (one : P.X 2 ⟶ Q.X 1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one)
(succ :
(n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f'')
(n : ℕ),
Homotopy.mkCoinductiveAux₂ e zero comm_zero one comm_one succ (n + 1) =
⟨CategoryTheory.CategoryStruct.comp (Homotopy.mkCoinductiveAux₁ e zero one comm_one succ n).fst
(HomologicalComplex.xPrevIso Q ⋯).inv,
⟨CategoryTheory.CategoryStruct.comp (HomologicalComplex.xNextIso P ⋯).hom
(Homotopy.mkCoinductiveAux₁ e zero one comm_one succ n).snd.fst,
⋯⟩⟩
theorem Homotopy.mkCoinductiveAux₃ E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{P Q : CochainComplex V ℕ} (e : P ⟶ Q) (zero : P.X 1 ⟶ Q.X 0)
(comm_zero : e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero) (one : P.X 2 ⟶ Q.X 1)
(comm_one :
e.f 1 = CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) + CategoryTheory.CategoryStruct.comp (P.d 1 2) one)
(succ :
(n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f'')
(i j : ℕ) (h : i + 1 = j),
CategoryTheory.CategoryStruct.comp (HomologicalComplex.xNextIso P h).inv
(Homotopy.mkCoinductiveAux₂ e zero comm_zero one comm_one succ i).snd.fst =
CategoryTheory.CategoryStruct.comp (Homotopy.mkCoinductiveAux₂ e zero comm_zero one comm_one succ j).fst
(HomologicalComplex.xPrevIso Q h).hom
def Homotopy.mkCoinductive E1 #
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{P Q : CochainComplex V ℕ} →
(e : P ⟶ Q) →
(zero : P.X 1 ⟶ Q.X 0) →
e.f 0 = CategoryTheory.CategoryStruct.comp (P.d 0 1) zero →
(one : P.X 2 ⟶ Q.X 1) →
e.f 1 =
CategoryTheory.CategoryStruct.comp zero (Q.d 0 1) +
CategoryTheory.CategoryStruct.comp (P.d 1 2) one →
((n : ℕ) →
(p :
(f : P.X (n + 1) ⟶ Q.X n) ×'
(f' : P.X (n + 2) ⟶ Q.X (n + 1)) ×'
e.f (n + 1) =
CategoryTheory.CategoryStruct.comp f (Q.d n (n + 1)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 1) (n + 2)) f') →
(f'' : P.X (n + 3) ⟶ Q.X (n + 2)) ×'
e.f (n + 2) =
CategoryTheory.CategoryStruct.comp p.snd.fst (Q.d (n + 1) (n + 2)) +
CategoryTheory.CategoryStruct.comp (P.d (n + 2) (n + 3)) f'') →
Homotopy e 0
A constructor for a Homotopy e 0, for e a chain map between ℕ-indexed cochain complexes,
working by induction.
You need to provide the components of the homotopy in degrees 0 and 1, show that these satisfy the homotopy condition, and then give a construction of each component, and the fact that it satisfies the homotopy condition, using as an inductive hypothesis the data and homotopy condition for the previous two components.
theorem ChainComplex.nullHomotopicMap_f_zero_assoc E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{K L : ChainComplex V ℕ} (h : (i j : ℕ) → K.X i ⟶ L.X j) {Z : V} (h_1 : L.X 0 ⟶ Z),
CategoryTheory.CategoryStruct.comp ((Homotopy.nullHomotopicMap h).f 0) h_1 =
CategoryTheory.CategoryStruct.comp (h 0 1) (CategoryTheory.CategoryStruct.comp (L.d 1 0) h_1)
theorem ChainComplex.nullHomotopicMap_f_zero E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{K L : ChainComplex V ℕ} (h : (i j : ℕ) → K.X i ⟶ L.X j),
(Homotopy.nullHomotopicMap h).f 0 = CategoryTheory.CategoryStruct.comp (h 0 1) (L.d 1 0)
theorem ChainComplex.nullHomotopicMap_f_succ E1 #
∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{K L : ChainComplex V ℕ} (h : (i j : ℕ) → K.X i ⟶ L.X j) (n : ℕ),
(Homotopy.nullHomotopicMap h).f (n + 1) =
CategoryTheory.CategoryStruct.comp (K.d (n + 1) n) (h n (n + 1)) +
CategoryTheory.CategoryStruct.comp (h (n + 1) (n + 2)) (L.d (n + 2) (n + 1))
structure HomotopyEquiv E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → HomologicalComplex V c → HomologicalComplex V c → Type (max u_1 v)
A homotopy equivalence between two chain complexes consists of a chain map each way, and homotopies from the compositions to the identity chain maps.
Note that this contains data; arguably it might be more useful for many applications if we truncated it to a Prop.
ctor HomotopyEquiv.mk E0 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
(hom : C ⟶ D) →
(inv : D ⟶ C) →
Homotopy (CategoryTheory.CategoryStruct.comp hom inv) (CategoryTheory.CategoryStruct.id C) →
Homotopy (CategoryTheory.CategoryStruct.comp inv hom) (CategoryTheory.CategoryStruct.id D) →
HomotopyEquiv C D
abbrev HomotopyEquiv.hom E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → HomotopyEquiv C D → (C ⟶ D)
The forward chain map
abbrev HomotopyEquiv.inv E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → HomotopyEquiv C D → (D ⟶ C)
The backward chain map
abbrev HomotopyEquiv.homotopyHomInvId E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
(self : HomotopyEquiv C D) →
Homotopy (CategoryTheory.CategoryStruct.comp self.hom self.inv) (CategoryTheory.CategoryStruct.id C)
A homotopy showing that composing the forward and backward maps is homotopic to the identity on C
abbrev HomotopyEquiv.homotopyInvHomId E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
(self : HomotopyEquiv C D) →
Homotopy (CategoryTheory.CategoryStruct.comp self.inv self.hom) (CategoryTheory.CategoryStruct.id D)
A homotopy showing that composing the backward and forward maps is homotopic to the identity on D
def HomologicalComplex.homotopyEquivalences E1 #
{ι : Type u_1} →
(V : Type u) →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
(c : ComplexShape ι) → CategoryTheory.MorphismProperty (HomologicalComplex V c)
The morphism property on HomologicalComplex V c given by homotopy equivalences.
def HomotopyEquiv.refl E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] → {c : ComplexShape ι} → (C : HomologicalComplex V c) → HomotopyEquiv C C
Any complex is homotopy equivalent to itself.
theorem HomotopyEquiv.refl_homotopyInvHomId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} (C : HomologicalComplex V c), (HomotopyEquiv.refl C).homotopyInvHomId = Homotopy.ofEq ⋯
theorem HomotopyEquiv.refl_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} (C : HomologicalComplex V c), (HomotopyEquiv.refl C).hom = CategoryTheory.CategoryStruct.id C
theorem HomotopyEquiv.refl_homotopyHomInvId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} (C : HomologicalComplex V c), (HomotopyEquiv.refl C).homotopyHomInvId = Homotopy.ofEq ⋯
theorem HomotopyEquiv.refl_inv E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} (C : HomologicalComplex V c), (HomotopyEquiv.refl C).inv = CategoryTheory.CategoryStruct.id C
instance HomotopyEquiv.instInhabited E0 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C : HomologicalComplex V c} → Inhabited (HomotopyEquiv C C)
def HomotopyEquiv.symm E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → HomotopyEquiv C D → HomotopyEquiv D C
Being homotopy equivalent is a symmetric relation.
theorem HomotopyEquiv.symm_homotopyInvHomId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D),
f.symm.homotopyInvHomId = f.homotopyHomInvId
theorem HomotopyEquiv.symm_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D), f.symm.hom = f.inv
theorem HomotopyEquiv.symm_inv E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D), f.symm.inv = f.hom
theorem HomotopyEquiv.symm_homotopyHomInvId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D),
f.symm.homotopyHomInvId = f.homotopyInvHomId
def HomotopyEquiv.trans E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D E : HomologicalComplex V c} → HomotopyEquiv C D → HomotopyEquiv D E → HomotopyEquiv C E
Homotopy equivalence is a transitive relation.
theorem HomotopyEquiv.trans_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : HomotopyEquiv C D) (g : HomotopyEquiv D E),
(f.trans g).hom = CategoryTheory.CategoryStruct.comp f.hom g.hom
theorem HomotopyEquiv.trans_inv E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : HomotopyEquiv C D) (g : HomotopyEquiv D E),
(f.trans g).inv = CategoryTheory.CategoryStruct.comp g.inv f.inv
theorem HomotopyEquiv.trans_homotopyInvHomId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : HomotopyEquiv C D) (g : HomotopyEquiv D E),
(f.trans g).homotopyInvHomId =
⋯.mpr (⋯.mp (((f.homotopyInvHomId.compRightId g.hom).compLeft g.inv).trans g.homotopyInvHomId))
theorem HomotopyEquiv.trans_homotopyHomInvId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D E : HomologicalComplex V c} (f : HomotopyEquiv C D) (g : HomotopyEquiv D E),
(f.trans g).homotopyHomInvId =
⋯.mpr (⋯.mp (((g.homotopyHomInvId.compRightId f.inv).compLeft f.hom).trans f.homotopyHomInvId))
def HomotopyEquiv.ofIso E1 #
{ι : Type u_2} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} → {C D : HomologicalComplex V c} → (C ≅ D) → HomotopyEquiv C D
An isomorphism of complexes induces a homotopy equivalence.
theorem HomotopyEquiv.homotopyEquivalences_hom E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D),
HomologicalComplex.homotopyEquivalences V c f.hom
theorem HomotopyEquiv.homotopyEquivalences_inv E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D),
HomologicalComplex.homotopyEquivalences V c f.inv
def HomotopyEquiv.copy E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} → (f : HomotopyEquiv C D) → {g : C ⟶ D} → Homotopy f.hom g → HomotopyEquiv C D
If f if a homotopy equivalence and h is a homotopy from f.hom to
a morphism g, then this is a homotopy equivalence whose hom field is g.
theorem HomotopyEquiv.copy_inv E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D) {g : C ⟶ D} (h : Homotopy f.hom g),
(f.copy h).inv = f.inv
theorem HomotopyEquiv.copy_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : HomotopyEquiv C D) {g : C ⟶ D} (h : Homotopy f.hom g),
(f.copy h).hom = g
theorem HomologicalComplex.homotopyEquivalences.of_isIso E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} (f : C ⟶ D) [CategoryTheory.IsIso f],
HomologicalComplex.homotopyEquivalences V c f
theorem HomologicalComplex.homotopyEquivalences.of_homotopy E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {f g : C ⟶ D},
HomologicalComplex.homotopyEquivalences V c f → ∀ (hfg : Homotopy f g), HomologicalComplex.homotopyEquivalences V c g
instance HomologicalComplex.instIsMultiplicativeHomotopyEquivalences E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι}, (HomologicalComplex.homotopyEquivalences V c).IsMultiplicative
instance HomologicalComplex.instHasTwoOutOfThreePropertyHomotopyEquivalences E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι}, (HomologicalComplex.homotopyEquivalences V c).HasTwoOutOfThreeProperty
instance HomologicalComplex.instRespectsIsoHomotopyEquivalences E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι}, (HomologicalComplex.homotopyEquivalences V c).RespectsIso
def CategoryTheory.Functor.mapHomotopy E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{W : Type u_2} →
[inst_2 : CategoryTheory.Category.{v_1, u_2} W] →
[inst_3 : CategoryTheory.Preadditive W] →
(F : CategoryTheory.Functor V W) →
[inst_4 : F.Additive] →
{f g : C ⟶ D} →
Homotopy f g → Homotopy ((F.mapHomologicalComplex c).map f) ((F.mapHomologicalComplex c).map g)
An additive functor takes homotopies to homotopies.
theorem CategoryTheory.Functor.mapHomotopy_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive] {f g : C ⟶ D}
(h : Homotopy f g) (i j : ι), (F.mapHomotopy h).hom i j = F.map (h.hom i j)
def CategoryTheory.Functor.mapHomotopyEquiv E1 #
{ι : Type u_1} →
{V : Type u} →
[inst : CategoryTheory.Category.{v, u} V] →
[inst_1 : CategoryTheory.Preadditive V] →
{c : ComplexShape ι} →
{C D : HomologicalComplex V c} →
{W : Type u_2} →
[inst_2 : CategoryTheory.Category.{v_1, u_2} W] →
[inst_3 : CategoryTheory.Preadditive W] →
(F : CategoryTheory.Functor V W) →
[inst_4 : F.Additive] →
HomotopyEquiv C D →
HomotopyEquiv ((F.mapHomologicalComplex c).obj C) ((F.mapHomologicalComplex c).obj D)
An additive functor preserves homotopy equivalences.
theorem CategoryTheory.Functor.mapHomotopyEquiv_inv E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive]
(h : HomotopyEquiv C D), (F.mapHomotopyEquiv h).inv = (F.mapHomologicalComplex c).map h.inv
theorem CategoryTheory.Functor.mapHomotopyEquiv_homotopyHomInvId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive]
(h : HomotopyEquiv C D), (F.mapHomotopyEquiv h).homotopyHomInvId = ⋯.mpr (⋯.mpr (F.mapHomotopy h.homotopyHomInvId))
theorem CategoryTheory.Functor.mapHomotopyEquiv_homotopyInvHomId E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive]
(h : HomotopyEquiv C D), (F.mapHomotopyEquiv h).homotopyInvHomId = ⋯.mpr (⋯.mpr (F.mapHomotopy h.homotopyInvHomId))
theorem CategoryTheory.Functor.mapHomotopyEquiv_hom E0 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive]
(h : HomotopyEquiv C D), (F.mapHomotopyEquiv h).hom = (F.mapHomologicalComplex c).map h.hom
theorem CategoryTheory.Functor.homotopyEquivalences_mapHomologicalComplex_map E1 #
∀ {ι : Type u_1} {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Preadditive V]
{c : ComplexShape ι} {C D : HomologicalComplex V c} {W : Type u_2} [inst_2 : CategoryTheory.Category.{v_1, u_2} W]
[inst_3 : CategoryTheory.Preadditive W] (F : CategoryTheory.Functor V W) [inst_4 : F.Additive] (f : C ⟶ D),
HomologicalComplex.homotopyEquivalences V c f →
HomologicalComplex.homotopyEquivalences W c ((F.mapHomologicalComplex c).map f)
def Homotopy.toShortComplex E1 #
{C : Type u_2} →
[inst : CategoryTheory.Category.{v_1, u_2} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{ι : Type u_3} →
{c : ComplexShape ι} →
[DecidableRel c.Rel] →
{K L : HomologicalComplex C c} →
{f g : K ⟶ L} →
Homotopy f g →
(i : ι) →
CategoryTheory.ShortComplex.Homotopy ((HomologicalComplex.shortComplexFunctor C c i).map f)
((HomologicalComplex.shortComplexFunctor C c i).map g)
A homotopy between morphisms of homological complexes K ⟶ L induces a homotopy
between morphisms of short complexes K.sc i ⟶ L.sc i.
theorem Homotopy.homologyMap_eq E0 #
∀ {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_2} C] [inst_1 : CategoryTheory.Preadditive C] {ι : Type u_3}
{c : ComplexShape ι} {K L : HomologicalComplex C c} {f g : K ⟶ L} (ho : Homotopy f g) (i : ι)
[inst_2 : K.HasHomology i] [inst_3 : L.HasHomology i],
HomologicalComplex.homologyMap f i = HomologicalComplex.homologyMap g i
def HomotopyEquiv.toHomologyIso E1 #
{C : Type u_2} →
[inst : CategoryTheory.Category.{v_1, u_2} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{ι : Type u_3} →
{c : ComplexShape ι} →
{K L : HomologicalComplex C c} →
HomotopyEquiv K L →
(i : ι) → [inst_2 : K.HasHomology i] → [inst_3 : L.HasHomology i] → K.homology i ≅ L.homology i
The isomorphism in homology induced by a homotopy equivalence.