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.HilbertScheme.Presentations.Normalized.PolynomialKernel |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedIdealReconstruction |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.GeneratorsBaseChange |
| 4 | |
| 5 | /-! # Polynomial Transitions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialTransitions.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Polynomial ideals on normalized Grassmannian charts agree on their |
| 12 | actual overlaps and commute with arbitrary coefficient extension. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] {n N : ℕ} |
| 18 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 19 | |
| 20 | theorem normalizedPolynomialIdeal_eq_of_kernel_eq (a b : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) |
| 21 | (Q K : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) (hQ : Matrices.Grassmannian.IsNormalized a Q) (hK : Matrices.Grassmannian.IsNormalized b K) |
| 22 | (h : (Matrix.toLin' Q).ker = (Matrix.toLin' K).ker) : |
| 23 | PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal b K := by |
| 24 | apply GeneratedIdealReconstruction.GradedHilbert.homogeneousGeneratorsIdeal_eq_of_degreeRelations_eq |
| 25 | change Hilbert.Polynomial.GradedHilbert.degreeRelations (PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal N = |
| 26 | Hilbert.Polynomial.GradedHilbert.degreeRelations (PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal b K).toIdeal N |
| 27 | rw [PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal_degreeRelations a Q hQ, |
| 28 | PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal_degreeRelations b K hK, h] |
| 29 | |
| 30 | theorem normalizedPolynomialIdeal_transition (a b : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) |
| 31 | (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) (hQ : Matrices.Grassmannian.IsNormalized a Q) |
| 32 | (hb : IsUnit (Matrices.Grassmannian.selectedColumns b Q).det) : |
| 33 | PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal b (Matrices.Grassmannian.normalizeColumns b Q) := by |
| 34 | apply normalizedPolynomialIdeal_eq_of_kernel_eq a b Q _ hQ |
| 35 | (Matrices.Grassmannian.normalizeColumns_normalized b Q hb) |
| 36 | exact (OverlapEquations.Grassmannian.quotientCompatibility_iff_kernel_eq a b Q _ hQ |
| 37 | (Matrices.Grassmannian.normalizeColumns_normalized b Q hb)).mp |
| 38 | ((OverlapEquations.Grassmannian.quotientCompatibility_iff_transition a b Q _ hQ).mpr ⟨hb, rfl⟩) |
| 39 | |
| 40 | omit [DecidableEq ι] in |
| 41 | theorem normalizedPolynomialIdeal_baseChange {S : Type u} [CommRing S] [Algebra R S] |
| 42 | (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) : |
| 43 | Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) (PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q) = |
| 44 | PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a (Q.map (algebraMap R S)) := by |
| 45 | apply HomogeneousIdeal.ext |
| 46 | change Ideal.map (MvPolynomial.map (algebraMap R S)) |
| 47 | (Ideal.span (Set.range (PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator a Q))) = |
| 48 | Ideal.span (Set.range (PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator a (Q.map (algebraMap R S)))) |
| 49 | rw [Ideal.map_span, ← Set.range_comp] |
| 50 | congr 2 |
| 51 | funext j |
| 52 | exact PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator_map (algebraMap R S) a Q j |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialTransitions.GradedHilbert |