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.JacobianRegularity |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalGraphChart |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.PresentedPointTopology |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalizationPointTopology |
| 5 | import Mathlib.Topology.OpenPartialHomeomorph.Constructions |
| 6 | |
| 7 | /-! # Smooth Affine Charts -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Local analytic charts on the genuine points of smooth complex algebras |
| 15 | |
| 16 | Native presentations and principal localization identify actual algebra points |
| 17 | with actual polynomial zero sets. The selected Jacobian minor supplies analytic |
| 18 | regularity, so the chart existence statements have no extra derivative hypothesis. |
| 19 | The number of free coordinates is recorded locally; no constant dimension is assumed. |
| 20 | -/ |
| 21 | |
| 22 | open scoped Classical ContDiff _root_.Topology |
| 23 | |
| 24 | section Presentation |
| 25 | |
| 26 | variable {S ι σ : Type*} [CommRing S] [Algebra ℂ S] [Fintype ι] [Fintype σ] |
| 27 | [DecidableEq ι] |
| 28 | |
| 29 | /-- The actual selected/free linear coordinate change carries the equations of |
| 30 | an algebra presentation to the split polynomial zero set. -/ |
| 31 | def presentationSplitZeroHomeomorph (P : Algebra.PreSubmersivePresentation ℂ S ι σ) : |
| 32 | {z : ι → ℂ // ∀ j, MvPolynomial.eval z (P.relation j) = 0} ≃ₜ |
| 33 | {z | PolynomialImplicit.splitPolynomialMap (JacobianRegularity.presentationSplitPolynomials P) z = 0} := |
| 34 | (JacobianRegularity.selectedCoordinateEquiv P.map P.map_inj).toHomeomorph.subtype (by |
| 35 | intro v |
| 36 | have h (j : σ) : |
| 37 | PolynomialImplicit.splitPolynomialMap (JacobianRegularity.presentationSplitPolynomials P) |
| 38 | (JacobianRegularity.selectedCoordinateEquiv P.map P.map_inj v) j = |
| 39 | MvPolynomial.eval v (P.relation j) := |
| 40 | JacobianRegularity.selectedPolynomialFamily_eval P.map P.map_inj P.relation v j |
| 41 | constructor |
| 42 | · intro hv |
| 43 | funext j |
| 44 | exact (h j).trans (hv j) |
| 45 | · intro hv j |
| 46 | exact (h j).symm.trans (congr_fun hv j)) |
| 47 | |
| 48 | /-- The point space of the actual presented algebra in selected/free coordinates. -/ |
| 49 | def presentedSplitPointsHomeomorph (P : Algebra.PreSubmersivePresentation ℂ S ι σ) : |
| 50 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints S ≃ₜ |
| 51 | {z | PolynomialImplicit.splitPolynomialMap (JacobianRegularity.presentationSplitPolynomials P) z = 0} := |
| 52 | (PresentedPointTopology.presentedComplexPointsHomeomorph P.toPresentation).trans |
| 53 | (presentationSplitZeroHomeomorph P) |
| 54 | |
| 55 | omit [Fintype σ] [DecidableEq ι] in |
| 56 | @[simp] |
| 57 | theorem presentedSplitPointsHomeomorph_apply |
| 58 | (P : Algebra.PreSubmersivePresentation ℂ S ι σ) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : |
| 59 | (presentedSplitPointsHomeomorph P x).val = JacobianRegularity.presentationSplitPoint P x := by |
| 60 | change JacobianRegularity.splitCoordinates P.map (PresentedPointTopology.presentedComplexPointsHomeomorph P.toPresentation x).val = |
| 61 | JacobianRegularity.splitCoordinates P.map (fun i => x (P.val i)) |
| 62 | congr 1 |
| 63 | funext i |
| 64 | exact PresentedPointTopology.presentedComplexPointsHomeomorph_apply P.toPresentation x i |
| 65 | |
| 66 | omit [Fintype σ] [DecidableEq ι] in |
| 67 | @[simp] |
| 68 | theorem presentedSplitPointsHomeomorph_symm_apply |
| 69 | (P : Algebra.PreSubmersivePresentation ℂ S ι σ) |
| 70 | (z : {z | PolynomialImplicit.splitPolynomialMap (JacobianRegularity.presentationSplitPolynomials P) z = 0}) (a : S) : |
| 71 | (presentedSplitPointsHomeomorph P).symm z a = |
| 72 | MvPolynomial.eval ((JacobianRegularity.selectedCoordinateEquiv P.map P.map_inj).symm z.val) |
| 73 | (P.σ a) := by |
| 74 | change (PresentedPointTopology.presentedComplexPointsHomeomorph P.toPresentation).symm |
| 75 | ((presentationSplitZeroHomeomorph P).symm z) a = _ |
| 76 | rw [PresentedPointTopology.presentedComplexPointsHomeomorph_symm_apply] |
| 77 | rfl |
| 78 | |
| 79 | /-- A native standard-smooth presentation gives local analytic coordinates on |
| 80 | its actual algebra points. Regular functions are analytic in the inverse chart. -/ |
| 81 | theorem exists_standardSmooth_point_chart |
| 82 | (P : Algebra.SubmersivePresentation ℂ S ι σ) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : |
| 83 | ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (JacobianRegularity.FreeCoordinates P.map → ℂ), |
| 84 | x ∈ e.source ∧ |
| 85 | (∀ y i, e y i = y (P.val i.val)) ∧ |
| 86 | (∀ a : S, ContDiffOn ℂ ω (fun z => e.symm z a) e.target) := by |
| 87 | let Q := JacobianRegularity.presentationSplitPolynomials P.toPreSubmersivePresentation |
| 88 | let u := JacobianRegularity.presentationSplitPoint P.toPreSubmersivePresentation x |
| 89 | have hu : PolynomialImplicit.splitPolynomialMap Q u = 0 := |
| 90 | JacobianRegularity.presentationSplitPoint_zero P.toPreSubmersivePresentation x |
| 91 | obtain ⟨e₀, hx₀, hforward, hinverse⟩ := LocalGraphChart.exists_polynomial_zero_chart Q u hu |
| 92 | (JacobianRegularity.standardSmooth_partialDerivative_isInvertible P x) |
| 93 | let h := presentedSplitPointsHomeomorph P.toPreSubmersivePresentation |
| 94 | let e := h.transOpenPartialHomeomorph e₀ |
| 95 | have hhx : h x = ⟨u, hu⟩ := by |
| 96 | apply Subtype.ext |
| 97 | exact presentedSplitPointsHomeomorph_apply P.toPreSubmersivePresentation x |
| 98 | refine ⟨e, ?_, ?_, ?_⟩ |
| 99 | · change h x ∈ e₀.source |
| 100 | rwa [hhx] |
| 101 | · intro y i |
| 102 | change e₀ (h y) i = y (P.val i.val) |
| 103 | rw [hforward] |
| 104 | change (h y).val.1 i = _ |
| 105 | rw [show (h y).val = JacobianRegularity.presentationSplitPoint P.toPreSubmersivePresentation y from |
| 106 | presentedSplitPointsHomeomorph_apply P.toPreSubmersivePresentation y] |
| 107 | rfl |
| 108 | · intro a |
| 109 | have hcoordinates : ContDiffOn ℂ ω |
| 110 | (fun z => (JacobianRegularity.selectedCoordinateEquiv P.map P.map_inj).symm (e₀.symm z).val) |
| 111 | e₀.target := |
| 112 | (JacobianRegularity.selectedCoordinateEquiv P.map P.map_inj).symm.contDiff.comp_contDiffOn hinverse |
| 113 | have heval := (PolynomialImplicit.contDiff_polynomial_eval (P.σ a) ω).comp_contDiffOn hcoordinates |
| 114 | change ContDiffOn ℂ ω (fun z => h.symm (e₀.symm z) a) e₀.target |
| 115 | apply heval.congr |
| 116 | intro z hz |
| 117 | exact presentedSplitPointsHomeomorph_symm_apply P.toPreSubmersivePresentation |
| 118 | (e₀.symm z) a |
| 119 | |
| 120 | end Presentation |
| 121 | |
| 122 | variable {S : Type*} [CommRing S] [Algebra ℂ S] |
| 123 | |
| 124 | /-- Evaluation of an arbitrary character of a principal localization is an |
| 125 | actual fraction in the restricted character's evaluations. -/ |
| 126 | theorem localizedPoint_eval_eq_div (g : S) |
| 127 | (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) (b : Localization.Away g) : |
| 128 | y b = Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g y |
| 129 | (IsLocalization.Away.sec g b).1 / |
| 130 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g y g) ^ |
| 131 | (IsLocalization.Away.sec g b).2 := by |
| 132 | simp only [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction_apply] |
| 133 | have hg : y (algebraMap S (Localization.Away g) g) ≠ 0 := |
| 134 | ((IsLocalization.Away.algebraMap_isUnit (S := Localization.Away g) g).map y).ne_zero |
| 135 | apply (eq_div_iff (pow_ne_zero _ hg)).mpr |
| 136 | have h := congrArg y (IsLocalization.Away.sec_spec (S := Localization.Away g) g b) |
| 137 | simpa only [map_mul, map_pow] using h |
| 138 | |
| 139 | /-- Every point of a smooth complex algebra has an actual local chart. Its |
| 140 | dimension is the number of free coordinates in a proved standard-smooth |
| 141 | principal neighborhood and is allowed to depend on the point. Forward chart |
| 142 | coordinates are regular fractions, and all regular functions are analytic |
| 143 | in the inverse chart. -/ |
| 144 | theorem exists_smoothAffinePoint_localChart [Algebra.Smooth ℂ S] |
| 145 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : |
| 146 | ∃ (g : S) (_hg : x g ≠ 0) (n m : ℕ) |
| 147 | (P : Algebra.SubmersivePresentation ℂ (Localization.Away g) (Fin n) (Fin m)), |
| 148 | ∃ e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 149 | (Fin (Fintype.card (JacobianRegularity.FreeCoordinates P.map)) → ℂ), |
| 150 | x ∈ e.source ∧ |
| 151 | e.source ⊆ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g ∧ |
| 152 | (∀ i, ∃ (a : S) (k : ℕ), ∀ y ∈ e.source, |
| 153 | e y i = y a / (y g) ^ k) ∧ |
| 154 | (∀ a : S, ContDiffOn ℂ ω (fun z => e.symm z a) e.target) := by |
| 155 | obtain ⟨g, hg, n, m, P, _⟩ := Foundations.Scheme.SmoothComplexPoint.Algebraic.smooth_point_exists_submersive_presentation x |
| 156 | let xg := Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg |
| 157 | obtain ⟨e₀, hx₀, hforward, hinverse⟩ := exists_standardSmooth_point_chart P xg |
| 158 | let ιg := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g |
| 159 | have hιg : Topology.IsOpenEmbedding ιg := |
| 160 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g |
| 161 | let e₁ := e₀.lift_openEmbedding hιg |
| 162 | have hx₁ : x ∈ e₁.source := by |
| 163 | change x ∈ ιg '' e₀.source |
| 164 | refine ⟨xg, hx₀, ?_⟩ |
| 165 | exact Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp x g hg |
| 166 | have hsource : e₁.source ⊆ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g := by |
| 167 | change ιg '' e₀.source ⊆ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g |
| 168 | rintro y ⟨yg, _, rfl⟩ |
| 169 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g yg).property |
| 170 | have hfractions (i : JacobianRegularity.FreeCoordinates P.map) : |
| 171 | ∃ (a : S) (k : ℕ), ∀ y ∈ e₁.source, e₁ y i = y a / (y g) ^ k := by |
| 172 | refine ⟨(IsLocalization.Away.sec g (P.val i.val)).1, |
| 173 | (IsLocalization.Away.sec g (P.val i.val)).2, ?_⟩ |
| 174 | intro y hy |
| 175 | change y ∈ ιg '' e₀.source at hy |
| 176 | obtain ⟨yg, _, rfl⟩ := hy |
| 177 | change (e₀.lift_openEmbedding hιg) (ιg yg) i = _ |
| 178 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply, hforward] |
| 179 | exact localizedPoint_eval_eq_div g yg (P.val i.val) |
| 180 | have hinverse₁ (a : S) : |
| 181 | ContDiffOn ℂ ω (fun z => e₁.symm z a) e₁.target := by |
| 182 | change ContDiffOn ℂ ω |
| 183 | (fun z => e₀.symm z (algebraMap S (Localization.Away g) a)) e₀.target |
| 184 | exact hinverse (algebraMap S (Localization.Away g) a) |
| 185 | let b : (JacobianRegularity.FreeCoordinates P.map → ℂ) ≃L[ℂ] |
| 186 | (Fin (Fintype.card (JacobianRegularity.FreeCoordinates P.map)) → ℂ) := |
| 187 | (LinearEquiv.funCongrLeft ℂ ℂ |
| 188 | (Fintype.equivFin (JacobianRegularity.FreeCoordinates P.map)).symm).toContinuousLinearEquiv |
| 189 | let e := e₁.transHomeomorph b.toHomeomorph |
| 190 | refine ⟨g, hg, n, m, P, e, hx₁, hsource, ?_, ?_⟩ |
| 191 | · intro i |
| 192 | let j : JacobianRegularity.FreeCoordinates P.map := (Fintype.equivFin (JacobianRegularity.FreeCoordinates P.map)).symm i |
| 193 | obtain ⟨a, k, hak⟩ := hfractions j |
| 194 | refine ⟨a, k, ?_⟩ |
| 195 | intro y hy |
| 196 | change e₁ y j = y a / (y g) ^ k |
| 197 | exact hak y hy |
| 198 | · intro a |
| 199 | change ContDiffOn ℂ ω (fun z => e₁.symm (b.symm z) a) (b.symm ⁻¹' e₁.target) |
| 200 | exact (hinverse₁ a).comp b.symm.contDiff.contDiffOn (fun _ hz => hz) |
| 201 | |
| 202 | end |
| 203 | |
| 204 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |