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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | This file has been modified. |
| 17 | -/ |
| 18 | |
| 19 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.AffineSpace |
| 20 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.Localization |
| 21 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.StandardEtale |
| 22 | import Mathlib.Analysis.Calculus.ContDiff.RCLike -- shake: keep |
| 23 | import Mathlib.Analysis.Calculus.Deriv.Polynomial -- shake: keep |
| 24 | import Mathlib.Analysis.Calculus.ImplicitFunction.ProdDomain |
| 25 | import Mathlib.Topology.OpenPartialHomeomorph.Constructions |
| 26 | |
| 27 | import HodgeConjecture.Mathlib.CategoryTheory.ConcreteCategory.Notation |
| 28 | import Mathlib.Analysis.Analytic.Polynomial |
| 29 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 30 | |
| 31 | namespace OAI.AlgebraicGeometry.ComplexPoint.Etale |
| 32 | |
| 33 | open _root_.AlgebraicGeometry |
| 34 | |
| 35 | /-! |
| 36 | # Complex points of étale morphisms |
| 37 | |
| 38 | The complex points of a standard étale algebra over a polynomial ring form the zero locus of |
| 39 | one polynomial with nonzero derivative in its distinguished variable. The complex implicit |
| 40 | function theorem gives explicit local charts in which projection to the polynomial coordinates |
| 41 | is a homeomorphism. This file constructs those charts and transports the result to the associated |
| 42 | affine schemes. |
| 43 | |
| 44 | The charts themselves are statements about `ℂ`-algebra homomorphisms and live in namespace |
| 45 | `AlgebraicGeometry.ComplexAlgHom`; only the last section, which transports them to schemes, is in |
| 46 | `AlgebraicGeometry.ComplexPoint`. |
| 47 | -/ |
| 48 | |
| 49 | section |
| 50 | |
| 51 | open scoped _root_.Polynomial _root_.Topology ContDiff |
| 52 | |
| 53 | open _root_.CategoryTheory _root_.Topology Filter |
| 54 | |
| 55 | section |
| 56 | namespace ComplexAlgHom |
| 57 | |
| 58 | open ComplexPoint _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point |
| 59 | |
| 60 | noncomputable section |
| 61 | |
| 62 | variable {n : ℕ} (P : StandardEtalePair (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)) |
| 63 | |
| 64 | /-- The equation defining a standard étale algebra, evaluated in ordinary complex |
| 65 | coordinates. -/ |
| 66 | def standardEtaleEquation (vx : (Fin n → ℂ) × ℂ) : ℂ := |
| 67 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 P.f |
| 68 | |
| 69 | /-- Evaluating a polynomial whose coefficients are multivariate complex polynomials is analytic in |
| 70 | both the coefficient variables and the distinguished polynomial variable. -/ |
| 71 | lemma analyticAt_polynomialEvaluation |
| 72 | (p : (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)[X]) (u : (Fin n → ℂ) × ℂ) : |
| 73 | AnalyticAt ℂ |
| 74 | (fun vx ↦ Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 p) u := by |
| 75 | induction p using Polynomial.induction_on' with |
| 76 | | add p q hp hq => |
| 77 | rw [show (fun vx : (Fin n → ℂ) × ℂ ↦ |
| 78 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 (p + q)) = |
| 79 | (fun vx ↦ |
| 80 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 p + |
| 81 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 q) by |
| 82 | funext vx |
| 83 | simp] |
| 84 | exact hp.add hq |
| 85 | | monomial k a => |
| 86 | rw [show (fun vx : (Fin n → ℂ) × ℂ ↦ |
| 87 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) vx.1).toRingHom vx.2 |
| 88 | (Polynomial.monomial k a)) = |
| 89 | (fun vx ↦ MvPolynomial.eval vx.1 a * vx.2 ^ k) by |
| 90 | funext vx |
| 91 | simp] |
| 92 | have ha : AnalyticAt ℂ (fun z : Fin n → ℂ ↦ MvPolynomial.eval z a) u.1 := |
| 93 | AnalyticOnNhd.eval_mvPolynomial a u.1 (Set.mem_univ _) |
| 94 | exact (ha.comp (ContinuousLinearMap.analyticAt |
| 95 | (ContinuousLinearMap.fst ℂ (Fin n → ℂ) ℂ) u)).mul |
| 96 | ((ContinuousLinearMap.analyticAt |
| 97 | (ContinuousLinearMap.snd ℂ (Fin n → ℂ) ℂ) u).pow k) |
| 98 | |
| 99 | lemma analyticAt_standardEtaleEquation (u : (Fin n → ℂ) × ℂ) : |
| 100 | AnalyticAt ℂ (standardEtaleEquation P) u := |
| 101 | analyticAt_polynomialEvaluation P.f u |
| 102 | |
| 103 | lemma contDiffAt_standardEtaleEquation (u : (Fin n → ℂ) × ℂ) : |
| 104 | ContDiffAt ℂ ∞ (standardEtaleEquation P) u := |
| 105 | (analyticAt_standardEtaleEquation P u).contDiffAt |
| 106 | |
| 107 | /-- The defining polynomial after specializing the polynomial-ring coordinates. -/ |
| 108 | def standardEtaleFiberPolynomial (z : Fin n → ℂ) : ℂ[X] := |
| 109 | P.f.map (MvPolynomial.eval z) |
| 110 | |
| 111 | lemma standardEtaleEquation_eq_eval (u : (Fin n → ℂ) × ℂ) : |
| 112 | standardEtaleEquation P u = (standardEtaleFiberPolynomial P u.1).eval u.2 := by |
| 113 | simp [standardEtaleEquation, standardEtaleFiberPolynomial, Polynomial.eval_map] |
| 114 | |
| 115 | /-- The distinguished derivative is nonzero at every complex point of a standard étale |
| 116 | algebra. -/ |
| 117 | lemma standardEtale_fiberDerivative_ne_zero (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 118 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) z.1.1).toRingHom z.1.2 |
| 119 | P.f.derivative ≠ 0 := by |
| 120 | let : Algebra (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) ℂ := |
| 121 | (MvPolynomial.aeval (R := ℂ) z.1.1).toRingHom.toAlgebra |
| 122 | have hz : P.HasMap z.1.2 := by |
| 123 | rw [StandardEtalePair.HasMap] |
| 124 | constructor |
| 125 | · simpa [Polynomial.aeval_def, RingHom.algebraMap_toAlgebra] using z.2.1 |
| 126 | · simpa [Polynomial.aeval_def, RingHom.algebraMap_toAlgebra, |
| 127 | isUnit_iff_ne_zero] using z.2.2 |
| 128 | have hunit := hz.isUnit_derivative_f |
| 129 | simpa [Polynomial.aeval_def, RingHom.algebraMap_toAlgebra] using hunit.ne_zero |
| 130 | |
| 131 | lemma fderiv_standardEtaleEquation_comp_inr (u : (Fin n → ℂ) × ℂ) : |
| 132 | fderiv ℂ (standardEtaleEquation P) u ∘L |
| 133 | ContinuousLinearMap.inr ℂ (Fin n → ℂ) ℂ = |
| 134 | ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) |
| 135 | (Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) u.1).toRingHom u.2 |
| 136 | P.f.derivative) := by |
| 137 | have hins : HasFDerivAt (fun t : ℂ ↦ (u.1, t)) |
| 138 | (ContinuousLinearMap.inr ℂ (Fin n → ℂ) ℂ) u.2 := |
| 139 | (hasFDerivAt_const u.1 u.2).prodMk (hasFDerivAt_id u.2) |
| 140 | have hchain := |
| 141 | (((contDiffAt_standardEtaleEquation P u).differentiableAt (by simp)).hasFDerivAt).comp u.2 hins |
| 142 | have hchain' : HasFDerivAt (fun t : ℂ ↦ (standardEtaleFiberPolynomial P u.1).eval t) |
| 143 | (fderiv ℂ (standardEtaleEquation P) u ∘L |
| 144 | ContinuousLinearMap.inr ℂ (Fin n → ℂ) ℂ) u.2 := by |
| 145 | simpa [Function.comp_def, standardEtaleEquation_eq_eval] using hchain |
| 146 | have hpoly := (standardEtaleFiberPolynomial P u.1).hasFDerivAt u.2 |
| 147 | simpa [standardEtaleFiberPolynomial, Polynomial.derivative_map, Polynomial.eval_map] using |
| 148 | hchain'.unique hpoly |
| 149 | |
| 150 | lemma standardEtale_partial_isInvertible (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 151 | (fderiv ℂ (standardEtaleEquation P) z.1 ∘L |
| 152 | ContinuousLinearMap.inr ℂ (Fin n → ℂ) ℂ).IsInvertible := by |
| 153 | rw [fderiv_standardEtaleEquation_comp_inr] |
| 154 | let d := Polynomial.eval₂ |
| 155 | (MvPolynomial.eval z.1.1) z.1.2 P.f.derivative |
| 156 | have hd : d ≠ 0 := by |
| 157 | simpa [d] using standardEtale_fiberDerivative_ne_zero P z |
| 158 | change (ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) d).IsInvertible |
| 159 | apply ContinuousLinearMap.IsInvertible.of_inverse |
| 160 | (g := ContinuousLinearMap.smulRight (1 : ℂ →L[ℂ] ℂ) d⁻¹) |
| 161 | · ext |
| 162 | simp [hd] |
| 163 | · ext |
| 164 | simp [hd] |
| 165 | |
| 166 | /-- The ambient implicit-function chart sending `(z, t)` to `(f(z, t), z)`. -/ |
| 167 | def standardEtaleImplicitOpenPartialHomeomorph (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 168 | OpenPartialHomeomorph ((Fin n → ℂ) × ℂ) (ℂ × (Fin n → ℂ)) := |
| 169 | let cdf := contDiffAt_standardEtaleEquation P z.1 |
| 170 | let hs := cdf.hasStrictFDerivAt (by simp) |
| 171 | (hs.implicitFunctionDataOfProdDomain |
| 172 | (standardEtale_partial_isInvertible P z)).toOpenPartialHomeomorph |
| 173 | |
| 174 | @[simp] |
| 175 | lemma standardEtaleImplicitOpenPartialHomeomorph_apply |
| 176 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) (u : (Fin n → ℂ) × ℂ) : |
| 177 | standardEtaleImplicitOpenPartialHomeomorph P z u = |
| 178 | (standardEtaleEquation P u, u.1) := by |
| 179 | let cdf := contDiffAt_standardEtaleEquation P z.1 |
| 180 | let hs := cdf.hasStrictFDerivAt (by simp) |
| 181 | let φ : ImplicitFunctionData ℂ ((Fin n → ℂ) × ℂ) ℂ (Fin n → ℂ) := |
| 182 | hs.implicitFunctionDataOfProdDomain (standardEtale_partial_isInvertible P z) |
| 183 | change φ.toOpenPartialHomeomorph u = _ |
| 184 | simp [φ] |
| 185 | |
| 186 | lemma standardEtale_mem_implicit_source (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 187 | z.1 ∈ (standardEtaleImplicitOpenPartialHomeomorph P z).source := by |
| 188 | let cdf := contDiffAt_standardEtaleEquation P z.1 |
| 189 | let hs := cdf.hasStrictFDerivAt (by simp) |
| 190 | let φ : ImplicitFunctionData ℂ ((Fin n → ℂ) × ℂ) ℂ (Fin n → ℂ) := |
| 191 | hs.implicitFunctionDataOfProdDomain (standardEtale_partial_isInvertible P z) |
| 192 | simpa [standardEtaleImplicitOpenPartialHomeomorph, φ] using |
| 193 | φ.pt_mem_toOpenPartialHomeomorph_source |
| 194 | |
| 195 | /-- The localization polynomial evaluated in ordinary complex coordinates. -/ |
| 196 | def standardEtaleLocalizationEquation (u : (Fin n → ℂ) × ℂ) : ℂ := |
| 197 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) u.1).toRingHom u.2 P.g |
| 198 | |
| 199 | lemma analyticAt_standardEtaleLocalizationEquation (u : (Fin n → ℂ) × ℂ) : |
| 200 | AnalyticAt ℂ (standardEtaleLocalizationEquation P) u := |
| 201 | analyticAt_polynomialEvaluation P.g u |
| 202 | |
| 203 | /-- Evaluate a representative of the double-polynomial presentation of a standard étale |
| 204 | algebra in ordinary complex coordinates. The outer variable is sent to the inverse of the |
| 205 | localization polynomial. -/ |
| 206 | def standardEtaleBivariateEvaluation |
| 207 | (q : (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)[X][X]) (u : (Fin n → ℂ) × ℂ) : ℂ := |
| 208 | Polynomial.eval₂ |
| 209 | (Polynomial.eval₂RingHom (MvPolynomial.aeval (R := ℂ) u.1).toRingHom u.2) |
| 210 | (standardEtaleLocalizationEquation P u)⁻¹ q |
| 211 | |
| 212 | /-- Evaluation of every representative of the standard étale presentation is analytic wherever |
| 213 | the localization polynomial is nonzero. -/ |
| 214 | lemma analyticAt_standardEtaleBivariateEvaluation |
| 215 | (q : (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)[X][X]) (u : (Fin n → ℂ) × ℂ) |
| 216 | (hu : standardEtaleLocalizationEquation P u ≠ 0) : |
| 217 | AnalyticAt ℂ (standardEtaleBivariateEvaluation P q) u := by |
| 218 | have hginv : AnalyticAt ℂ (fun v ↦ (standardEtaleLocalizationEquation P v)⁻¹) u := |
| 219 | (analyticAt_standardEtaleLocalizationEquation P u).inv hu |
| 220 | induction q using Polynomial.induction_on' with |
| 221 | | add q r hq hr => |
| 222 | rw [show standardEtaleBivariateEvaluation P (q + r) = |
| 223 | fun v ↦ standardEtaleBivariateEvaluation P q v + |
| 224 | standardEtaleBivariateEvaluation P r v by |
| 225 | funext v |
| 226 | simp [standardEtaleBivariateEvaluation]] |
| 227 | exact hq.add hr |
| 228 | | monomial k a => |
| 229 | rw [show standardEtaleBivariateEvaluation P (Polynomial.monomial k a) = |
| 230 | fun v ↦ |
| 231 | Polynomial.eval₂ (MvPolynomial.aeval (R := ℂ) v.1).toRingHom v.2 a * |
| 232 | (standardEtaleLocalizationEquation P v)⁻¹ ^ k by |
| 233 | funext v |
| 234 | simp [standardEtaleBivariateEvaluation]] |
| 235 | exact (analyticAt_polynomialEvaluation a u).mul (hginv.pow k) |
| 236 | |
| 237 | lemma continuous_standardEtaleLocalizationEquation : |
| 238 | Continuous (standardEtaleLocalizationEquation P) := by |
| 239 | have hcoord : Continuous (fun u : (Fin n → ℂ) × ℂ ↦ |
| 240 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n).symm u.1, u.2)) := |
| 241 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n).symm.continuous.comp continuous_fst).prodMk continuous_snd |
| 242 | exact (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.continuous_eval₂_varying P.g).comp hcoord |
| 243 | |
| 244 | /-- The source of the standard étale chart centered at `z`. -/ |
| 245 | def standardEtaleChartSource (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 246 | Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) := |
| 247 | Subtype.val ⁻¹' (standardEtaleImplicitOpenPartialHomeomorph P z).source |
| 248 | |
| 249 | /-- The target of the standard étale chart centered at `z`. The second condition retains the |
| 250 | localization defining the standard étale algebra. -/ |
| 251 | def standardEtaleChartTarget (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : Set (Fin n → ℂ) := |
| 252 | {w | (0, w) ∈ (standardEtaleImplicitOpenPartialHomeomorph P z).target ∧ |
| 253 | standardEtaleLocalizationEquation P |
| 254 | ((standardEtaleImplicitOpenPartialHomeomorph P z).symm (0, w)) ≠ 0} |
| 255 | |
| 256 | lemma isOpen_standardEtaleChartSource (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 257 | IsOpen (standardEtaleChartSource P z) := |
| 258 | (standardEtaleImplicitOpenPartialHomeomorph P z).open_source.preimage continuous_subtype_val |
| 259 | |
| 260 | lemma isOpen_standardEtaleChartTarget (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 261 | IsOpen (standardEtaleChartTarget P z) := by |
| 262 | let T := standardEtaleImplicitOpenPartialHomeomorph P z |
| 263 | let zeroSection : (Fin n → ℂ) → ℂ × (Fin n → ℂ) := fun w ↦ (0, w) |
| 264 | let targetZero : Set (Fin n → ℂ) := zeroSection ⁻¹' T.target |
| 265 | have hzero : Continuous zeroSection := continuous_const.prodMk continuous_id |
| 266 | have htargetZero : IsOpen targetZero := T.open_target.preimage hzero |
| 267 | have hinv : ContinuousOn (fun w : Fin n → ℂ ↦ T.symm (zeroSection w)) targetZero := |
| 268 | T.continuousOn_invFun.comp hzero.continuousOn fun _ hw ↦ hw |
| 269 | have hloc : ContinuousOn |
| 270 | (fun w : Fin n → ℂ ↦ standardEtaleLocalizationEquation P (T.symm (zeroSection w))) |
| 271 | targetZero := |
| 272 | continuous_standardEtaleLocalizationEquation P |>.comp_continuousOn hinv |
| 273 | have hopenNe : IsOpen {x : ℂ | x ≠ 0} := |
| 274 | isOpen_ne_fun continuous_id continuous_const |
| 275 | exact hloc.isOpen_inter_preimage htargetZero hopenNe |
| 276 | |
| 277 | open scoped Classical in |
| 278 | /-- The inverse of the standard étale chart on its target. It is assigned the center point |
| 279 | outside the target because `OpenPartialHomeomorph` stores total functions. -/ |
| 280 | noncomputable def standardEtaleChartInverse (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) |
| 281 | (w : Fin n → ℂ) : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P := |
| 282 | if hw : w ∈ standardEtaleChartTarget P z then |
| 283 | ⟨(standardEtaleImplicitOpenPartialHomeomorph P z).symm (0, w), by |
| 284 | have heq := congrArg Prod.fst |
| 285 | ((standardEtaleImplicitOpenPartialHomeomorph P z).right_inv hw.1) |
| 286 | constructor |
| 287 | · simpa only [standardEtaleEquation, |
| 288 | standardEtaleImplicitOpenPartialHomeomorph_apply] using heq |
| 289 | · simpa only [standardEtaleLocalizationEquation] using hw.2⟩ |
| 290 | else z |
| 291 | |
| 292 | @[simp] |
| 293 | lemma standardEtaleChartInverse_of_mem (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) |
| 294 | {w : Fin n → ℂ} (hw : w ∈ standardEtaleChartTarget P z) : |
| 295 | (standardEtaleChartInverse P z w).1 = |
| 296 | (standardEtaleImplicitOpenPartialHomeomorph P z).symm (0, w) := by |
| 297 | simp [standardEtaleChartInverse, hw] |
| 298 | |
| 299 | lemma standardEtale_base_mem_chartTarget (z x : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) |
| 300 | (hx : x ∈ standardEtaleChartSource P z) : |
| 301 | x.1.1 ∈ standardEtaleChartTarget P z := by |
| 302 | let T := standardEtaleImplicitOpenPartialHomeomorph P z |
| 303 | have hmap : T x.1 ∈ T.target := T.map_source hx |
| 304 | have hTx : T x.1 = (0, x.1.1) := by |
| 305 | rw [standardEtaleImplicitOpenPartialHomeomorph_apply] |
| 306 | exact Prod.ext (by simpa [standardEtaleEquation] using x.2.1) rfl |
| 307 | constructor |
| 308 | · rwa [← hTx] |
| 309 | · have hinv : T.symm (0, x.1.1) = x.1 := by |
| 310 | rw [← hTx] |
| 311 | exact T.left_inv hx |
| 312 | change standardEtaleLocalizationEquation P (T.symm (0, x.1.1)) ≠ 0 |
| 313 | rw [hinv] |
| 314 | simpa only [standardEtaleLocalizationEquation] using x.2.2 |
| 315 | |
| 316 | lemma standardEtaleChartInverse_base (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) |
| 317 | {w : Fin n → ℂ} (hw : w ∈ standardEtaleChartTarget P z) : |
| 318 | (standardEtaleChartInverse P z w).1.1 = w := by |
| 319 | have hright := congrArg Prod.snd |
| 320 | ((standardEtaleImplicitOpenPartialHomeomorph P z).right_inv hw.1) |
| 321 | rw [standardEtaleChartInverse_of_mem P z hw] |
| 322 | simpa only [standardEtaleImplicitOpenPartialHomeomorph_apply] using hright |
| 323 | |
| 324 | lemma standardEtaleChartInverse_left (z x : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) |
| 325 | (hx : x ∈ standardEtaleChartSource P z) : |
| 326 | standardEtaleChartInverse P z x.1.1 = x := by |
| 327 | apply Subtype.ext |
| 328 | rw [standardEtaleChartInverse_of_mem P z (standardEtale_base_mem_chartTarget P z x hx)] |
| 329 | have hTx : (standardEtaleImplicitOpenPartialHomeomorph P z) x.1 = (0, x.1.1) := by |
| 330 | rw [standardEtaleImplicitOpenPartialHomeomorph_apply] |
| 331 | exact Prod.ext (by simpa [standardEtaleEquation] using x.2.1) rfl |
| 332 | rw [← hTx] |
| 333 | exact (standardEtaleImplicitOpenPartialHomeomorph P z).left_inv hx |
| 334 | |
| 335 | lemma continuousOn_standardEtaleChartInverse (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 336 | ContinuousOn (standardEtaleChartInverse P z) (standardEtaleChartTarget P z) := by |
| 337 | rw [continuousOn_iff_continuous_domRestrict] |
| 338 | let T := standardEtaleImplicitOpenPartialHomeomorph P z |
| 339 | have hzero : Continuous (fun w : standardEtaleChartTarget P z ↦ ((0 : ℂ), w.1)) := |
| 340 | continuous_const.prodMk continuous_subtype_val |
| 341 | have hzeroTarget : ∀ w : standardEtaleChartTarget P z, (0, w.1) ∈ T.target := |
| 342 | fun w ↦ w.2.1 |
| 343 | have hzeroRestrict : Continuous (fun w : standardEtaleChartTarget P z ↦ |
| 344 | (⟨(0, w.1), hzeroTarget w⟩ : T.target)) := |
| 345 | hzero.subtype_mk hzeroTarget |
| 346 | have hTinv : Continuous (T.target.domRestrict T.symm) := |
| 347 | continuousOn_iff_continuous_domRestrict.mp T.continuousOn_invFun |
| 348 | have hambient : Continuous (fun w : standardEtaleChartTarget P z ↦ T.symm (0, w.1)) := |
| 349 | hTinv.comp hzeroRestrict |
| 350 | have hcoordinate : Continuous (fun w : standardEtaleChartTarget P z ↦ |
| 351 | (⟨T.symm (0, w.1), by |
| 352 | have heq := congrArg Prod.fst (T.right_inv w.2.1) |
| 353 | constructor |
| 354 | · simpa [T, standardEtaleEquation] using heq |
| 355 | · simpa [standardEtaleLocalizationEquation] using w.2.2⟩ : |
| 356 | _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P)) := |
| 357 | hambient.subtype_mk _ |
| 358 | convert hcoordinate using 1 |
| 359 | exact funext fun w ↦ Subtype.ext (standardEtaleChartInverse_of_mem P z w.2) |
| 360 | |
| 361 | /-- The ambient inverse of a standard étale projection chart is analytic at every point of its |
| 362 | target. The derivative of the implicit-function homeomorphism is invertible there because every |
| 363 | point of a standard étale equation locus has nonzero distinguished derivative. -/ |
| 364 | lemma analyticAt_standardEtaleImplicitOpenPartialHomeomorph_symm_zero |
| 365 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) {w : Fin n → ℂ} |
| 366 | (hw : w ∈ standardEtaleChartTarget P z) : |
| 367 | AnalyticAt ℂ (standardEtaleImplicitOpenPartialHomeomorph P z).symm (0, w) := by |
| 368 | let T := standardEtaleImplicitOpenPartialHomeomorph P z |
| 369 | let q : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P := standardEtaleChartInverse P z w |
| 370 | have hqval : q.1 = T.symm (0, w) := standardEtaleChartInverse_of_mem P z hw |
| 371 | let cdf := contDiffAt_standardEtaleEquation P q.1 |
| 372 | let hs := cdf.hasStrictFDerivAt (by simp) |
| 373 | let φ := hs.implicitFunctionDataOfProdDomain (standardEtale_partial_isInvertible P q) |
| 374 | let e : ((Fin n → ℂ) × ℂ) ≃L[ℂ] (ℂ × (Fin n → ℂ)) := |
| 375 | φ.leftDeriv.equivProdOfSurjectiveOfIsCompl φ.rightDeriv φ.range_leftDeriv |
| 376 | φ.range_rightDeriv φ.isCompl_ker |
| 377 | have hleft : φ.leftFun = standardEtaleEquation P := by |
| 378 | simpa only [φ] using |
| 379 | HasStrictFDerivAt.leftFun_implicitFunctionDataOfProdDomain hs |
| 380 | (standardEtale_partial_isInvertible P q) |
| 381 | have hright : φ.rightFun = Prod.fst := by |
| 382 | simpa only [φ] using |
| 383 | HasStrictFDerivAt.rightFun_implicitFunctionDataOfProdDomain hs |
| 384 | (standardEtale_partial_isInvertible P q) |
| 385 | have hfun : (T : ((Fin n → ℂ) × ℂ) → (ℂ × (Fin n → ℂ))) = φ.prodFun := by |
| 386 | funext u |
| 387 | rw [ImplicitFunctionData.prodFun_apply] |
| 388 | rw [hleft, hright] |
| 389 | exact standardEtaleImplicitOpenPartialHomeomorph_apply P z u |
| 390 | have hderiv : fderiv ℂ (T : ((Fin n → ℂ) × ℂ) → (ℂ × (Fin n → ℂ))) |
| 391 | (T.symm (0, w)) = (e : ((Fin n → ℂ) × ℂ) →L[ℂ] (ℂ × (Fin n → ℂ))) := by |
| 392 | rw [hfun, ← hqval] |
| 393 | simpa only [e, φ, HasStrictFDerivAt.pt_implicitFunctionDataOfProdDomain] using |
| 394 | φ.hasStrictFDerivAt.hasFDerivAt.fderiv |
| 395 | apply T.analyticAt_symm hw.1 |
| 396 | · rw [← hqval] |
| 397 | have hTformula : |
| 398 | (T : ((Fin n → ℂ) × ℂ) → (ℂ × (Fin n → ℂ))) = |
| 399 | fun u ↦ (standardEtaleEquation P u, u.1) := by |
| 400 | funext u |
| 401 | exact standardEtaleImplicitOpenPartialHomeomorph_apply P z u |
| 402 | rw [hTformula] |
| 403 | exact (analyticAt_standardEtaleEquation P q.1).prod |
| 404 | (ContinuousLinearMap.analyticAt (ContinuousLinearMap.fst ℂ (Fin n → ℂ) ℂ) q.1) |
| 405 | · exact hderiv |
| 406 | |
| 407 | /-- In ambient coordinates, the inverse branch of a standard étale projection chart is complex |
| 408 | analytic throughout its target. -/ |
| 409 | lemma analyticAt_standardEtaleChartInverse_val |
| 410 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) {w : Fin n → ℂ} |
| 411 | (hw : w ∈ standardEtaleChartTarget P z) : |
| 412 | AnalyticAt ℂ (fun v ↦ (standardEtaleChartInverse P z v).1) w := by |
| 413 | let T := standardEtaleImplicitOpenPartialHomeomorph P z |
| 414 | have hT : AnalyticAt ℂ T.symm (0, w) := |
| 415 | analyticAt_standardEtaleImplicitOpenPartialHomeomorph_symm_zero P z hw |
| 416 | have hzero : AnalyticAt ℂ (fun v : Fin n → ℂ ↦ ((0 : ℂ), v)) w := by fun_prop |
| 417 | apply (hT.comp hzero).congr |
| 418 | filter_upwards [(isOpen_standardEtaleChartTarget P z).eventually_mem hw] with v hv |
| 419 | exact (standardEtaleChartInverse_of_mem P z hv).symm |
| 420 | |
| 421 | /-- Evaluation of a quotient representative in ordinary coordinates agrees with the explicit |
| 422 | bivariate polynomial formula. -/ |
| 423 | lemma standardEtaleCoordinateHomeomorph_symm_mk |
| 424 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) (q : (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)[X][X]) : |
| 425 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P).symm z (Ideal.Quotient.mk _ q) = |
| 426 | standardEtaleBivariateEvaluation P q z.1 := by |
| 427 | change _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtalePointToAlgHom P |
| 428 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtalePointCoordinateHomeomorph P).symm z) (Ideal.Quotient.mk _ q) = _ |
| 429 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtalePointToAlgHom_mk] |
| 430 | congr 1 |
| 431 | |
| 432 | /-- Every regular function on a standard étale algebra is analytic in each projection chart. -/ |
| 433 | lemma analyticAt_standardEtaleCoordinateEvaluation_chart |
| 434 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) {w : Fin n → ℂ} |
| 435 | (hw : w ∈ standardEtaleChartTarget P z) (r : P.Ring) : |
| 436 | AnalyticAt ℂ |
| 437 | (fun v ↦ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P).symm |
| 438 | (standardEtaleChartInverse P z v) r) w := by |
| 439 | obtain ⟨q, rfl⟩ := Ideal.Quotient.mk_surjective r |
| 440 | rw [show (fun v ↦ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P).symm |
| 441 | (standardEtaleChartInverse P z v) (Ideal.Quotient.mk _ q)) = |
| 442 | fun v ↦ standardEtaleBivariateEvaluation P q |
| 443 | (standardEtaleChartInverse P z v).1 by |
| 444 | funext v |
| 445 | exact standardEtaleCoordinateHomeomorph_symm_mk P _ q] |
| 446 | have hloc : standardEtaleLocalizationEquation P |
| 447 | (standardEtaleChartInverse P z w).1 ≠ 0 := by |
| 448 | simpa only [standardEtaleLocalizationEquation] using |
| 449 | (standardEtaleChartInverse P z w).2.2 |
| 450 | have houter : AnalyticAt ℂ (standardEtaleBivariateEvaluation P q) |
| 451 | (standardEtaleChartInverse P z w).1 := |
| 452 | analyticAt_standardEtaleBivariateEvaluation P q _ hloc |
| 453 | have hinner : AnalyticAt ℂ |
| 454 | (fun v ↦ (standardEtaleChartInverse P z v).1) w := |
| 455 | analyticAt_standardEtaleChartInverse_val P z hw |
| 456 | exact houter.comp_of_eq hinner rfl |
| 457 | |
| 458 | /-- A neighborhood of a standard étale point on which projection to the polynomial-ring |
| 459 | coordinates is a homeomorphism onto an open set. -/ |
| 460 | noncomputable def standardEtaleProjectionChart (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) : |
| 461 | OpenPartialHomeomorph (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) (Fin n → ℂ) where |
| 462 | toFun x := x.1.1 |
| 463 | invFun := standardEtaleChartInverse P z |
| 464 | source := standardEtaleChartSource P z |
| 465 | target := standardEtaleChartTarget P z |
| 466 | map_source' x hx := standardEtale_base_mem_chartTarget P z x hx |
| 467 | map_target' w hw := by |
| 468 | change (standardEtaleChartInverse P z w).1 ∈ |
| 469 | (standardEtaleImplicitOpenPartialHomeomorph P z).source |
| 470 | rw [standardEtaleChartInverse_of_mem P z hw] |
| 471 | exact (standardEtaleImplicitOpenPartialHomeomorph P z).map_target hw.1 |
| 472 | left_inv' x hx := standardEtaleChartInverse_left P z x hx |
| 473 | right_inv' w hw := standardEtaleChartInverse_base P z hw |
| 474 | continuousOn_toFun := (continuous_fst.comp continuous_subtype_val).continuousOn |
| 475 | continuousOn_invFun := continuousOn_standardEtaleChartInverse P z |
| 476 | open_source := _root_.OAI.AlgebraicGeometry.ComplexPoint.Etale.ComplexAlgHom.isOpen_standardEtaleChartSource P z |
| 477 | open_target := _root_.OAI.AlgebraicGeometry.ComplexPoint.Etale.ComplexAlgHom.isOpen_standardEtaleChartTarget P z |
| 478 | |
| 479 | @[simp] |
| 480 | lemma standardEtaleProjectionChart_symm_apply |
| 481 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateSpace P) (w : Fin n → ℂ) : |
| 482 | (standardEtaleProjectionChart P z).symm w = standardEtaleChartInverse P z w := |
| 483 | rfl |
| 484 | |
| 485 | /-- A projection chart on the complex algebra homomorphisms of a standard étale algebra. -/ |
| 486 | noncomputable def standardEtaleAlgHomProjectionChart (u : P.Ring →ₐ[ℂ] ℂ) : |
| 487 | OpenPartialHomeomorph (P.Ring →ₐ[ℂ] ℂ) (Fin n → ℂ) := |
| 488 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P).toOpenPartialHomeomorph.trans |
| 489 | (standardEtaleProjectionChart P (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u)) |
| 490 | |
| 491 | lemma mem_standardEtaleAlgHomProjectionChart_source (u : P.Ring →ₐ[ℂ] ℂ) : |
| 492 | u ∈ (standardEtaleAlgHomProjectionChart P u).source := by |
| 493 | constructor |
| 494 | · simp |
| 495 | · change _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u ∈ |
| 496 | (standardEtaleProjectionChart P (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u)).source |
| 497 | exact standardEtale_mem_implicit_source P (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u) |
| 498 | |
| 499 | /-- Every regular function is analytic on the inverse of a standard étale algebra-homomorphism |
| 500 | projection chart. -/ |
| 501 | lemma analyticAt_standardEtaleAlgHomProjectionChart_symm_apply |
| 502 | (u : P.Ring →ₐ[ℂ] ℂ) {w : Fin n → ℂ} |
| 503 | (hw : w ∈ (standardEtaleAlgHomProjectionChart P u).target) (r : P.Ring) : |
| 504 | AnalyticAt ℂ |
| 505 | (fun v ↦ (standardEtaleAlgHomProjectionChart P u).symm v r) w := by |
| 506 | have hw' : w ∈ standardEtaleChartTarget P (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u) := by |
| 507 | rw [standardEtaleAlgHomProjectionChart, OpenPartialHomeomorph.trans_target] at hw |
| 508 | exact hw.1 |
| 509 | simpa only [standardEtaleAlgHomProjectionChart, OpenPartialHomeomorph.coe_trans_symm, |
| 510 | Function.comp_apply, Homeomorph.toOpenPartialHomeomorph_symm_apply, |
| 511 | standardEtaleProjectionChart_symm_apply] using |
| 512 | analyticAt_standardEtaleCoordinateEvaluation_chart P |
| 513 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.standardEtaleCoordinateHomeomorph P u) hw' r |
| 514 | |
| 515 | variable (S : Type) [CommRing S] [Algebra ℂ S] |
| 516 | [Algebra (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S] |
| 517 | [IsScalarTower ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S] |
| 518 | [Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S] |
| 519 | |
| 520 | /-- A chosen standard étale presentation of a standard étale algebra. -/ |
| 521 | def chosenStandardEtalePresentation : |
| 522 | StandardEtalePresentation (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S := |
| 523 | Algebra.IsStandardEtale.nonempty_standardEtalePresentation.some |
| 524 | |
| 525 | /-- The chosen presentation is also an equivalence of complex algebras. -/ |
| 526 | def standardEtalePresentationComplexAlgEquiv : |
| 527 | S ≃ₐ[ℂ] (chosenStandardEtalePresentation (n := n) S).P.Ring := |
| 528 | (chosenStandardEtalePresentation (n := n) S).equivRing.restrictScalars ℂ |
| 529 | |
| 530 | /-- Restriction of a complex point of a standard étale algebra to its polynomial base. -/ |
| 531 | def isStandardEtaleBaseAlgHom (u : S →ₐ[ℂ] ℂ) : |
| 532 | _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n →ₐ[ℂ] ℂ := |
| 533 | u.comp (IsScalarTower.toAlgHom ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S) |
| 534 | |
| 535 | /-- A projection chart for an arbitrary standard étale algebra, transported through its chosen |
| 536 | standard étale presentation. -/ |
| 537 | noncomputable def isStandardEtaleAlgHomProjectionChart (u : S →ₐ[ℂ] ℂ) : |
| 538 | OpenPartialHomeomorph (S →ₐ[ℂ] ℂ) (Fin n → ℂ) := |
| 539 | let e := standardEtalePresentationComplexAlgEquiv (n := n) S |
| 540 | let Q := (chosenStandardEtalePresentation (n := n) S).P |
| 541 | let q := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.precompAlgEquivHomeomorph e).symm u |
| 542 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.precompAlgEquivHomeomorph e).symm.toOpenPartialHomeomorph.trans |
| 543 | (standardEtaleAlgHomProjectionChart Q q) |
| 544 | |
| 545 | lemma mem_isStandardEtaleAlgHomProjectionChart_source (u : S →ₐ[ℂ] ℂ) : |
| 546 | u ∈ (isStandardEtaleAlgHomProjectionChart (n := n) S u).source := by |
| 547 | let e := standardEtalePresentationComplexAlgEquiv (n := n) S |
| 548 | let Q := (chosenStandardEtalePresentation (n := n) S).P |
| 549 | let q := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.precompAlgEquivHomeomorph e).symm u |
| 550 | constructor |
| 551 | · simp |
| 552 | · change q ∈ (standardEtaleAlgHomProjectionChart Q q).source |
| 553 | exact mem_standardEtaleAlgHomProjectionChart_source Q q |
| 554 | |
| 555 | lemma isStandardEtaleAlgHomProjectionChart_apply (u v : S →ₐ[ℂ] ℂ) : |
| 556 | isStandardEtaleAlgHomProjectionChart (n := n) S u v = |
| 557 | _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n (isStandardEtaleBaseAlgHom (n := n) S v) := by |
| 558 | let e := standardEtalePresentationComplexAlgEquiv (n := n) S |
| 559 | let Q := (chosenStandardEtalePresentation (n := n) S).P |
| 560 | apply congrArg (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n) |
| 561 | apply AlgHom.ext |
| 562 | intro b |
| 563 | change v (e.symm (algebraMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) Q.Ring b)) = |
| 564 | v (algebraMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S b) |
| 565 | have hb := (chosenStandardEtalePresentation (n := n) S).equivRing.commutes b |
| 566 | change e (algebraMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) S b) = |
| 567 | algebraMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) Q.Ring b at hb |
| 568 | rw [← hb, e.symm_apply_apply] |
| 569 | |
| 570 | /-- Regular functions are analytic on inverses of the transported standard étale projection |
| 571 | charts. -/ |
| 572 | lemma analyticAt_isStandardEtaleAlgHomProjectionChart_symm_apply |
| 573 | (u : S →ₐ[ℂ] ℂ) {w : Fin n → ℂ} |
| 574 | (hw : w ∈ (isStandardEtaleAlgHomProjectionChart (n := n) S u).target) (r : S) : |
| 575 | AnalyticAt ℂ |
| 576 | (fun v ↦ (isStandardEtaleAlgHomProjectionChart (n := n) S u).symm v r) w := by |
| 577 | let e := standardEtalePresentationComplexAlgEquiv (n := n) S |
| 578 | let Q := (chosenStandardEtalePresentation (n := n) S).P |
| 579 | let q := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.precompAlgEquivHomeomorph e).symm u |
| 580 | have hw' : w ∈ (standardEtaleAlgHomProjectionChart Q q).target := by |
| 581 | rw [isStandardEtaleAlgHomProjectionChart, OpenPartialHomeomorph.trans_target] at hw |
| 582 | exact hw.1 |
| 583 | exact (analyticAt_standardEtaleAlgHomProjectionChart_symm_apply Q q hw' (e r)).congr |
| 584 | (.of_forall fun _ ↦ rfl) |
| 585 | |
| 586 | variable {S} |
| 587 | |
| 588 | variable (T : Type) [CommRing T] [Algebra ℂ T] |
| 589 | [Algebra (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) T] |
| 590 | [IsScalarTower ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) T] |
| 591 | |
| 592 | /-- Restriction of a complex point of an algebra over a polynomial ring to the polynomial |
| 593 | base. -/ |
| 594 | def etaleBaseAlgHom (u : T →ₐ[ℂ] ℂ) : _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n →ₐ[ℂ] ℂ := |
| 595 | u.comp (IsScalarTower.toAlgHom ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) T) |
| 596 | |
| 597 | variable [Algebra.Etale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) T] |
| 598 | |
| 599 | /-- Standard étale localization data at a complex point of an étale algebra. -/ |
| 600 | structure EtaleStandardNeighborhood (u : T →ₐ[ℂ] ℂ) where |
| 601 | /-- An element not vanishing at the chosen point. -/ |
| 602 | element : T |
| 603 | /-- The chosen element does not vanish at the point. -/ |
| 604 | nonzero : u element ≠ 0 |
| 605 | /-- Localizing at the chosen element gives a standard étale algebra. -/ |
| 606 | isStandard : Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) (Localization.Away element) |
| 607 | |
| 608 | omit [IsScalarTower ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) T] in |
| 609 | /-- Étaleness supplies a standard étale localization at every complex point. -/ |
| 610 | lemma nonempty_etaleStandardNeighborhood (u : T →ₐ[ℂ] ℂ) : |
| 611 | Nonempty (EtaleStandardNeighborhood (n := n) T u) := by |
| 612 | let Q : Ideal T := RingHom.ker u.toRingHom |
| 613 | let : Q.IsPrime := RingHom.ker_isPrime u.toRingHom |
| 614 | obtain ⟨f, hfQ, hfstd⟩ := |
| 615 | Algebra.IsEtaleAt.exists_isStandardEtale (R := _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) Q |
| 616 | refine ⟨⟨f, ?_, hfstd⟩⟩ |
| 617 | simpa [Q, RingHom.mem_ker] using hfQ |
| 618 | |
| 619 | /-- A chosen standard étale localization at a complex point of an étale algebra. -/ |
| 620 | noncomputable def etaleStandardNeighborhood (u : T →ₐ[ℂ] ℂ) : |
| 621 | EtaleStandardNeighborhood (n := n) T u := |
| 622 | Classical.choice (nonempty_etaleStandardNeighborhood (n := n) T u) |
| 623 | |
| 624 | /-- The point of the chosen standard étale localization lying over `u`. -/ |
| 625 | noncomputable def pointInEtaleStandardNeighborhood (u : T →ₐ[ℂ] ℂ) : |
| 626 | Localization.Away (etaleStandardNeighborhood (n := n) T u).element →ₐ[ℂ] ℂ := |
| 627 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.localizationAwayAlgHomHomeomorph T |
| 628 | (etaleStandardNeighborhood (n := n) T u).element).symm |
| 629 | ⟨u, (etaleStandardNeighborhood (n := n) T u).nonzero⟩ |
| 630 | |
| 631 | /-- A projection chart on the complex points of an arbitrary étale algebra. It is obtained from a |
| 632 | standard étale chart after restricting to a principal open neighborhood. -/ |
| 633 | noncomputable def etaleAlgHomProjectionChart (u : T →ₐ[ℂ] ℂ) : |
| 634 | OpenPartialHomeomorph (T →ₐ[ℂ] ℂ) (Fin n → ℂ) := |
| 635 | let D := etaleStandardNeighborhood (n := n) T u |
| 636 | letI : Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) (Localization.Away D.element) := |
| 637 | D.isStandard |
| 638 | (isStandardEtaleAlgHomProjectionChart (n := n) (Localization.Away D.element) |
| 639 | (pointInEtaleStandardNeighborhood (n := n) T u)).lift_openEmbedding |
| 640 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.isOpenEmbedding_localizationAwayAlgHomMap T D.element) |
| 641 | |
| 642 | lemma mem_etaleAlgHomProjectionChart_source (u : T →ₐ[ℂ] ℂ) : |
| 643 | u ∈ (etaleAlgHomProjectionChart (n := n) T u).source := by |
| 644 | let D := etaleStandardNeighborhood (n := n) T u |
| 645 | let : Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) (Localization.Away D.element) := |
| 646 | D.isStandard |
| 647 | let v := pointInEtaleStandardNeighborhood (n := n) T u |
| 648 | refine ⟨v, mem_isStandardEtaleAlgHomProjectionChart_source |
| 649 | (n := n) (Localization.Away D.element) v, ?_⟩ |
| 650 | change (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.localizationAwayAlgHomHomeomorph T D.element v).1 = u |
| 651 | rw [show v = (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.localizationAwayAlgHomHomeomorph T D.element).symm |
| 652 | ⟨u, D.nonzero⟩ by rfl, Homeomorph.apply_symm_apply] |
| 653 | |
| 654 | lemma etaleAlgHomProjectionChart_apply_of_mem (u v : T →ₐ[ℂ] ℂ) |
| 655 | (hv : v ∈ (etaleAlgHomProjectionChart (n := n) T u).source) : |
| 656 | etaleAlgHomProjectionChart (n := n) T u v = |
| 657 | _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n (etaleBaseAlgHom (n := n) T v) := by |
| 658 | let D := etaleStandardNeighborhood (n := n) T u |
| 659 | let : Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) (Localization.Away D.element) := |
| 660 | D.isStandard |
| 661 | obtain ⟨q, hq, rfl⟩ := hv |
| 662 | change ((isStandardEtaleAlgHomProjectionChart (n := n) (Localization.Away D.element) |
| 663 | (pointInEtaleStandardNeighborhood (n := n) T u)).lift_openEmbedding |
| 664 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.isOpenEmbedding_localizationAwayAlgHomMap T D.element)) |
| 665 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Localization.ComplexAlgHom.localizationAwayAlgHomMap T D.element q) = _ |
| 666 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply] |
| 667 | rw [isStandardEtaleAlgHomProjectionChart_apply] |
| 668 | apply congrArg (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n) |
| 669 | apply AlgHom.ext |
| 670 | intro b |
| 671 | rfl |
| 672 | |
| 673 | /-- Every regular function is analytic on the inverse of the chosen projection chart for an |
| 674 | arbitrary étale algebra. -/ |
| 675 | lemma analyticAt_etaleAlgHomProjectionChart_symm_apply |
| 676 | (u : T →ₐ[ℂ] ℂ) {w : Fin n → ℂ} |
| 677 | (hw : w ∈ (etaleAlgHomProjectionChart (n := n) T u).target) (r : T) : |
| 678 | AnalyticAt ℂ (fun v ↦ (etaleAlgHomProjectionChart (n := n) T u).symm v r) w := by |
| 679 | let D := etaleStandardNeighborhood (n := n) T u |
| 680 | let : Algebra.IsStandardEtale (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) (Localization.Away D.element) := |
| 681 | D.isStandard |
| 682 | let q := pointInEtaleStandardNeighborhood (n := n) T u |
| 683 | have hw' : w ∈ |
| 684 | (isStandardEtaleAlgHomProjectionChart (n := n) (Localization.Away D.element) q).target := by |
| 685 | simpa only [etaleAlgHomProjectionChart, OpenPartialHomeomorph.lift_openEmbedding_target] using hw |
| 686 | have h := analyticAt_isStandardEtaleAlgHomProjectionChart_symm_apply |
| 687 | (n := n) (Localization.Away D.element) q hw' |
| 688 | (algebraMap T (Localization.Away D.element) r) |
| 689 | exact h.congr (.of_forall fun _ ↦ rfl) |
| 690 | |
| 691 | end |
| 692 | |
| 693 | end ComplexAlgHom |
| 694 | end |
| 695 | |
| 696 | section |
| 697 | section |
| 698 | |
| 699 | open ComplexAlgHom _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point |
| 700 | |
| 701 | noncomputable section |
| 702 | |
| 703 | variable {n : ℕ} (P : StandardEtalePair (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)) |
| 704 | |
| 705 | /-- The complex-point map from the spectrum of a polynomial ring to algebraic affine space. -/ |
| 706 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.polynomialSpecToAffineSpacePointMap : |
| 707 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint (Over.mk (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpecStructureMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n))) → |
| 708 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint (Over.mk (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.complexAffineSpace (Fin n) ↘ Spec ↧ℂ)) := |
| 709 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (Over.homMk (AffineSpace.SpecIso (Fin n) ↧ℂ).inv (AffineSpace.SpecIso_inv_over ↧ℂ)) |
| 710 | |
| 711 | /-- The scheme isomorphism between the spectrum of a polynomial ring and affine space agrees |
| 712 | with evaluation of the polynomial variables. -/ |
| 713 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpaceEquiv_polynomialSpecToAffineSpacePointMap |
| 714 | (z : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint (Over.mk (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpecStructureMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n)))) : |
| 715 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpaceEquiv (Fin n) (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.polynomialSpecToAffineSpacePointMap (n := n) z) = |
| 716 | _root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.mvPolynomialAlgHomHomeomorph n (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpecEquiv (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) z) := by |
| 717 | funext i |
| 718 | change (Scheme.ΓSpecIso ↧ℂ).hom |
| 719 | (z.left.appTop ((AffineSpace.SpecIso (Fin n) ↧ℂ).inv.appTop |
| 720 | (AffineSpace.coord (Spec ↧ℂ) i))) = |
| 721 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpecEquiv (_root_.OAI.AlgebraicGeometry.ComplexPoint.StandardEtale.ComplexAlgHom.complexPolynomialRing n) z (MvPolynomial.X i) |
| 722 | rw [AffineSpace.SpecIso_inv_appTop_coord] |
| 723 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.affineSpecEquiv_apply, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.evaluate_top_eq_appTop] |
| 724 | |
| 725 | end |
| 726 | |
| 727 | end |
| 728 | end |
| 729 | |
| 730 | end |
| 731 | |
| 732 | end OAI.AlgebraicGeometry.ComplexPoint.Etale |