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.Stable.KernelClassifierFormula |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.TorsionStableRankLift |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.CoordinateRelations |
| 4 | |
| 5 | /-! # Torsion Stable Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionStableCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The stable-chart classifier of an actual high auxiliary torsion |
| 12 | configuration is the canonical uniform Hilbert coordinate point of |
| 13 | the embedded family. The identity holds over every noetherian ring |
| 14 | whenever the configuration has a lift to the genuine rank locus. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | def configurationHilbertCoordinatePoint |
| 21 | {C : Type u} [CommRing C] [IsNoetherianRing C] {r : ℕ} {P : Polynomial ℚ} |
| 22 | (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C r P) (D : ℕ) |
| 23 | (hdegree : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} r P ≤ D) : |
| 24 | Module.Grassmannian C (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} r D → C) |
| 25 | (Fintype.card (ULift.{u} (Fin (P.eval (D : ℚ)).num.toNat))) := by |
| 26 | haveI : Module.Projective C (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.ideal.toIdeal D) := |
| 27 | HilbertScheme.Presentations.Uniform.SaturatedCoordinates.GradedHilbert.uniform_saturated_coordinate_projective I.ideal I.saturated P I.hilbert D |
| 28 | ((le_max_left _ _).trans hdegree) |
| 29 | exact HilbertScheme.Presentations.DegreeCoordinateGrassmannian.GradedHilbert.degreeCoordinateGrassmannian I.ideal (fun p => |
| 30 | (HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree_rankAtStalk I.ideal I.saturated P I.hilbert D hdegree p).trans (by simp)) |
| 31 | |
| 32 | variable (R : Type u) [CommRing R] (C : CommRingCat.{u}) [IsNoetherianRing C] |
| 33 | variable {g N n r : ℕ} {δ : Fin g → ℕ} [NeZero n] {P : Polynomial ℚ} |
| 34 | variable (i : Fin (n ^ (2 * g))) |
| 35 | variable (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (r + 1) (n ^ (2 * g))) |
| 36 | variable {f : Spec C ⟶ Spec (.of R)} |
| 37 | variable (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) |
| 38 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec C)) |
| 39 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal C r P) |
| 40 | variable (e : A.abelian.scheme ≅ HilbertConstruction.Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) |
| 41 | variable (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 42 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) |
| 43 | variable (hg : 0 < g) (hδ : ∀ k, 0 < δ k) (hN : 3 ≤ N) |
| 44 | variable (hunit : IsUnit (N : Γ(Spec C, ⊤))) |
| 45 | variable (level : A.abelian.FullLevel n) (D : ℕ) (hD : 0 < D) |
| 46 | variable (hlarge : Bounded.GraphTorsionSectionDetection.boundedGraphTorsionDegree g δ D < n ^ 2) |
| 47 | variable (hpoints : ∀ c : ULift.{u} (Fin (n ^ (2 * g))), |
| 48 | (A.abelian.fullLevelGlobalSection level (Local.TorsionStableRankLift.liftedFullLevelLabelEnumeration c) ≫ e.hom.left) ≫ |
| 49 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 50 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x c) |
| 51 | (j.coordinate c.down) (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x c)) |
| 52 | |
| 53 | include A I e eL hg hδ hN hunit level hD hlarge hpoints |
| 54 | |
| 55 | theorem auxiliaryTorsionStableChart_coordinate_kernel : |
| 56 | (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) D)).ker = |
| 57 | HilbertScheme.Presentations.DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I.ideal D := by |
| 58 | let ℓ := Local.TorsionStableRankLift.liftedFullLevelLabelEnumeration (g := g) (n := n) |
| 59 | let w := fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x (ℓ.symm c) |
| 60 | let selected := fun c => j.coordinate (ℓ.symm c).down |
| 61 | have hselected : ∀ c, w c (selected c) = 1 := |
| 62 | fun c => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors_selected R i j C x (ℓ.symm c) |
| 63 | have hw : ∀ c, |
| 64 | (A.abelian.fullLevelGlobalSection level c ≫ e.hom.left) ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 65 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := by |
| 66 | intro c |
| 67 | have hc : |
| 68 | (A.abelian.fullLevelGlobalSection level (ℓ (ℓ.symm c)) ≫ e.hom.left) ≫ |
| 69 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal = |
| 70 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap C C (w c) (selected c) (hselected c) := |
| 71 | hpoints (ℓ.symm c) |
| 72 | rw [ℓ.apply_symm_apply] at hc |
| 73 | exact hc |
| 74 | have he : (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) D)).ker = |
| 75 | (Matrix.toLin' (Configuration.MonomialMatrix.configurationMonomialMatrix w D)).ker := by |
| 76 | have hrel := Configuration.CoordinateRelations.configurationMonomialMatrix_kernel_relabel w D ℓ |
| 77 | have hwvec : (fun c => w (ℓ c)) = Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x := by |
| 78 | funext c |
| 79 | exact congrArg (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C x) (ℓ.symm_apply_apply c) |
| 80 | rw [hwvec] at hrel |
| 81 | exact hrel |
| 82 | exact he.trans (Configuration.CoordinateRelations.auxiliaryTorsionConfiguration_coordinate_kernel A I e eL |
| 83 | hg hδ hN hunit level D hD hlarge w selected hselected hw) |
| 84 | |
| 85 | theorem auxiliaryTorsionStableChart_classifier_eq |
| 86 | (hdegree : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} r P ≤ D) |
| 87 | (y : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i j D (P.eval (D : ℚ)).num.toNat) |
| 88 | (hy : y ≫ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (P.eval (D : ℚ)).num.toNat = x) : |
| 89 | y ≫ HilbertConstruction.Matrix.RankKernelClassifier.stableConfigurationPolynomialKernelClassifier R i j D (P.eval (D : ℚ)).num.toNat = |
| 90 | HilbertScheme.Presentations.Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint f (configurationHilbertCoordinatePoint I D hdegree) := by |
| 91 | apply Stable.KernelClassifierFormula.stablePolynomialKernelClassifier_affine_of_kernel R i j D _ C x y hy |
| 92 | exact (auxiliaryTorsionStableChart_coordinate_kernel R C i j x A I e eL |
| 93 | hg hδ hN hunit level D hD hlarge hpoints).symm |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionStableCoordinates |