openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Resolutions /FiniteCochainResolution.lean
Download lean/OAI/Algebra/AuslanderReiten/Resolutions/FiniteCochainResolution.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Resolutions/FiniteCochainResolution.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Resolutions/FiniteCochainResolution.lean
-
curl -L -o FiniteCochainResolution.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Resolutions/FiniteCochainResolution.lean
2.1 kB
Lean 4 · 6
declarations statementsfull
def cochainOfChain (P : ChainComplex (ModuleCat.{u} R) ℤ) :
CochainComplex (ModuleCat.{u} R) ℤ := P.restriction negIndexEmbedding def cochainOfChainCokernelEquiv (P : ChainComplex (ModuleCat.{u} R) ℤ) :
CochainCokernel (cochainOfChain P) ≃ₗ[R] Cokernel P 0 := body · 1 line
LinearEquiv.refl R _theorem cochainOfChain_totallyAcyclic (P : ChainComplex (ModuleCat.{u} R) ℤ)
(hP : TotallyAcyclicComplex P) : TotallyAcyclicCochain (cochainOfChain P) where proof · 10 lines
finite i := hP.finite (-i)
projective i := hP.projective (-i)
exactAt i := by
rw [(cochainOfChain P).exactAt_iff' (i := i - 1) (j := i) (k := i + 1)
(by simp) (by simp), ShortComplex.moduleCat_exact_iff_range_eq_ker]
exact hP.exactAt_of_indices (by change -(i - 1) = -i + 1; omega)
(by change -(i + 1) = -i - 1; omega)
dualExact i := by
exact hP.dualExact_of_indices (by change -(i - 1) = -i + 1; omega)
(by change -(i + 1) = -i - 1; omega)noncomputable def completeCochain (τ : FrobeniusTrace k R) (M : FiniteLeftModule k R) :
CochainComplex (ModuleCat.{u} R) ℤ := cochainOfChain (M.completeComplex τ) theorem completeCochain_totallyAcyclic (τ : FrobeniusTrace k R) (M : FiniteLeftModule k R) :
TotallyAcyclicCochain (M.completeCochain τ) := proof · 1 line
cochainOfChain_totallyAcyclic _ (M.completeComplex_totallyAcyclic τ)noncomputable def completeCochainCokernelEquiv (τ : FrobeniusTrace k R) (M : FiniteLeftModule k R) :
CochainCokernel (M.completeCochain τ) ≃ₗ[R] M.carrier := body · 1 line
(cochainOfChainCokernelEquiv (M.completeComplex τ)).trans (M.completeCokernelEquiv τ)Outline