File size: 7,629 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
import OAI.ArithmeticGeometry.Models.ModelMorphisms

/-! # Base Change -/

namespace OAI.ArithmeticGeometry.Models.BaseChange.Constructions.Foundations

/-! Compatibility of coefficient enlargement with model maps and morphisms. -/

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

universe u

noncomputable def iteratedBaseChangeIso {S T U : Scheme.{u}}
    (f : T ⟢ S) (g : U ⟢ T) (X : Over S) :
    (Over.pullback g).obj ((Over.pullback f).obj X) β‰…
      (Over.pullback (g ≫ f)).obj X :=
  Over.isoMk (pullbackLeftPullbackSndIso X.hom f g)
    (pullbackLeftPullbackSndIso_hom_snd X.hom f g)

@[reassoc]
theorem baseChangeCongr_hom_fst {S T : Scheme.{u}} {f g : T ⟢ S}
    (h : f = g) (X : Over S) :
    (Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.fst X.hom g = pullback.fst X.hom f := by
  subst g
  exact Category.id_comp _

@[reassoc]
theorem baseChangeCongr_hom_snd {S T : Scheme.{u}} {f g : T ⟢ S}
    (h : f = g) (X : Over S) :
    (Models.Scheme.Constructions.Foundations.baseChangeCongr h X).hom.left ≫ pullback.snd X.hom g = pullback.snd X.hom f := by
  subst g
  exact Category.id_comp _

variable {K : Type u} [Field K] {s t v : Finset K}

theorem coefficientBaseChangeTransSquare
    (hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
    IsPullback
      (pullback.fst (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
        (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) ≫
        pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
      (pullback.snd (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
        (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv))
      Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) := by
  have H := (IsPullback.of_hasPullback
    (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
    (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv)).paste_horiz
      (IsPullback.of_hasPullback Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
  erw [CoefficientSystem.Constructions.Foundations.coefficientBaseMap_comp] at H
  exact H

noncomputable def coefficientBaseChangeTrans
    (hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
    (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv)).obj
        ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).obj Xβ‚€) β‰…
      (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv))).obj Xβ‚€ :=
  Over.isoMk (coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback
    (coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback_hom_snd

@[reassoc]
theorem coefficientBaseChangeTrans_hom_fst
    (hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
    (coefficientBaseChangeTrans hst htv Xβ‚€).hom.left ≫
        pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) =
      pullback.fst (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
        (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) ≫
        pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) :=
  (coefficientBaseChangeTransSquare hst htv Xβ‚€).isoPullback_hom_fst

@[reassoc]
theorem coefficientBaseChangeTrans_hom_snd
    (hst : s βŠ† t) (htv : t βŠ† v) (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) :
    (coefficientBaseChangeTrans hst htv Xβ‚€).hom.left ≫
        pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv)) =
      pullback.snd (pullback.snd Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst))
        (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K htv) :=
  (coefficientBaseChangeTrans hst htv Xβ‚€).hom.w

/-- Successive coefficient enlargement has the same generic map as direct enlargement. -/
theorem genericModelLift_trans
    {X : Over (Spec (CommRingCat.of K))}
    (Xβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) (p : X.left ⟢ Xβ‚€.left)
    (hp : p ≫ Xβ‚€.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
    (hst : s βŠ† t) (htv : t βŠ† v) :
    ModelMorphisms.Constructions.Foundations.genericModelLift ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).obj Xβ‚€)
        (ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ p hp hst) (ModelMorphisms.Constructions.Foundations.genericModelLift_snd Xβ‚€ p hp hst) htv ≫
        (coefficientBaseChangeTrans hst htv Xβ‚€).hom.left =
      ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ p hp (hst.trans htv) := by
  apply pullback.hom_ext (f := Xβ‚€.hom)
    (g := CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htv))
  Β· erw [Category.assoc, coefficientBaseChangeTrans_hom_fst, ← Category.assoc,
      ModelMorphisms.Constructions.Foundations.genericModelLift_fst, ModelMorphisms.Constructions.Foundations.genericModelLift_fst, ModelMorphisms.Constructions.Foundations.genericModelLift_fst]
  Β· erw [Category.assoc, coefficientBaseChangeTrans_hom_snd,
      ModelMorphisms.Constructions.Foundations.genericModelLift_snd, ModelMorphisms.Constructions.Foundations.genericModelLift_snd]

/-- Base change preserves the compatibility of a model morphism with its generic fiber. -/
theorem genericModelLift_map
    {X Y : Over (Spec (CommRingCat.of K))}
    (Xβ‚€ Yβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s))
    (pX : X.left ⟢ Xβ‚€.left) (pY : Y.left ⟢ Yβ‚€.left)
    (hX : pX ≫ Xβ‚€.hom = X.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
    (hY : pY ≫ Yβ‚€.hom = Y.hom ≫ CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s)
    (a : X ⟢ Y) (b : Xβ‚€ ⟢ Yβ‚€) (hab : pX ≫ b.left = a.left ≫ pY) (hst : s βŠ† t) :
    ModelMorphisms.Constructions.Foundations.genericModelLift Xβ‚€ pX hX hst ≫
        ((Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map b).left =
      a.left ≫ ModelMorphisms.Constructions.Foundations.genericModelLift Yβ‚€ pY hY hst := by
  apply pullback.hom_ext
  Β· erw [Category.assoc, pullback.lift_fst, ← Category.assoc,
      ModelMorphisms.Constructions.Foundations.genericModelLift_fst, hab, Category.assoc, ModelMorphisms.Constructions.Foundations.genericModelLift_fst]
  Β· erw [Category.assoc, pullback.lift_snd, ModelMorphisms.Constructions.Foundations.genericModelLift_snd,
      Category.assoc, ModelMorphisms.Constructions.Foundations.genericModelLift_snd, ← Category.assoc, a.w]

end OAI.ArithmeticGeometry.Models.BaseChange.Constructions.Foundations