File size: 14,115 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
import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Models
import OAI.ArithmeticGeometry.Models.Descent

/-! # Morphisms -/

namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Morphisms.Coefficients

/-! Generalization of the proved ModelMorphisms construction to a general
coefficient ring, for arithmetic parameter spaces of complex schemes.

 Descent of morphisms between schemes with specified coefficient models. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite
open scoped _root_.NumberField

open OAI.ArithmeticGeometry.Models.Descent.Constructions.Foundations

universe u

variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K]
variable {s t : Finset K} {X : Over (Spec (CommRingCat.of K))}

/-- The generic-fiber map into a base-changed model. -/
noncomputable def genericModelLift
    (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left)
    (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) :
    X.left ⟶ ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).left :=
  pullback.lift p (X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) (by
    erw [hp, Category.assoc, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap_comp])

@[reassoc]
theorem genericModelLift_fst
    (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left)
    (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) :
    genericModelLift X₀ p hp h ≫ pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) = p :=
  pullback.lift_fst _ _ _

@[reassoc]
theorem genericModelLift_snd
    (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left)
    (hp : p ≫ X₀.hom = X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (h : s ⊆ t) :
    genericModelLift X₀ p hp h ≫ pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) =
      X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t :=
  pullback.lift_snd _ _ _

theorem genericModelLift_cartesian
    (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left)
    (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) (h : s ⊆ t) :
    IsPullback (genericModelLift X₀ p hp.w h) X.hom
      ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).hom
      (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) := by
  apply IsPullback.of_right ?_ (genericModelLift_snd X₀ p hp.w h)
    (IsPullback.of_hasPullback X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h))
  erw [genericModelLift_fst, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap_comp]
  exact hp

/-- Relate the two orders of pullback used by canonical base change and the limit cone. -/
theorem genericModelLift_to_expansion
    (X₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) (p : X.left ⟶ X₀.left)
    (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (i : Over (op s)) :
    genericModelLift X₀ p hp.w (leOfHom i.hom.unop) ≫
        (pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (leOfHom i.hom.unop))).hom =
      hp.flip.isoPullback.hom ≫ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i := by
  apply pullback.hom_ext
  · erw [Category.assoc, pullbackSymmetry_hom_comp_fst, genericModelLift_snd]
    change X.hom ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K i.left.unop =
      hp.flip.isoPullback.hom ≫
        (pullback.lift _ _ _ ≫ pullback.fst _ _)
    erw [pullback.lift_fst, ← Category.assoc, hp.flip.isoPullback_hom_fst]
    rfl
  · erw [Category.assoc, pullbackSymmetry_hom_comp_snd, genericModelLift_fst]
    change p = hp.flip.isoPullback.hom ≫
      (pullback.lift _ _ _ ≫ pullback.snd _ _)
    erw [pullback.lift_snd, hp.flip.isoPullback_hom_snd]

/-- Extend a generic morphism to a larger model of its source, keeping the
map to the original target model. -/
theorem morphism_to_model_descends
    {Y : Over (Spec (CommRingCat.of K))}
    (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s))
    (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom)
    (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom)
    (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left)
    (hX : IsPullback pX X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (hY : IsPullback pY Y.hom Y₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (a : X ⟶ Y) :
    ∃ (t : Finset K) (h : s ⊆ t)
      (b : ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀).left ⟶ Y₀.left),
      genericModelLift X₀ pX hX.w h ≫ b = a.left ≫ pY ∧
      b ≫ Y₀.hom = pullback.snd X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫
        ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h := by
  let : QuasiCompact X₀.hom := hX₀.2.1
  let : QuasiSeparated X₀.hom := hX₀.2.2
  let : LocallyOfFinitePresentation Y₀.hom := hY₀.1
  let e : X.left ≅ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).pt := hX.flip.isoPullback
  let a₀ := e.inv ≫ a.left ≫ pY
  have ha₀ : a₀ ≫ Y₀.hom = (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).pt.hom ≫ X₀.hom := by
    dsimp [a₀]
    erw [Category.assoc, Category.assoc, hY.w, ← Category.assoc a.left, a.w,
      ← Category.assoc, hX.flip.isoPullback_inv_fst]
    exact pullback.condition
  obtain ⟨i, g, hg, hgbase⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.generic_morphism_descends R₀ K s X₀ Y₀ a₀ ha₀
  let h : s ⊆ i.left.unop := leOfHom i.hom.unop
  let σ := pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)
  refine ⟨i.left.unop, h, σ.hom ≫ g, ?_, ?_⟩
  · erw [← Category.assoc, genericModelLift_to_expansion X₀ pX hX i, Category.assoc, hg]
    change e.hom ≫ e.inv ≫ a.left ≫ pY = a.left ≫ pY
    erw [Iso.hom_inv_id_assoc]
  · erw [Category.assoc, hgbase]
    change σ.hom ≫ pullback.snd _ X₀.hom ≫ X₀.hom =
      pullback.snd X₀.hom _ ≫ ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h
    erw [← Category.assoc, pullbackSymmetry_hom_comp_snd]
    exact pullback.condition

/-- Both source and target may be enlarged together so the descended morphism
is a morphism over one common finite coefficient ring. -/
theorem morphism_between_models_descends
    {Y : Over (Spec (CommRingCat.of K))}
    (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s))
    (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom)
    (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom)
    (pX : X.left ⟶ X₀.left) (pY : Y.left ⟶ Y₀.left)
    (hX : IsPullback pX X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (hY : IsPullback pY Y.hom Y₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (a : X ⟶ Y) :
    ∃ (t : Finset K) (h : s ⊆ t)
      (b : (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj X₀ ⟶
        (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj Y₀),
      genericModelLift X₀ pX hX.w h ≫ b.left =
        a.left ≫ genericModelLift Y₀ pY hY.w h := by
  obtain ⟨t, h, b, hb, hbbase⟩ :=
    morphism_to_model_descends X₀ Y₀ hX₀ hY₀ pX pY hX hY a
  let f := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h
  let b' : (Over.pullback f).obj X₀ ⟶ (Over.pullback f).obj Y₀ :=
    Over.homMk (pullback.lift b (pullback.snd X₀.hom f) hbbase)
    (pullback.lift_snd b (pullback.snd X₀.hom f) hbbase)
  refine ⟨t, h, b', ?_⟩
  apply pullback.hom_ext
  · change genericModelLift X₀ pX hX.w h ≫ b'.left ≫ pullback.fst Y₀.hom f =
      (a.left ≫ genericModelLift Y₀ pY hY.w h) ≫ pullback.fst Y₀.hom f
    erw [pullback.lift_fst, hb, Category.assoc, genericModelLift_fst]
  · change genericModelLift X₀ pX hX.w h ≫ b'.left ≫ pullback.snd Y₀.hom f =
      (a.left ≫ genericModelLift Y₀ pY hY.w h) ≫ pullback.snd Y₀.hom f
    erw [pullback.lift_snd, genericModelLift_snd, Category.assoc,
      genericModelLift_snd, ← Category.assoc, a.w]

/-- An equality of two model morphisms that holds on the generic fiber holds
after a further common enlargement of the coefficient ring. -/
theorem equation_between_models_descends
    (X₀ Y₀ : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s))
    (hX₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X₀.hom)
    (hY₀ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y₀.hom)
    (p : X.left ⟶ X₀.left)
    (hp : IsPullback p X.hom X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s))
    (a b : X₀ ⟶ Y₀) (hab : p ≫ a.left = p ≫ b.left) :
    ∃ (t : Finset K) (h : s ⊆ t),
      pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫ a.left =
        pullback.fst X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ≫ b.left := by
  let : QuasiCompact X₀.hom := hX₀.2.1
  let : LocallyOfFinitePresentation Y₀.hom := hY₀.1
  let i : Over (op s) := Over.mk (𝟙 (op s))
  let q := ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj i).hom
  have ha : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionToBase R₀ K s X₀).app i = (q ≫ a.left) ≫ Y₀.hom := by
    change q ≫ X₀.hom = (q ≫ a.left) ≫ Y₀.hom
    rw [Category.assoc, a.w]
  have hb : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionToBase R₀ K s X₀).app i = (q ≫ b.left) ≫ Y₀.hom := by
    change q ≫ X₀.hom = (q ≫ b.left) ≫ Y₀.hom
    rw [Category.assoc, b.w]
  have hc : (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i ≫ (q ≫ a.left) =
      (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K s X₀).π.app i ≫ (q ≫ b.left) := by
    have H := congrArg (fun z ↦ hp.flip.isoPullback.inv ≫ z) hab
    erw [← Category.assoc, hp.flip.isoPullback_inv_snd,
      ← Category.assoc, hp.flip.isoPullback_inv_snd] at H
    erw [← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).π.app i).w,
      ← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverCone R₀ K s X₀).π.app i).w]
    exact H
  obtain ⟨j, hji, hj⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.generic_equation_descends R₀ K s X₀ Y₀ (q ≫ a.left) (q ≫ b.left)
    ha hb hc
  have H : ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj j).hom ≫ a.left =
      ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).obj j).hom ≫ b.left := by
    erw [← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).map hji).w,
      ← Category.assoc, ((ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionOverDiagram R₀ K s X₀).map hji).w] at hj
    exact hj
  let h : s ⊆ j.left.unop := leOfHom j.hom.unop
  refine ⟨j.left.unop, h, ?_⟩
  have H' := congrArg (fun z ↦ (pullbackSymmetry X₀.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).hom ≫ z) H
  erw [← Category.assoc, pullbackSymmetry_hom_comp_snd,
    ← Category.assoc, pullbackSymmetry_hom_comp_snd] at H'
  exact H'

end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Morphisms.Coefficients