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.Grassmannian.LinearTransport |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.QuotientCover |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SingleDegreeIdealReconstruction |
| 4 | |
| 5 | /-! # Degree Ideal Presentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeIdealPresentation.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite projective degree quotient over a local ring has a normalized |
| 12 | matrix whose polynomial ideal is exactly the ideal generated in that degree. -/ |
| 13 | |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] [IsLocalRing R] {n N : ℕ} |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 17 | |
| 18 | theorem exists_normalized_degreeIdeal_presentation |
| 19 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | (H : Module.Grassmannian R (Hilbert.Polynomial.GradedHilbert.grading R n N) (Fintype.card ι)) |
| 21 | (hH : H.toSubmodule = Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal N) : |
| 22 | ∃ (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R), |
| 23 | Matrices.Grassmannian.IsNormalized a Q ∧ Function.Injective a ∧ PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N := by |
| 24 | let e := (Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n N).equivFun |
| 25 | let G := Presentations.Grassmannian.LinearTransport.grassmannianLinearTransport e H |
| 26 | obtain ⟨a, Q, hQ, ha, he⟩ := QuotientCover.Grassmannian.normalizedGrassmannian_local_cover G |
| 27 | refine ⟨a, Q, hQ, ha, SingleDegreeIdealReconstruction.GradedHilbert.normalizedPolynomialIdeal_eq_degreeGenerated I N a Q ?_⟩ |
| 28 | have hk := congrArg Module.Grassmannian.toSubmodule he |
| 29 | change (Matrix.toLin' Q).ker = H.toSubmodule.map e.toLinearMap at hk |
| 30 | rw [hH] at hk |
| 31 | rw [PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal_degreeRelations a Q hQ, hk, ← Submodule.map_comp] |
| 32 | have heid : e.symm.toLinearMap.comp e.toLinearMap = LinearMap.id := by |
| 33 | exact LinearMap.ext (fun x => e.symm_apply_apply x) |
| 34 | rw [heid, Submodule.map_id] |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.DegreeIdealPresentation.GradedHilbert |