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.StableHilbert.GraphPresentationCompleteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationFrameCoverage |
| 3 | |
| 4 | /-! # Polarization Completeness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationCompleteness.StableHilbertPolarization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual marked frame and graph-power section rank give geometric |
| 11 | completeness of the canonical sections on each uniform stable chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | variable (R : Type) [CommRing R] [IsNoetherianRing R] {n m : ℕ} |
| 15 | (i : Fin m) (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) |
| 16 | (D : ℕ) (H : Polynomial ℚ) |
| 17 | (hH : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{0} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{0} n D H) H) |
| 18 | (g : ℕ) (Hm Hi : Polynomial ℚ) (N : ℕ) [NeZero N] |
| 19 | (labels : Fin m ≃ Multiplicative (Fin (2 * g) → ZMod N)) |
| 20 | (qR : Spec (.of R) ⟶ Spec (.of ℚ)) |
| 21 | (d : ℕ) (hd : 0 < d) (δ : Fin g → ℕ) (hδ : ∀ k, 0 < δ k) |
| 22 | |
| 23 | local notation "M" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationParameter.StableHilbertPolarization.parameter R i j D H hH g Hm Hi N labels qR d hd δ hδ |
| 24 | local notation "A" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationParameter.StableHilbertPolarization.universalFamily R i j D H hH g Hm Hi N labels qR d hd δ hδ |
| 25 | local notation "P" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationParameter.StableHilbertPolarization.universalPresentation R i j D H hH g Hm Hi N labels qR d hd δ hδ |
| 26 | |
| 27 | theorem universalPresentation_geometricallyComplete |
| 28 | (hg : 0 < g) (hN : 3 ≤ N) |
| 29 | (hd_eq : d = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ) |
| 30 | (hn : n + 1 = Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ) : |
| 31 | ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily (A).abelian.scheme.hom (P).ampleLineBundle.sheaf |
| 32 | (P).canonicalSectionData.sections (𝟙 (M).left) := by |
| 33 | have hunit : IsUnit (N : Γ((M).left, ⊤)) := by |
| 34 | have hNq : (N : ℚ) ≠ 0 := by exact_mod_cast (show N ≠ 0 by omega) |
| 35 | simpa only [map_natCast] using (isUnit_iff_ne_zero.mpr hNq).map |
| 36 | (Coefficient.ModulePresheaf.schemeCoefficientMap ((M).hom ≫ qR)) |
| 37 | have hpow := PolarizationFrameCoverage.StableHilbertPolarization.universalPresentation_normalizedPowerClass R i j D H hH g Hm Hi N labels qR d hd δ hδ |
| 38 | have hpow' : Line.Bundles.LineBundle.classOf ((A).abelian.zeroNormalizedBundle (P).ampleLineBundle) = |
| 39 | Line.Bundles.LineBundle.classOf ((A).graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)) := |
| 40 | hpow.trans (congrArg (fun k => Line.Bundles.LineBundle.classOf ((A).graphBundle.tensorPower k)) hd_eq) |
| 41 | exact GraphPresentationCompleteness.StableHilbertCoverage.canonicalGraphPresentation_geometricallyComplete (A) (P) |
| 42 | (fun k => labels (j.frame k)) |
| 43 | (PolarizationFrameCoverage.StableHilbertPolarization.universalPresentation_standardFrame R i j D H hH g Hm Hi N labels qR d hd δ hδ) |
| 44 | hpow' hg hδ hN hunit hn |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.PolarizationCompleteness.StableHilbertPolarization |