privatetheoremextMk_eq_of_map_eq {n : ℕ} (a b : P.complex.X n ⟶X)
(ha : P.complex.d (n+1) n ≫ a = 0) (hb : P.complex.d (n+1) n ≫ b = 0)
(hab : a = b) : P.extMk a (n+1) rfl ha = P.extMk b (n+1) rfl hb :=by
theoremcubic_endExt_commute (hfg : f 3 ≫ g 0 = g 3 ≫ f 0) :
(endExt P (natCubicCocycle (k := k) P f hf)).comp
(endExt P (natCubicCocycle (k := k) P g hg)) rfl =
(endExt P (natCubicCocycle (k := k) P g hg)).comp
(endExt P (natCubicCocycle (k := k) P f hf)) rfl :=by
proof · 13
lines
have h₁ := (congrArg (fun y =>
(endExt P (natCubicCocycle (k := k) P f hf)).comp y (show3+3=6from rfl))
(natCubic_endExt_eq (k := k) P g hg)).trans
(cubic_endExt_comp_extMk (k := k) P f hf (g 0 ≫ P.π.f 0)
(natCubic_augmented_cycle P g hg))
have h₂ := (congrArg (fun y =>
(endExt P (natCubicCocycle (k := k) P g hg)).comp y (show3+3=6from rfl))
(natCubic_endExt_eq (k := k) P f hf)).trans
(cubic_endExt_comp_extMk (k := k) P g hg (f 0 ≫ P.π.f 0)
(natCubic_augmented_cycle P f hf))
refine h₁.trans ((extMk_eq_of_map_eq P _ _ _ _ ?_).trans h₂.symm)
change f 3 ≫ (g 0 ≫ P.π.f 0) = g 3 ≫ (f 0 ≫ P.π.f 0)
rw [←Category.assoc, hfg, Category.assoc]