Download lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularCategory.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.85 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularCategory.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularCategory.lean
-
curl -L -o TriangularCategory.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Triangular/TriangularCategory.lean
2.85 kB
Lean 4 · 9
declarations statementsfull
def eFunctor : ModuleCat.{u} R ⥤ ModuleCat.{u} (Triangular R F) where body · 4 lines
obj M := ModuleCat.of _ (TriangularE k R F M)
map f := ModuleCat.ofHom (eMap f.hom)
map_id M := by apply ModuleCat.hom_ext; exact eMap_id
map_comp f g := by apply ModuleCat.hom_ext; exact eMap_comp f.hom g.homdef jFunctor : ModuleCat.{u} R ⥤ ModuleCat.{u} (Triangular R F) where body · 4 lines
obj M := ModuleCat.of _ (TriangularJ k R F M)
map f := ModuleCat.ofHom (jMap f.hom)
map_id M := by apply ModuleCat.hom_ext; exact jMap_id
map_comp f g := by apply ModuleCat.hom_ext; exact jMap_comp f.hom g.hominstance : (eFunctor k R F).Additive where body · 6 lines
map_add := by
intro X Y f g
apply ModuleCat.hom_ext
apply eHomEquiv.injective
ext m
rflinstance : (jFunctor k R F).Additive where body · 6 lines
map_add := by
intro X Y f g
apply ModuleCat.hom_ext
apply jHomEquiv.injective
ext m
rflinstance : (eFunctor k R F).Faithful where body · 7 lines
map_injective := by
intro M N f g h
apply ModuleCat.hom_ext
apply LinearMap.ext
intro m
exact congrArg (fun a : (eFunctor k R F).obj M ⟶ (eFunctor k R F).obj N =>
(a.hom ⟨m, 0⟩).top) hinstance : (jFunctor k R F).Faithful where body · 7 lines
map_injective := by
intro M N f g h
apply ModuleCat.hom_ext
apply LinearMap.ext
intro m
exact congrArg (fun a : (jFunctor k R F).obj M ⟶ (jFunctor k R F).obj N =>
(a.hom ⟨0, m⟩).bottom) hinstance : (eFunctor k R F).Full where body · 5 lines
map_surjective := by
intro M N g
refine ⟨ModuleCat.ofHom (TriangularModule.topMap g.hom), ?_⟩
apply ModuleCat.hom_ext
exact eHom_topMap g.hominstance : (jFunctor k R F).Full where body · 5 lines
map_surjective := by
intro M N g
refine ⟨ModuleCat.ofHom (TriangularModule.bottomMap g.hom), ?_⟩
apply ModuleCat.hom_ext
exact jHom_bottomMap g.homtheorem eToJCochain_eq_zero (P Q : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ)
(x : Cochain (((eFunctor k R F).mapHomologicalComplex _).obj P)
(((jFunctor k R F).mapHomologicalComplex _).obj Q) n) : x = 0 := by proof · 4 lines
apply Cochain.ext
intro i j hij
apply ModuleCat.hom_ext
exact hom_E_J_eq_zero (x.v i j hij).homOutline