File size: 18,278 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
import OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.ExtResolutionCoordinates
import OAI.AlgebraicGeometry.DivisorClass.Chern.HomComplexCycleCoordinates
import OAI.AlgebraicGeometry.DivisorClass.Chern.ExtendedCycleCoordinates

/-! # Resolution Injective -/

namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.ResolutionInjective

noncomputable section

section

/-! Explicit cochain coordinates for the unchanged native injective-resolution comparison. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf
open _root_.CochainComplex _root_.CochainComplex.HomComplex

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.defeqAttrib.useBackward true

variable {X : TopCat.{0}} {F : TopCat.Sheaf AddCommGrpCat.{0} X}
  (R : InjectiveResolution F)

local instance nativeResolutionCochains_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive :=
  (constantSheafΓAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive

def nativeResolutionSectionsIso :
    ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj
      (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)).HomComplex R.cochainComplex ≅
        (FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extend ComplexShape.embeddingUpNat :=
  HomComplexSections.nativeHomComplexSectionsIso R.cochainComplex ≪≫
    ResolutionExtensionSections.resolutionMapExtendIso (G := SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) R.cocomplex

theorem nativeResolutionSectionsIso_fromSingle (k : ℕ)
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ R.cocomplex.X k) :
    (nativeResolutionSectionsIso R).hom.f (k : ℤ)
      (Cochain.fromSingleMk (f ≫ (R.cochainComplexXIso k k rfl).inv) (zero_add _)) =
        ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendXIso
          ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f k)).inv
            (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X k) f) := by
  change (ResolutionExtensionSections.resolutionMapExtendXIso (G := SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) R.cocomplex (k : ℤ)).hom
    ((HomComplexSections.nativeHomComplexSectionsIso R.cochainComplex).hom.f (k : ℤ)
      (Cochain.fromSingleMk (f ≫ (R.cochainComplexXIso k k rfl).inv) (zero_add _))) = _
  rw [HomComplexSections.nativeHomComplexSectionsIso_fromSingle, ResolutionExtensionSections.resolutionMapExtendXIso_natCast]
  simp only [Iso.trans_hom, Functor.mapIso_hom, Iso.symm_hom, ConcreteCategory.comp_apply]
  change ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendXIso
    ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f k)).inv
      ((SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).map (R.cochainComplexXIso k k rfl).hom
        (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cochainComplex.X k)
          (f ≫ (R.cochainComplexXIso k k rfl).inv))) = _
  rw [← SectionCoordinates.nativeSheafHomGlobalEquiv_naturality]
  simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id]

theorem nativeResolutionSection_closed (n : ℕ)
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ R.cocomplex.X (n + 1))
    (hf : f ≫ R.cocomplex.d (n + 1) (n + 2) = 0) :
    (FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).d (n + 1) (n + 2)
      (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X (n + 1)) f) = 0 := by
  change (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).map (R.cocomplex.d (n + 1) (n + 2))
    (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X (n + 1)) f) = 0
  rw [← SectionCoordinates.nativeSheafHomGlobalEquiv_naturality, hf, map_zero]

def nativeResolutionCocycle (n : ℕ)
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ R.cocomplex.X (n + 1))
    (hf : f ≫ R.cocomplex.d (n + 1) (n + 2) = 0) :
    Cocycle ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj
      (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) R.cochainComplex (n + 1) :=
  Cocycle.fromSingleMk (f ≫ (R.cochainComplexXIso (n + 1) (n + 1) rfl).inv)
    (zero_add _) (n + 2 : ℕ) (by omega)
      (by
        rw [R.cochainComplex_d _ _ (n + 1) (n + 2) (by omega) (by omega)]
        simp only [Category.assoc, Iso.inv_hom_id_assoc, reassoc_of% hf, zero_comp])

theorem nativeResolutionCocycle_extMk (n : ℕ)
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ R.cocomplex.X (n + 1))
    (hf : f ≫ R.cocomplex.d (n + 1) (n + 2) = 0) :
    R.extAddEquivCohomologyClass (R.extMk f (n + 2) rfl hf) =
      CohomologyClass.mk (nativeResolutionCocycle R n f hf) :=
  R.extEquivCohomologyClass_extMk f (n + 2) rfl hf

end

section

/-! Actual resolution cocycles under the native sheaf-cohomology comparison. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf
open _root_.CochainComplex _root_.CochainComplex.HomComplex
open OAI.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.defeqAttrib.useBackward true

variable {X : TopCat.{0}} {F : TopCat.Sheaf AddCommGrpCat.{0} X}
  (R : InjectiveResolution F) (n : ℕ)
  (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ R.cocomplex.X (n + 1))
  (hf : f ≫ R.cocomplex.d (n + 1) (n + 2) = 0)

local instance nativeResolutionHomology_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive :=
  (constantSheafΓAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive

theorem nativeResolutionHomology_coordinates :
    HomologicalComplex.homologyMap (nativeResolutionSectionsIso R).hom ((n + 1 : ℕ) : ℤ)
      ((homologyAddEquiv ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj
        (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) R.cochainComplex ((n + 1 : ℕ) : ℤ)).symm
          (R.extAddEquivCohomologyClass (R.extMk f (n + 2) rfl hf))) =
      Abelian.CycleCoordinates.abelianIntegerCycleClass
        ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extend ComplexShape.embeddingUpNat)
        ((n + 1 : ℕ) : ℤ)
        (((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendXIso
          ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f (n + 1))).inv
            (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X (n + 1)) f))
        (ExtendedCycleCoordinates.extendedCycle_closed _ n _ (nativeResolutionSection_closed R n f hf)) := by
  rw [nativeResolutionCocycle_extMk, HomComplexCycleCoordinates.homComplexCohomologyClass_coordinates]
  let z := nativeResolutionCocycle R n f hf
  have he : (nativeResolutionSectionsIso R).hom.f ((n + 1 : ℕ) : ℤ) z.val =
      ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendXIso
        ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f (n + 1))).inv
          (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X (n + 1)) f) :=
    nativeResolutionSectionsIso_fromSingle R (n + 1) f
  have hy : ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extend ComplexShape.embeddingUpNat).d
      ((n + 1 : ℕ) : ℤ) (((n + 1 : ℕ) : ℤ) + 1)
      ((nativeResolutionSectionsIso R).hom.f ((n + 1 : ℕ) : ℤ) z.val) = 0 := by
    rw [he]
    exact ExtendedCycleCoordinates.extendedCycle_closed _ n _ (nativeResolutionSection_closed R n f hf)
  have hm := Abelian.CycleCoordinates.abelianIntegerCycleClass_map ((n + 1 : ℕ) : ℤ)
    (nativeResolutionSectionsIso R).hom z.val (HomComplexCycleCoordinates.homComplexCocycle_closed _ _ _ z) hy
  simpa only [he] using hm

theorem nativeResolutionHomology_positive_coordinates :
    ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendHomologyIso
      ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f (n + 1))).hom
      (HomologicalComplex.homologyMap (nativeResolutionSectionsIso R).hom ((n + 1 : ℕ) : ℤ)
        ((homologyAddEquiv ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj
          (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) R.cochainComplex ((n + 1 : ℕ) : ℤ)).symm
            (R.extAddEquivCohomologyClass (R.extMk f (n + 2) rfl hf)))) =
      (FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).homologyπ (n + 1)
        (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n (FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex)
          (SectionCoordinates.nativeSheafHomGlobalEquiv (R.cocomplex.X (n + 1)) f)
          (nativeResolutionSection_closed R n f hf)) := by
  rw [nativeResolutionHomology_coordinates]
  exact ExtendedCycleCoordinates.extendedCycleClass_coordinates _ n _ (nativeResolutionSection_closed R n f hf)

end

section

/-! The existing native injective comparison sends actual cocycles to their actual Ext classes. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf Opposite
open _root_.CochainComplex _root_.CochainComplex.HomComplex
open OAI.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.defeqAttrib.useBackward true

variable {X : TopCat.{0}} (F : TopCat.Sheaf AddCommGrpCat.{0} X) (n : ℕ)

local instance nativeInjectiveRepresentatives_additive : (SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X).Additive :=
  (constantSheafΓAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0}).right_adjoint_additive

theorem nativeExtResolutionEquiv_extMk
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ (injectiveResolution F).cocomplex.X (n + 1))
    (hf : f ≫ (injectiveResolution F).cocomplex.d (n + 1) (n + 2) = 0) :
    ExtResolutionCoordinates.nativeExtResolutionEquiv F n ((injectiveResolution F).extMk f (n + 2) rfl hf) =
      (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex).homologyπ (n + 1)
        (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex)
          (SectionCoordinates.nativeSheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1)) f)
          (nativeResolutionSection_closed (injectiveResolution F) n f hf)) := by
  let R := injectiveResolution F
  let a := (homologyAddEquiv ((singleFunctor (TopCat.Sheaf AddCommGrpCat.{0} X) 0).obj
    (Chern.Sheaf.ResolutionClasses.sheafCohomologySource X)) R.cochainComplex ((n + 1 : ℕ) : ℤ)).symm
      (R.extAddEquivCohomologyClass (R.extMk f (n + 2) rfl hf))
  change ((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendHomologyIso
    ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f (n + 1))).hom
      (HomologicalComplex.homologyMap
        (ResolutionExtensionSections.resolutionMapExtendIso (G := SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) R.cocomplex).hom
        ((n + 1 : ℕ) : ℤ)
        (HomologicalComplex.homologyMap (HomComplexSections.nativeHomComplexSectionsIso R.cochainComplex).hom
          ((n + 1 : ℕ) : ℤ) a)) = _
  have hm := ConcreteCategory.congr_hom (HomologicalComplex.homologyMap_comp
    (HomComplexSections.nativeHomComplexSectionsIso R.cochainComplex).hom
    (ResolutionExtensionSections.resolutionMapExtendIso (G := SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) R.cocomplex).hom
    ((n + 1 : ℕ) : ℤ)) a
  change HomologicalComplex.homologyMap (nativeResolutionSectionsIso R).hom
      ((n + 1 : ℕ) : ℤ) a =
    HomologicalComplex.homologyMap
      (ResolutionExtensionSections.resolutionMapExtendIso (G := SheafCohomology.Cech.GlobalSectionsFunctor.TopCat.Sheaf.globalSectionsFunctor X) R.cocomplex).hom
      ((n + 1 : ℕ) : ℤ)
      (HomologicalComplex.homologyMap (HomComplexSections.nativeHomComplexSectionsIso R.cochainComplex).hom
        ((n + 1 : ℕ) : ℤ) a) at hm
  exact (congrArg (((FlasqueCechD.abelianDerivedSectionsComplex R.cocomplex).extendHomologyIso
      ComplexShape.embeddingUpNat (ComplexShape.embeddingUpNat_f (n + 1))).hom) hm.symm).trans
    (nativeResolutionHomology_positive_coordinates R n f hf)

theorem nativeInjectiveCohomologyIso_extMk
    (f : Chern.Sheaf.ResolutionClasses.sheafCohomologySource X ⟶ (injectiveResolution F).cocomplex.X (n + 1))
    (hf : f ≫ (injectiveResolution F).cocomplex.d (n + 1) (n + 2) = 0) :
    (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom
      ((FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex).homologyπ (n + 1)
        (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex)
          (SectionCoordinates.nativeSheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1)) f)
          (nativeResolutionSection_closed (injectiveResolution F) n f hf))) =
      (injectiveResolution F).extMk f (n + 2) rfl hf := by
  rw [← nativeExtResolutionEquiv_extMk F n f hf,
    ← ExtResolutionCoordinates.nativeInjectiveCohomologyIso_inv_coordinates]
  exact (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).inv_hom_id_apply _

end

/-! The native injective comparison on actual sections over the whole space. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.TopCat.Sheaf Opposite
open OAI.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
set_option backward.defeqAttrib.useBackward true

variable {X : TopCat.{0}} (F : TopCat.Sheaf AddCommGrpCat.{0} X)

theorem nativeSheafHomGlobalEquiv_symm_top (s : F.obj.obj (op (⊤ : Opens X))) :
    SectionCoordinates.nativeSheafHomGlobalEquiv F ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv F).symm s) =
      (CategoryTheory.Sheaf.ΓNatIsoSheafSections (Opens.grothendieckTopology X)
        AddCommGrpCat.{0} isTerminalTop).inv.app F s := by
  let e := (CategoryTheory.Sheaf.ΓNatIsoSheafSections (Opens.grothendieckTopology X)
    AddCommGrpCat.{0} isTerminalTop).app F
  apply (AddCommGrpCat.mono_iff_injective e.hom).mp inferInstance
  change e.hom (SectionCoordinates.nativeSheafHomGlobalEquiv F ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv F).symm s)) = e.hom (e.inv s)
  rw [e.inv_hom_id_apply]
  exact (SectionCoordinates.nativeSheafHomGlobalEquiv_top F ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv F).symm s)).trans
    ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv F).apply_symm_apply s)

variable (n : ℕ)
  (s : ((injectiveResolution F).cocomplex.X (n + 1)).obj.obj (op (⊤ : Opens X)))
  (hs : ((injectiveResolution F).cocomplex.d (n + 1) (n + 2)).hom.app
    (op (⊤ : Opens X)) s = 0)

include hs in
theorem nativeResolutionTopSection_closed :
    (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex).d (n + 1) (n + 2)
      ((GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv.f (n + 1) s) = 0 := by
  let f := (Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1))).symm s
  have hf : f ≫ (injectiveResolution F).cocomplex.d (n + 1) (n + 2) = 0 := by
    apply (Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 2))).injective
    rw [Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv_naturality, map_zero]
    exact ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1))).apply_symm_apply s ▸ hs)
  have he := nativeSheafHomGlobalEquiv_symm_top ((injectiveResolution F).cocomplex.X (n + 1)) s
  change SectionCoordinates.nativeSheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1)) f =
    (GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv.f (n + 1) s at he
  exact he ▸ nativeResolutionSection_closed (injectiveResolution F) n f hf

theorem nativeInjectiveCohomologyIso_sectionClass :
    (GammaSectionsComparison.nativeInjectiveCohomologyIso F n).hom
      ((FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex).homologyπ (n + 1)
        (SheafCohomology.Cech.PositiveCycleHomology.Projective.CycleHomology.abCyclesMk n (FlasqueCechD.abelianDerivedSectionsComplex (injectiveResolution F).cocomplex)
          ((GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv.f (n + 1) s)
          (nativeResolutionTopSection_closed F n s hs))) =
      Chern.Sheaf.ResolutionClasses.sheafResolutionCycleClass (injectiveResolution F) (n + 1) s hs := by
  let f := (Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1))).symm s
  have hf : f ≫ (injectiveResolution F).cocomplex.d (n + 1) (n + 2) = 0 := by
    apply (Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 2))).injective
    rw [Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv_naturality, map_zero]
    exact ((Chern.Sheaf.ResolutionClasses.sheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1))).apply_symm_apply s ▸ hs)
  have he := nativeSheafHomGlobalEquiv_symm_top ((injectiveResolution F).cocomplex.X (n + 1)) s
  change SectionCoordinates.nativeSheafHomGlobalEquiv ((injectiveResolution F).cocomplex.X (n + 1)) f =
    (GammaSectionsComparison.abelianGammaSectionsIso (injectiveResolution F).cocomplex).inv.f (n + 1) s at he
  have h := nativeInjectiveCohomologyIso_extMk F n f hf
  change _ = (injectiveResolution F).extMk f (n + 2) rfl hf
  simpa only [he] using h

end

end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.ResolutionInjective