math / data /lean /OAI /Algebra /AuslanderReiten /Modules /FiniteModuleNaturality.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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