Download lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomComparison.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.2 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomComparison.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomComparison.lean
-
curl -L -o FullHomComparison.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomComparison.lean
2.2 kB
Lean 4 · 6
declarations statementsfull
def negIndexEmbedding : (ComplexShape.up ℤ).Embedding (ComplexShape.down ℤ) := body · 4 lines
ComplexShape.Embedding.mk' _ _ (fun i : ℤ => -i) neg_injective (by
intro i j
change i + 1 = j ↔ -j + 1 = -i
omega)instance : negIndexEmbedding.IsRelIff := by body · 2 lines
dsimp [negIndexEmbedding] infer_instance
noncomputable abbrev chainOfCochain (K : CochainComplex (ModuleCat.{u} R) ℤ) := body · 1 line
K.extend negIndexEmbeddingprivate instance negIndexFunctor_additive :
(negIndexEmbedding.extendHomotopyFunctor (ModuleCat.{u} R)).Additive := by body · 4 lines
have := Functor.additive_of_iso
(negIndexEmbedding.extendHomotopyFunctorFactors (ModuleCat.{u} R)).symm
exact Functor.additive_of_full_essSurj_comp
(HomotopyCategory.quotient (ModuleCat.{u} R) (ComplexShape.up ℤ)) _noncomputable def fullHomStableEquiv
(K L : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ)
(hK : TotallyAcyclicComplex (chainOfCochain K))
(hL : ExactProjectiveComplex (chainOfCochain (L⟦n⟧))) :
CochainComplex.HomComplex.CohomologyClass K L n ≃+
StableHom R (Cokernel (chainOfCochain K) 0) (Cokernel (chainOfCochain (L⟦n⟧)) 0) := body · 5 lines
CochainComplex.HomComplex.CohomologyClass.homAddEquiv.trans
((AddEquiv.ofBijective
(Functor.mapAddHom (negIndexEmbedding.extendHomotopyFunctor (ModuleCat.{u} R)))
⟨Functor.map_injective _, Functor.map_surjective _⟩).trans
(homotopyCokernelEquiv hK hL))theorem fullHomStableEquiv_eq_zero_iff
(K L : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ)
(hK : TotallyAcyclicComplex (chainOfCochain K))
(hL : ExactProjectiveComplex (chainOfCochain (L⟦n⟧)))
(x : CochainComplex.HomComplex.CohomologyClass K L n) :
fullHomStableEquiv K L n hK hL x = 0 ↔ x = 0 := proof · 1 line
map_eq_zero_iff (fullHomStableEquiv K L n hK hL) (fullHomStableEquiv K L n hK hL).injectiveOutline