File size: 18,763 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap
import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology
import OAI.AlgebraicGeometry.CycleClass.Thom.EtaleGraphOpenImmersion

/-! # Generic Fibers -/

namespace OAI

noncomputable section

namespace AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions

/-! The actual smooth normalization has injective differential and fibers of cardinality one over the constructed generic support open. -/

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

open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions
open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.Range OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions
open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleGraphOpenImmersion.Constructions

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

variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : β„•} (D : Geometric.DimensionCycles.DimensionCycleSupport V p)

local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme)
local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap)
local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier)
local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap)
local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V D.val).hom := AmbientMap.Constructions.smoothNormalization_smooth V D.val

local notation "ML" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Over.hom (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions.sourceOpen D.toOver))) β†’ β„‚
local notation "MS" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Over.hom (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions.smoothNormalizationOver V D.val))) β†’ β„‚

theorem sourceToSmooth_analytic_square :
    ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) ∘ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D) =
      EtaleGraphOpenImmersion.Constructions.etaleBase (GenericCover.Constructions.coverMap D.toOver) (Open.Constructions.targetToAmbient D) := by
  funext x
  exact (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp (GoodSmoothMap.Constructions.sourceToSmooth D) (PrincipalBoundary.Constructions.fullAmbientMap V D.val) x).symm.trans
    ((congrArg (fun f => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f x) (GoodSmoothMap.Constructions.sourceToSmooth_ambient D)).trans
      (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp (GenericCover.Constructions.coverMap D.toOver) (Open.Constructions.targetToAmbient D) x))

theorem fullAmbientMap_good_differential_injective
    (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.Constructions.smoothNormalizationOver V D.val))
    (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) x ∈ Open.Constructions.goodAmbient D) :
    Function.Injective (mfderiv π“˜(β„‚, MS) π“˜(β„‚, V.analyticModel)
      (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val)) x) := by
  have hr : x ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D)) := by
    rw [GoodSmoothMap.Constructions.Range.sourceToSmooth_analytic_range]
    exact hx
  obtain ⟨y, rfl⟩ := hr
  have ha := ComplexPoints.Analytic.IntrinsicOpenDifferential.mfderiv_nativeScheme_openImmersion_bijective (GoodSmoothMap.Constructions.sourceToSmooth D) y
  have hf := EtaleGraphOpenImmersion.Constructions.etaleBase_differential_injective (GenericCover.Constructions.coverMap D.toOver) (Open.Constructions.targetToAmbient D) y
  rw [← sourceToSmooth_analytic_square D] at hf
  rw [mfderiv_comp y
    ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) Ο‰).mdifferentiableAt (by simp))
    ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (GoodSmoothMap.Constructions.sourceToSmooth D) Ο‰).mdifferentiableAt (by simp))] at hf
  intro v w hvw
  obtain ⟨a, ha'⟩ := ha.surjective v
  obtain ⟨b, hb'⟩ := ha.surjective w
  have hab : a = b := hf
    ((congrArg (mfderiv π“˜(β„‚, MS) π“˜(β„‚, V.analyticModel)
      (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D) y))
      ha').trans (hvw.trans
        (congrArg (mfderiv π“˜(β„‚, MS) π“˜(β„‚, V.analyticModel)
          (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D) y))
          hb').symm))
  exact ha'.symm.trans ((congrArg (mfderiv π“˜(β„‚, ML) π“˜(β„‚, MS)
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D)) y) hab).trans hb')

theorem targetToAmbient_mem_goodAmbient (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (GenericCover.Constructions.targetOpen D.toOver)) :
    ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D) x ∈ Open.Constructions.goodAmbient D := by
  change ¬ D.inclusion ((GenericCover.Constructions.goodOpen D.toOver).ι (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x)) ∈
    ProperImage.Open.Constructions.Construction.supportOpenBoundary D (GenericCover.Constructions.goodOpen D.toOver)
  intro hx
  have he := Set.ext_iff.mp (ProperImage.Open.Constructions.Construction.supportOpenBoundary_preimage D (GenericCover.Constructions.goodOpen D.toOver))
    ((GenericCover.Constructions.goodOpen D.toOver).ΞΉ (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x))
  exact (he.mp hx) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x).property

def fullAmbientMap_coverFiberEquiv (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (GenericCover.Constructions.targetOpen D.toOver)) :
    {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (GenericCover.Constructions.sourceOpen D.toOver) | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GenericCover.Constructions.coverMap D.toOver) y = x} ≃
      {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.Constructions.smoothNormalizationOver V D.val) |
        ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D) x} := by
  apply ProperImage.IntrinsicFiberDegree.Constructions.Construction.fiberEquiv_of_commuting_square (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val))
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GoodSmoothMap.Constructions.sourceToSmooth D)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D))
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (GenericCover.Constructions.coverMap D.toOver))
    (congrFun (sourceToSmooth_analytic_square D))
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (GoodSmoothMap.Constructions.sourceToSmooth D)).injective
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion (Open.Constructions.targetToAmbient D)).injective x
  intro y hy
  rw [GoodSmoothMap.Constructions.Range.sourceToSmooth_analytic_range]
  change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y ∈ Open.Constructions.goodAmbient D
  rw [show ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y =
    ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D) x from hy]
  exact targetToAmbient_mem_goodAmbient D x

theorem fullAmbientMap_genericFiber_card (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (GenericCover.Constructions.targetOpen D.toOver)) :
    Nat.card {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.Constructions.smoothNormalizationOver V D.val) |
      ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D) x} = 1 :=
  (Nat.card_congr (fullAmbientMap_coverFiberEquiv D x).symm).trans (GenericCover.Constructions.coverMap_complexFiber_card D.toOver x)

end AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions

namespace AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions.Open

/-! Passing to an actual open subscheme of the smooth normalization preserves the original support, dimension, and all retained fibers that it contains. -/

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

open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.Range
open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions
open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions

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

variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : β„•} (D : Geometric.DimensionCycles.DimensionCycleSupport V p)

local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme)
local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap)
local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier)
local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap)
local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V D.val).hom := AmbientMap.Constructions.smoothNormalization_smooth V D.val

theorem fullAmbientMap_range_subset_support :
    Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val)) βŠ† Set.range D.analyticInclusion := by
  let : IsClosedImmersion D.toAmbient.left := D.inclusion_isClosedImmersion
  rintro _ ⟨y, rfl⟩
  change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map D.toAmbient)
  rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isImmersion]
  exact ⟨Scheme.Constructions.normalizationMap D.scheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying y).val,
    (GoodSmoothMap.Constructions.Range.fullAmbientMap_apply D (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying y)).symm⟩

variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom]
  (a : X ⟢ AmbientMap.Constructions.smoothNormalizationOver V D.val) [IsOpenImmersion a.left]

local notation "MX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) β†’ β„‚
local notation "MS" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Over.hom (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions.smoothNormalizationOver V D.val))) β†’ β„‚

def openBase : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X β†’ V.analyticSpace :=
  ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) ∘ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a

omit [IsOpenImmersion a.left] in
theorem openBase_analytic : ContMDiff π“˜(β„‚, MX) π“˜(β„‚, V.analyticModel) Ο‰ (openBase D a) :=
  (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) Ο‰).comp (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map a Ο‰)

theorem openBase_good_differential_injective (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (hx : openBase D a x ∈ Open.Constructions.goodAmbient D) :
    Function.Injective (mfderiv π“˜(β„‚, MX) π“˜(β„‚, V.analyticModel) (openBase D a) x) := by
  have hd := mfderiv_comp x
    ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) Ο‰).mdifferentiableAt (by simp))
    ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map a Ο‰).mdifferentiableAt (by simp))
  exact (congrArg (fun L : MX β†’L[β„‚] V.analyticModel => Function.Injective L) hd).mpr
    ((fullAmbientMap_good_differential_injective D (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a x) hx).comp
      (ComplexPoints.Analytic.IntrinsicOpenDifferential.mfderiv_nativeScheme_openImmersion_bijective a x).injective)

omit [IsOpenImmersion a.left] [IsIntegral X.left] [Smooth X.hom] in
theorem openBase_mem_support (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : openBase D a x ∈ Set.range D.analyticInclusion :=
  fullAmbientMap_range_subset_support D ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a x, rfl⟩

include a in
theorem openSource_dimension :
    Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom = D.regularComplexDimension := by
  rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension, ← a.w]
  exact (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion a.left (AmbientMap.Constructions.smoothNormalizationOver V D.val).hom).trans
    ((AmbientTopology.Constructions.smoothNormalization_dimension V D.val).trans D.regularComplexDimension_eq_supportDimension.symm)

include a in
theorem openGraph_codimension (d : β„•) :
    Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension MX (V.analyticModel Γ— (Fin d β†’ β„‚)) = p + d := by
  change Module.finrank β„‚ (V.analyticModel Γ— (Fin d β†’ β„‚)) - Module.finrank β„‚ MX = p + d
  simp only [Module.finrank_prod, Module.finrank_fin_fun, openSource_dimension D a]
  have hd := D.regularComplexDimension_add_codimension
  omega

variable (U : Opens V.analyticSpace)
  (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) ⁻¹' (U : Set V.analyticSpace) βŠ†
    Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a))

def openBase_fiberEquiv (u : U) :
    {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X | openBase D a y = u.val} ≃
      {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.Constructions.smoothNormalizationOver V D.val) |
        ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y = u.val} := by
  apply ProperImage.IntrinsicFiberDegree.Constructions.Construction.fiberEquiv_of_commuting_square (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val))
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a) id (openBase D a) (fun _ => rfl)
    (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion a).injective Function.injective_id u.val
  intro y hy
  apply hcover
  change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y ∈ U
  rw [show ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V D.val) y = u.val from hy]
  exact u.property

include hcover in
omit [IsIntegral X.left] [Smooth X.hom] in
theorem openBase_genericFiber_card (u : U) (hu : u.val ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Open.Constructions.targetToAmbient D))) :
    Nat.card {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X | openBase D a y = u.val} = 1 := by
  obtain ⟨x, hx⟩ := hu
  have h := fullAmbientMap_genericFiber_card D x
  rw [hx] at h
  exact (Nat.card_congr (openBase_fiberEquiv D a U hcover u)).trans h

end AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions.Open

end

end OAI