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.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialEvaluation |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion |
| 3 | import Mathlib.Analysis.Analytic.Polynomial |
| 4 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 5 | import Mathlib.Geometry.Manifold.ContMDiff.Constructions |
| 6 | |
| 7 | /-! # Affine Coordinates M -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.AffineCoordinatesM.Constructions.AffineCoordinates |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Standard affine coordinates in the native regular atlas |
| 15 | |
| 16 | These compatibility lemmas concern actual polynomial-ring characters. They |
| 17 | do not assume analytic compatibility for an algebraic embedding. |
| 18 | -/ |
| 19 | |
| 20 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 21 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion ChartedSpace |
| 22 | |
| 23 | /-- Standard affine coordinates are a genuine chart of the regular atlas. -/ |
| 24 | theorem polynomialChart_mem_regularAtlas (n : ℕ) : |
| 25 | (ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph (Fin n)).toOpenPartialHomeomorph ∈ |
| 26 | ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas (MvPolynomial (Fin n) ℂ) n := by |
| 27 | constructor |
| 28 | · intro p |
| 29 | change ContDiffOn ℂ ω (fun z => MvPolynomial.eval z p) Set.univ |
| 30 | exact (AnalyticOnNhd.eval_mvPolynomial p).contDiffOn uniqueDiffOn_univ |
| 31 | · refine ⟨1, ?_, ?_⟩ |
| 32 | · intro x _ |
| 33 | simp |
| 34 | · intro i |
| 35 | refine ⟨MvPolynomial.X i, 0, ?_⟩ |
| 36 | intro x _ |
| 37 | simp [ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph_apply] |
| 38 | |
| 39 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 40 | variable {n m : ℕ} |
| 41 | |
| 42 | section PolynomialManifold |
| 43 | |
| 44 | variable {ι : Type*} [Fintype ι] |
| 45 | |
| 46 | local instance : Algebra.Smooth ℂ (MvPolynomial ι ℂ) where |
| 47 | formallySmooth := inferInstance |
| 48 | finitePresentation := inferInstance |
| 49 | |
| 50 | local notation "PolynomialModel" => |
| 51 | (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ (MvPolynomial ι ℂ)) → ℂ) |
| 52 | |
| 53 | /-- Polynomial-ring characters have their ordinary affine coordinates as |
| 54 | analytic functions on the native smooth manifold. -/ |
| 55 | theorem contMDiff_polynomialPointHomeomorph (r : ℕ∞ω) : |
| 56 | ContMDiff (𝓘(ℂ, PolynomialModel)) (𝓘(ℂ, ι → ℂ)) r |
| 57 | (ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι) := by |
| 58 | apply contMDiff_pi_space.mpr |
| 59 | intro i |
| 60 | exact ComplexPoints.Analytic.SmoothAffineMaps.contMDiff_smoothDomain_eval (MvPolynomial.X i) r |
| 61 | |
| 62 | /-- Conversely, polynomial evaluation is analytic in the native regular |
| 63 | atlas; its chart expressions are the atlas's actual rational functions. -/ |
| 64 | theorem contMDiff_polynomialPointHomeomorph_symm (r : ℕ∞ω) : |
| 65 | ContMDiff (𝓘(ℂ, ι → ℂ)) (𝓘(ℂ, PolynomialModel)) r |
| 66 | (ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι).symm := by |
| 67 | apply contMDiff_iff.mpr |
| 68 | refine ⟨(ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι).symm.continuous, ?_⟩ |
| 69 | intro x y |
| 70 | have he : chartAt PolynomialModel y ∈ |
| 71 | ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas (MvPolynomial ι ℂ) |
| 72 | (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ (MvPolynomial ι ℂ)) := |
| 73 | chart_mem_atlas PolynomialModel y |
| 74 | obtain ⟨g, hg, hcoords⟩ := he.2 |
| 75 | have hc : ContDiffOn ℂ ω |
| 76 | (fun z => chartAt PolynomialModel y ((ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι).symm z)) |
| 77 | {z | (ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph ι).symm z ∈ |
| 78 | (chartAt PolynomialModel y).source} := by |
| 79 | apply contDiffOn_pi.mpr |
| 80 | intro i |
| 81 | obtain ⟨a, k, ha⟩ := hcoords i |
| 82 | have hp (p : MvPolynomial ι ℂ) : ContDiff ℂ ω (fun z => MvPolynomial.eval z p) := |
| 83 | contDiffOn_univ.mp ((AnalyticOnNhd.eval_mvPolynomial p).contDiffOn uniqueDiffOn_univ) |
| 84 | apply ((hp a).contDiffOn.div ((hp g).contDiffOn.pow k) (fun z hz => |
| 85 | pow_ne_zero k (hg _ hz))).congr |
| 86 | intro z hz |
| 87 | exact ha _ hz |
| 88 | simpa only [extChartAt_coe, extChartAt_coe_symm, extChartAt_source, |
| 89 | extChartAt_target, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 90 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, |
| 91 | Set.inter_univ, Function.comp_def, chartAt_self_eq, |
| 92 | OpenPartialHomeomorph.refl_apply, OpenPartialHomeomorph.refl_target, |
| 93 | OpenPartialHomeomorph.refl_symm, Set.univ_inter, id_eq, Set.preimage, |
| 94 | Set.mem_ofPred_eq, Set.mem_univ, Set.ofPred_true] |
| 95 | using hc.of_le (show r ≤ ω from le_top) |
| 96 | |
| 97 | end PolynomialManifold |
| 98 | |
| 99 | /-- An algebraic map to affine space has analytic standard coordinates in |
| 100 | every regular source chart. -/ |
| 101 | theorem contDiffOn_polynomial_coordinates |
| 102 | (h : MvPolynomial (Fin n) ℂ →ₐ[ℂ] A) |
| 103 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 104 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) : |
| 105 | ContDiffOn ℂ ω |
| 106 | (fun z => ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph (Fin n) ((e.symm z).comp h)) e.target := by |
| 107 | apply contDiffOn_pi.mpr |
| 108 | intro i |
| 109 | exact he.1 (h (MvPolynomial.X i)) |
| 110 | |
| 111 | /-- Surjectivity of the coordinate-ring map proves injectivity of the actual |
| 112 | standard-coordinate derivative of an affine closed immersion. -/ |
| 113 | theorem fderiv_polynomial_coordinates_injective |
| 114 | (h : MvPolynomial (Fin n) ℂ →ₐ[ℂ] A) (hh : Function.Surjective h) |
| 115 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 116 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 117 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) : |
| 118 | Function.Injective (fderiv ℂ |
| 119 | (fun z => ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph (Fin n) ((e.symm z).comp h)) (e x)) := by |
| 120 | exact ComplexPoints.Analytic.SmoothClosedImmersion.fderiv_affineChartComap_injective_of_surjective h hh e |
| 121 | (ComplexPoints.Analytic.PolynomialEvaluation.polynomialPointHomeomorph (Fin n)).toOpenPartialHomeomorph he |
| 122 | (polynomialChart_mem_regularAtlas n) x hx (Set.mem_univ _) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.AffineCoordinatesM.Constructions.AffineCoordinates |