File size: 1,882 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
import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.HomologyKernelCokernel
import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.SecondShift

/-! # One Second -/

namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.OneSecond

noncomputable section

/-! Native Tor in degree one is the kernel of tensoring the inclusion
in a projective presentation of its second argument. -/

set_option backward.isDefEq.respectTransparency false

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory

namespace Tor

universe u

variable (R : Type u) [CommRing R] (N : ModuleCat.{u} R)
  (S : ShortComplex (ModuleCat R)) (hS : S.ShortExact) [Projective S.X₂]

def kernelIso : (((Tor (ModuleCat R) 1).obj N).obj S.X₃) ≅
    ModuleCat.of R ((tensorLeft N).map S.f).hom.ker := by
  let Q := projectiveResolution S.X₁
  let P := ResolutionAugment.resolution S hS Q
  let F := tensorLeft N
  let : HasKernel (F.map S.f) := HasLimit.mk ⟨_, ModuleCat.kernelIsLimit (F.map S.f)⟩
  let K := (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex
  let T := K.sc' 2 1 0
  have wp : T.f ≫ F.map (Q.π.f 0) = 0 := by
    change F.map (Q.complex.d 1 0) ≫ F.map (Q.π.f 0) = 0
    rw [← F.map_comp, Q.complex_d_comp_π_f_zero, F.map_zero]
  have hp : IsColimit (CokernelCofork.ofπ (F.map (Q.π.f 0)) wp) :=
    CokernelCofork.mapIsColimit _ Q.isColimitCokernelCofork F
  have hg : F.map (Q.π.f 0) ≫ F.map S.f = T.g := by
    change F.map (Q.π.f 0) ≫ F.map S.f = F.map (Q.π.f 0 ≫ S.f)
    rw [F.map_comp]
  exact P.isoLeftDerivedObj F 1 ≪≫ K.homologyIsoSc' 2 1 0 (by simp) (by simp) ≪≫
    HomologyKernelCokernel.homologyIsoKernel T (F.obj S.X₁) (F.map (Q.π.f 0)) wp hp
      (F.map S.f) hg ≪≫ ModuleCat.kernelIsoKer (F.map S.f)

end Tor

end

end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.OneSecond