File size: 3,298 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
import OAI.ArithmeticGeometry.Models.SpreadingOut.Coefficient
import OAI.ArithmeticGeometry.Models.SpreadingOut.CoverDescent

/-! # Cover -/

namespace OAI.ArithmeticGeometry.Models.SpreadingOut.Cover.Construction

noncomputable section

/-! Arithmetic models obtained from proper covering models. -/

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

universe u

theorem proper_integral_model_as_coefficient_model
    {K : Type u} [Field K] [NumberField K]
    {X : Over (Spec (.of K))}
    (P : Over (Spec (.of (π“ž K)))) [IsProper P.hom]
    (e : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap (π“ž K) K)))).obj P β‰… X) :
    βˆƒ M : Foundations.Constructions.CoefficientModel K X, IsProper M.model.hom := by
  let s : Finset K := βˆ…
  let A := CoefficientSystem.Constructions.Foundations.coefficientRing (π“ž K) K s
  let f := Spec.map (CommRingCat.ofHom (algebraMap (π“ž K) A))
  let g := CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s
  let M := (Over.pullback f).obj P
  have hgf : g ≫ f = Spec.map (CommRingCat.ofHom (algebraMap (π“ž K) K)) := by
    change Spec.map (CommRingCat.ofHom (algebraMap A K)) ≫
      Spec.map (CommRingCat.ofHom (algebraMap (π“ž K) A)) = _
    rw [← Spec.map_comp]
    congr 1
  have : IsProper M.hom := inferInstanceAs (IsProper (pullback.snd P.hom f))
  have := ModelFiniteness.Constructions.Foundations.coefficientBase_locallyNoetherian K s
  refine ⟨{
    coefficients := s
    model := M
    finitePresentation := ⟨inferInstance, inferInstance, inferInstance⟩
    genericIso := BaseChange.Constructions.Foundations.iteratedBaseChangeIso f g P β‰ͺ≫ Scheme.Constructions.Foundations.baseChangeCongr hgf P β‰ͺ≫ e
  }, inferInstance⟩

theorem arithmetic_model_of_proper_coefficient_cover
    {K : Type u} [Field K] [NumberField K]
    {Z X : Over (Spec (.of K))} [Smooth X.hom] [IsProper X.hom]
    (f : Z ⟢ X) [Surjective f.left]
    (P : Foundations.Constructions.CoefficientModel K Z) [IsProper P.model.hom] :
    βˆƒ (B : Base.Construction.ArithmeticOpen K) (M : Over B.U.toScheme),
      Smooth M.hom ∧ IsProper M.hom ∧
      Nonempty ((Over.pullback B.generic).obj M β‰… X) := by
  obtain ⟨M, hM⟩ := CoverDescent.Construction.proper_model_of_cover
    (show Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom from ⟨inferInstance, inferInstance, inferInstance⟩)
    f P
  have := hM
  exact Coefficient.Construction.proper_coefficient_model_to_arithmetic M

theorem arithmetic_model_of_proper_integral_cover
    {K : Type u} [Field K] [NumberField K]
    {Z X : Over (Spec (.of K))} [Smooth X.hom] [IsProper X.hom]
    (f : Z ⟢ X) [Surjective f.left]
    (P : Over (Spec (.of (π“ž K)))) [IsProper P.hom]
    (e : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap (π“ž K) K)))).obj P β‰… Z) :
    βˆƒ (B : Base.Construction.ArithmeticOpen K) (M : Over B.U.toScheme),
      Smooth M.hom ∧ IsProper M.hom ∧
      Nonempty ((Over.pullback B.generic).obj M β‰… X) := by
  obtain ⟨Pβ‚€, hPβ‚€βŸ© := proper_integral_model_as_coefficient_model P e
  have := hPβ‚€
  exact arithmetic_model_of_proper_coefficient_cover f Pβ‚€

end

end OAI.ArithmeticGeometry.Models.SpreadingOut.Cover.Construction