Download data/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleNaturality.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.19 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleNaturality.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleNaturality.lean
-
curl -L -o FiniteModuleNaturality.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleNaturality.lean
6.19 kB
| import OAI.Algebra.AuslanderReiten.Modules.FiniteModuleTriangle | |
| import OAI.Algebra.AuslanderReiten.Homology.ShortExactNaturality | |
| namespace OAI | |
| noncomputable section | |
| open CategoryTheory CategoryTheory.Pretriangulated | |
| namespace ArExplicit.FiniteLeftModule | |
| open CompleteComparison | |
| universe u | |
| variable {k R : Type u} [Field k] [Ring R] [Algebra k R] [Module.Finite k R] | |
| variable (Ο : FrobeniusTrace k R) | |
| variable {M N L : FiniteLeftModule k R} | |
| theorem resolutionCokernelMap_comp (f : M.carrier ββ[R] N.carrier) (g : N.carrier ββ[R] L.carrier) : | |
| resolutionCokernelMap Ο (g.comp f) = (resolutionCokernelMap Ο g).comp (resolutionCokernelMap Ο f) := by | |
| apply LinearMap.ext | |
| intro x | |
| simp [resolutionCokernelMap] | |
| @[simp] | |
| theorem resolutionMap_id : | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο (LinearMap.id : M.carrier ββ[R] M.carrier)) = π _ := by | |
| apply (cochainHomotopyRawEquiv (M.completeCochain_totallyAcyclic Ο).to_chain | |
| (M.completeCochain_totallyAcyclic Ο).to_chain.toExactProjectiveComplex).injective | |
| rw [β (HomotopyCategory.quotient (ModuleCat.{u} R) (ComplexShape.up β€)).map_id, | |
| cochainHomotopyRawEquiv_map, cochainHomotopyRawEquiv_map, resolutionMap_cokernel] | |
| apply congrArg (StableHom.classOf R _ _) | |
| apply LinearMap.ext | |
| intro x | |
| obtain β¨x, rflβ© := (LinearMap.range ((M.completeCochain Ο).d (-1) 0).hom).mkQ_surjective x | |
| simp [resolutionCokernelMap, cochainCokernelMap_mk] | |
| theorem resolutionMap_comp (f : M.carrier ββ[R] N.carrier) (g : N.carrier ββ[R] L.carrier) : | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο (g.comp f)) = | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο f) β« | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο g) := by | |
| apply (cochainHomotopyRawEquiv (M.completeCochain_totallyAcyclic Ο).to_chain | |
| (L.completeCochain_totallyAcyclic Ο).to_chain.toExactProjectiveComplex).injective | |
| rw [β Functor.map_comp, cochainHomotopyRawEquiv_map, cochainHomotopyRawEquiv_map, | |
| cochainCokernelMap_comp, resolutionMap_cokernel, resolutionMap_cokernel, resolutionMap_cokernel, | |
| resolutionCokernelMap_comp] | |
| theorem resolutionMap_surjective : Function.Surjective | |
| (fun f : M.carrier ββ[R] N.carrier => | |
| (HomotopyCategory.quotient (ModuleCat.{u} R) (ComplexShape.up β€)).map (resolutionMap Ο f)) := by | |
| intro h | |
| let E := cochainHomotopyRawEquiv (M.completeCochain_totallyAcyclic Ο).to_chain | |
| (N.completeCochain_totallyAcyclic Ο).to_chain.toExactProjectiveComplex | |
| obtain β¨u, huβ© := StableHom.classOf_surjective (E h) | |
| let f := (N.completeCochainCokernelEquiv Ο).toLinearMap.comp | |
| (u.comp (M.completeCochainCokernelEquiv Ο).symm.toLinearMap) | |
| refine β¨f, E.injective ?_β© | |
| change cochainHomotopyRawEquiv _ _ _ = _ | |
| rw [cochainHomotopyRawEquiv_map, resolutionMap_cokernel] | |
| have hf : resolutionCokernelMap Ο f = u := by | |
| apply LinearMap.ext | |
| intro x | |
| simp [resolutionCokernelMap, f] | |
| rw [hf] | |
| exact hu | |
| variable (f : M.carrier ββ[R] N.carrier) (g : N.carrier ββ[R] L.carrier) | |
| variable (hf : Function.Injective f) (hg : Function.Surjective g) (hex : Function.Exact f g) | |
| def resolutionTriangle : Triangle (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up β€)) := by | |
| letI := Ο.regular_injective | |
| exact shortExactTriangle (resolutionMap Ο f) (resolutionCokernelMap Ο g) | |
| (by rw [resolutionMap_cokernel]; exact resolutionCokernelMap_exact Ο f g hex) | |
| (M.completeCochain_totallyAcyclic Ο) (N.completeCochain_totallyAcyclic Ο) | |
| (L.completeCochain_totallyAcyclic Ο) | |
| (by rw [resolutionMap_cokernel]; exact resolutionCokernelMap_injective Ο f hf) | |
| (resolutionCokernelMap_surjective Ο g hg) | |
| theorem resolutionTriangle_distinguished : | |
| resolutionTriangle Ο f g hf hg hex β | |
| distTriang (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up β€)) := by | |
| let := Ο.regular_injective | |
| apply shortExactTriangle_distinguished | |
| @[simp] | |
| theorem resolutionTriangle_first : | |
| (resolutionTriangle Ο f g hf hg hex).morβ = | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο f) := rfl | |
| theorem resolutionTriangle_second : | |
| (resolutionTriangle Ο f g hf hg hex).morβ = | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο g) := by | |
| let := Ο.regular_injective | |
| apply shortExactTriangle_second | |
| exact resolutionMap_cokernel Ο g | |
| abbrev resolutionConnecting : | |
| (HomotopyCategory.quotient _ _).obj (L.completeCochain Ο) βΆ | |
| ((HomotopyCategory.quotient _ _).obj (M.completeCochain Ο))β¦(1 : β€)β§ := | |
| (resolutionTriangle Ο f g hf hg hex).morβ | |
| variable {Mβ Nβ Lβ Mβ Nβ Lβ : FiniteLeftModule k R} | |
| variable (fβ : Mβ.carrier ββ[R] Nβ.carrier) (gβ : Nβ.carrier ββ[R] Lβ.carrier) | |
| (fβ : Mβ.carrier ββ[R] Nβ.carrier) (gβ : Nβ.carrier ββ[R] Lβ.carrier) | |
| variable (hfβ : Function.Injective fβ) (hgβ : Function.Surjective gβ) (hexβ : Function.Exact fβ gβ) | |
| (hfβ : Function.Injective fβ) (hgβ : Function.Surjective gβ) (hexβ : Function.Exact fβ gβ) | |
| variable (a : Mβ.carrier ββ[R] Mβ.carrier) (b : Nβ.carrier ββ[R] Nβ.carrier) | |
| (c : Lβ.carrier ββ[R] Lβ.carrier) | |
| theorem resolutionConnecting_natural | |
| (hab : b.comp fβ = fβ.comp a) (hbc : gβ.comp b = c.comp gβ) : | |
| (HomotopyCategory.quotient _ _).map (resolutionMap Ο c) β« | |
| resolutionConnecting Ο fβ gβ hfβ hgβ hexβ = | |
| resolutionConnecting Ο fβ gβ hfβ hgβ hexβ β« | |
| (CategoryTheory.shiftFunctor (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up β€)) 1).map | |
| ((HomotopyCategory.quotient _ _).map (resolutionMap Ο a)) := by | |
| let := Ο.regular_injective | |
| apply shortExactTriangle_connecting_natural | |
| Β· rw [resolutionMap_cokernel, β resolutionCokernelMap_comp, | |
| resolutionMap_cokernel, β resolutionCokernelMap_comp, hbc] | |
| Β· rw [cochainCokernelMap_comp, cochainCokernelMap_comp, | |
| resolutionMap_cokernel, resolutionMap_cokernel, resolutionMap_cokernel, resolutionMap_cokernel, | |
| β resolutionCokernelMap_comp, β resolutionCokernelMap_comp, hab] | |
| end ArExplicit.FiniteLeftModule | |
| end | |
| end OAI | |