File size: 10,644 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
import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent.Center

/-! # Center Restriction -/

namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent

noncomputable section

section

/-! Independence of the actual global component center from its finite affine atlas. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry

variable {X : Scheme} {f : X ⟢ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : β„•}

def ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.append (A B : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n where
  indices := A.indices βŠ• B.indices
  finite := inferInstance
  rings := Sum.elim A.rings B.rings
  algebra := by intro i; cases i with | inl a => exact A.algebra a | inr b => exact B.algebra b
  rational := by intro i; cases i with | inl a => exact A.rational a | inr b => exact B.rational b
  smooth := by intro i; cases i with | inl a => exact A.smooth a | inr b => exact B.smooth b
  map := by intro i; cases i with | inl a => exact A.map a | inr b => exact B.map b
  isOpenImmersion := by intro i; cases i with | inl a => exact A.isOpenImmersion a | inr b => exact B.isOpenImmersion b
  quasiCompact := by intro i; cases i with | inl a => exact A.quasiCompact a | inr b => exact B.quasiCompact b
  ground := by intro i; cases i with | inl a => exact A.ground a | inr b => exact B.ground b
  cover := by
    apply top_le_iff.mp
    intro x _
    have hx : x ∈ ⨆ a, (A.map a).opensRange := by rw [A.cover]; trivial
    obtain ⟨a, ha⟩ := TopologicalSpace.Opens.mem_iSup.mp hx
    exact TopologicalSpace.Opens.mem_iSup.mpr ⟨Sum.inl a, ha⟩
  ideals := by intro i; cases i with | inl a => exact A.ideals a | inr b => exact B.ideals b
  ideal_eq := by intro i; cases i with | inl a => exact A.ideal_eq a | inr b => exact B.ideal_eq b
  choice := by intro i; cases i with | inl a => exact A.choice a | inr b => exact B.choice b

theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_eq (A B : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) : A.center = B.center := by
  let C := A.append B
  have hA : C.center = A.center := A.existsUnique_center.choose_spec.2 C.center
    (fun a => C.center_restrict (Sum.inl a))
  have hB : C.center = B.center := B.existsUnique_center.choose_spec.2 C.center
    (fun b => C.center_restrict (Sum.inr b))
  exact hA.symm.trans hB

end

section

/-! The canonical global component center agrees with every additional smooth affine chart. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry

variable {X : Scheme} {f : X ⟢ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : β„•}

def ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.insertChart (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (R : CommRingCat)
    [Algebra β„‚ R] [Algebra β„š R] [Algebra.Smooth β„‚ R]
    (j : Spec R ⟢ X) [IsOpenImmersion j] [QuasiCompact j]
    (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (L : Ideal R) (hL : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel L)
    (C : Component.CenterChoice.Construction.ComponentCenterChoice β„‚ R L n) : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n where
  indices := A.indices βŠ• Unit
  finite := inferInstance
  rings := Sum.elim A.rings (fun _ => R)
  algebra := by intro i; cases i with | inl a => exact A.algebra a | inr _ => exact inferInstanceAs (Algebra β„‚ R)
  rational := by intro i; cases i with | inl a => exact A.rational a | inr _ => exact inferInstanceAs (Algebra β„š R)
  smooth := by intro i; cases i with | inl a => exact A.smooth a | inr _ => exact inferInstanceAs (Algebra.Smooth β„‚ R)
  map := by intro i; cases i with | inl a => exact A.map a | inr _ => exact j
  isOpenImmersion := by intro i; cases i with | inl a => exact A.isOpenImmersion a | inr _ => exact inferInstanceAs (IsOpenImmersion j)
  quasiCompact := by intro i; cases i with | inl a => exact A.quasiCompact a | inr _ => exact inferInstanceAs (QuasiCompact j)
  ground := by intro i; cases i with | inl a => exact A.ground a | inr _ => exact hj
  cover := by
    apply top_le_iff.mp
    intro x _
    have hx : x ∈ ⨆ a, (A.map a).opensRange := by rw [A.cover]; trivial
    obtain ⟨a, ha⟩ := TopologicalSpace.Opens.mem_iSup.mp hx
    exact TopologicalSpace.Opens.mem_iSup.mpr ⟨Sum.inl a, ha⟩
  ideals := by intro i; cases i with | inl a => exact A.ideals a | inr _ => exact L
  ideal_eq := by intro i; cases i with | inl a => exact A.ideal_eq a | inr _ => exact hL
  choice := by intro i; cases i with | inl a => exact A.choice a | inr _ => exact C

theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_restrict_any (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (R : CommRingCat)
    [Algebra β„‚ R] [Algebra β„š R] [Algebra.Smooth β„‚ R]
    (j : Spec R ⟢ X) [IsOpenImmersion j] [QuasiCompact j]
    (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (L : Ideal R) (hL : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel L)
    (C : Component.CenterChoice.Construction.ComponentCenterChoice β„‚ R L n) :
    A.center.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel C.center := by
  let B := A.insertChart R j hj L hL C
  rw [A.center_eq B]
  exact B.center_restrict (Sum.inr ())

end

/-! The canonical global component center has its proved local formula on every Γ©tale affine chart. -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry

variable {X : Scheme} {f : X ⟢ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : β„•}

theorem ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.center_restrict_etale (A : ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (R : CommRingCat)
    [Algebra β„‚ R] [Algebra β„š R] [Algebra.Smooth β„‚ R]
    (j : Spec R ⟢ X) [Etale j]
    (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (L : Ideal R) (hL : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel L)
    (C : Component.CenterChoice.Construction.ComponentCenterChoice β„‚ R L n) : A.center.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel C.center := by
  let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing β„‚ R
  have hcover : (⨆ i, (pullback.snd (A.map i) j).opensRange) = ⊀ := by
    simp_rw [Scheme.Hom.opensRange_pullbackSnd]
    rw [← Scheme.Hom.preimage_iSup, A.cover, Scheme.Hom.preimage_top]
  let 𝒰 : (Spec R).OpenCover := Scheme.Cover.mkOfCovers A.indices
    (fun i => pullback (A.map i) j) (fun i => pullback.snd (A.map i) j)
    (by
      intro x
      have hx : x ∈ ⨆ i, (pullback.snd (A.map i) j).opensRange := by rw [hcover]; trivial
      exact TopologicalSpace.Opens.mem_iSup.mp hx)
    (fun _ => inferInstance)
  apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ 𝒰
  intro i
  change A.indices at i
  change (A.center.comap j).comap (pullback.snd (A.map i) j) =
    (Affine.QuotientKernel.Construction.affineQuotientKernel C.center).comap (pullback.snd (A.map i) j)
  rw [← Scheme.IdealSheafData.comap_comp, ← pullback.condition,
    Scheme.IdealSheafData.comap_comp, A.center_restrict i]
  apply GlobalCoefficient.ComponentGluing.Construction.idealSheaf_eq_of_fromSpec
  intro W
  let P := pullback (A.map i) j
  let S := Ξ“(P, W)
  let u : Spec (.of S) ⟢ Spec (A.rings i) := W.2.fromSpec ≫ pullback.fst (A.map i) j
  let v : Spec (.of S) ⟢ Spec R := W.2.fromSpec ≫ pullback.snd (A.map i) j
  let Ο† : A.rings i β†’+* S := (Spec.preimage u).hom
  let ψ : R β†’+* S := (Spec.preimage v).hom
  have hφ : Spec.map (CommRingCat.ofHom φ) = u := Spec.map_preimage u
  have hψ : Spec.map (CommRingCat.ofHom ψ) = v := Spec.map_preimage v
  have hcomm : u ≫ A.map i = v ≫ j := by
    dsimp only [u, v]
    rw [Category.assoc, Category.assoc, pullback.condition]
  have hbase : Ο†.comp (algebraMap β„‚ (A.rings i)) = ψ.comp (algebraMap β„‚ R) := by
    have he : CommRingCat.ofHom (Ο†.comp (algebraMap β„‚ (A.rings i))) =
        CommRingCat.ofHom (ψ.comp (algebraMap β„‚ R)) := by
      apply Spec.map_injective
      change Spec.map (CommRingCat.ofHom (algebraMap β„‚ (A.rings i)) ≫ CommRingCat.ofHom Ο†) =
        Spec.map (CommRingCat.ofHom (algebraMap β„‚ R) ≫ CommRingCat.ofHom ψ)
      rw [Spec.map_comp, Spec.map_comp, hΟ†, hψ]
      change u ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (A.rings i) = v ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R
      rw [← A.ground i, ← hj]
      simpa only [Category.assoc] using congrArg (fun m => m ≫ f) hcomm
    exact congrArg CommRingCat.Hom.hom he
  let : Algebra β„‚ S := (Ο†.comp (algebraMap β„‚ (A.rings i))).toAlgebra
  let Ο†β‚– : A.rings i →ₐ[β„‚] S := { __ := Ο†, commutes' := fun _ => rfl }
  let Οˆβ‚– : R →ₐ[β„‚] S := { __ := ψ, commutes' := fun c => (RingHom.congr_fun hbase c).symm }
  let : IsOpenImmersion W.2.fromSpec := W.2.isOpenImmersion_fromSpec
  have hφe : φₖ.toRingHom.Etale := by
    apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp
    rw [Spec.map_preimage]
    exact inferInstanceAs (Etale u)
  have hψe : Οˆβ‚–.toRingHom.Etale := by
    apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp
    rw [Spec.map_preimage]
    exact inferInstanceAs (Etale v)
  have hJL : (A.ideals i).map Ο† = L.map ψ := by
    apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp
    rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hΟ†, hψ,
      ← A.ideal_eq i, ← hL, ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm]
  have hc := Component.CenterChoice.Construction.ComponentCenterChoice.center_eq_on_common_refinement Ο†β‚– Οˆβ‚– hΟ†e hψe hJL (A.choice i) C
  rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp]
  change (Affine.QuotientKernel.Construction.affineQuotientKernel (A.choice i).center).comap u = (Affine.QuotientKernel.Construction.affineQuotientKernel C.center).comap v
  rw [← hΟ†, ← hψ, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom]
  exact congrArg Affine.QuotientKernel.Construction.affineQuotientKernel hc

end

end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent