File size: 11,803 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
173
174
175
176
177
178
import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition
import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveVarietyRealization
import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover

/-! # Projective Component -/

namespace OAI.AlgebraicGeometry

noncomputable section

/-!
# Analytic points of disjoint scheme decompositions

An actual disjoint family of open scheme inclusions covering the target gives
a homeomorphism from the topological sum of the native complex point spaces.
Applying this to the proved finite integral-component decomposition handles
all smooth projective presentations, including disconnected and empty ones.
-/

open _root_.CategoryTheory _root_.AlgebraicGeometry Set

namespace ComplexPoints.Analytic

universe v

variable {ι : Type v} (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (U : ι → Over Foundations.Scheme.ProjectiveSpace.complexBase)
  (j : ∀ i, U i ⟶ X)

/-- The sum of the actual maps on native complex-valued points. -/
def SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap : (Σ i, SchemePointHomeomorphs.schemeComplexPoints (U i)) → SchemePointHomeomorphs.schemeComplexPoints X :=
  fun p => SchemePointHomeomorphs.schemeComplexPoints.map (j p.1) p.2

@[simp]
theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_mk (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) :
    SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j ⟨i, p⟩ = SchemePointHomeomorphs.schemeComplexPoints.map (j i) p := rfl

theorem SchemePointHomeomorphs.schemeComplexPoints.continuous_openFamilySigmaPointMap : Continuous (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) :=
  continuous_sigma fun i => SchemePointHomeomorphs.schemeComplexPoints.continuous_map (j i)

variable [∀ i, IsOpenImmersion (j i).left]

theorem SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_openFamilySigmaPointMap : IsOpenMap (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) :=
  isOpenMap_sigma.mpr fun i => SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_map_of_isOpenImmersion (j i)

/-- Scheme coverage supplies native-point coverage through the actual open-immersion lifts. -/
theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_surjective
    (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left) :
    Function.Surjective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := by
  intro p
  obtain ⟨i, hi⟩ := hcover (SchemePointHomeomorphs.schemeComplexPoints.underlying p)
  have hp : p ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.map (j i)) := by
    rw [SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion]
    exact hi
  obtain ⟨q, hq⟩ := hp
  exact ⟨⟨i, q⟩, hq⟩

/-- Disjointness of the actual scheme ranges separates the sum's indices. -/
theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_injective
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) :
    Function.Injective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := by
  rintro ⟨i, p⟩ ⟨k, q⟩ h
  have hik : i = k := by
    by_contra hik
    have hpoint : SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) = SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j k) q) :=
      congrArg SchemePointHomeomorphs.schemeComplexPoints.underlying h
    exact Set.disjoint_left.mp (hdisjoint hik)
      (show SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) ∈ Set.range (j i).left from ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying p, rfl⟩)
      (show SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) ∈ Set.range (j k).left from
        ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying q, hpoint.symm⟩)
  subst k
  have hpq : p = q := (SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (j i)).injective h
  subst q
  rfl

/-- Native points of a disjoint open decomposition are its actual topological sum. -/
def SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph
    (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left)
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) :
    (Σ i, SchemePointHomeomorphs.schemeComplexPoints (U i)) ≃ₜ SchemePointHomeomorphs.schemeComplexPoints X :=
  (Equiv.ofBijective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j)
    ⟨SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_injective X U j hdisjoint,
      SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_surjective X U j hcover⟩).toHomeomorphOfContinuousOpen
    (SchemePointHomeomorphs.schemeComplexPoints.continuous_openFamilySigmaPointMap X U j) (SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_openFamilySigmaPointMap X U j)

@[simp]
theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph_apply
    (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left)
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left)))
    (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) :
    SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint ⟨i, p⟩ = SchemePointHomeomorphs.schemeComplexPoints.map (j i) p := rfl

@[simp]
theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph_symm_map
    (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left)
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left)))
    (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) :
    (SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint).symm (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) = ⟨i, p⟩ :=
  (SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint).symm_apply_apply ⟨i, p⟩

/-- In particular, a native disjoint open cover has exactly the sum topology on points. -/
def SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph (𝒰 : Scheme.OpenCover.{v} X.left)
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (𝒰.f i)) (Set.range (𝒰.f k)))) :
    (Σ i, SchemePointHomeomorphs.schemeComplexPoints (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰 i)) ≃ₜ SchemePointHomeomorphs.schemeComplexPoints X :=
  SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰) (SchemePointHomeomorphs.schemeComplexPoints.openCoverInclusion X 𝒰)
    (fun x => ⟨𝒰.idx x, 𝒰.covers x⟩) hdisjoint

@[simp]
theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph_apply (𝒰 : Scheme.OpenCover.{v} X.left)
    (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (𝒰.f i)) (Set.range (𝒰.f k))))
    (p : Σ i, SchemePointHomeomorphs.schemeComplexPoints (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰 i)) :
    SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph X 𝒰 hdisjoint p = SchemePointHomeomorphs.schemeComplexPoints.openCoverSigmaPointMap X 𝒰 p := rfl

end ComplexPoints.Analytic

variable (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation)

/-- The actual component inclusion, as a morphism over the specified complex base. -/
def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver (C : irreducibleComponents P.carrier) :
    (P.componentVariety C).toOver ⟶ P.toOver :=
  Over.homMk (P.componentInclusion C) (P.componentInclusion_over C)

instance Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver_isOpenImmersion (C : irreducibleComponents P.carrier) :
    IsOpenImmersion (P.componentInclusionOver C).left :=
  P.componentInclusion_isOpenImmersion C

instance Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver_isClosedImmersion (C : irreducibleComponents P.carrier) :
    IsClosedImmersion (P.componentInclusionOver C).left :=
  P.componentInclusion_isClosedImmersion C

/-- The map from an actual integral component's analytic space. -/
def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointMap (C : irreducibleComponents P.carrier) :
    (P.componentVariety C).analyticSpace → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver :=
  ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (P.componentInclusionOver C)

theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointMap_range (C : irreducibleComponents P.carrier) :
    Set.range (P.componentPointMap C) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' C.val := by
  change Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (P.componentInclusionOver C)) = _
  rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion]
  have h : Set.range (P.componentInclusionOver C).left = C.val := P.componentInclusion_range C
  rw [h]

theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusions_cover (x : P.carrier) :
    ∃ C : irreducibleComponents P.carrier, x ∈ Set.range (P.componentInclusion C) := by
  refine ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, ?_⟩
  rw [P.componentInclusion_range]
  exact mem_irreducibleComponent

theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusions_pairwise_disjoint :
    Pairwise (fun C D : irreducibleComponents P.carrier =>
      Disjoint (Set.range (P.componentInclusion C)) (Set.range (P.componentInclusion D))) := by
  intro C D hCD
  exact TopologicalSpace.Opens.coe_disjoint.mpr
    (P.componentInclusionsOfStalkDomains_disjoint P.stalk_isDomain hCD)

/-- The analytic points of any smooth projective presentation are the finite
topological sum of its actual integral smooth projective components. -/
def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph :
    (Σ C : irreducibleComponents P.carrier, (P.componentVariety C).analyticSpace) ≃ₜ
      ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver :=
  ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph P.toOver
    (fun C => (P.componentVariety C).toOver) P.componentInclusionOver
    P.componentInclusions_cover P.componentInclusions_pairwise_disjoint

@[simp]
theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph_apply (C : irreducibleComponents P.carrier)
    (p : (P.componentVariety C).analyticSpace) :
    P.componentPointsHomeomorph ⟨C, p⟩ = P.componentPointMap C p := rfl

@[simp]
theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph_symm_componentPointMap
    (C : irreducibleComponents P.carrier) (p : (P.componentVariety C).analyticSpace) :
    P.componentPointsHomeomorph.symm (P.componentPointMap C p) = ⟨C, p⟩ :=
  P.componentPointsHomeomorph.symm_apply_apply ⟨C, p⟩

end

end OAI.AlgebraicGeometry