File size: 17,940 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
209
210
211
212
213
214
215
216
217
import OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartMem
import OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineCone

/-! # Chart Period Smoothness -/

namespace OAI

noncomputable section

namespace Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.ConeChartSmoothness

/-! # RiemannProjectivity: normalized projective charts inherit smoothness from the cone point -/

open Set
open OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineVanishing.Constructions.AffineVanishingPoints OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartMem.Constructions.ConeChartNormalization
  AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization SmoothReferencePoint.Constructions.SmoothPointLocalization

variable {ΞΉ : Type*} [Fintype ΞΉ]

omit [Fintype ΞΉ] in
theorem restriction_invSelf (S : Set (ΞΉ β†’ β„‚)) (i : ΞΉ) :
    ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i (IsLocalization.Away.invSelf (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)) = 1 := by
  have h := congrArg (ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i)
    (IsLocalization.Away.mul_invSelf (S := ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i))
  rw [map_mul, ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction_algebraMap, ConeChartBy.Constructions.ConeChartRestriction.restriction_variable_self, one_mul, map_one] at h
  exact h

omit [Fintype ΞΉ] in
theorem restriction_ratio (S : Set (ΞΉ β†’ β„‚)) (i : ΞΉ) (j : {j : ΞΉ // j β‰  i}) :
    ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i (ConeChartMem.Constructions.ConeChartNormalization.ratio S i j) = Ideal.Quotient.mk _ (MvPolynomial.X j) := by
  rw [ConeChartMem.Constructions.ConeChartNormalization.ratio, map_mul, ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction_algebraMap, ConeChartBy.Constructions.ConeChartRestriction.restriction_variable S i j.val j.property,
    restriction_invSelf, mul_one]

theorem retraction (S : Set (ΞΉ β†’ β„‚))
    (hS : βˆ€ x, (βˆ€ p ∈ MvPolynomial.vanishingIdeal β„‚ S, MvPolynomial.eval x p = 0) β†’ x ∈ S)
    (hcone : βˆ€ (c : β„‚) ⦃w⦄, w ∈ S β†’ c β€’ w ∈ S) (i : ΞΉ) :
    (ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i).comp (ConeChartMem.Constructions.ConeChartNormalization.normalization S hS hcone i) = AlgHom.id β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (ConeChartBy.Constructions.ConeChartRestriction.chart S i)) := by
  apply Ideal.Quotient.algHom_ext β„‚
  apply MvPolynomial.algHom_ext
  intro j
  change ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i (MvPolynomial.aeval (ConeChartMem.Constructions.ConeChartNormalization.ratio S i) (MvPolynomial.X j)) =
    Ideal.Quotient.mk _ (MvPolynomial.X j)
  rw [MvPolynomial.aeval_X, restriction_ratio]

theorem mem_smoothLocus (S : Set (ΞΉ β†’ β„‚))
    (hS : βˆ€ x, (βˆ€ p ∈ MvPolynomial.vanishingIdeal β„‚ S, MvPolynomial.eval x p = 0) β†’ x ∈ S)
    (hcone : βˆ€ (c : β„‚) ⦃w⦄, w ∈ S β†’ c β€’ w ∈ S) (i : ΞΉ)
    (x : {j : ΞΉ // j β‰  i} β†’ β„‚) (hx : x ∈ ConeChartBy.Constructions.ConeChartRestriction.chart S i)
    (hsm : SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (AffineCone.Constructions.AffineCoordinateSmoothness.point S (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x) hx) ∈
      Algebra.smoothLocus β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S)) :
    SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (AffineCone.Constructions.AffineCoordinateSmoothness.point (ConeChartBy.Constructions.ConeChartRestriction.chart S i) x hx) ∈
      Algebra.smoothLocus β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (ConeChartBy.Constructions.ConeChartRestriction.chart S i)) := by
  let q := AffineCone.Constructions.AffineCoordinateSmoothness.point (ConeChartBy.Constructions.ConeChartRestriction.chart S i) x hx
  let qB := q.comp (ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i)
  have heq : qB.comp (Algebra.algHom β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i)) =
      AffineCone.Constructions.AffineCoordinateSmoothness.point S (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x) hx := by
    apply Ideal.Quotient.algHom_ext β„‚
    apply AlgHom.ext
    intro p
    change q (ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i
      (algebraMap (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) (Ideal.Quotient.mk _ p))) =
        MvPolynomial.eval (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x) p
    rw [ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction_algebraMap]
    change MvPolynomial.eval x (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize i p) = _
    exact AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.eval_dehomogenize i p x
  have hqB : SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime qB ∈ Algebra.smoothLocus β„‚ (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i) := by
    rw [← Algebra.smoothLocus_comap_of_isLocalization (R := β„‚) (Af := ConeChartBy.Constructions.ConeChartRestriction.patchRing S i)
      (ConeChartBy.Constructions.ConeChartRestriction.variableClass S i)]
    change SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (qB.comp (Algebra.algHom β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) (ConeChartBy.Constructions.ConeChartRestriction.patchRing S i))) ∈
      Algebra.smoothLocus β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S)
    rwa [heq]
  exact AffineCone.Constructions.PointStalkMaps.smooth_retract_at_point (ConeChartMem.Constructions.ConeChartNormalization.normalization S hS hcone i)
    (ConeChartBy.Constructions.ConeChartRestriction.localizedRestriction S i) (retraction S hS hcone i) q hqB

end Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.ConeChartSmoothness

namespace Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.PeriodChartSmoothness

/-! # RiemannProjectivity: every actual CM period point is smooth in its projective affine chart -/

open Set
open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction
  AffineVanishing.Constructions.AffineVanishingPoints AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization

variable {E : Type} [Field E] [NumberField E] [Algebra β„š E] [NumberField.IsCMField E]
  {n : β„•}

theorem mem_smoothLocus (Ξ¦ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E)
    (f : Ξ¦.periodTorus β†’ Projectivization β„‚ (Fin (n + 1) β†’ β„‚)) (hf : Topology.IsClosedEmbedding f)
    (hd : βˆ€ (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)),
      f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source β†’
      DifferentiableAt β„‚ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧
      Function.Injective (fderiv β„‚ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z))
    (hS : βˆ€ w, (βˆ€ p ∈ MvPolynomial.vanishingIdeal β„‚ (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)),
      MvPolynomial.eval w p = 0) β†’ w ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))
    (i : Fin (n + 1)) (x : {j : Fin (n + 1) // j β‰  i} β†’ β„‚)
    (hx : x ∈ ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) i) :
    SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (AffineCone.Constructions.AffineCoordinateSmoothness.point (ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) i) x hx) ∈
      Algebra.smoothLocus β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) i)) := by
  apply ConeChartSmoothness.mem_smoothLocus (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) hS
    (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone (range f)) i x hx
  let v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := ⟨AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i x, hx⟩
  have hvi : v.val i = 1 := AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne_self i x
  have hvi0 : v.val i β‰  0 := hvi β–Έ one_ne_zero
  obtain ⟨t, ht⟩ := (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.mem_projectiveCone_iff_dehomogenize (range f) i v.val hvi0).mp v.property
  obtain ⟨z, hz⟩ := QuotientAddGroup.mk_surjective t
  have htarget : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize i v.val ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).target := by
    rw [AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart_target]
    trivial
  have hfp : f (QuotientAddGroup.mk z) = (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize i v.val) := by
    rw [hz]
    exact ht
  have hi : f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source := by
    rw [hfp]
    exact (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).symm.map_source htarget
  have hchart : AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk z)) = AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeCharts.Constructions.Cone.dehomogenize i v.val := by
    rw [hfp]
    exact (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).right_inv htarget
  have hv : v.val = ConeTangentF.Constructions.ConeTangent.parameterization i
      (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, 1) := by
    symm
    change ConeTangentF.Constructions.ConeTangent.insertCoordinate i (1, (1 : β„‚) β€’ AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk z))) = v.val
    rw [hchart, ← hvi]
    exact ConeTangentF.Constructions.ConeTangent.insertCoordinate_dehomogenize i v.val hvi0
  exact AffineCone.Constructions.NormalizedConeSmoothness.mem_smoothLocus_at_parameter Ξ¦ f hf hd i z hi v hv

end Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.PeriodChartSmoothness

namespace Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.SmoothFromComplexPoints

/-! # RiemannProjectivity: smoothness of a finite-type complex algebra is detected at its complex points -/

open OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization

variable {A : Type*} [CommRing A] [Algebra β„‚ A]

theorem exists_character_kernel [Algebra.FiniteType β„‚ A]
    (M : Ideal A) (hM : M.IsMaximal) : βˆƒ q : A →ₐ[β„‚] β„‚, RingHom.ker q.toRingHom = M := by
  let : M.IsMaximal := hM
  obtain ⟨n, f, hf⟩ := Algebra.FiniteType.iff_quotient_mvPolynomial''.mp
    (inferInstance : Algebra.FiniteType β„‚ A)
  have hpre : (M.comap f.toRingHom).IsMaximal := Ideal.comap_isMaximal_of_surjective f.toRingHom hf
  obtain ⟨x, hx⟩ := MvPolynomial.eq_vanishingIdeal_singleton_of_isMaximal β„‚ hpre
  have heval (p : MvPolynomial (Fin n) β„‚) : MvPolynomial.aeval x p = 0 ↔ f p ∈ M := by
    rw [← MvPolynomial.mem_vanishingIdeal_singleton_iff, ← hx]
    rfl
  have hker : RingHom.ker f.toRingHom ≀ RingHom.ker (MvPolynomial.aeval x).toRingHom := by
    intro p hp
    apply (heval p).mpr
    rw [show f p = 0 from hp]
    exact M.zero_mem
  let q := AlgHom.liftOfSurjective f hf (MvPolynomial.aeval x) hker
  refine ⟨q, ?_⟩
  ext a
  obtain ⟨p, rfl⟩ := hf a
  change q (f p) = 0 ↔ f p ∈ M
  rw [AlgHom.liftOfSurjective_apply]
  exact heval p

theorem smooth [Algebra.FinitePresentation β„‚ A]
    (h : βˆ€ q : A →ₐ[β„‚] β„‚, SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime q ∈ Algebra.smoothLocus β„‚ A) : Algebra.Smooth β„‚ A := by
  have hfull : Algebra.smoothLocus β„‚ A = Set.univ := by
    apply Set.eq_univ_of_forall
    intro p
    obtain ⟨M, hM, hpM⟩ := Ideal.exists_le_maximal p.asIdeal p.isPrime.ne_top
    obtain ⟨q, hq⟩ := exists_character_kernel M hM
    have hle : p ≀ SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime q := by
      change p.asIdeal ≀ RingHom.ker q.toRingHom
      rwa [hq]
    exact ((PrimeSpectrum.le_iff_specializes _ _).mp hle).mem_open
      Algebra.isOpen_smoothLocus (h q)
  exact ⟨Algebra.smoothLocus_eq_univ_iff.mp hfull, inferInstance⟩

end Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.SmoothFromComplexPoints

namespace Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.PeriodChartAlgebra

/-! # RiemannProjectivity: the entire affine chart algebra of the period image is smooth -/

open Set
open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeChartBy.Constructions.ConeChartRestriction OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineVanishing.Constructions.AffineVanishingPoints OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization

variable {E : Type} [Field E] [NumberField E] [Algebra β„š E] [NumberField.IsCMField E]
  {n : β„•}

theorem smooth (Ξ¦ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E)
    (f : Ξ¦.periodTorus β†’ Projectivization β„‚ (Fin (n + 1) β†’ β„‚)) (hf : Topology.IsClosedEmbedding f)
    (hd : βˆ€ (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)),
      f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source β†’
      DifferentiableAt β„‚ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧
      Function.Injective (fderiv β„‚ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z))
    (hS : βˆ€ w, (βˆ€ p ∈ MvPolynomial.vanishingIdeal β„‚ (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)),
      MvPolynomial.eval w p = 0) β†’ w ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) (i : Fin (n + 1)) :
    Algebra.Smooth β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing (ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) i)) := by
  let S := ConeChartBy.Constructions.ConeChartRestriction.chart (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) i
  let : Algebra.FinitePresentation β„‚ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S) :=
    Algebra.FinitePresentation.quotient (IsNoetherian.noetherian _)
  apply SmoothFromComplexPoints.smooth
  intro q
  let x := AffineVanishing.Constructions.AffineVanishingPoints.coordinates S q
  have hx : x ∈ S := AffineVanishing.Constructions.AffineVanishingPoints.coordinates_mem S
    (ConeChartBy.Constructions.ConeChartRestriction.chart_determined_by_polynomials (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) hS i) q
  have hsm := PeriodChartSmoothness.mem_smoothLocus Ξ¦ f hf hd hS i x hx
  have heq : AffineCone.Constructions.AffineCoordinateSmoothness.point S x hx = q := by
    apply Ideal.Quotient.algHom_ext β„‚
    apply AlgHom.ext
    intro p
    change MvPolynomial.eval x p = q (Ideal.Quotient.mk _ p)
    exact AffineVanishing.Constructions.AffineVanishingPoints.eval_coordinates S q p
  rwa [heq] at hsm

end Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness.Constructions.PeriodChartAlgebra

end

end OAI