File size: 8,216 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
179
180
181
182
183
184
185
186
187
/-
Copyright 2026 The Formal Conjectures Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This file has been modified.
-/
import Mathlib.AlgebraicGeometry.IdealSheaf.Functorial
import OAI.AlgebraicGeometry.Cycle.Support
import OAI.AlgebraicGeometry.Smooth.Locus
import OAI.CategoryTheory.ConcreteCategory.Notation
import Mathlib.AlgebraicGeometry.AlgClosed.Basic
import Mathlib.Analysis.Complex.Polynomial.Basic
import OAI.AlgebraicGeometry.ComplexPoint.BasicNe
import Mathlib.AlgebraicGeometry.AlgebraicCycle.Basic
import Mathlib.AlgebraicGeometry.Morphisms.Smooth

/-! # Support Eq -/

namespace OAI.AlgebraicGeometry.Cycle.SupportEq

noncomputable section

open _root_.AlgebraicGeometry

/-!
# Geometric support of algebraic cycles

-/

/-! ### Constructions used only in proofs -/

section
open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace
variable (X : Over (Spec ↧ℂ))

@[simp]
lemma range_cycleComponentι (X : Scheme) (x : X) :
    Set.range (Support.cycleComponentι X x) = closure {x} := by
  change Set.range
    ((Scheme.IdealSheafData.vanishingIdeal
      (X := X) ⟨closure {x}, isClosed_closure⟩).subschemeι) = closure {x}
  rw [Scheme.IdealSheafData.range_subschemeι]
  rfl

end

section

open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace

variable (X : Over (Spec ↧ℂ))

/-- The kernel of a complex point is the vanishing ideal of the closure of its underlying scheme
point. -/
private lemma complexPoint_ker_eq_vanishingIdeal_closure
    {X : Over (Spec ↧ℂ)}
    (z : ComplexPoint.Basic.ComplexSchemePoint X) :
    z.left.ker = Scheme.IdealSheafData.vanishingIdeal
      ⟨closure {z.underlying}, isClosed_closure⟩ := by
  let f : Spec ↧ℂ ⟶ X.left := z.left
  have hrange : Set.range f = {z.underlying} := by
    ext y
    constructor
    · rintro ⟨s, rfl⟩
      have hs : s = IsLocalRing.closedPoint ℂ := Subsingleton.elim _ _
      subst s
      rfl
    · intro hy
      rw [Set.mem_singleton_iff] at hy
      subst y
      exact ⟨IsLocalRing.closedPoint ℂ, rfl⟩
  have h := Scheme.IdealSheafData.map_vanishingIdeal f
    (⊤ : TopologicalSpace.Closeds (Spec ↧ℂ))
  rw [Scheme.IdealSheafData.vanishingIdeal_top, Scheme.nilradical_eq_bot,
    Scheme.IdealSheafData.map_bot] at h
  have himage : f '' (↑(⊤ : TopologicalSpace.Closeds (Spec ↧ℂ)) :
      Set (Spec ↧ℂ)) = {z.underlying} := by
    simpa only [TopologicalSpace.Closeds.coe_top, Set.image_univ] using hrange
  rwa [himage] at h

set_option backward.defeqAttrib.useBackward true in
set_option backward.isDefEq.respectTransparency false in
/-- A complex point in the support of a component annihilates the defining ideal of that
component. -/
lemma cycleComponent_vanishingIdeal_le_complexPoint_ker
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left)
    (z : (ComplexPoint.Basic.ComplexSchemePoint X)) (hz : z.underlying ∈ closure {x}) :
    (Support.cycleComponentι X.left x).ker ≤ z.left.ker := by
  unfold Support.cycleComponentι
  rw [Scheme.IdealSheafData.ker_subschemeι]
  rw [complexPoint_ker_eq_vanishingIdeal_closure z]
  apply Scheme.IdealSheafData.vanishingIdeal_antimono
  exact closure_minimal (Set.singleton_subset_iff.mpr hz) isClosed_closure

/-- The map on complex points induced by the canonical inclusion of a cycle component. -/
def cycleComponentMap
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) :
    ComplexPoint.Basic.ComplexSchemePoint (Over.mk (Support.cycleComponentι X.left x ≫ X.hom)) → (ComplexPoint.Basic.ComplexSchemePoint X) :=
  ComplexPoint.Basic.Point.map (Over.homMk (Support.cycleComponentι X.left x) rfl)

/-- Lift a complex point in a component support through the reduced closed component. -/
def cycleComponentComplexPointLift
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left)
    (z : (ComplexPoint.Basic.ComplexSchemePoint X)) (hz : z ∈ Support.cycleComponentSupport X x) :
    ComplexPoint.Basic.ComplexSchemePoint (Over.mk (Support.cycleComponentι X.left x ≫ X.hom)) :=
  have hz' : z.underlying ∈ closure {x} := hz
  Over.homMk (IsClosedImmersion.lift (Support.cycleComponentι X.left x) z.left
      (cycleComponent_vanishingIdeal_le_complexPoint_ker X x z hz')) (by
    change _ ≫ (Support.cycleComponentι X.left x ≫ X.hom) = 𝟙 _
    rw [← Category.assoc, IsClosedImmersion.lift_fac]
    exact Over.w z)

@[simp]
lemma cycleComponentMap_lift
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left)
    (z : (ComplexPoint.Basic.ComplexSchemePoint X)) (hz : z ∈ Support.cycleComponentSupport X x) :
    cycleComponentMap X x (cycleComponentComplexPointLift X x z hz) = z :=
  Over.OverMorphism.ext (IsClosedImmersion.lift_fac (Support.cycleComponentι X.left x) z.left _)

/-- The analytic complex points in the smooth locus of a reduced cycle component. -/
def cycleComponentSmoothAnalyticLocus
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) :
    Set (ComplexPoint.Basic.ComplexSchemePoint (Over.mk (Support.cycleComponentι X.left x ≫ X.hom))) :=
  ComplexPoint.Basic.Point.overOpen
    (Support.cycleComponentι X.left x ≫ X.hom).smoothLocus

/-- The image in the ambient analytic space of the smooth locus of a cycle component. -/
def cycleComponentSmoothSupport
    [IsIntegral X.left] [Smooth X.hom]
    [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : Set (ComplexPoint.Basic.ComplexSchemePoint X) :=
  cycleComponentMap X x '' cycleComponentSmoothAnalyticLocus X x

end

open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace

variable (X : Over (Spec ↧ℂ))

/-- The reduced closure of a point in a projective complex variety is Noetherian.

It is a `def` because the component does not determine the structure morphism carrying the
projectivity hypothesis. -/
theorem cycleComponent_isNoetherian
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) :
    IsNoetherian (Support.cycleComponent X.left x) :=
  @ComplexPoint.BasicNe.isNoetherian_of_isProjective (Over.mk (Support.cycleComponentι X.left x ≫ X.hom))
    (Support.cycleComponent_projective X x)

/-- The smooth locus of an integral cycle component is a smooth complex scheme. -/
theorem cycleComponent_smoothLocus_smooth
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) :
    Smooth
      ((Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι ≫
        (Support.cycleComponentι X.left x ≫ X.hom)) :=
  (OAI.AlgebraicGeometry.Smooth.Locus.Scheme.Hom.smooth_restrict_smoothLocus (Support.cycleComponentι X.left x ≫ X.hom))

/-- The complex points over a Zariski-closed subset form an analytically closed set. -/
lemma isClosed_complexPoint_underlying_preimage
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom]
    (Z : TopologicalSpace.Closeds X.left) :
    IsClosed ((@ComplexPoint.Basic.Point.underlying ℂ _ _ X) ⁻¹'
      (Z : Set X.left)) := by
  rw [← isOpen_compl_iff]
  let U : X.left.Opens := ⟨(Z : Set X.left)ᶜ,
    isOpen_compl_iff.mpr Z.2⟩
  exact ComplexPoint.Basic.Point.isOpen_overOpen (X := X) U

lemma isClosed_cycleComponentSupport
    [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) :
    IsClosed (Support.cycleComponentSupport X x) :=
  isClosed_complexPoint_underlying_preimage X
    ⟨closure {x}, isClosed_closure⟩

end

end OAI.AlgebraicGeometry.Cycle.SupportEq