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.GeneratedDegreeRelations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialGenerators |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Quotients |
| 4 | |
| 5 | /-! # Polynomial Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialKernel.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The degree-N relations of the universal polynomial ideal recover the |
| 12 | actual kernel of the normalized quotient matrix. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial _root_.Module |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.Quotients.Grassmannian |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] {n N : ℕ} |
| 19 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 20 | |
| 21 | def normalizedPolynomialIdeal (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) |
| 22 | (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 23 | Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal (PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator a Q) N |
| 24 | (PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator_homogeneous a Q) |
| 25 | |
| 26 | theorem normalizedPolynomialIdeal_degreeRelations (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) |
| 27 | (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) (hQ : Matrices.Grassmannian.IsNormalized a Q) : |
| 28 | Hilbert.Polynomial.GradedHilbert.degreeRelations (normalizedPolynomialIdeal a Q).toIdeal N = |
| 29 | (Matrix.toLin' Q).ker.map (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun.symm.toLinearMap := by |
| 30 | rw [normalizedPolynomialIdeal, GeneratedDegreeRelations.GradedHilbert.homogeneousGenerators_degreeRelations_span, |
| 31 | ← KernelBaseChange.Grassmannian.normalizedKernelMatrix_range a Q hQ, Matrix.range_toLin', Submodule.map_span] |
| 32 | congr 1 |
| 33 | ext f |
| 34 | constructor |
| 35 | · rintro ⟨j, rfl⟩ |
| 36 | exact ⟨(KernelBaseChange.Grassmannian.normalizedKernelMatrix a Q).col j, ⟨j, rfl⟩, rfl⟩ |
| 37 | · rintro ⟨_, ⟨j, rfl⟩, rfl⟩ |
| 38 | exact ⟨j, rfl⟩ |
| 39 | |
| 40 | def normalizedPolynomialDegreeQuotientEquiv (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) |
| 41 | (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) (hQ : Matrices.Grassmannian.IsNormalized a Q) : |
| 42 | Hilbert.Polynomial.GradedHilbert.DegreeQuotient (normalizedPolynomialIdeal a Q).toIdeal N ≃ₗ[R] (ι → R) := |
| 43 | (Submodule.Quotient.equiv _ _ (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun.symm |
| 44 | (normalizedPolynomialIdeal_degreeRelations a Q hQ).symm).symm.trans |
| 45 | (Quotients.Grassmannian.normalizedQuotientEquiv a Q hQ) |
| 46 | |
| 47 | theorem normalizedPolynomialIdeal_injective (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 48 | Function.Injective (fun Q : {Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R // Matrices.Grassmannian.IsNormalized a Q} => |
| 49 | normalizedPolynomialIdeal a Q.val) := by |
| 50 | intro Q K h |
| 51 | apply Subtype.ext |
| 52 | apply Quotients.Grassmannian.normalizedMatrix_eq_of_kernel_eq a Q.val K.val Q.property K.property |
| 53 | have hd := congrArg (fun I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) => Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal N) h |
| 54 | rw [normalizedPolynomialIdeal_degreeRelations a Q.val Q.property, |
| 55 | normalizedPolynomialIdeal_degreeRelations a K.val K.property] at hd |
| 56 | exact Submodule.map_injective_of_injective |
| 57 | (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun.symm.injective hd |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialKernel.GradedHilbert |