File size: 4,957 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
import OAI.AlgebraicGeometry.Comparison.Betti.TopologicalSheafPullback

/-! # Image -/

namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.Image

noncomputable section

section

/-! For an actual open embedding, inverse image agrees with literal restriction to open images. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite

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

def openRestriction : ConstantSheafSections.ComplexSheaves N β₯€ ConstantSheafSections.ComplexSheaves M := by
  have := hf.functor_isContinuous
  exact hf.functor.sheafPushforwardContinuous (ModuleCat.{0} β„‚)
    (Opens.grothendieckTopology M) (Opens.grothendieckTopology N)

instance openRestrictionAdditive : (openRestriction f hf).Additive where
  map_add := by intros; rfl

def openRestrictionAdjunction : openRestriction f hf ⊣ TopologicalSheafPullback.sheafDirectImage f := by
  have := hf.functor_isContinuous
  exact hf.isOpenMap.adjunction.sheafPushforwardContinuous
    (Opens.grothendieckTopology M) (Opens.grothendieckTopology N)

def openInverseImageIso : TopologicalSheafPullback.sheafInverseImage f β‰… openRestriction f hf :=
  (TopologicalSheafPullback.sheafImageAdjunction f).leftAdjointUniq (openRestrictionAdjunction f hf)

instance openRestrictionLimits : PreservesFiniteLimits (openRestriction f hf) :=
  preservesFiniteLimits_of_natIso (openInverseImageIso f hf)

instance openRestrictionColimits : PreservesFiniteColimits (openRestriction f hf) :=
  preservesFiniteColimits_of_natIso (openInverseImageIso f hf)

theorem openRestrictionAdjunction_unit (F : ConstantSheafSections.ComplexSheaves N) (U : Opens N) :
    ((openRestrictionAdjunction f hf).unit.app F).hom.app (op U) =
      F.obj.map (hf.isOpenMap.adjunction.counit.app U).op := rfl

theorem openInverseImageIso_unit (F : ConstantSheafSections.ComplexSheaves N) :
    (TopologicalSheafPullback.sheafImageAdjunction f).unit.app F ≫
        (TopologicalSheafPullback.sheafDirectImage f).map ((openInverseImageIso f hf).hom.app F) =
      (openRestrictionAdjunction f hf).unit.app F := by
  exact Adjunction.homEquiv_leftAdjointUniq_hom_app
    (TopologicalSheafPullback.sheafImageAdjunction f) (openRestrictionAdjunction f hf) F

end

section

/-! Sheafification commutes with literal restriction along actual open embeddings. -/

open _root_.CategoryTheory _root_.TopologicalSpace

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

def openPresheafRestriction : N.Presheaf (ModuleCat.{0} β„‚) β₯€ M.Presheaf (ModuleCat.{0} β„‚) :=
  (Functor.whiskeringLeft _ _ (ModuleCat.{0} β„‚)).obj hf.functor.op

def openPresheafDirectImage : M.Presheaf (ModuleCat.{0} β„‚) β₯€ N.Presheaf (ModuleCat.{0} β„‚) :=
  TopCat.Presheaf.pushforward (ModuleCat.{0} β„‚) f

instance openPresheafRestrictionAdditive : (openPresheafRestriction f hf).Additive where
  map_add := by intros; rfl

instance openPresheafDirectImageAdditive : (openPresheafDirectImage f).Additive where
  map_add := by intros; rfl

def openPresheafAdjunction : openPresheafRestriction f hf ⊣ openPresheafDirectImage f :=
  hf.isOpenMap.adjunction.op.whiskerLeft (ModuleCat.{0} β„‚)

def sheafificationOpenRestrictionIso :
    presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚) β‹™ openRestriction f hf β‰…
      openPresheafRestriction f hf β‹™ presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚) :=
  ((sheafificationAdjunction (Opens.grothendieckTopology N) (ModuleCat.{0} β„‚)).comp
      (openRestrictionAdjunction f hf)).leftAdjointUniq
    ((openPresheafAdjunction f hf).comp
      (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} β„‚)))

end

/-! The literal presheaf restriction counit is invertible for an open embedding. -/

open _root_.CategoryTheory _root_.TopologicalSpace

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

theorem openPresheafCounit_isIso (P : M.Presheaf (ModuleCat.{0} β„‚)) :
    IsIso ((openPresheafAdjunction f hf).counit.app P) := by
  have : Mono f := (TopCat.mono_iff_injective f).mpr hf.injective
  have (U : Opens M) : IsIso (hf.isOpenMap.adjunction.unit.app U) := by infer_instance
  have (U : (Opens M)α΅’α΅–) : IsIso (((openPresheafAdjunction f hf).counit.app P).app U) := by
    change IsIso (P.map (hf.isOpenMap.adjunction.unit.app U.unop).op)
    infer_instance
  exact NatIso.isIso_of_isIso_app _

theorem openPresheafComplexCounit_isIso (K : CochainComplex (M.Presheaf (ModuleCat.{0} β„‚)) β„€) :
    IsIso ((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up β„€)).counit.app K) := by
  have (n : β„€) : IsIso
      (((Complex.Adjunction.onComplexes (openPresheafAdjunction f hf) (ComplexShape.up β„€)).counit.app K).f n) :=
    openPresheafCounit_isIso f hf (K.X n)
  exact HomologicalComplex.Hom.isIso_of_components _

end

end OAI.AlgebraicGeometry.Comparison.Betti.Open.Image