math / data /lean /OAI /Algebra /Homology /MappingCoconeShortExact.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.67 kB
/-
Copyright 2026 The Formal Conjectures Authors.
Released under Apache 2.0 license as described in the file LICENSE.
This file has been modified.
-/
import Mathlib.Algebra.Homology.DerivedCategory.ShortExact
/-! # Mapping Cocone Short Exact -/
namespace OAI.Algebra.Homology.MappingCoconeShortExact.CochainComplex
noncomputable section
open _root_.CochainComplex
/-!
# The canonical homotopy fiber comparison for a short exact sequence
For `0 β†’ A β†’ B β†’ C β†’ 0` this file constructs the canonical quasi-isomorphism
`A β†’ mappingCocone (B β†’ C)`. Its normalization is the inclusion `A β†’ B`.
The proof uses the explicit mapping-cone rotation homotopy equivalence and the
canonical quasi-isomorphism from the cone of `A β†’ B` to `C`.
-/
open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Pretriangulated
open _root_.HomologicalComplex
variable {C : Type*} [Category* C] [Abelian C]
namespace mappingCocone
open _root_.CochainComplex.mappingCocone
variable (S : ShortComplex (CochainComplex C β„€))
/-- Let `A β†’ B β†’ C` be a sequence of integer-indexed cochain complexes in an abelian category, with
zero composite. This is the canonical map `A[1] β†’ Cone(B β†’ C)` obtained from the first map `A β†’
B` and the zero component in `C`. When the sequence is short exact, the map is a
quasi-isomorphism. -/
def shiftedLiftShortComplex : S.Xβ‚βŸ¦(1 : β„€)⟧ ⟢ mappingCone S.g :=
(mappingCone.rotateHomotopyEquiv S.f).hom ≫
mappingCone.map (mappingCone.inr S.f) S.g (πŸ™ _)
(mappingCone.descShortComplex S) (by simp)
end mappingCocone
end
end OAI.Algebra.Homology.MappingCoconeShortExact.CochainComplex