File size: 20,242 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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
import OAI.AlgebraicGeometry.DivisorClass.Chern.Relative.CechSequence
import OAI.AlgebraicGeometry.DivisorClass.Chern.SubspaceCechAugmentation

/-! # Cech Is -/

namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Relative.CechIs

noncomputable section

section

/-!
# ChernClass: global relative cochains augment the actual relative Cech complex

Actual subspace restriction commutes with the global singular augmentation.
The kernel universal property then supplies the unique relative cochain map,
and both squares of the ordinary pair sequence commute exactly.
-/

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

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

namespace RationalCech

variable {I : Type} (X : TopCat.{0}) (A : Set X) (U : I β†’ Opens X)

/-- On each actual induced-cover intersection, both paths restrict the same global cochain. -/
theorem globalSubspaceColumnAugmentation_comm (n : β„•)
    (c : (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of β„š β„š) X).X n) :
    (SubspaceCechD.RationalCech.subspaceCechColumnMap X A U 0).f n
      (SubspaceCechD.RationalCech.subspaceCechRestriction X A U 0 n
        ((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š)).f n c)) =
    (Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation (TopCat.of A) (SubspaceCechD.RationalCech.inducedSubspaceCover X A U)
      (ModuleCat.of β„š β„š)).f n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of β„š β„š) X A).f n c) := by
  funext a
  let f : TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) ⟢ X :=
    TopCat.ofHom ⟨Subtype.val, continuous_subtype_val⟩
  let g := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
    (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
  let v : TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection (SubspaceCechD.RationalCech.inducedSubspaceCover X A U) a) ⟢ TopCat.of A :=
    TopCat.ofHom ⟨Subtype.val, continuous_subtype_val⟩
  have h : AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) f ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) g ≫
      (SubspaceCechD.RationalCech.subspaceIntersectionCochainIso X A U a).hom =
    AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of β„š β„š) X A ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) v := by
    change AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) f ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) g ≫
        AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) (SubspaceCechD.RationalCech.subspaceIntersectionIso X A U a).hom =
      AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X A) ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of β„š β„š) v
    rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp]
    rfl
  change (SubspaceCechD.RationalCech.subspaceIntersectionCochainIso X A U a).hom.f n
      ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of β„š β„š) (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
        (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))).f n
        (((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š)).f n c) a)) = _
  rw [Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation_apply, Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation_apply]
  exact ConcreteCategory.congr_hom (congrArg (fun k => k.f n) h) c

/-- The global augmentation commutes with genuine restriction to the subspace. -/
theorem globalSubspaceCechAugmentation_comm :
    Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š) ≫ CechSequence.RationalCech.subspaceCechTotalRestriction X A U =
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of β„š β„š) X A ≫ SubspaceCechAugmentation.RationalCech.subspaceCechAugmentation X A U := by
  apply (cancel_mono (SubspaceCechD.RationalCech.subspaceCechTotalIso X A U).hom).mp
  rw [Category.assoc, Category.assoc, SubspaceCechAugmentation.RationalCech.subspaceCechAugmentation_transport]
  apply HomologicalComplex.Hom.ext
  funext n
  apply ModuleCat.hom_ext
  apply LinearMap.ext
  intro c
  have hmap := CechSequence.RationalCech.cechTotalInclusion_map_apply X U (SubspaceCechD.RationalCech.subspacePresheafRestriction X A) 0 n n (Nat.zero_add n)
    ((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š)).f n c)
  have htransport := SubspaceCechAugmentation.RationalCech.subspaceCechTotalIso_inclusion X A U 0 n n (Nat.zero_add n)
    (SubspaceCechD.RationalCech.subspaceCechRestriction X A U 0 n
      ((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š)).f n c))
  change (SubspaceCechD.RationalCech.subspaceCechTotalIso X A U).hom.f n
      ((CechSequence.RationalCech.subspaceCechTotalRestriction X A U).f n
        (Rational.Cech.RationalCech.cechTotalInclusion U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of β„š β„š) X) 0 n n (Nat.zero_add n)
          ((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š)).f n c))) =
    Rational.Cech.RationalCech.cechTotalInclusion (SubspaceCechD.RationalCech.inducedSubspaceCover X A U)
      (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of β„š β„š) (TopCat.of A)) 0 n n (Nat.zero_add n)
      ((Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation (TopCat.of A) (SubspaceCechD.RationalCech.inducedSubspaceCover X A U)
        (ModuleCat.of β„š β„š)).f n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCochainRestriction (ModuleCat.of β„š β„š) X A).f n c))
  rw [hmap, htransport, globalSubspaceColumnAugmentation_comm]

/-- The image of a global relative cochain has zero subspace restriction. -/
theorem relativeGlobalCechAugmentation_restriction_zero :
    (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A ≫
      Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š)) ≫
        CechSequence.RationalCech.subspaceCechTotalRestriction X A U = 0 := by
  rw [Category.assoc, globalSubspaceCechAugmentation_comm, ← Category.assoc,
    AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_restriction, zero_comp]

/-- The genuine global relative augmentation, constructed by the actual kernel property. -/
def relativeCechAugmentation :
    AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of β„š β„š) X A ⟢ CechSequence.RationalCech.relativeCechTotal X A U := by
  let hS := CechSequence.RationalCech.relativeCechSequence_shortExact X A U
  have := hS.mono_f
  exact hS.exact.lift
    (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A ≫
      Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š))
    (relativeGlobalCechAugmentation_restriction_zero X A U)

/-- Forgetting support commutes exactly with this relative augmentation. -/
theorem relativeCechAugmentation_inclusion :
    relativeCechAugmentation X A U ≫ CechSequence.RationalCech.relativeCechTotalInclusion X A U =
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A ≫
        Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š) := by
  let hS := CechSequence.RationalCech.relativeCechSequence_shortExact X A U
  have := hS.mono_f
  exact hS.exact.lift_f _ (relativeGlobalCechAugmentation_restriction_zero X A U)

/-- Both genuine cochain sequences form one commutative diagram. -/
def relativeCechSequenceMap :
    AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainSequence (ModuleCat.of β„š β„š) X A ⟢ CechSequence.RationalCech.relativeCechSequence X A U where
  τ₁ := relativeCechAugmentation X A U
  Ο„β‚‚ := Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š)
  τ₃ := SubspaceCechAugmentation.RationalCech.subspaceCechAugmentation X A U
  comm₁₂ := relativeCechAugmentation_inclusion X A U
  comm₂₃ := globalSubspaceCechAugmentation_comm X A U

end RationalCech

end

section

/-!
# ChernClass: comparison with genuine global relative singular cohomology

The five lemma applies to the actual long exact sequences of the two short
exact cochain sequences. The already proved absolute and subspace singular
comparisons therefore identify the global relative cohomology in every
positive degree with the actual relative Cech total cohomology.
-/

open _root_.CategoryTheory _root_.TopologicalSpace
open _root_.HomologicalComplex _root_.HomologicalComplex.HomologySequence
open _root_.CategoryTheory.ComposableArrows _root_.CategoryTheory.Abelian

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

section

/-- The five lemma for the first term of actual short exact cochain sequences,
in a positive cohomological degree. -/
theorem shortExact_isIso_first_succ
    {S T : ShortComplex (CochainComplex (ModuleCat.{0} β„š) β„•)} (Ο† : S ⟢ T)
    (hS : S.ShortExact) (hT : T.ShortExact) (hβ‚‚ : QuasiIso Ο†.Ο„β‚‚) (h₃ : QuasiIso Ο†.τ₃) (n : β„•) :
    IsIso (HomologicalComplex.homologyMap Ο†.τ₁ (n + 1)) := by
  let ψ := Ξ΄β‚€Functor.map (mapComposableArrowsβ‚… Ο† hS hT n (n + 1) rfl)
  have h := isIso_of_epi_of_isIso_of_isIso_of_mono
    (composableArrowsβ‚…_exact hS n (n + 1) rfl).Ξ΄β‚€
    (composableArrowsβ‚…_exact hT n (n + 1) rfl).Ξ΄β‚€ ψ
    (show Epi (HomologicalComplex.homologyMap Ο†.Ο„β‚‚ n) from inferInstance)
    (show IsIso (HomologicalComplex.homologyMap Ο†.τ₃ n) from inferInstance)
    (show IsIso (HomologicalComplex.homologyMap Ο†.Ο„β‚‚ (n + 1)) from inferInstance)
    (show Mono (HomologicalComplex.homologyMap Ο†.τ₃ (n + 1)) from inferInstance)
  exact h

end

namespace RationalCech

variable {I : Type} (X : TopCat.{0}) (A : Set X) (U : I β†’ Opens X)
variable (hU : βˆ€ x : X, βˆƒ i, x ∈ U i)

include hU in
/-- The actual relative augmentation induces an isomorphism in every positive degree. -/
theorem relativeCechAugmentation_isIso_homology_succ (n : β„•) :
    IsIso (HomologicalComplex.homologyMap (relativeCechAugmentation X A U) (n + 1)) :=
  shortExact_isIso_first_succ (relativeCechSequenceMap X A U)
    (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainSequence_shortExact (ModuleCat.of β„š β„š) X A)
    (CechSequence.RationalCech.relativeCechSequence_shortExact X A U)
    (Rational.CechComparison.RationalCech.rationalGlobalSingularCechAugmentation_quasiIso X U hU)
    (SubspaceCechAugmentation.RationalCech.subspaceCechAugmentation_quasiIso X A U hU) n

/-- The comparison is the one induced by the actual global relative cochain augmentation. -/
def relativeCechCohomologyIso (n : β„•) :
    AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of β„š β„š) X A (n + 1) β‰…
      (CechSequence.RationalCech.relativeCechTotal X A U).homology (n + 1) := by
  have := relativeCechAugmentation_isIso_homology_succ X A U hU n
  exact asIso (HomologicalComplex.homologyMap (relativeCechAugmentation X A U) (n + 1))

theorem relativeCechCohomologyIso_hom (n : β„•) :
    (relativeCechCohomologyIso X A U hU n).hom =
      HomologicalComplex.homologyMap (relativeCechAugmentation X A U) (n + 1) := rfl

/-- Both comparisons commute with the original forget-support map. -/
theorem relativeCechCohomologyIso_inclusion (n : β„•) :
    (relativeCechCohomologyIso X A U hU n).hom ≫
        HomologicalComplex.homologyMap (CechSequence.RationalCech.relativeCechTotalInclusion X A U) (n + 1) =
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of β„š β„š) X A (n + 1) ≫
        (Rational.CechComparison.RationalCech.singularCechCohomologyIso X U hU (n + 1)).hom := by
  rw [relativeCechCohomologyIso_hom, Rational.CechComparison.RationalCech.singularCechCohomologyIso_hom,
    ← HomologicalComplex.homologyMap_comp, relativeCechAugmentation_inclusion,
    HomologicalComplex.homologyMap_comp]

end RationalCech

end

/-!
# ChernClass: local restrictions of the genuine relative Cech comparison

Projection to Cech degree zero is a cochain map. Evaluating at a singleton
intersection gives the actual relative cochain complex there. Composing
with the global augmentation is the ordinary restriction of pairs.
-/

open _root_.CategoryTheory _root_.TopologicalSpace

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

namespace RationalCech

/-- Projection to the zeroth Cech column is an actual cochain map. -/
def zeroColumnProjection
    (K : HomologicalComplexβ‚‚ (ModuleCat.{0} β„š) (ComplexShape.up β„•) (ComplexShape.up β„•)) :
    K.total (ComplexShape.up β„•) ⟢ K.X 0 where
  f n := AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex.Ο€Total K 0 n n (Nat.zero_add n)
  comm' i j hij := by
    obtain rfl : i + 1 = j := hij
    exact (AlgebraicTopology.DeRham.Comparison.DoubleComplexDifferential.DoubleComplex.d_Ο€Total_zero_succ K i i (Nat.zero_add (i + 1))).symm

variable {I : Type} (X : TopCat.{0}) (A : Set X) (U : I β†’ Opens X)

/-- Evaluate the actual relative zeroth column on one singleton intersection. -/
def relativeCechColumnEvaluation (a : Fin 1 β†’ I) :
    (Rational.Cech.RationalCech.cechDoubleComplex U (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of β„š β„š) X A)).X 0 ⟢
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of β„š β„š) (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
        (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) where
  f _n := ModuleCat.ofHom {
    toFun := fun c => c a
    map_add' := fun _ _ => rfl
    map_smul' := fun _ _ => rfl }
  comm' _ _ _ := rfl

/-- The actual cochain restriction from the total relative model to a chart. -/
def relativeCechLocalProjection (a : Fin 1 β†’ I) :
    CechSequence.RationalCech.relativeCechTotal X A U ⟢
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of β„š β„š) (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
        (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) :=
  zeroColumnProjection (Rational.Cech.RationalCech.cechDoubleComplex U (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafComplex (ModuleCat.of β„š β„š) X A)) ≫
    relativeCechColumnEvaluation X A U a

/-- Augmenting globally and then taking a local component is the ordinary pair restriction. -/
theorem relativeCechAugmentation_local (a : Fin 1 β†’ I) :
    relativeCechAugmentation X A U ≫ relativeCechLocalProjection X A U a =
      AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of β„š β„š)
        (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a : Set X)) (fun _ hx => hx) := by
  apply HomologicalComplex.Hom.ext
  funext n
  apply ModuleCat.hom_ext
  apply LinearMap.ext
  intro c
  apply SubspaceCechD.relativeCochainInclusion_injective (TopCat.of (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a))
    (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a)) n
  have h := AlgebraicTopology.DeRham.Comparison.DoubleComplexMapComponents.DoubleComplex.project_total_map (Rational.Cech.RationalCech.cechDoubleComplexMap U
    (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativePresheafInclusion (ModuleCat.of β„š β„š) X A)) 0 n n (Nat.zero_add n)
    ((relativeCechAugmentation X A U).f n c)
  change AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex.Ο€Total (Rational.Cech.RationalCech.cechDoubleComplex U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of β„š β„š) X)) 0 n n (Nat.zero_add n)
      ((CechSequence.RationalCech.relativeCechTotalInclusion X A U).f n ((relativeCechAugmentation X A U).f n c)) =
    SubspaceCechD.RationalCech.relativeCechInclusion X A U 0 n _ at h
  have hi := ConcreteCategory.congr_hom
    (congrArg (fun f => f.f n) (relativeCechAugmentation_inclusion X A U)) c
  change (CechSequence.RationalCech.relativeCechTotalInclusion X A U).f n ((relativeCechAugmentation X A U).f n c) =
    (Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š)).f n
      ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A).f n c) at hi
  rw [hi] at h
  have hz := AlgebraicTopology.DeRham.Comparison.DoubleComplexAugmentation.DoubleComplex.Ο€Total_augmentationToTotal_apply
    (Rational.CechComparison.RationalCech.singularCechDoubleComplex X U (ModuleCat.of β„š β„š))
    (Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation X U (ModuleCat.of β„š β„š))
    (Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation_horizontal X U (ModuleCat.of β„š β„š)) n
    ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A).f n c)
  change AlgebraicTopology.DeRham.Comparison.DoubleComplexProjections.DoubleComplex.Ο€Total (Rational.Cech.RationalCech.cechDoubleComplex U (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex (ModuleCat.of β„š β„š) X)) 0 n n (Nat.zero_add n)
      ((Rational.CechComparison.RationalCech.globalSingularCechAugmentation X U (ModuleCat.of β„š β„š)).f n
        ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of β„š β„š) X A).f n c)) = _ at hz
  rw [hz] at h
  have ha := congrFun h a
  rw [Rational.CechComparison.RationalCech.globalSingularCechColumnAugmentation_apply] at ha
  have hn := ConcreteCategory.congr_hom
    (congrArg (fun f => f.f n) (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality (ModuleCat.of β„š β„š)
      (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a : Set X)) (fun _ hx => hx))) c
  exact ha.symm.trans hn.symm

end RationalCech

end

end OAI.AlgebraicGeometry.DivisorClass.Chern.Relative.CechIs