Download lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomMapLinear.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.05 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomMapLinear.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomMapLinear.lean
-
curl -L -o FullHomMapLinear.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/HomComplex/FullHomMapLinear.lean
3.05 kB
Lean 4 · 7
declarations statementsfull
theorem mapFullHom_smul (a : k) (x : CohomologyClass K L n) :
mapFullHom Φ K L n (a • x) = a • mapFullHom Φ K L n x := by proof · 8 lines
obtain ⟨x,rfl⟩ := CohomologyClass.mk_surjective x
rw [← CompleteComparison.fullHom_mk_smul, mapFullHom_mk, mapFullHom_mk,
← CompleteComparison.fullHom_mk_smul]
congr 1
apply Subtype.ext
apply Cochain.ext
intro p q hpq
exact Φ.map_smul a (x.val.v p q hpq)def mapFullHomLinear : CohomologyClass K L n →ₗ[k]
CohomologyClass ((Φ.mapHomologicalComplex _).obj K)
((Φ.mapHomologicalComplex _).obj L) n where body · 2 lines
__ := mapFullHom Φ K L n
map_smul' := mapFullHom_smul Φ K L ntheorem mapFullHom_identity :
mapFullHom Φ K K 0 (CohomologyClass.mk (Cocycle.ofHom (𝟙 K))) =
CohomologyClass.mk (Cocycle.ofHom (𝟙 ((Φ.mapHomologicalComplex _).obj K))) := by proof · 6 lines
rw [mapFullHom_mk]
congr 1
apply Subtype.ext
change (Cochain.ofHom (𝟙 K)).map Φ =
Cochain.ofHom (𝟙 ((Φ.mapHomologicalComplex _).obj K))
rw [Cochain.map_ofHom, CategoryTheory.Functor.map_id]theorem fullHomPostcomp_smul (f : K ⟶ L) (n : ℤ) (a : k)
(x : CohomologyClass K K n) :
fullHomPostcomp f n (a • x) = a • fullHomPostcomp f n x := by proof · 6 lines
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)theorem fullHomPrecomp_smul (f : K ⟶ L) (n : ℤ) (a : k)
(x : CohomologyClass L L n) :
fullHomPrecomp f n (a • x) = a • fullHomPrecomp f n x := by proof · 6 lines
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)theorem fullHomPostcomp_identity (f : K ⟶ L) :
fullHomPostcomp f 0 (CohomologyClass.mk (Cocycle.ofHom (𝟙 K))) =
CohomologyClass.mk (Cocycle.ofHom f) := by proof · 4 lines
rw [fullHomPostcomp_mk]
congr 1
apply Subtype.ext
exact Cochain.id_comp _theorem fullHomPrecomp_identity (f : K ⟶ L) :
fullHomPrecomp f 0 (CohomologyClass.mk (Cocycle.ofHom (𝟙 L))) =
CohomologyClass.mk (Cocycle.ofHom f) := by proof · 4 lines
rw [fullHomPrecomp_mk]
congr 1
apply Subtype.ext
exact Cochain.comp_id _Outline