openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /HomComplex /FullHomCompositionLinear.lean
Download lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomCompositionLinear.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomCompositionLinear.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomCompositionLinear.lean
-
curl -L -o FullHomCompositionLinear.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomCompositionLinear.lean
1.4 kB
Lean 4 · 2
declarations statementsfull
| import OAI.Algebra.AuslanderReiten.HomComplex.FullHomMapLinear | |
| namespace OAI | |
| noncomputable section | |
| open CategoryTheory CochainComplex.HomComplex | |
| namespace ArExplicit | |
| universe u v w | |
| variable (k : Type u) [CommRing k] | |
| variable {C : Type w} [Category.{v} C] [Preadditive C] [Linear k C] | |
| variable {K L M : CochainComplex C ℤ} (n : ℤ) | |
| def fullHomPostcompLinear (f : L ⟶ M) : CohomologyClass K L n →ₗ[k] CohomologyClass K M n where | |
| __ := fullHomPostcomp f n | |
| map_smul' a x := by | |
| change fullHomPostcomp f n (a • x) = a • fullHomPostcomp f n x | |
| obtain ⟨x, rfl⟩ := CohomologyClass.mk_surjective x | |
| rw [← CompleteComparison.fullHom_mk_smul, fullHomPostcomp_mk, fullHomPostcomp_mk, | |
| ← CompleteComparison.fullHom_mk_smul] | |
| congr 1 | |
| apply Subtype.ext | |
| exact Cochain.smul_comp a x.val (Cochain.ofHom f) (add_zero n) | |
| def fullHomPrecompLinear (f : K ⟶ L) : CohomologyClass L M n →ₗ[k] CohomologyClass K M n where | |
| __ := fullHomPrecomp f n | |
| map_smul' a x := by | |
| change fullHomPrecomp f n (a • x) = a • fullHomPrecomp f n x | |
| obtain ⟨x, rfl⟩ := CohomologyClass.mk_surjective x | |
| rw [← CompleteComparison.fullHom_mk_smul, fullHomPrecomp_mk, fullHomPrecomp_mk, | |
| ← CompleteComparison.fullHom_mk_smul] | |
| congr 1 | |
| apply Subtype.ext | |
| exact Cochain.comp_smul (Cochain.ofHom f) a x.val (zero_add n) | |
| end ArExplicit | |
| end | |
| end OAI | |
Outline