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.DegreeCoordinateRelations |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialKernel |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.DegreeGeneratedIdeal |
| 4 | |
| 5 | /-! # Degree Coordinate Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeCoordinateRecovery.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A normalized single-degree presentation recovers the actual monomial |
| 12 | coordinate quotient used by the Grassmannian classifying map. -/ |
| 13 | |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] {n N : ℕ} |
| 16 | |
| 17 | theorem degreeGeneratedIdeal_degreeRelations_self (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 18 | Hilbert.Polynomial.GradedHilbert.degreeRelations (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N).toIdeal N = Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal N := by |
| 19 | apply le_antisymm (Hilbert.Polynomial.GradedHilbert.degreeRelations_mono (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal_le I N) N) |
| 20 | intro f hf |
| 21 | exact DegreeGeneratedIdeal.GradedHilbert.mem_degreeGeneratedIdeal I N f.val f.property hf |
| 22 | |
| 23 | theorem degreeCoordinateRelations_degreeGenerated (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 24 | DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N) N = DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I N := by |
| 25 | unfold DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations |
| 26 | rw [degreeGeneratedIdeal_degreeRelations_self] |
| 27 | |
| 28 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 29 | |
| 30 | theorem degreeCoordinateRelations_normalized (a : ι → 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 | DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations (PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q) N = (Matrix.toLin' Q).ker := by |
| 33 | rw [DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations, PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal_degreeRelations, ← Submodule.map_comp] |
| 34 | let e := (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun |
| 35 | have he : e.toLinearMap.comp e.symm.toLinearMap = LinearMap.id := |
| 36 | LinearMap.ext (fun x => e.apply_symm_apply x) |
| 37 | rw [he, Submodule.map_id] |
| 38 | exact hQ |
| 39 | |
| 40 | theorem normalizedGrassmannian_eq_of_generatedIdeal (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 41 | (H : Module.Grassmannian R (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N → R) (Fintype.card ι)) |
| 42 | (hH : H.toSubmodule = DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations I N) |
| 43 | (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) (hQ : Matrices.Grassmannian.IsNormalized a Q) |
| 44 | (hI : PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N) : Quotients.Grassmannian.normalizedGrassmannian a Q hQ = H := by |
| 45 | apply Module.Grassmannian.ext |
| 46 | change (Matrix.toLin' Q).ker = H.toSubmodule |
| 47 | have he := congrArg (fun J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) => DegreeCoordinateRelations.GradedHilbert.degreeCoordinateRelations J N) hI |
| 48 | rw [degreeCoordinateRelations_normalized a Q hQ, degreeCoordinateRelations_degreeGenerated] at he |
| 49 | exact he.trans hH.symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeCoordinateRecovery.GradedHilbert |