File size: 6,356 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
import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineCech
import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing

/-! # Affine Cech Gluing -/

namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineCechGluing.Construction

noncomputable section

/-! Gluing and functoriality for Čech cochains of affine sheaves. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite

universe u v

variable (R : CommRingCat.{u})
    (F : TopCat.Sheaf (ModuleCat.{u} R) (TopCat.of (PrimeSpectrum R)))
    {ΞΉ : Type v} (f : ΞΉ β†’ R)

theorem affinePair_restriction_eq_iff
    {U V W : TopologicalSpace.Opens (PrimeSpectrum R)} (hW : W = U βŠ“ V)
    (hU : W ≀ U) (hV : W ≀ V) (x : F.obj.obj (op U)) (y : F.obj.obj (op V)) :
    F.obj.map (homOfLE hU).op x = F.obj.map (homOfLE hV).op y ↔
      F.obj.map (U.infLELeft V).op x = F.obj.map (U.infLERight V).op y := by
  subst W
  rfl

theorem affineCechD0_eq_zero_iff (x : AffineCech.Construction.affineCechC0 R F f) :
    AffineCech.Construction.affineCechD0 R F f x = 0 ↔
      TopCat.Presheaf.IsCompatible F.obj (fun i ↦ PrimeSpectrum.basicOpen (f i)) x := by
  constructor
  Β· intro hx i j
    have h := congrFun (congrFun hx i) j
    change AffineSectionCoordinates.Construction.affineBasicSectionRestriction R F (f j) (f i * f j) (dvd_mul_left _ _) (x j) -
      AffineSectionCoordinates.Construction.affineBasicSectionRestriction R F (f i) (f i * f j) (dvd_mul_right _ _) (x i) = 0 at h
    have h' := (sub_eq_zero.mp h).symm
    exact (affinePair_restriction_eq_iff R F (PrimeSpectrum.basicOpen_mul _ _)
      (AffineSectionCoordinates.Construction.principalBasicOpen_le_of_dvd R _ _ (dvd_mul_right _ _))
      (AffineSectionCoordinates.Construction.principalBasicOpen_le_of_dvd R _ _ (dvd_mul_left _ _)) (x i) (x j)).mp h'
  Β· intro hx
    funext i j
    change AffineSectionCoordinates.Construction.affineBasicSectionRestriction R F (f j) (f i * f j) (dvd_mul_left _ _) (x j) -
      AffineSectionCoordinates.Construction.affineBasicSectionRestriction R F (f i) (f i * f j) (dvd_mul_right _ _) (x i) = 0
    apply sub_eq_zero.mpr
    exact ((affinePair_restriction_eq_iff R F (PrimeSpectrum.basicOpen_mul _ _)
      (AffineSectionCoordinates.Construction.principalBasicOpen_le_of_dvd R _ _ (dvd_mul_right _ _))
      (AffineSectionCoordinates.Construction.principalBasicOpen_le_of_dvd R _ _ (dvd_mul_left _ _)) (x i) (x j)).mpr (hx i j)).symm

theorem affineCech_sections_glue (hf : Ideal.span (Set.range f) = ⊀)
    (x : AffineCech.Construction.affineCechC0 R F f) (hx : AffineCech.Construction.affineCechD0 R F f x = 0) :
    βˆƒ! m : F.obj.obj (op ⊀), βˆ€ i, F.obj.map (PrimeSpectrum.basicOpen (f i)).leTop.op m = x i := by
  exact F.existsUnique_gluing' (fun i ↦ PrimeSpectrum.basicOpen (f i)) ⊀
    (fun _ ↦ homOfLE le_top)
    (by rw [(PrimeSpectrum.iSup_basicOpen_eq_top_iff).mpr hf]) x
    ((affineCechD0_eq_zero_iff R F f x).mp hx)

theorem affineCechD1_comp_D0_unconditional : AffineCech.Construction.affineCechD1 R F f βˆ˜β‚— AffineCech.Construction.affineCechD0 R F f = 0 := by
  apply LinearMap.ext
  intro x
  funext i j k
  simp [AffineCech.Construction.affineCechD0, AffineCech.Construction.affineCechD1, AffineSectionCoordinates.Construction.affineBasicSectionRestriction_comp_apply R F]

variable {G : TopCat.Sheaf (ModuleCat.{u} R) (TopCat.of (PrimeSpectrum R))} (Ο† : F ⟢ G)

def affineCechMap0 : AffineCech.Construction.affineCechC0 R F f β†’β‚—[R] AffineCech.Construction.affineCechC0 R G f :=
  LinearMap.pi fun i ↦ (Ο†.hom.app _).hom βˆ˜β‚— LinearMap.proj i

def affineCechMap1 : AffineCech.Construction.affineCechC1 R F f β†’β‚—[R] AffineCech.Construction.affineCechC1 R G f :=
  LinearMap.pi fun i ↦ LinearMap.pi fun j ↦
    (Ο†.hom.app _).hom βˆ˜β‚— LinearMap.proj j βˆ˜β‚— LinearMap.proj i

def affineCechMap2 : AffineCech.Construction.affineCechC2 R F f β†’β‚—[R] AffineCech.Construction.affineCechC2 R G f :=
  LinearMap.pi fun i ↦ LinearMap.pi fun j ↦ LinearMap.pi fun k ↦
    (Ο†.hom.app _).hom βˆ˜β‚— LinearMap.proj k βˆ˜β‚— LinearMap.proj j βˆ˜β‚— LinearMap.proj i

theorem affineCechMap0_d (x : AffineCech.Construction.affineCechC0 R F f) :
    AffineCech.Construction.affineCechD0 R G f (affineCechMap0 R F f Ο† x) =
      affineCechMap1 R F f Ο† (AffineCech.Construction.affineCechD0 R F f x) := by
  funext i j
  simp [AffineCech.Construction.affineCechD0, affineCechMap0, affineCechMap1,
    AffineSectionCoordinates.Construction.affineBasicSectionRestriction_naturality R F Ο†]

theorem affineCechMap1_d (z : AffineCech.Construction.affineCechC1 R F f) :
    AffineCech.Construction.affineCechD1 R G f (affineCechMap1 R F f Ο† z) =
      affineCechMap2 R F f Ο† (AffineCech.Construction.affineCechD1 R F f z) := by
  funext i j k
  simp [AffineCech.Construction.affineCechD1, affineCechMap1, affineCechMap2,
    AffineSectionCoordinates.Construction.affineBasicSectionRestriction_naturality R F Ο†]

theorem affineCechMap2_injective
    (hΟ† : βˆ€ r : R, Function.Injective (Ο†.hom.app (op (PrimeSpectrum.basicOpen r)))) :
    Function.Injective (affineCechMap2 R F f Ο†) := by
  intro x y h
  funext i j k
  exact hφ _ (congrFun (congrFun (congrFun h i) j) k)

def affineCechUnit : F.obj.obj (op ⊀) β†’β‚—[R] AffineCech.Construction.affineCechC0 R F f :=
  LinearMap.pi fun i ↦ (F.obj.map (PrimeSpectrum.basicOpen (f i)).leTop.op).hom

theorem affineCechUnit_d (m : F.obj.obj (op ⊀)) :
    AffineCech.Construction.affineCechD0 R F f (affineCechUnit R F f m) = 0 := by
  apply (affineCechD0_eq_zero_iff R F f _).mpr
  intro i j
  change F.obj.map ((PrimeSpectrum.basicOpen (f i)).infLELeft (PrimeSpectrum.basicOpen (f j))).op
      (F.obj.map (PrimeSpectrum.basicOpen (f i)).leTop.op m) =
    F.obj.map ((PrimeSpectrum.basicOpen (f i)).infLERight (PrimeSpectrum.basicOpen (f j))).op
      (F.obj.map (PrimeSpectrum.basicOpen (f j)).leTop.op m)
  rw [← ModuleCat.comp_apply, ← ModuleCat.comp_apply, ← F.obj.map_comp, ← F.obj.map_comp]
  rfl

theorem affineCechUnit_naturality (m : F.obj.obj (op ⊀)) :
    affineCechMap0 R F f Ο† (affineCechUnit R F f m) =
      affineCechUnit R G f (Ο†.hom.app (op ⊀) m) := by
  funext i
  exact NatTrans.naturality_apply Ο†.hom (PrimeSpectrum.basicOpen (f i)).leTop.op m

end

end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.AffineCechGluing.Construction