File size: 5,447 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
import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.TotalNaturality
import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.SquareSplit

/-! # Open Total -/

namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.OpenTotal

noncomputable section

/-! Canonical global sections followed by a genuine restriction functor
commute with the original Čech total map, before any cohomology is taken. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits

universe u v w z r s
variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R]
  (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)]
  [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))]
  {D : Type r} [Category.{s} D]
  (F : Sheaf J (ModuleCat.{w} R) ℤ ModuleCat.{max w z} R) [F.Additive]
  (G : Sheaf J (ModuleCat.{w} R) ℤ Dįµ’įµ– ℤ ModuleCat.{max w z} R) [G.Additive]
  (e : Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0 ⟶ F)
  (b : F ā‹™ Functor.const Dįµ’įµ– ⟶ G)

local notation "S" => constantSheaf J (ModuleCat R)
local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R (OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ConstantSections.constantUnit R J) 0
local notation "V" => Functor.const Dįµ’įµ–

local instance constantOpenWeakSheafify : HasWeakSheafify J (ModuleCat.{w} R) :=
  HasSheafify.isRightAdjoint

local instance constZero : (Functor.const Dįµ’įµ– : ModuleCat.{max w z} R ℤ
    Dįµ’įµ– ℤ ModuleCat.{max w z} R).PreservesZeroMorphisms where
  map_zero _ _ := rfl

def unit : ModuleCat.uliftFunctor.{z,w} R ā‹™ V ⟶ S ā‹™ G :=
  Functor.whiskerRight (TotalNaturality.unit R J) V ≫
    Functor.whiskerLeft S (Functor.whiskerRight e V ≫ b)

def sectionMap (M : CochainComplex (ModuleCat.{w} R) ā„•)
    (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ā„•)
    (a : ((S).mapHomologicalComplex (.up ā„•)).obj M ⟶ K) :=
  ((V).mapHomologicalComplex (.up ā„•)).map
    (ComplexMap.map R J M K a ≫
      (e.mapHomologicalComplex (.up ā„•)).app K) ≫
        (b.mapHomologicalComplex (.up ā„•)).app K

theorem section_eq (M : CochainComplex (ModuleCat.{w} R) ā„•)
    (K : CochainComplex (Sheaf J (ModuleCat.{w} R)) ā„•)
    (a : ((S).mapHomologicalComplex (.up ā„•)).obj M ⟶ K) :
    sectionMap R J F G e b M K a =
      ((unit R J F G e b).mapHomologicalComplex (.up ā„•)).app M ≫
        (G.mapHomologicalComplex (.up ā„•)).map a := by
  apply HomologicalComplex.Hom.ext
  funext i
  apply NatTrans.ext
  funext W
  have hn := congrArg (fun q => q.app W) ((Functor.whiskerRight e V ≫ b).naturality (a.f i))
  change ((TotalNaturality.unit R J).app (M.X i) ≫
    (E).map (a.f i) ≫ e.app (K.X i)) ≫ (b.app (K.X i)).app W = _
  simp only [Category.assoc]
  exact congrArg (fun q => (TotalNaturality.unit R J).app (M.X i) ≫ q) hn

variable (Q : Dįµ’įµ– ℤ CochainComplex (ModuleCat.{w} R) ā„•)
  (P : Dįµ’įµ– ℤ CochainComplex (Sheaf J (ModuleCat.{w} R)) ā„•)
  (a : Q ā‹™ (constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ā„•) ⟶ P)

def transformation : Q ā‹™ (ModuleCat.uliftFunctor.{z,w} R).mapHomologicalComplex (.up ā„•) ā‹™
    (V).mapHomologicalComplex (.up ā„•) ⟶ P ā‹™ G.mapHomologicalComplex (.up ā„•) :=
  Functor.whiskerRight
    (GeometricComparison.ConstantExt.ConstantExtSectionTransformation.transformation R J Q P a ≫
      Functor.whiskerLeft P (e.mapHomologicalComplex (.up ā„•)))
    ((V).mapHomologicalComplex (.up ā„•)) ≫
      Functor.whiskerLeft P (b.mapHomologicalComplex (.up ā„•))

theorem diagram : GeometricComparison.CechCone.TotalFunctorSquare.CechConeTotalFunctorSquare.diagramMap S
    (ModuleCat.uliftFunctor.{z,w} R ā‹™ V) G Q P a (unit R J F G e b) =
      transformation R J F G e b Q P a := by
  apply NatTrans.ext
  funext W
  exact (section_eq R J F G e b (Q.obj W) (P.obj W) (a.app W)).symm

variable [HasBinaryProducts D]
  [HasProducts.{0} (Sheaf J (ModuleCat.{w} R))]
  [HasCoproducts.{0} (Sheaf J (ModuleCat.{w} R))]
  {ι : Type} [Finite ι] (U : ι → D)

theorem total : sectionMap R J F G e b
      (GeometricComparison.CechCone.Total.CechConeTotal.total U Q) (GeometricComparison.CechCone.Total.CechConeTotal.total U P)
      (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map S U Q P a) ≫
    (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso G U P).hom =
  ((V).mapHomologicalComplex (.up ā„•)).map
      (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (ModuleCat.uliftFunctor.{z,w} R) U Q).hom ≫
    GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map V U
      (Q ā‹™ (ModuleCat.uliftFunctor.{z,w} R).mapHomologicalComplex (.up ā„•))
      (P ā‹™ G.mapHomologicalComplex (.up ā„•)) (transformation R J F G e b Q P a) := CechCoefficient.SquareSplit.natural S
  (ModuleCat.uliftFunctor.{z,w} R) V G U Q P a (unit R J F G e b)
  (sectionMap R J F G e b
    (GeometricComparison.CechCone.Total.CechConeTotal.total U Q) (GeometricComparison.CechCone.Total.CechConeTotal.total U P)
    (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map S U Q P a))
  (transformation R J F G e b Q P a)
  (section_eq R J F G e b _ _ (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map S U Q P a))
  (diagram R J F G e b Q P a)

end

end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.OpenTotal