deffullHomPostcompLinear (f : L⟶M) : CohomologyClassKL n →ₗ[k] CohomologyClassKM n where
body · 9
lines
__ := 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)
deffullHomPrecompLinear (f : K⟶L) : CohomologyClassLM n →ₗ[k] CohomologyClassKM n where
body · 9
lines
__ := 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)