File size: 4,235 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
import OAI.ArithmeticGeometry.Models.BaseChange

/-! # Finite Equations -/

namespace OAI.ArithmeticGeometry.Models.FiniteEquations.Constructions.Foundations

/-! Simultaneous preservation of finitely many generic equations. -/

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

universe u v w

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

theorem equation_survives_enlargement
    (hst : s βŠ† t) (htz : t βŠ† z)
    (Xβ‚€ Yβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) (a b : Xβ‚€ ⟢ Yβ‚€)
    (hab : pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) ≫ a.left =
      pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) ≫ b.left) :
    pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htz)) ≫ a.left =
      pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K (hst.trans htz)) ≫ b.left := by
  let : Epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Xβ‚€).hom.left := by
    change Epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTransSquare hst htz Xβ‚€).isoPullback.hom
    infer_instance
  apply (cancel_epi (BaseChange.Constructions.Foundations.coefficientBaseChangeTrans hst htz Xβ‚€).hom.left).mp
  erw [← Category.assoc, BaseChange.Constructions.Foundations.coefficientBaseChangeTrans_hom_fst,
    ← Category.assoc, BaseChange.Constructions.Foundations.coefficientBaseChangeTrans_hom_fst, Category.assoc, Category.assoc, hab]

theorem baseChange_map_eq_of_fst_eq
    (hst : s βŠ† t) (Xβ‚€ Yβ‚€ : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s)) (a b : Xβ‚€ ⟢ Yβ‚€)
    (hab : pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) ≫ a.left =
      pullback.fst Xβ‚€.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst) ≫ b.left) :
    (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map a =
      (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map b := by
  apply Over.OverMorphism.ext
  apply pullback.hom_ext
  Β· erw [pullback.lift_fst, pullback.lift_fst]
    exact hab
  Β· erw [pullback.lift_snd, pullback.lift_snd]

/-- Finitely many equations holding on the generic fiber hold at one common stage. -/
theorem finite_equations_descend
    {I : Type v} {E : Type w} [Finite E]
    (src dst : E β†’ I)
    (X : I β†’ Over (Spec (CommRingCat.of K)))
    (Xβ‚€ : I β†’ Over (CoefficientSystem.Constructions.Foundations.coefficientBase (π“ž K) K s))
    (hXβ‚€ : βˆ€ i, Scheme.Constructions.Foundations.FinitePresentationMorphism (Xβ‚€ i).hom)
    (p : βˆ€ i, (X i).left ⟢ (Xβ‚€ i).left)
    (hp : βˆ€ i, IsPullback (p i) (X i).hom (Xβ‚€ i).hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (π“ž K) K s))
    (a b : βˆ€ e, Xβ‚€ (src e) ⟢ Xβ‚€ (dst e))
    (hab : βˆ€ e, p (src e) ≫ (a e).left = p (src e) ≫ (b e).left) :
    βˆƒ (t : Finset K) (hst : s βŠ† t),
      βˆ€ e, (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map (a e) =
        (Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (π“ž K) K hst)).map (b e) := by
  classical
  let : Fintype E := Fintype.ofFinite E
  choose t ht heq using fun e ↦ ModelMorphisms.Constructions.Foundations.equation_between_models_descends
    (Xβ‚€ (src e)) (Xβ‚€ (dst e)) (hXβ‚€ (src e)) (hXβ‚€ (dst e))
    (p (src e)) (hp (src e)) (a e) (b e) (hab e)
  let z := s βˆͺ Finset.univ.biUnion t
  have htz (e : E) : t e βŠ† z :=
    (Finset.subset_biUnion_of_mem t (Finset.mem_univ e)).trans Finset.subset_union_right
  refine ⟨z, Finset.subset_union_left, fun e ↦ ?_⟩
  apply baseChange_map_eq_of_fst_eq
  exact equation_survives_enlargement (ht e) (htz e) (Xβ‚€ (src e)) (Xβ‚€ (dst e))
    (a e) (b e) (heq e)

end OAI.ArithmeticGeometry.Models.FiniteEquations.Constructions.Foundations