Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphRegular |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint |
| 3 | |
| 4 | /-! # Affine Cone -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.AffineConeSmoothPoint |
| 11 | |
| 12 | /-! # RiemannProjectivity: normalized period-cone points are smooth in their actual affine coordinate algebra -/ |
| 13 | |
| 14 | open Set _root_.Polynomial |
| 15 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.RegularConeNeighborhood |
| 16 | |
| 17 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 18 | {n : ℕ} |
| 19 | |
| 20 | theorem exists_at_parameter (Φ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) |
| 21 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsClosedEmbedding f) |
| 22 | (hd : ∀ (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)), |
| 23 | f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 24 | DifferentiableAt ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧ |
| 25 | Function.Injective (fderiv ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) |
| 26 | (i : Fin (n + 1)) (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) |
| 27 | (hi : f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 28 | (v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) |
| 29 | (hv : v.val = ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, 1)) : |
| 30 | ∃ (m : ℕ) (e : (Fin (n + 1) → ℂ) ≃L[ℂ] |
| 31 | ((Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1) → ℂ) × (Fin m → ℂ))) |
| 32 | (q : (MvPolynomial (Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1) ⊕ Fin m) ℂ ⧸ |
| 33 | MvPolynomial.vanishingIdeal ℂ (GraphRegular.Constructions.RegularConeNeighborhood.splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))) →ₐ[ℂ] ℂ), |
| 34 | (∀ p, q (Ideal.Quotient.mk _ p) = MvPolynomial.eval (GraphRegular.Constructions.RegularConeNeighborhood.splitPoint e v.val) p) ∧ |
| 35 | SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime q ∈ Algebra.smoothLocus ℂ |
| 36 | (MvPolynomial (Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1) ⊕ Fin m) ℂ ⧸ |
| 37 | MvPolynomial.vanishingIdeal ℂ (GraphRegular.Constructions.RegularConeNeighborhood.splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))) := by |
| 38 | obtain ⟨m, e, F, s, q, hrel, hq, hs, hsm⟩ := |
| 39 | GraphRegular.Constructions.RegularConeNeighborhood.exists_at_parameter Φ f hf hd i z hi v hv |
| 40 | let J := Ideal.span (range (fun j => JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j))) |
| 41 | let I := MvPolynomial.vanishingIdeal ℂ (GraphRegular.Constructions.RegularConeNeighborhood.splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) |
| 42 | have hJI : J ≤ I := by |
| 43 | apply Ideal.span_le.mpr |
| 44 | rintro _ ⟨j, rfl⟩ _ ⟨w, hw, rfl⟩ |
| 45 | exact hrel w hw j |
| 46 | have hk : I.map (GraphRegular.Constructions.GraphVanishingIdeal.polynomialMap F) ≤ RingHom.ker q.toRingHom := by |
| 47 | apply Ideal.map_le_iff_le_comap.mpr |
| 48 | intro p hp |
| 49 | change q (GraphRegular.Constructions.GraphVanishingIdeal.polynomialMap F p) = 0 |
| 50 | rw [hq] |
| 51 | exact hp (GraphRegular.Constructions.RegularConeNeighborhood.splitPoint e v.val) ⟨v.val, v.property, rfl⟩ |
| 52 | obtain ⟨qI, hqI, hpoint⟩ := SmoothReferencePoint.Constructions.ReferenceQuotientSmoothPoint.exists_smooth_point |
| 53 | J I hJI (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian q hk s hs hsm |
| 54 | refine ⟨m, e, qI, ?_, hpoint⟩ |
| 55 | intro p |
| 56 | exact (hqI p).trans (hq p) |
| 57 | |
| 58 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.AffineConeSmoothPoint |
| 59 | |
| 60 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.PolynomialCoordinates |
| 61 | |
| 62 | /-! # RiemannProjectivity: linear coordinate changes act on the actual polynomial coordinate algebras -/ |
| 63 | |
| 64 | open scoped BigOperators |
| 65 | |
| 66 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 67 | |
| 68 | def linear (l : (ι → ℂ) →L[ℂ] ℂ) : MvPolynomial ι ℂ := by |
| 69 | classical |
| 70 | exact ∑ i : ι, MvPolynomial.C (l (Pi.single i 1)) * MvPolynomial.X i |
| 71 | |
| 72 | theorem eval_linear (l : (ι → ℂ) →L[ℂ] ℂ) (x : ι → ℂ) : |
| 73 | MvPolynomial.eval x (linear l) = l x := by |
| 74 | classical |
| 75 | have hx : (∑ i : ι, x i • Pi.single i (1 : ℂ)) = x := by |
| 76 | ext j |
| 77 | simp [Pi.smul_apply, Pi.single_apply] |
| 78 | calc |
| 79 | _ = ∑ i : ι, l (Pi.single i 1) * x i := by simp [linear] |
| 80 | _ = l (∑ i : ι, x i • Pi.single i (1 : ℂ)) := by |
| 81 | simp [map_sum, map_smul, smul_eq_mul, mul_comm] |
| 82 | _ = l x := congrArg l hx |
| 83 | |
| 84 | def substitution (L : (ι → ℂ) →L[ℂ] (κ → ℂ)) : |
| 85 | MvPolynomial κ ℂ →ₐ[ℂ] MvPolynomial ι ℂ := |
| 86 | MvPolynomial.aeval (fun i => linear ((ContinuousLinearMap.proj i).comp L)) |
| 87 | |
| 88 | omit [Fintype κ] in |
| 89 | theorem eval_substitution (L : (ι → ℂ) →L[ℂ] (κ → ℂ)) |
| 90 | (x : ι → ℂ) (p : MvPolynomial κ ℂ) : |
| 91 | MvPolynomial.eval x (substitution L p) = MvPolynomial.eval (L x) p := by |
| 92 | induction p using MvPolynomial.induction_on with |
| 93 | | C c => simp [substitution] |
| 94 | | add p q hp hq => simp only [map_add, hp, hq] |
| 95 | | mul_X p i hp => |
| 96 | simp only [map_mul, substitution, MvPolynomial.aeval_X, eval_linear, |
| 97 | ContinuousLinearMap.comp_apply, ContinuousLinearMap.proj_apply, MvPolynomial.eval_X] at * |
| 98 | rw [hp] |
| 99 | |
| 100 | def equiv (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) : MvPolynomial κ ℂ ≃ₐ[ℂ] MvPolynomial ι ℂ := |
| 101 | { substitution e.toContinuousLinearMap with |
| 102 | invFun := substitution e.symm.toContinuousLinearMap |
| 103 | left_inv p := by |
| 104 | apply MvPolynomial.funext |
| 105 | intro x |
| 106 | change MvPolynomial.eval x (substitution e.symm.toContinuousLinearMap |
| 107 | (substitution e.toContinuousLinearMap p)) = MvPolynomial.eval x p |
| 108 | rw [eval_substitution, eval_substitution] |
| 109 | simp |
| 110 | right_inv p := by |
| 111 | apply MvPolynomial.funext |
| 112 | intro x |
| 113 | change MvPolynomial.eval x (substitution e.toContinuousLinearMap |
| 114 | (substitution e.symm.toContinuousLinearMap p)) = MvPolynomial.eval x p |
| 115 | rw [eval_substitution, eval_substitution] |
| 116 | simp } |
| 117 | |
| 118 | theorem equiv_eval (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) (p : MvPolynomial κ ℂ) (x : ι → ℂ) : |
| 119 | MvPolynomial.eval x (equiv e p) = MvPolynomial.eval (e x) p := |
| 120 | eval_substitution e.toContinuousLinearMap x p |
| 121 | |
| 122 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.PolynomialCoordinates |
| 123 | |
| 124 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.VanishingIdealCoordinates |
| 125 | |
| 126 | /-! # RiemannProjectivity: coordinate changes preserve the actual affine vanishing-ideal quotient -/ |
| 127 | |
| 128 | open Set |
| 129 | |
| 130 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 131 | |
| 132 | theorem map_vanishingIdeal (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) (S : Set (ι → ℂ)) : |
| 133 | (MvPolynomial.vanishingIdeal ℂ (e '' S)).map (PolynomialCoordinates.equiv e).toRingHom = |
| 134 | MvPolynomial.vanishingIdeal ℂ S := by |
| 135 | apply le_antisymm |
| 136 | · apply Ideal.map_le_iff_le_comap.mpr |
| 137 | intro p hp x hx |
| 138 | change MvPolynomial.eval x (PolynomialCoordinates.equiv e p) = 0 |
| 139 | rw [PolynomialCoordinates.equiv_eval] |
| 140 | exact hp (e x) ⟨x, hx, rfl⟩ |
| 141 | · intro p hp |
| 142 | have hpre : (PolynomialCoordinates.equiv e).symm p ∈ MvPolynomial.vanishingIdeal ℂ (e '' S) := by |
| 143 | rintro _ ⟨x, hx, rfl⟩ |
| 144 | have heval := PolynomialCoordinates.equiv_eval e ((PolynomialCoordinates.equiv e).symm p) x |
| 145 | rw [AlgEquiv.apply_symm_apply] at heval |
| 146 | exact heval.symm.trans (hp x hx) |
| 147 | have hm := Ideal.mem_map_of_mem (PolynomialCoordinates.equiv e).toRingHom hpre |
| 148 | change (PolynomialCoordinates.equiv e) ((PolynomialCoordinates.equiv e).symm p) ∈ _ at hm |
| 149 | rwa [AlgEquiv.apply_symm_apply] at hm |
| 150 | |
| 151 | def equiv (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) (S : Set (ι → ℂ)) : |
| 152 | (MvPolynomial κ ℂ ⧸ MvPolynomial.vanishingIdeal ℂ (e '' S)) ≃ₐ[ℂ] |
| 153 | (MvPolynomial ι ℂ ⧸ MvPolynomial.vanishingIdeal ℂ S) := |
| 154 | Ideal.quotientEquivAlg _ _ (PolynomialCoordinates.equiv e) (map_vanishingIdeal e S).symm |
| 155 | |
| 156 | theorem equiv_mk (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) (S : Set (ι → ℂ)) (p : MvPolynomial κ ℂ) : |
| 157 | equiv e S (Ideal.Quotient.mk _ p) = Ideal.Quotient.mk _ (PolynomialCoordinates.equiv e p) := rfl |
| 158 | |
| 159 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.VanishingIdealCoordinates |
| 160 | |
| 161 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.AffineCoordinateSmoothness |
| 162 | |
| 163 | /-! # RiemannProjectivity: smoothness at the canonical affine point is independent of linear coordinates -/ |
| 164 | |
| 165 | open Set |
| 166 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 167 | |
| 168 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 169 | |
| 170 | def point (S : Set (ι → ℂ)) (x : ι → ℂ) (hx : x ∈ S) : |
| 171 | (MvPolynomial ι ℂ ⧸ MvPolynomial.vanishingIdeal ℂ S) →ₐ[ℂ] ℂ := |
| 172 | Ideal.Quotient.liftₐ _ (MvPolynomial.aeval x) (fun _ hp => hp x hx) |
| 173 | |
| 174 | omit [Fintype ι] in |
| 175 | theorem point_mk (S : Set (ι → ℂ)) (x : ι → ℂ) (hx : x ∈ S) (p : MvPolynomial ι ℂ) : |
| 176 | point S x hx (Ideal.Quotient.mk _ p) = MvPolynomial.eval x p := rfl |
| 177 | |
| 178 | theorem mem_smoothLocus_of_coordinates (e : (ι → ℂ) ≃L[ℂ] (κ → ℂ)) |
| 179 | (S : Set (ι → ℂ)) (x : ι → ℂ) (hx : x ∈ S) |
| 180 | (q : (MvPolynomial κ ℂ ⧸ MvPolynomial.vanishingIdeal ℂ (e '' S)) →ₐ[ℂ] ℂ) |
| 181 | (hq : ∀ p, q (Ideal.Quotient.mk _ p) = MvPolynomial.eval (e x) p) |
| 182 | (hsm : SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime q ∈ Algebra.smoothLocus ℂ |
| 183 | (MvPolynomial κ ℂ ⧸ MvPolynomial.vanishingIdeal ℂ (e '' S))) : |
| 184 | SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (point S x hx) ∈ Algebra.smoothLocus ℂ |
| 185 | (MvPolynomial ι ℂ ⧸ MvPolynomial.vanishingIdeal ℂ S) := by |
| 186 | let a := VanishingIdealCoordinates.equiv e S |
| 187 | apply SmoothReferencePoint.Constructions.SmoothPointLocalization.mem_smoothLocus_of_equiv a (point S x hx) |
| 188 | have heq : (point S x hx).comp a.toAlgHom = q := by |
| 189 | apply Ideal.Quotient.algHom_ext ℂ |
| 190 | apply AlgHom.ext |
| 191 | intro p |
| 192 | change point S x hx (VanishingIdealCoordinates.equiv e S (Ideal.Quotient.mk _ p)) = |
| 193 | q (Ideal.Quotient.mk _ p) |
| 194 | rw [VanishingIdealCoordinates.equiv_mk, point_mk, PolynomialCoordinates.equiv_eval, hq] |
| 195 | rwa [heq] |
| 196 | |
| 197 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.AffineCoordinateSmoothness |
| 198 | |
| 199 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.NormalizedConeSmoothness |
| 200 | |
| 201 | /-! # RiemannProjectivity: the canonical normalized CM cone point is an algebraically smooth point -/ |
| 202 | |
| 203 | open Set |
| 204 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 205 | |
| 206 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 207 | {n : ℕ} |
| 208 | |
| 209 | theorem mem_smoothLocus_at_parameter (Φ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) |
| 210 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsClosedEmbedding f) |
| 211 | (hd : ∀ (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)), |
| 212 | f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 213 | DifferentiableAt ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧ |
| 214 | Function.Injective (fderiv ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) |
| 215 | (i : Fin (n + 1)) (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) |
| 216 | (hi : f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 217 | (v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) |
| 218 | (hv : v.val = ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, 1)) : |
| 219 | SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (AffineCoordinateSmoothness.point (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) v.val v.property) ∈ |
| 220 | Algebra.smoothLocus ℂ |
| 221 | (MvPolynomial (Fin (n + 1)) ℂ ⧸ MvPolynomial.vanishingIdeal ℂ (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))) := by |
| 222 | obtain ⟨m, e, q, hq, hsm⟩ := AffineConeSmoothPoint.exists_at_parameter Φ f hf hd i z hi v hv |
| 223 | let a := e.trans (LinearEquiv.sumArrowLequivProdArrow |
| 224 | (Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1)) (Fin m) ℂ ℂ).symm.toContinuousLinearEquiv |
| 225 | exact AffineCoordinateSmoothness.mem_smoothLocus_of_coordinates a |
| 226 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) v.val v.property q hq hsm |
| 227 | |
| 228 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.NormalizedConeSmoothness |
| 229 | |
| 230 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.SmoothRetract |
| 231 | |
| 232 | /-! # RiemannProjectivity: smoothness descends to an algebra retract -/ |
| 233 | |
| 234 | variable {R A B : Type*} [CommRing R] [CommRing A] [CommRing B] |
| 235 | [Algebra R A] [Algebra R B] |
| 236 | |
| 237 | theorem formallySmooth [Algebra.FormallySmooth R B] |
| 238 | (i : A →ₐ[R] B) (r : B →ₐ[R] A) (h : r.comp i = AlgHom.id R A) : |
| 239 | Algebra.FormallySmooth R A := by |
| 240 | apply Algebra.FormallySmooth.of_comp_surjective |
| 241 | intro C _ _ I hI f |
| 242 | obtain ⟨g, hg⟩ := Algebra.FormallySmooth.comp_surjective R B I hI (f.comp r) |
| 243 | refine ⟨g.comp i, ?_⟩ |
| 244 | rw [← AlgHom.comp_assoc, hg, AlgHom.comp_assoc, h, AlgHom.comp_id] |
| 245 | |
| 246 | theorem smooth [Algebra.Smooth R B] [Algebra.FinitePresentation R A] |
| 247 | (i : A →ₐ[R] B) (r : B →ₐ[R] A) (h : r.comp i = AlgHom.id R A) : |
| 248 | Algebra.Smooth R A := |
| 249 | ⟨formallySmooth i r h, inferInstance⟩ |
| 250 | |
| 251 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.SmoothRetract |
| 252 | |
| 253 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.PointStalkMaps |
| 254 | |
| 255 | /-! # RiemannProjectivity: algebra maps induce compatible maps of the genuine point local rings -/ |
| 256 | |
| 257 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 258 | |
| 259 | variable {A B : Type*} [CommRing A] [CommRing B] [Algebra ℂ A] [Algebra ℂ B] |
| 260 | |
| 261 | abbrev stalk (q : A →ₐ[ℂ] ℂ) := Localization.AtPrime (SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime q).asIdeal |
| 262 | |
| 263 | theorem primeCompl_le (f : A →ₐ[ℂ] B) (qA : A →ₐ[ℂ] ℂ) (qB : B →ₐ[ℂ] ℂ) |
| 264 | (h : qB.comp f = qA) : |
| 265 | (SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime qA).asIdeal.primeCompl ≤ |
| 266 | (SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime qB).asIdeal.primeCompl.comap f.toRingHom := by |
| 267 | intro a ha |
| 268 | change qB (f a) ≠ 0 |
| 269 | have heq : qB (f a) = qA a := congrArg (fun q : A →ₐ[ℂ] ℂ => q a) h |
| 270 | rw [heq] |
| 271 | exact ha |
| 272 | |
| 273 | def map (f : A →ₐ[ℂ] B) (qA : A →ₐ[ℂ] ℂ) (qB : B →ₐ[ℂ] ℂ) |
| 274 | (h : qB.comp f = qA) : stalk qA →ₐ[ℂ] stalk qB := |
| 275 | { IsLocalization.map (stalk qB) f.toRingHom (primeCompl_le f qA qB h) with |
| 276 | commutes' c := by |
| 277 | rw [IsScalarTower.algebraMap_apply ℂ A (stalk qA)] |
| 278 | change IsLocalization.map (stalk qB) f.toRingHom (primeCompl_le f qA qB h) |
| 279 | (algebraMap A (stalk qA) (algebraMap ℂ A c)) = algebraMap ℂ (stalk qB) c |
| 280 | rw [IsLocalization.map_eq] |
| 281 | change algebraMap B (stalk qB) (f (algebraMap ℂ A c)) = algebraMap ℂ (stalk qB) c |
| 282 | rw [f.commutes, ← IsScalarTower.algebraMap_apply ℂ B (stalk qB)] } |
| 283 | |
| 284 | theorem map_algebraMap (f : A →ₐ[ℂ] B) (qA : A →ₐ[ℂ] ℂ) (qB : B →ₐ[ℂ] ℂ) |
| 285 | (h : qB.comp f = qA) (a : A) : |
| 286 | PointStalkMaps.map f qA qB h (algebraMap A (stalk qA) a) = algebraMap B (stalk qB) (f a) := by |
| 287 | exact IsLocalization.map_eq (primeCompl_le f qA qB h) a |
| 288 | |
| 289 | theorem smooth_retract_at_point (i : A →ₐ[ℂ] B) (r : B →ₐ[ℂ] A) |
| 290 | (h : r.comp i = AlgHom.id ℂ A) (qA : A →ₐ[ℂ] ℂ) |
| 291 | (hsm : SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime (qA.comp r) ∈ Algebra.smoothLocus ℂ B) : |
| 292 | SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime qA ∈ Algebra.smoothLocus ℂ A := by |
| 293 | let qB := qA.comp r |
| 294 | have hi : qB.comp i = qA := by |
| 295 | change (qA.comp r).comp i = qA |
| 296 | rw [AlgHom.comp_assoc, h, AlgHom.comp_id] |
| 297 | let fi := PointStalkMaps.map i qA qB hi |
| 298 | let fr := PointStalkMaps.map r qB qA rfl |
| 299 | have hfi : fr.comp fi = AlgHom.id ℂ (stalk qA) := by |
| 300 | apply IsLocalization.algHom_ext (SmoothReferencePoint.Constructions.SmoothPointLocalization.pointPrime qA).asIdeal.primeCompl |
| 301 | ext a |
| 302 | change fr (fi (algebraMap A (stalk qA) a)) = algebraMap A (stalk qA) a |
| 303 | rw [map_algebraMap, map_algebraMap] |
| 304 | exact congrArg (algebraMap A (stalk qA)) (congrArg (fun f : A →ₐ[ℂ] A => f a) h) |
| 305 | let : Algebra.FormallySmooth ℂ (stalk qB) := hsm |
| 306 | exact SmoothRetract.formallySmooth fi fr hfi |
| 307 | |
| 308 | end Geometry.ComplexTorus.RiemannProjectivity.AffineCone.Constructions.PointStalkMaps |
| 309 | |
| 310 | end |
| 311 | |
| 312 | end OAI |