File size: 5,113 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
import OAI.AlgebraicGeometry.Comparison.Betti.Complex.SheafCohomology
import OAI.AlgebraicGeometry.SheafCohomology.Cech.ComparisonNaturality

/-! # Cech -/

namespace OAI.AlgebraicGeometry.Comparison.Betti.Complex.Cech

noncomputable section

/-! Acyclic-cover Čech comparison for complex coefficient sheaves, natural in their actual maps. -/

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

variable {X : TopCat.{0}} {ι : Type} (U : ι → Opens X)

abbrev ComplexSheaves (X : TopCat.{0}) := Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)

local instance : HasExt.{1} (ComplexSheaves X) := HasExt.standard _

def additiveSheaf (P : ComplexSheaves X) : Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0} :=
  (sheafCompose (Opens.grothendieckTopology X) (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).obj P

def additiveMap {P Q : ComplexSheaves X} (f : P ⟶ Q) : additiveSheaf P ⟶ additiveSheaf Q :=
  (sheafCompose (Opens.grothendieckTopology X) (forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0})).map f

def cohomology (P : ComplexSheaves X) (q : ℕ) : AddCommGrpCat.{0} :=
  ((cechComplexFunctor U).obj (additiveSheaf P).obj).homology q

def cohomologyMap {P Q : ComplexSheaves X} (f : P ⟶ Q) (q : ℕ) :
    cohomology U P q ⟶ cohomology U Q q :=
  HomologicalComplex.homologyMap ((cechComplexFunctor U).map (additiveMap f).hom) q

abbrev complexExt (P : ComplexSheaves X) (q : ℕ) :=
  Ext.{1} ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj
    (ModuleCat.of ℂ ℂ)) P q

def additiveComparison (hU : iSup U = ⊤) (P : ComplexSheaves X)
    (hP : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf P)) (q : ℕ) :
    cohomology U P (q + 1) ≅ (Sheaf.functorH (Opens.grothendieckTopology X) (q + 1)).obj
      (additiveSheaf P) :=
  SheafCohomology.Cech.Comparison.TopCat.Sheaf.cechHomologySuccIsoOfAcyclicIntersections U (additiveSheaf P) hU hP q

def comparison (hU : iSup U = ⊤) (P : ComplexSheaves X)
    (hP : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf P)) (q : ℕ) :
    complexExt P (q + 1) ≃+ cohomology U P (q + 1) :=
  (SheafCohomology.complexSheafCohomologyForgetEquiv X P (q + 1)).trans
    (additiveComparison U hU P hP q).symm.addCommGroupIsoToAddEquiv

theorem inverse_square {A B C D : AddCommGrpCat.{0}}
    (e : A ≅ B) (e' : C ≅ D) (f : A ⟶ C) (g : B ⟶ D)
    (h : f ≫ e'.hom = e.hom ≫ g) : g ≫ e'.inv = e.inv ≫ f := by
  rw [e'.comp_inv_eq, Category.assoc, h]
  simp only [Iso.inv_hom_id_assoc]

theorem additiveComparison_naturality (hU : iSup U = ⊤) {P Q : ComplexSheaves X} (f : P ⟶ Q)
    (hP : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf P))
    (hQ : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf Q)) (q : ℕ) :
    cohomologyMap U f (q + 1) ≫ (additiveComparison U hU Q hQ q).hom =
      (additiveComparison U hU P hP q).hom ≫
        (Sheaf.functorH (Opens.grothendieckTopology X) (q + 1)).map (additiveMap f) :=
  SheafCohomology.Cech.ComparisonNaturality.TopCat.Sheaf.cechHomologySuccIsoOfAcyclicIntersections_naturality U (additiveMap f) hU hP hQ q

theorem additiveComparison_inv_naturality (hU : iSup U = ⊤) {P Q : ComplexSheaves X} (f : P ⟶ Q)
    (hP : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf P))
    (hQ : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf Q)) (q : ℕ)
    (x : Sheaf.H.{0} (additiveSheaf P) (q + 1)) :
    (additiveComparison U hU Q hQ q).inv
        (x.comp (Ext.mk₀ (additiveMap f)) (Nat.add_zero _)) =
      cohomologyMap U f (q + 1) ((additiveComparison U hU P hP q).inv x) := by
  let H := Sheaf.functorH (Opens.grothendieckTopology X) (q + 1)
  have hi := inverse_square (additiveComparison U hU P hP q) (additiveComparison U hU Q hQ q)
    (cohomologyMap U f (q + 1)) (H.map (additiveMap f))
    (additiveComparison_naturality U hU f hP hQ q)
  have hx := congrArg
    (fun g : H.obj (additiveSheaf P) ⟶ cohomology U Q (q + 1) => g.hom x) hi
  exact hx

theorem comparison_naturality (hU : iSup U = ⊤) {P Q : ComplexSheaves X} (f : P ⟶ Q)
    (hP : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf P))
    (hQ : SheafCohomology.Cech.VerticalComparison.TopCat.Sheaf.CechIntersectionsAcyclic U (additiveSheaf Q)) (q : ℕ)
    (x : complexExt P (q + 1)) :
    comparison U hU Q hQ q (x.comp (Ext.mk₀ f) (Nat.add_zero _)) =
      cohomologyMap U f (q + 1) (comparison U hU P hP q x) := by
  have hn := SheafCohomology.complexSheafCohomologyForgetEquiv_naturality X f (q + 1) x
  exact (congrArg (fun z => (additiveComparison U hU Q hQ q).inv z) hn).trans
    (additiveComparison_inv_naturality U hU f hP hQ q
      (SheafCohomology.complexSheafCohomologyForgetEquiv X P (q + 1) x))

end

end OAI.AlgebraicGeometry.Comparison.Betti.Complex.Cech