File size: 13,489 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
import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph
import OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding
import OAI.AlgebraicGeometry.CycleClass.Thom.Proper.GraphLocalBound
import OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction
import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions

/-! # Scheme Graph Analytic -/

namespace OAI

noncomputable section

namespace AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions

/-! Polynomial graph coordinates on actual smooth affine schemes form closed holomorphic immersions and have compact fiber bounds over a neighborhood for proper maps. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace
open scoped _root_.Manifold ContDiff

open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PresentationImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph.Constructions
open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Proper.GraphLocalBound.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false

variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine X.left] (g : X ⟢ Y)
  {n : β„•} (f : MvPolynomial (Fin n) β„‚ →ₐ[β„‚] Ξ“(X.left, ⊀))

def globalGraphCoordinates (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : Fin n β†’ β„‚ :=
  PresentationImmersion.Constructions.presentationCoordinates f (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X x)

def globalGraph (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y Γ— (Fin n β†’ β„‚) :=
  (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g x, globalGraphCoordinates f x)

theorem globalGraphCoordinates_continuous : Continuous (globalGraphCoordinates f) :=
  (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_coordinates (fun j => f (MvPolynomial.X j))).comp
    (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).continuous

theorem globalGraphCoordinates_closedEmbedding (hf : Function.Surjective f) :
    Topology.IsClosedEmbedding (globalGraphCoordinates f) :=
  (PresentationImmersion.Constructions.presentationCoordinates_closedEmbedding f hf).comp (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).isClosedEmbedding

theorem globalGraph_closedEmbedding [T2Space (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] (hf : Function.Surjective f) :
    Topology.IsClosedEmbedding (globalGraph g f) :=
  Closed.GraphEmbedding.Constructions.graph_closedEmbedding (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map g)
    (globalGraphCoordinates f) (globalGraphCoordinates_closedEmbedding f hf)

theorem globalGraph_localBound [WeaklyLocallyCompactSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)]
    (hg : IsProperMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g)) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) :
    βˆƒ (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (K : Set (Fin n β†’ β„‚)),
      x ∈ U ∧ IsCompact K ∧ βˆ€ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g y ∈ U β†’ globalGraphCoordinates f y ∈ K :=
  Proper.GraphLocalBound.Constructions.exists_local_compact_bound (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) hg (globalGraphCoordinates f)
    (globalGraphCoordinates_continuous f) x

variable [IsIntegral X.left] [Smooth X.hom]

local notation "ModelX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β†’ β„‚

theorem globalGraphCoordinates_analytic :
    ContMDiff π“˜(β„‚, ModelX) π“˜(β„‚, Fin n β†’ β„‚) Ο‰ (globalGraphCoordinates f) :=
  (PresentationImmersion.Constructions.presentationCoordinates_analytic f Ο‰).comp (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X)

theorem globalGraphCoordinates_differential_injective (hf : Function.Surjective f)
    (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) :
    Function.Injective (mfderiv π“˜(β„‚, ModelX) π“˜(β„‚, Fin n β†’ β„‚) (globalGraphCoordinates f) x) := by
  change Function.Injective (mfderiv _ _ (PresentationImmersion.Constructions.presentationCoordinates f ∘ ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X) x)
  rw [mfderiv_comp x ((PresentationImmersion.Constructions.presentationCoordinates_analytic f Ο‰).mdifferentiable (by simp) _)
    ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X).mdifferentiable (by simp) x)]
  exact (PresentationImmersion.Constructions.presentationCoordinates_differential_injective f hf _).comp
    (HolomorphicHomeomorph.Constructions.homeomorph_mfderiv_bijective (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X)
      ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X).mdifferentiable (by simp))
      ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_symm_analytic X).mdifferentiable (by simp)) x).injective

variable [IsIntegral Y.left] [Smooth Y.hom]
local notation "ModelY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) β†’ β„‚

local instance (priority := low) : ChartedSpace (ModelY Γ— (Fin n β†’ β„‚))
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y Γ— (Fin n β†’ β„‚)) :=
  prodChartedSpace ModelY (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (Fin n β†’ β„‚) (Fin n β†’ β„‚)

theorem globalGraph_analytic :
    ContMDiff π“˜(β„‚, ModelX) π“˜(β„‚, ModelY Γ— (Fin n β†’ β„‚)) Ο‰ (globalGraph g f) := by
  rw [modelWithCornersSelf_prod]
  exact (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map g Ο‰).prodMk (globalGraphCoordinates_analytic f)

theorem globalGraph_differential_injective (hf : Function.Surjective f) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) :
    Function.Injective (mfderiv π“˜(β„‚, ModelX) π“˜(β„‚, ModelY Γ— (Fin n β†’ β„‚)) (globalGraph g f) x) := by
  change Function.Injective (mfderiv _ _ (fun y => (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g y, globalGraphCoordinates f y)) x)
  rw [modelWithCornersSelf_prod,
    mfderiv_prodMk ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map g Ο‰).mdifferentiable (by simp) x)
      ((globalGraphCoordinates_analytic f).mdifferentiable (by simp) x)]
  intro a b hab
  exact globalGraphCoordinates_differential_injective f hf x (congrArg Prod.snd hab)

end AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions

namespace AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient

/-! The algebraic polynomial graph ambient is holomorphically the product of its actual native affine base with complex coordinate space, with the original base projection retained. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry
open scoped TensorProduct _root_.Manifold ContDiff

open OAI.AlgebraicGeometry.CycleClass.Thom.AffineGraphAmbient.Constructions.Scheme OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions
open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PresentationImmersion.Constructions

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false

variable (Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine Y.left] (n : β„•)

def nativeGraphHomeomorph :
    ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ (Ξ“(Y.left, ⊀) βŠ—[β„‚] MvPolynomial (Fin n) β„‚)) β‰ƒβ‚œ
      (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y Γ— (Fin n β†’ β„‚)) :=
  (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Ξ“(Y.left, ⊀) n).trans
    ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.prodCongr (Homeomorph.refl (Fin n β†’ β„‚)))

theorem nativeGraphHomeomorph_graph {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine X.left]
    (g : X ⟢ Y) (f : MvPolynomial (Fin n) β„‚ →ₐ[β„‚] Ξ“(X.left, ⊀)) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) :
    nativeGraphHomeomorph Y n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x) = globalGraph g f x := by
  change ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm
    (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Ξ“(Y.left, ⊀) n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x)).1,
    (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Ξ“(Y.left, ⊀) n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x)).2) = _
  rw [SchemeGraph.Constructions.globalGraphSchemeMap_point]
  simp only [Homeomorph.symm_apply_apply]
  rfl

variable [IsIntegral Y.left] [Smooth Y.hom]

abbrev affineBaseModel := Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank β„‚ Ξ“(Y.left, ⊀)) β†’ β„‚
abbrev nativeGraphModel := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension
  (Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ (Ξ“(Y.left, ⊀) βŠ—[β„‚] MvPolynomial (Fin n) β„‚)).hom) β†’ β„‚

local notation "MY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) β†’ β„‚

local instance (priority := low) : ChartedSpace (affineBaseModel Y Γ— (Fin n β†’ β„‚))
    (Foundations.Scheme.AffineComplexPoints.affineComplexPoints Ξ“(Y.left, ⊀) Γ— (Fin n β†’ β„‚)) :=
  prodChartedSpace (affineBaseModel Y) (Foundations.Scheme.AffineComplexPoints.affineComplexPoints Ξ“(Y.left, ⊀)) (Fin n β†’ β„‚) (Fin n β†’ β„‚)
local instance (priority := low) : ChartedSpace (MY Γ— (Fin n β†’ β„‚)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y Γ— (Fin n β†’ β„‚)) :=
  prodChartedSpace MY (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (Fin n β†’ β„‚) (Fin n β†’ β„‚)

theorem nativeGraphHomeomorph_analytic :
    ContMDiff π“˜(β„‚, nativeGraphModel Y n) π“˜(β„‚, MY Γ— (Fin n β†’ β„‚)) Ο‰ (nativeGraphHomeomorph Y n) := by
  have hp : ContMDiff π“˜(β„‚, affineBaseModel Y Γ— (Fin n β†’ β„‚)) π“˜(β„‚, MY Γ— (Fin n β†’ β„‚)) Ο‰
      ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.prodCongr (Homeomorph.refl (Fin n β†’ β„‚))) := by
    simp only [modelWithCornersSelf_prod]
    exact (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_symm_analytic Y).prodMap
      (show ContMDiff π“˜(β„‚, Fin n β†’ β„‚) π“˜(β„‚, Fin n β†’ β„‚) Ο‰ id from contMDiff_id)
  exact hp.comp (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_analytic Ξ“(Y.left, ⊀) n)

theorem nativeGraphHomeomorph_symm_analytic :
    ContMDiff π“˜(β„‚, MY Γ— (Fin n β†’ β„‚)) π“˜(β„‚, nativeGraphModel Y n) Ο‰ (nativeGraphHomeomorph Y n).symm := by
  have hp : ContMDiff π“˜(β„‚, MY Γ— (Fin n β†’ β„‚)) π“˜(β„‚, affineBaseModel Y Γ— (Fin n β†’ β„‚)) Ο‰
      ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).prodCongr (Homeomorph.refl (Fin n β†’ β„‚))) := by
    simp only [modelWithCornersSelf_prod]
    exact (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic Y).prodMap
      (show ContMDiff π“˜(β„‚, Fin n β†’ β„‚) π“˜(β„‚, Fin n β†’ β„‚) Ο‰ id from contMDiff_id)
  exact (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_symm_analytic Ξ“(Y.left, ⊀) n).comp hp

theorem nativeGraphHomeomorph_dimension (y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) :
    Betti.AffineDimension.Realization.functionFieldDifferentialDimension
      (Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ (Ξ“(Y.left, ⊀) βŠ—[β„‚] MvPolynomial (Fin n) β„‚)).hom =
      Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom + n :=
  (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_dimension Ξ“(Y.left, ⊀) n (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y y)).trans
    (congrArg (fun k => k + n) (SmoothAffineGlobalCoordinates.Constructions.affineNative_modelDimension Y y).symm)

end AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient

end

end OAI