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.AbelianModuli.HilbertConstruction.Affine.GenerationCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.QuotientClassification |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.RankAffineCriterion |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.HomogeneousGenerators |
| 5 | |
| 6 | /-! # Chart Relations -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartRelations |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The homogeneous quotient classified by a normalized chart point has exactly the explicit kernel used in the generated matrix loci. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {M : Over S} {n N r : ℕ} |
| 19 | variable (a : ULift.{u} (Fin r) → ULift.{u} (Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) |
| 20 | variable (v : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) |
| 21 | |
| 22 | theorem homogeneousChart_affine_relations (R : CommRingCat.{u}) {f : Spec R ⟶ S} |
| 23 | (x : Over.mk f ⟶ M) |
| 24 | (U : Module.Grassmannian R (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R N) r) |
| 25 | (hU : (x ≫ v) ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap a S = |
| 26 | QuotientParameters.homogeneousQuotientAffinePointEquiv.{u, 0} (Fin (n + 1)) N r R f U) : |
| 27 | U.toSubmodule = Normalized.HomogeneousGenerators.normalizedHomogeneousRelations (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v) R x) := by |
| 28 | let e := QuotientParameters.homogeneousLiftedCoordinates.{u, 0} (Fin (n + 1)) N R |
| 29 | have h := Affine.GenerationCoordinates.grassmannParameterAffine_chart_kernel_coefficients R f |
| 30 | (QuotientClassification.homogeneousLiftedQuotient.{u, 0} (Fin (n + 1)) N r R U) a (x ≫ v) |
| 31 | (hU.trans (QuotientClassification.homogeneousQuotientAffinePointEquiv_coordinates (Fin (n + 1)) N r R f U)) |
| 32 | rw [Grassmann.ChartLoci.normalizedChartMatrix_comp] at h |
| 33 | change (Matrix.toLin' (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v) R x)).ker = |
| 34 | U.toSubmodule.map e.toLinearMap at h |
| 35 | change U.toSubmodule = |
| 36 | (Matrix.toLin' (HilbertConstruction.Matrix.RankAffineCriterion.affineMatrixCoefficients M (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S v) R x)).ker.map e.symm.toLinearMap |
| 37 | rw [h, ← Submodule.map_comp] |
| 38 | have he : e.symm.toLinearMap.comp e.toLinearMap = LinearMap.id := by |
| 39 | apply LinearMap.ext |
| 40 | exact e.symm_apply_apply |
| 41 | rw [he, Submodule.map_id] |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ChartRelations |