Download data/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorResolution.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.16 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorResolution.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorResolution.lean
-
curl -L -o BalancedTensorResolution.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorResolution.lean
5.16 kB
| import OAI.Algebra.AuslanderReiten.Tensor.BalancedTensorComplete | |
| import OAI.Algebra.AuslanderReiten.Tensor.BalancedTensorMapEquiv | |
| import OAI.Algebra.AuslanderReiten.Cones.CochainCokernelIso | |
| import OAI.Algebra.AuslanderReiten.Duality.FiniteStableResolutionIso | |
| namespace OAI | |
| noncomputable section | |
| namespace ArExplicit.BalancedTensor | |
| open CategoryTheory CompleteComparison | |
| universe u | |
| variable {k R F : Type u} [Field k] [Ring R] [Algebra k R] [Module.Finite k R] | |
| variable [AddCommGroup F] [Module k F] [Module Rα΅α΅α΅ F] [Module R F] | |
| variable [IsScalarTower k Rα΅α΅α΅ F] [SMulCommClass k Rα΅α΅α΅ F] | |
| variable [SMulCommClass k R F] [SMulCommClass R Rα΅α΅α΅ F] | |
| variable [Module.Finite Rα΅α΅α΅ F] [Module.Projective Rα΅α΅α΅ F] | |
| variable [Module.Finite R F] [Module.Projective R F] | |
| attribute [local instance] moduleCatBaseModule moduleCatBaseTower | |
| variable (Ο : FrobeniusTrace k R) (M N : FiniteLeftModule k R) | |
| abbrev completeTensor := | |
| (((functor (k := k) (R := R) (S := R) (F := F)).mapHomologicalComplex _).obj | |
| (M.completeCochain Ο)) | |
| def tensorCokernelEquiv : CochainCokernel (completeTensor (F := F) Ο M) ββ[R] | |
| BalancedTensor k R F M.carrier := | |
| (cochainCokernelEquiv (k := k) (F := F) (S := R) (M.completeCochain Ο)).trans | |
| (mapRightEquiv (k := k) (F := F) (S := R) (M.completeCochainCokernelEquiv Ο)) | |
| omit [SMulCommClass k Rα΅α΅α΅ F] [Module.Finite R F] [Module.Projective R F] in | |
| @[simp] theorem tensorCokernelEquiv_mk (f : F) (x : (M.completeCochain Ο).X 0) : | |
| tensorCokernelEquiv (F := F) Ο M (Submodule.Quotient.mk (tmul f x)) = | |
| tmul f (M.completeCochainCokernelEquiv Ο (Submodule.Quotient.mk x)) := by | |
| rw [tensorCokernelEquiv, LinearEquiv.trans_apply, | |
| cochainCokernelEquiv_mk_tmul, mapRightEquiv_tmul] | |
| omit [SMulCommClass k Rα΅α΅α΅ F] in | |
| theorem completeTensor_totallyAcyclic : TotallyAcyclicCochain (completeTensor (F := F) Ο M) := by | |
| let := Ο.regular_injective | |
| exact complex_totallyAcyclic (M.completeCochain Ο) | |
| (M.completeCochain_totallyAcyclic Ο).toExactProjectiveCochain | |
| def completeTensorIso (e : BalancedTensor k R F M.carrier ββ[R] N.carrier) : | |
| (HomotopyCategory.quotient _ _).obj (completeTensor (F := F) Ο M) β | |
| (HomotopyCategory.quotient _ _).obj (N.completeCochain Ο) := | |
| rawCokernelHomotopyIso (completeTensor_totallyAcyclic (F := F) Ο M) | |
| (N.completeCochain_totallyAcyclic Ο) | |
| (((tensorCokernelEquiv (F := F) Ο M).trans e).trans (N.completeCochainCokernelEquiv Ο).symm) | |
| variable {G : Type u} [AddCommGroup G] [Module k G] [Module Rα΅α΅α΅ G] [Module R G] | |
| variable [IsScalarTower k Rα΅α΅α΅ G] [SMulCommClass k Rα΅α΅α΅ G] | |
| variable [SMulCommClass k R G] [SMulCommClass R Rα΅α΅α΅ G] | |
| variable [Module.Finite Rα΅α΅α΅ G] [Module.Projective Rα΅α΅α΅ G] | |
| variable [Module.Finite R G] [Module.Projective R G] | |
| omit [SMulCommClass k Rα΅α΅α΅ F] [Module.Finite R F] [Module.Projective R F] in | |
| omit [SMulCommClass k Rα΅α΅α΅ G] [Module.Finite R G] [Module.Projective R G] in | |
| theorem tensorCokernelEquiv_natural (a : F ββ[Rα΅α΅α΅] G) | |
| (ha : β (r : R) f, a (r β’ f) = r β’ a f) | |
| (z : CochainCokernel (completeTensor (F := F) Ο M)) : | |
| tensorCokernelEquiv (F := G) Ο M | |
| (cochainCokernelMap (complexMap (k := k) a ha (M.completeCochain Ο)) z) = | |
| mapLeft (k := k) (M := M.carrier) a (tensorCokernelEquiv (F := F) Ο M z) := by | |
| obtain β¨x,rflβ© := Submodule.mkQ_surjective | |
| (LinearMap.range ((completeTensor (F := F) Ο M).d (-1) 0).hom) z | |
| induction x using induction_on with | |
| | zero => repeat' erw [map_zero] | |
| | add x y hx hy => | |
| repeat' erw [map_add] | |
| exact congrArgβ (Β· + Β·) hx hy | |
| | tmul f m => | |
| erw [cochainCokernelMap_mk] | |
| change tensorCokernelEquiv (F := G) Ο M (Submodule.Quotient.mk (tmul (a f) m)) = _ | |
| erw [tensorCokernelEquiv_mk] | |
| variable (N' : FiniteLeftModule k R) | |
| omit [SMulCommClass k Rα΅α΅α΅ F] [SMulCommClass k Rα΅α΅α΅ G] in | |
| theorem completeTensorIso_natural | |
| (a : F ββ[Rα΅α΅α΅] G) (ha : β (r : R) f, a (r β’ f) = r β’ a f) | |
| (e : BalancedTensor k R F M.carrier ββ[R] N.carrier) | |
| (e' : BalancedTensor k R G M.carrier ββ[R] N'.carrier) | |
| (b : N.carrier ββ[R] N'.carrier) | |
| (hab : β x, e' (mapLeft (k := k) (M := M.carrier) a x) = b (e x)) : | |
| (HomotopyCategory.quotient _ _).map (complexMap (k := k) a ha (M.completeCochain Ο)) β« | |
| (completeTensorIso Ο M N' e').hom = | |
| (completeTensorIso Ο M N e).hom β« | |
| (HomotopyCategory.quotient _ _).map (FiniteLeftModule.resolutionMap Ο b) := by | |
| apply rawCokernelHomotopyIso_natural | |
| rw [FiniteLeftModule.resolutionMap_cokernel] | |
| apply LinearMap.ext | |
| intro z | |
| change (N'.completeCochainCokernelEquiv Ο).symm | |
| (e' (tensorCokernelEquiv (F := G) Ο M | |
| (cochainCokernelMap (complexMap (k := k) a ha (M.completeCochain Ο)) z))) = | |
| (N'.completeCochainCokernelEquiv Ο).symm | |
| (b ((N.completeCochainCokernelEquiv Ο) | |
| ((N.completeCochainCokernelEquiv Ο).symm (e (tensorCokernelEquiv (F := F) Ο M z))))) | |
| rw [tensorCokernelEquiv_natural, LinearEquiv.apply_symm_apply, hab] | |
| end ArExplicit.BalancedTensor | |
| end | |
| end OAI | |