File size: 2,959 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
import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule
import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorSquare
import Mathlib.CategoryTheory.Monoidal.Tor

/-! # Diagonal Comparison -/

namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalComparison.Tor

noncomputable section

/-! Reduction to the diagonal for native Tor. The algebra coefficient
is the actual iterated tensor module; the comparison is computed from
a projective resolution of the multiplication module and its image. -/

open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory
open scoped TensorProduct

open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ExternalTensorSquare
  ExternalTensorProjectives

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false

universe u
variable (k R : Type u) [Field k] [CommRing R] [Algebra k R]
  (M N : ModuleCat.{u} R)

local instance : (ExternalTensorProjectives.externalTensor k R R N).Additive := by
  dsimp [ExternalTensorProjectives.externalTensor, TensorOverBaseProjectives.tensorRestriction]
  infer_instance

def tensorComplexIso (P : ProjectiveResolution (DiagonalModule.diagonalModule k R)) :
    ((ModuleCat.restrictScalars (algebraMap R (R βŠ—[k] R))).mapHomologicalComplex
      (ComplexShape.down β„•)).obj
        (((tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)).mapHomologicalComplex
          (ComplexShape.down β„•)).obj P.complex) β‰…
    ((tensorLeft M).mapHomologicalComplex (ComplexShape.down β„•)).obj
      ((DiagonalModule.tensorResolution k R N P).complex) :=
  (Functor.mapHomologicalComplexCompIso (ExternalTensorSquare.externalTensorSquare k R R N M)
    (ComplexShape.down β„•)).app P.complex

def torIso (n : β„•) :
    (ModuleCat.restrictScalars (algebraMap R (R βŠ—[k] R))).obj
      (((Tor (ModuleCat (R βŠ—[k] R)) n).obj (ExternalTensorSquare.externalCoefficient k R R N M)).obj
        (DiagonalModule.diagonalModule k R)) β‰…
    (((Tor (ModuleCat R) n).obj M).obj N) := by
  let G := ModuleCat.restrictScalars (algebraMap R (R βŠ—[k] R))
  let P := projectiveResolution (DiagonalModule.diagonalModule k R)
  let Q := DiagonalModule.tensorResolution k R N P
  let K := ((tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)).mapHomologicalComplex
    (ComplexShape.down β„•)).obj P.complex
  exact G.mapIso (P.isoLeftDerivedObj (tensorLeft (ExternalTensorSquare.externalCoefficient k R R N M)) n) β‰ͺ≫
    ((K.sc n).mapHomologyIso G).symm β‰ͺ≫
    (HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down β„•) n).mapIso
      (tensorComplexIso k R M N P) β‰ͺ≫
    (Q.isoLeftDerivedObj (tensorLeft M) n).symm β‰ͺ≫
    ((Tor (ModuleCat R) n).obj M).mapIso (DiagonalModule.diagonalTensorIso k R N)

end

end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalComparison.Tor