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.Homogeneous.ConfigurationEvaluation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.CoordinateBasis |
| 3 | |
| 4 | /-! # Monomial Matrix -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.MonomialMatrix |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial configuration evaluation has a fixed monomial matrix |
| 11 | whose index set is independent of the coefficient ring. Its entries |
| 12 | are literal monomial values and commute with every coefficient map. -/ |
| 13 | open scoped BigOperators |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] {n d : ℕ} |
| 17 | variable {ι : Type v} [Fintype ι] [DecidableEq ι] |
| 18 | |
| 19 | def configurationMonomialMatrix (w : ι → Fin (n + 1) → R) (d : ℕ) : |
| 20 | Matrix ι (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n d) R := |
| 21 | Homogeneous.ConfigurationEvaluation.homogeneousConfigurationMatrix (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d) w |
| 22 | |
| 23 | theorem configurationMonomialMatrix_entry (w : ι → Fin (n + 1) → R) |
| 24 | (c : ι) (a : HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n d) : |
| 25 | configurationMonomialMatrix w d c a = a.down.val.prod (fun j k => w c j ^ k) := by |
| 26 | change MvPolynomial.eval₂Hom (algebraMap R R) (w c) ((HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d) a).val = _ |
| 27 | rw [HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis_val, MvPolynomial.eval₂Hom_monomial, map_one, one_mul] |
| 28 | |
| 29 | theorem configurationMonomialMatrix_map {A : Type u} [CommRing A] (φ : R →+* A) |
| 30 | (w : ι → Fin (n + 1) → R) : |
| 31 | (configurationMonomialMatrix w d).map φ = configurationMonomialMatrix (fun c j => φ (w c j)) d := by |
| 32 | ext c a |
| 33 | change φ (configurationMonomialMatrix w d c a) = configurationMonomialMatrix (fun c j => φ (w c j)) d c a |
| 34 | rw [configurationMonomialMatrix_entry, configurationMonomialMatrix_entry] |
| 35 | simp only [Finsupp.prod, map_prod, map_pow] |
| 36 | |
| 37 | theorem configurationMonomialMatrix_range (w : ι → Fin (n + 1) → R) : |
| 38 | (Matrix.toLin' (configurationMonomialMatrix w d)).range = (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w d).range := by |
| 39 | rw [show configurationMonomialMatrix w d = Homogeneous.ConfigurationEvaluation.homogeneousConfigurationMatrix (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d) w from rfl, |
| 40 | Homogeneous.ConfigurationEvaluation.homogeneousConfigurationMatrix_linearMap] |
| 41 | ext y |
| 42 | constructor |
| 43 | · rintro ⟨x, rfl⟩ |
| 44 | exact ⟨(HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d).equivFun.symm x, rfl⟩ |
| 45 | · rintro ⟨x, rfl⟩ |
| 46 | obtain ⟨z, rfl⟩ := (HilbertScheme.Presentations.Homogeneous.CoordinateBasis.GradedHilbert.coordinateDegreeBasis R n d).equivFun.symm.surjective x |
| 47 | exact ⟨z, rfl⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.MonomialMatrix |