File size: 6,550 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
import OAI.Algebra.AuslanderReiten.Tensor.EnvelopingBalancedExact
import OAI.Algebra.AuslanderReiten.Tensor.EnvelopingStableEvaluation
import OAI.Algebra.AuslanderReiten.Resolutions.FiniteResolutionLinear
import OAI.Algebra.AuslanderReiten.Complete.ProjectiveCompleteResolution

namespace OAI

noncomputable section
open CategoryTheory CategoryTheory.Pretriangulated
open scoped TensorProduct

namespace ArExplicit.FiniteLeftModule
universe u
variable {k R : Type u} [Field k] [Ring R] [Algebra k R] [Module.Finite k R]
variable (X : FiniteLeftModule k R)
variable (M : FiniteLeftModule k (R βŠ—[k] Rᡐᡒᡖ))

def evaluated : FiniteLeftModule k R where
  carrier := ModuleCat.of R (BalancedTensor k R (EnvelopingBimodule k R M.carrier) X.carrier)
  scalar := inferInstance
  tower := inferInstance
  finite := inferInstance

variable {M N P : FiniteLeftModule k (R βŠ—[k] Rᡐᡒᡖ)}

def evaluationMap (f : M.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] N.carrier) :
    (evaluated X M).carrier β†’β‚—[R] (evaluated X N).carrier :=
  EnvelopingBimodule.tensorMap X.carrier (ModuleCat.ofHom f)

omit [Module.Finite k R] in
@[simp] theorem evaluationMap_id : evaluationMap X (LinearMap.id : M.carrier β†’β‚—[_] M.carrier) =
    LinearMap.id := EnvelopingBimodule.tensorMap_id X.carrier

omit [Module.Finite k R] in
@[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) :=
  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
  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.carrier

omit [Module.Finite k R] in
theorem evaluated_projective [Module.Projective (R βŠ—[k] Rᡐᡒᡖ) M.carrier] :
    Module.Projective R (evaluated X M).carrier := by
  let := Module.Finite.of_restrictScalars_finite k (R βŠ—[k] Rᡐᡒᡖ) M.carrier
  exact EnvelopingBimodule.tensor_projective X.carrier M.carrier

variable (f : M.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] N.carrier)
  (g : N.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] P.carrier)
variable (hf : Function.Injective f) (hg : Function.Surjective g) (he : Function.Exact f g)
variable [Module.Projective Rᡐᡒᡖ (EnvelopingBimodule k R P.carrier)]

include hf hg he in
omit [Module.Finite k R] in

theorem evaluation_shortExact :
    Function.Injective (evaluationMap X f) ∧ Function.Surjective (evaluationMap X g) ∧
      Function.Exact (evaluationMap X f) (evaluationMap X g) := by
  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])

variable (Ο„ : FrobeniusTrace k R)

def evaluationTriangle : Triangle (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up β„€)) :=
  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.2

theorem evaluationTriangle_distinguished : evaluationTriangle X f g hf hg he Ο„ ∈
    distTriang (HomotopyCategory (ModuleCat.{u} R) (ComplexShape.up β„€)) :=
  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
  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.2

@[simp]
theorem 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
  let := evaluated_projective X (M := N)
  exact projectiveMiddleShiftIso_hom _ _ _ _ _ _

section Naturality
variable {M₁ N₁ P₁ Mβ‚‚ Nβ‚‚ Pβ‚‚ : FiniteLeftModule k (R βŠ—[k] Rᡐᡒᡖ)}
variable (f₁ : M₁.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] N₁.carrier)
  (g₁ : N₁.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] P₁.carrier)
  (fβ‚‚ : Mβ‚‚.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] Nβ‚‚.carrier)
  (gβ‚‚ : Nβ‚‚.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] Pβ‚‚.carrier)
variable (hf₁ : Function.Injective f₁) (hg₁ : Function.Surjective g₁) (he₁ : Function.Exact f₁ g₁)
  (hfβ‚‚ : Function.Injective fβ‚‚) (hgβ‚‚ : Function.Surjective gβ‚‚) (heβ‚‚ : Function.Exact fβ‚‚ gβ‚‚)
variable [Module.Projective Rᡐᡒᡖ (EnvelopingBimodule k R P₁.carrier)]
  [Module.Projective Rᡐᡒᡖ (EnvelopingBimodule k R Pβ‚‚.carrier)]
variable (a : M₁.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] Mβ‚‚.carrier)
  (b : N₁.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] Nβ‚‚.carrier)
  (c : P₁.carrier β†’β‚—[R βŠ—[k] Rᡐᡒᡖ] Pβ‚‚.carrier)

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
  apply resolutionConnecting_natural
  Β· rw [← evaluationMap_comp, ← evaluationMap_comp, hab]
  Β· rw [← evaluationMap_comp, ← evaluationMap_comp, hbc]
end Naturality

end ArExplicit.FiniteLeftModule

end

end OAI