Download lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleEvaluation.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 6.55 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleEvaluation.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleEvaluation.lean
-
curl -L -o FiniteModuleEvaluation.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Modules/FiniteModuleEvaluation.lean
6.55 kB
Lean 4 · 12
declarations statementsfull
def evaluated : FiniteLeftModule k R where body · 4 lines
carrier := ModuleCat.of R (BalancedTensor k R (EnvelopingBimodule k R M.carrier) X.carrier)
scalar := inferInstance
tower := inferInstance
finite := inferInstancedef evaluationMap (f : M.carrier →ₗ[R ⊗[k] Rᵐᵒᵖ] N.carrier) :
(evaluated X M).carrier →ₗ[R] (evaluated X N).carrier := body · 1 line
EnvelopingBimodule.tensorMap X.carrier (ModuleCat.ofHom f)@[simp] theorem evaluationMap_id : evaluationMap X (LinearMap.id : M.carrier →ₗ[_] M.carrier) =
LinearMap.id := EnvelopingBimodule.tensorMap_id X.carrier @[simp] theorem evaluationMap_comp (f : M.carrier →ₗ[R ⊗[k] Rᵐᵒᵖ] N.carrier)
(g : N.carrier →ₗ[R ⊗[k] Rᵐᵒᵖ] P.carrier) :
evaluationMap X (g.comp f) = (evaluationMap X g).comp (evaluationMap X f) := proof · 1 line
EnvelopingBimodule.tensorMap_comp X.carrier (ModuleCat.ofHom f) (ModuleCat.ofHom g)def evaluationStableIso (e : StableIsomorphism (R ⊗[k] Rᵐᵒᵖ) M.carrier N.carrier) :
StableIsomorphism R (evaluated X M).carrier (evaluated X N).carrier where body · 8 lines
hom := EnvelopingBimodule.stableEvaluation X.carrier e.hom
inv := EnvelopingBimodule.stableEvaluation X.carrier e.inv
hom_inv_id := by
erw [← EnvelopingBimodule.stableEvaluation_comp, e.hom_inv_id]
exact EnvelopingBimodule.stableEvaluation_id X.carrier
inv_hom_id := by
erw [← EnvelopingBimodule.stableEvaluation_comp, e.inv_hom_id]
exact EnvelopingBimodule.stableEvaluation_id X.carriertheorem evaluated_projective [Module.Projective (R ⊗[k] Rᵐᵒᵖ) M.carrier] :
Module.Projective R (evaluated X M).carrier := by proof · 2 lines
let := Module.Finite.of_restrictScalars_finite k (R ⊗[k] Rᵐᵒᵖ) M.carrier
exact EnvelopingBimodule.tensor_projective X.carrier M.carriertheorem evaluation_shortExact :
Function.Injective (evaluationMap X f) ∧ Function.Surjective (evaluationMap X g) ∧
Function.Exact (evaluationMap X f) (evaluationMap X g) := by proof · 10 lines
have hr : LinearMap.range f = LinearMap.ker g := by
ext y
exact (he y).symm
obtain ⟨hi, hs, hx⟩ := EnvelopingBimodule.tensorMap_shortExact X.carrier
(ModuleCat.ofHom f) (ModuleCat.ofHom g) hf hg hr
change LinearMap.range (evaluationMap X f) = LinearMap.ker (evaluationMap X g) at hx
refine ⟨hi, hs, ?_⟩
intro y
exact (show y ∈ LinearMap.ker (evaluationMap X g) ↔
y ∈ LinearMap.range (evaluationMap X f) by rw [hx])def evaluationTriangle : Triangle (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up ℤ)) := body · 3 lines
resolutionTriangle τ (evaluationMap X f) (evaluationMap X g)
(evaluation_shortExact X f g hf hg he).1 (evaluation_shortExact X f g hf hg he).2.1
(evaluation_shortExact X f g hf hg he).2.2theorem evaluationTriangle_distinguished : evaluationTriangle X f g hf hg he τ ∈
distTriang (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up ℤ)) := proof · 1 line
resolutionTriangle_distinguished _ _ _ _ _ _
def evaluationSuccessorIso [Module.Projective (R ⊗[k] Rᵐᵒᵖ) N.carrier] :
(HomotopyCategory.quotient _ _).obj ((evaluated X P).completeCochain τ) ≅
((HomotopyCategory.quotient _ _).obj ((evaluated X M).completeCochain τ))⟦(1 : ℤ)⟧ := by body · 4 lines
letI := evaluated_projective X (M := N)
exact projectiveMiddleShiftIso τ (evaluationMap X f) (evaluationMap X g)
(evaluation_shortExact X f g hf hg he).1 (evaluation_shortExact X f g hf hg he).2.1
(evaluation_shortExact X f g hf hg he).2.2theorem evaluationSuccessorIso_hom [Module.Projective (R ⊗[k] Rᵐᵒᵖ) N.carrier] :
(evaluationSuccessorIso X f g hf hg he τ).hom =
(evaluationTriangle X f g hf hg he τ).mor₃ := by proof · 2 lines
let := evaluated_projective X (M := N)
exact projectiveMiddleShiftIso_hom _ _ _ _ _ _theorem evaluationConnecting_natural
(hab : b.comp f₁ = f₂.comp a) (hbc : g₂.comp b = c.comp g₁) :
(HomotopyCategory.quotient _ _).map (resolutionMap τ (evaluationMap X c)) ≫
(evaluationTriangle X f₂ g₂ hf₂ hg₂ he₂ τ).mor₃ =
(evaluationTriangle X f₁ g₁ hf₁ hg₁ he₁ τ).mor₃ ≫
(CategoryTheory.shiftFunctor (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up ℤ)) 1).map
((HomotopyCategory.quotient _ _).map (resolutionMap τ (evaluationMap X a))) := by proof · 3 lines
apply resolutionConnecting_natural
· rw [← evaluationMap_comp, ← evaluationMap_comp, hab]
· rw [← evaluationMap_comp, ← evaluationMap_comp, hbc]Outline
- def
evaluated18 - def
evaluationMap26 - theorem
evaluationMap_id31 - theorem
evaluationMap_comp35 - def
evaluationStableIso40 - theorem
evaluated_projective52 - theorem
evaluation_shortExact65 - def
evaluationTriangle81 - theorem
evaluationTriangle_distinguished86 - def
evaluationSuccessorIso90 - theorem
evaluationSuccessorIso_hom99 - theorem
evaluationConnecting_natural119