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.TorsionConfigurationEvaluationKernel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.MonomialMatrix |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.EvaluationInvariance |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.DegreeCoordinateGrassmannian |
| 5 | |
| 6 | /-! # Coordinate Relations -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.CoordinateRelations |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The monomial matrix kernel is the actual homogeneous relation |
| 13 | module in fixed coordinates. For auxiliary torsion it therefore gives |
| 14 | the canonical Hilbert Grassmannian point, including over nilpotents. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.DegreeCoordinateGrassmannian.GradedHilbert |
| 17 | universe u v w |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable {R : Type u} [CommRing R] {r D : ℕ} |
| 21 | |
| 22 | theorem configurationMonomialMatrix_kernel {ι : Type v} [Fintype ι] [DecidableEq ι] |
| 23 | (w : ι → Fin (r + 1) → R) (D : ℕ) : |
| 24 | (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix w D)).ker = |
| 25 | (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D).ker.map (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R r D).equivFun.toLinearMap := by |
| 26 | rw [MonomialMatrix.configurationMonomialMatrix, Homogeneous.ConfigurationEvaluation.homogeneousConfigurationMatrix_linearMap, |
| 27 | LinearMap.ker_comp, Submodule.comap_equiv_eq_map_symm] |
| 28 | rfl |
| 29 | |
| 30 | theorem configurationMonomialMatrix_kernel_relabel |
| 31 | {ι : Type v} {κ : Type w} [Fintype ι] [Fintype κ] [DecidableEq ι] [DecidableEq κ] |
| 32 | (w : ι → Fin (r + 1) → R) (D : ℕ) (e : κ ≃ ι) : |
| 33 | (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix (fun c => w (e c)) D)).ker = |
| 34 | (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix w D)).ker := by |
| 35 | rw [configurationMonomialMatrix_kernel, configurationMonomialMatrix_kernel, |
| 36 | EvaluationInvariance.homogeneousConfigurationEvaluation_kernel_relabel] |
| 37 | |
| 38 | variable [IsNoetherianRing R] {g N n : ℕ} {δ : Fin g → ℕ} [NeZero n] {P : Polynomial ℚ} |
| 39 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 40 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R r P) |
| 41 | variable (e : A.abelian.scheme ≅ HilbertConstruction.Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) |
| 42 | variable (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 43 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 44 | variable (hg : 0 < g) (hδ : ∀ j, 0 < δ j) (hN : 3 ≤ N) |
| 45 | variable (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 46 | variable (level : A.abelian.FullLevel n) (D : ℕ) (hD : 0 < D) |
| 47 | variable (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 48 | variable (w : Multiplicative (Fin (2 * g) → ZMod n) → Fin (r + 1) → R) |
| 49 | variable (i : Multiplicative (Fin (2 * g) → ZMod n) → Fin (r + 1)) (hi : ∀ c, w c (i c) = 1) |
| 50 | variable (hw : ∀ c, (A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 51 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R (w c) (i c) (hi c)) |
| 52 | |
| 53 | include A I e eL hg hδ hN hunit level hD hlarge i hi hw |
| 54 | |
| 55 | theorem auxiliaryTorsionConfiguration_coordinate_kernel : |
| 56 | (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix w D)).ker = HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I.ideal D := by |
| 57 | rw [configurationMonomialMatrix_kernel, |
| 58 | TorsionConfigurationEvaluationKernel.auxiliaryTorsionConfiguration_evaluation_kernel A I e eL hg hδ hN hunit level D hD hlarge w i hi hw] |
| 59 | rfl |
| 60 | |
| 61 | theorem auxiliaryTorsionConfiguration_coordinate_grassmannian |
| 62 | [Module.Projective R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.ideal.toIdeal D)] {k : ℕ} |
| 63 | (hr : ∀ p : PrimeSpectrum R, Module.rankAtStalk (R := R) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.ideal.toIdeal D) p = k) |
| 64 | (Q : Module.Grassmannian R (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} r D → R) k) |
| 65 | (hQ : Q.toSubmodule = (Matrix.toLin' (MonomialMatrix.configurationMonomialMatrix w D)).ker) : |
| 66 | Q = HilbertScheme.Presentations.DegreeCoordinateGrassmannian.GradedHilbert.degreeCoordinateGrassmannian I.ideal hr := by |
| 67 | apply Module.Grassmannian.ext |
| 68 | exact hQ.trans (auxiliaryTorsionConfiguration_coordinate_kernel A I e eL |
| 69 | hg hδ hN hunit level D hD hlarge w i hi hw) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.CoordinateRelations |