File size: 4,259 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
import OAI.Algebra.AuslanderReiten.Tensor.BalancedTensorResolution
import OAI.Algebra.AuslanderReiten.Complete.CompleteCokernelLifts

namespace OAI

noncomputable section
open CategoryTheory CochainComplex.HomComplex
open scoped ModuleCat.Algebra
namespace ArExplicit.BalancedTensor
open 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]
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)
variable (e : BalancedTensor k R F M.carrier ≃ₗ[R] N.carrier)

def comparisonOut : completeTensor (F := F) Ο„ M ⟢ N.completeCochain Ο„ :=
  cokernelCochainLift (completeTensor_totallyAcyclic (F := F) Ο„ M)
    (N.completeCochain_totallyAcyclic Ο„)
    (((tensorCokernelEquiv (F := F) Ο„ M).trans e).trans
      (N.completeCochainCokernelEquiv Ο„).symm).toLinearMap

def comparisonIn : N.completeCochain Ο„ ⟢ completeTensor (F := F) Ο„ M :=
  cokernelCochainLift (N.completeCochain_totallyAcyclic Ο„)
    (completeTensor_totallyAcyclic (F := F) Ο„ M)
    (((tensorCokernelEquiv (F := F) Ο„ M).trans e).trans
      (N.completeCochainCokernelEquiv Ο„).symm).symm.toLinearMap

theorem comparisonOut_quotient :
    (HomotopyCategory.quotient _ _).map (comparisonOut Ο„ M N e) =
      (completeTensorIso Ο„ M N e).hom :=
  cokernelCochainLift_quotient _ _ _

theorem comparisonIn_quotient :
    (HomotopyCategory.quotient _ _).map (comparisonIn Ο„ M N e) =
      (completeTensorIso Ο„ M N e).inv :=
  cokernelCochainLift_quotient_inv _ _ _

theorem comparisonOut_bijective (K : CochainComplex (ModuleCat.{u} R) β„€) (n : β„€) :
    Function.Bijective (fullHomPostcomp (K := K) (comparisonOut Ο„ M N e) n) := by
  apply fullHomPostcomp_bijective k n (comparisonOut Ο„ M N e) (comparisonIn Ο„ M N e)
  Β· rw [CategoryTheory.Functor.map_comp, comparisonOut_quotient, comparisonIn_quotient,
      Iso.hom_inv_id]
  Β· rw [CategoryTheory.Functor.map_comp, comparisonOut_quotient, comparisonIn_quotient,
      Iso.inv_hom_id]

variable {G : Type u} [AddCommGroup G] [Module k G] [Module Rᡐᡒᡖ G] [Module R G]
variable [IsScalarTower 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]
variable (N' : FiniteLeftModule k R)

theorem comparisonOut_natural
    (a : F β†’β‚—[Rᡐᡒᡖ] G) (ha : βˆ€ (r : R) f, a (r β€’ f) = r β€’ a f)
    (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 Ο„) ≫ comparisonOut Ο„ M N' e') =
    (HomotopyCategory.quotient _ _).map
      (comparisonOut Ο„ M N e ≫ FiniteLeftModule.resolutionMap Ο„ b) := by
  rw [CategoryTheory.Functor.map_comp, CategoryTheory.Functor.map_comp,
    comparisonOut_quotient, comparisonOut_quotient]
  exact completeTensorIso_natural Ο„ M N N' a ha e e' b hab

theorem comparisonOut_fullHom_natural
    (a : F β†’β‚—[Rᡐᡒᡖ] G) (ha : βˆ€ (r : R) f, a (r β€’ f) = r β€’ a f)
    (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))
    (K : CochainComplex (ModuleCat.{u} R) β„€) (n : β„€)
    (x : CohomologyClass K (completeTensor (F := F) Ο„ M) n) :
    fullHomPostcomp (comparisonOut Ο„ M N' e') n
      (fullHomPostcomp (complexMap (k := k) a ha (M.completeCochain Ο„)) n x) =
    fullHomPostcomp (FiniteLeftModule.resolutionMap Ο„ b) n
      (fullHomPostcomp (comparisonOut Ο„ M N e) n x) := by
  rw [fullHomPostcomp_comp, fullHomPostcomp_comp]
  exact fullHomPostcomp_congr k n (comparisonOut_natural Ο„ M N e N' a ha e' b hab) x

end ArExplicit.BalancedTensor

end

end OAI