File size: 5,805 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
import OAI.AlgebraicGeometry.Comparison.Betti.Open.Image
import OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness

/-! # Sheafification Complex -/

namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.SheafificationComplex

noncomputable section

/-! Normalize sheafification and restriction on integer complexes via their actual adjunctions. -/

open _root_.CategoryTheory _root_.TopologicalSpace

def topologicalSheafificationAdjunctionInt (M : TopCat.{0}) :
    (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
        (ComplexShape.up β„€) ⊣
      (sheafToPresheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
        (ComplexShape.up β„€) :=
  Complex.Adjunction.onComplexes
    (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)) (ComplexShape.up β„€)

variable {M N : TopCat.{0}} (f : M ⟢ N) (hf : Topology.IsOpenEmbedding f)

def openPresheafAdjunctionInt :
    (Image.openPresheafRestriction f hf).mapHomologicalComplex (ComplexShape.up β„€) ⊣
      (Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€) :=
  Complex.Adjunction.onComplexes (Image.openPresheafAdjunction f hf) (ComplexShape.up β„€)

def openRestrictionAdjunctionInt :
    (Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up β„€) ⊣
      (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€) :=
  Complex.Adjunction.onComplexes (Image.openRestrictionAdjunction f hf) (ComplexShape.up β„€)

def sheafificationOpenRestrictionComplexIso :
    (presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚)).mapHomologicalComplex
        (ComplexShape.up β„€) β‹™ (Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up β„€) β‰…
      (Image.openPresheafRestriction f hf).mapHomologicalComplex (ComplexShape.up β„€) β‹™
        (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
          (ComplexShape.up β„€) :=
  ((topologicalSheafificationAdjunctionInt N).comp (openRestrictionAdjunctionInt f hf)).leftAdjointUniq
    ((openPresheafAdjunctionInt f hf).comp (topologicalSheafificationAdjunctionInt M))

variable {P : CochainComplex (N.Presheaf (ModuleCat.{0} β„‚)) β„€}
  {Q : CochainComplex (M.Presheaf (ModuleCat.{0} β„‚)) β„€}
  (p : P ⟢ ((Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€)).obj Q)

def sheafifiedOpenDirectMapInt :
    ((presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚)).mapHomologicalComplex
      (ComplexShape.up β„€)).obj P ⟢
    ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€)).obj
      (((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
        (ComplexShape.up β„€)).obj Q) :=
  ((topologicalSheafificationAdjunctionInt N).homEquiv _ _).symm
    (p ≫ ((Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€)).map
      ((topologicalSheafificationAdjunctionInt M).unit.app Q))

def sheafifiedOpenPullbackInt :
    ((Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up β„€)).obj
      (((presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚)).mapHomologicalComplex
        (ComplexShape.up β„€)).obj P) ⟢
    ((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
      (ComplexShape.up β„€)).obj Q :=
  ((openRestrictionAdjunctionInt f hf).homEquiv _ _).symm (sheafifiedOpenDirectMapInt f p)

theorem sheafifiedOpenPullbackInt_normalization :
    sheafifiedOpenPullbackInt f hf p =
      (sheafificationOpenRestrictionComplexIso f hf).hom.app P ≫
        ((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
          (ComplexShape.up β„€)).map (((openPresheafAdjunctionInt f hf).homEquiv P Q).symm p) := by
  let a := topologicalSheafificationAdjunctionInt N
  let b := openRestrictionAdjunctionInt f hf
  let c := openPresheafAdjunctionInt f hf
  let d := topologicalSheafificationAdjunctionInt M
  let LN := (presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚)).mapHomologicalComplex
    (ComplexShape.up β„€)
  let LM := (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)).mapHomologicalComplex
    (ComplexShape.up β„€)
  let Dp := (Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€)
  let Ds := (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up β„€)
  let r := (c.homEquiv P Q).symm p
  have hp : c.homEquiv P Q r = p := (c.homEquiv P Q).apply_symm_apply p
  have h₁ : b.homEquiv (LN.obj P) (LM.obj Q) (sheafifiedOpenPullbackInt f hf p) =
      sheafifiedOpenDirectMapInt f p := (b.homEquiv _ _).apply_symm_apply _
  have hβ‚‚ : a.homEquiv P (Ds.obj (LM.obj Q)) (sheafifiedOpenDirectMapInt f p) = p ≫ Dp.map (d.unit.app Q) :=
    (a.homEquiv _ _).apply_symm_apply _
  have hl : (a.comp b).homEquiv P (LM.obj Q) (sheafifiedOpenPullbackInt f hf p) =
      p ≫ Dp.map (d.unit.app Q) :=
    (congrArg (a.homEquiv P (Ds.obj (LM.obj Q))) h₁).trans hβ‚‚
  have hr := AdjunctionComplexUniqueness.comp_homEquiv_map_comp c d r (πŸ™ (LM.obj Q))
  erw [Category.comp_id, hp, d.homEquiv_id] at hr
  have he := AdjunctionComplexUniqueness.leftAdjointUniq_homEquiv (a.comp b) (c.comp d) (LM.map r)
  apply ((a.comp b).homEquiv P (LM.obj Q)).injective
  exact hl.trans (he.trans hr).symm

theorem sheafifiedOpenPullbackInt_isIso
    [IsIso (((openPresheafAdjunctionInt f hf).homEquiv P Q).symm p)] :
    IsIso (sheafifiedOpenPullbackInt f hf p) := by
  rw [sheafifiedOpenPullbackInt_normalization]
  infer_instance

end

end OAI.AlgebraicGeometry.Comparison.Betti.Open.SheafificationComplex