Download lean/OAI/Algebra/AuslanderReiten/Resolutions/MapResolutionCochain.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Resolutions/MapResolutionCochain.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Resolutions/MapResolutionCochain.lean
-
curl -L -o MapResolutionCochain.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Resolutions/MapResolutionCochain.lean
2.83 kB
Lean 4 · 5
declarations statementsfull
private theorem map_composite_cancel {U V W Z : C} {U' Z' : D}
(a : U' ⟶ F.obj U) (b : U ⟶ V) (f : V ⟶ W) (e : W ≅ Z) (t : F.obj W ⟶ Z') :
a ≫ F.map (b ≫ f ≫ e.hom) ≫ (F.map e.inv ≫ t) =
(a ≫ F.map b) ≫ F.map f ≫ t := by proof · 2 lines
simp only [Functor.map_comp, Category.assoc]
rw [← F.map_comp_assoc e.hom e.inv t, e.hom_inv_id, F.map_id, id_comp]def mapResolutionCochainIso : (mapResolution F P).cochainComplex ≅
(F.mapHomologicalComplex (.up ℤ)).obj P.cochainComplex := body · 1 line
mapExtendIso F P.complex ComplexShape.embeddingDownNattheorem mapResolutionCochainIso_coordinate (n : ℤ) (j : ℕ) (h : -(j : ℤ) = n) :
(mapResolutionCochainIso F P).hom.f n ≫ F.map (P.cochainComplexXIso n j h).hom =
((mapResolution F P).cochainComplexXIso n j h).hom := proof · 1 line
mapExtendXIso_hom_XIso F P.complex (ComplexShape.embeddingDownNat.r_eq_some h)theorem mapResolution_π_zero : (mapResolution F P).π.f 0 = F.map (P.π.f 0) := by proof · 4 lines
change F.map (P.π.f 0) ≫ ((singleMapHomologicalComplex F (.down ℕ) 0).hom.app X).f 0 = _
rw [singleMapHomologicalComplex_hom_app_self]
change F.map (P.π.f 0) ≫ (F.map (𝟙 X) ≫ 𝟙 (F.obj X)) = _
simptheorem mapResolutionCochainIso_π :
(mapResolutionCochainIso F P).hom ≫
(F.mapHomologicalComplex (.up ℤ)).map P.π' ≫
(F.mapCochainComplexSingleFunctor 0).hom.app X = (mapResolution F P).π' := by proof · 11 lines
apply to_single_hom_ext
change (mapResolutionCochainIso F P).hom.f 0 ≫ F.map (P.π'.f 0) ≫
((singleMapHomologicalComplex F (.up ℤ) 0).hom.app X).f 0 = (mapResolution F P).π'.f 0
rw [P.π'_f_zero,
(mapResolution F P).π'_f_zero, mapResolution_π_zero,
singleMapHomologicalComplex_hom_app_self]
have he := map_composite_cancel F ((mapResolutionCochainIso F P).hom.f 0)
(P.cochainComplexXIso 0 0 (by simp)).hom (show P.complex.X 0 ⟶ X from P.π.f 0)
(singleObjXSelf (.up ℤ) 0 X).symm (singleObjXSelf (.up ℤ) 0 (F.obj X)).inv
exact he.trans (congrArg (fun a => a ≫ F.map (P.π.f 0) ≫
(singleObjXSelf (.up ℤ) 0 (F.obj X)).inv) (mapResolutionCochainIso_coordinate F P 0 0 (by simp)))Outline