Download lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomLinear.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.27 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomLinear.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomLinear.lean
-
curl -L -o FullHomLinear.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomLinear.lean
3.27 kB
Lean 4 · 8
declarations statementsfull
def fullHomCoboundaries : Submodule k (Cocycle K L n) where body · 6 lines
__ := coboundaries K L n
smul_mem' a x hx := by
obtain ⟨m, hm, y, hy⟩ := hx
refine ⟨m, hm, a • y, ?_⟩
rw [δ_smul, hy]
rflinstance fullHomModule : Module k (CohomologyClass K L n) := body · 1 line
inferInstanceAs (Module k ((Cocycle K L n) ⧸ fullHomCoboundaries k K L n))theorem fullHom_mk_smul (a : k) (x : Cocycle K L n) :
CohomologyClass.mk (a • x) = a • CohomologyClass.mk x := rfl theorem cocycleHom_smul (a : k) (x : Cocycle K L n) :
Cocycle.equivHomShift.symm (a • x) = a • Cocycle.equivHomShift.symm x := by proof · 4 lines
apply HomologicalComplex.Hom.ext
funext i
simp only [cocycleHom_component, HomologicalComplex.smul_f_apply,
Cocycle.coe_smul, Cochain.smul_v]theorem cokernelMap_smul (a : k) (F : P ⟶ Q) (n : ℤ) :
cokernelMap (a • F) n = a • cokernelMap F n := by proof · 6 lines
apply LinearMap.ext
intro z
obtain ⟨x, rfl⟩ := Submodule.mkQ_surjective (LinearMap.range (P.d (n + 1) n).hom) z
change (LinearMap.range (Q.d (n + 1) n).hom).mkQ (a • (F.f n).hom x) =
a • (LinearMap.range (Q.d (n + 1) n).hom).mkQ ((F.f n).hom x)
exact ((LinearMap.range (Q.d (n + 1) n).hom).mkQ.restrictScalars k).map_smul a _theorem cocycleComparisonMap_smul (a : k) (x : Cocycle K L n) :
cocycleComparisonMap (a • x) = a • cocycleComparisonMap x := by proof · 7 lines
unfold cocycleComparisonMap
rw [cocycleHom_smul]
apply HomologicalComplex.Hom.ext
funext i
have hi : negIndexEmbedding.f (-i) = i := neg_neg i
simp only [HomologicalComplex.extendMap_f _ _ hi,
HomologicalComplex.smul_f_apply, Linear.comp_smul, Linear.smul_comp]theorem fullHomStableEquiv_smul (hK : TotallyAcyclicComplex (chainOfCochain K))
(hL : ExactProjectiveComplex (chainOfCochain (L⟦n⟧)))
(a : k) (x : CohomologyClass K L n) :
fullHomStableEquiv K L n hK hL (a • x) = a • fullHomStableEquiv K L n hK hL x := by proof · 3 lines
obtain ⟨x, rfl⟩ := CohomologyClass.mk_surjective x
rw [← fullHom_mk_smul, fullHomStableEquiv_mk, fullHomStableEquiv_mk,
cocycleComparisonMap_smul, cokernelMap_smul, StableHom.classOf_smul]noncomputable def fullHomStableLinearEquiv
(K L : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ)
(hK : TotallyAcyclicComplex (chainOfCochain K))
(hL : ExactProjectiveComplex (chainOfCochain (L⟦n⟧))) :
CohomologyClass K L n ≃ₗ[k]
StableHom R (Cokernel (chainOfCochain K) 0) (Cokernel (chainOfCochain (L⟦n⟧)) 0) := body · 2 lines
{ fullHomStableEquiv K L n hK hL with
map_smul' := fullHomStableEquiv_smul hK hL }Outline