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.Normalized.PolynomialSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.ConfigurationDeterminesIdeal |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisEvaluationMatrices |
| 4 | |
| 5 | /-! # Configuration Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ConfigurationEvaluation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A normalized configuration gives an explicit linear polynomial |
| 12 | evaluation map. For a detecting family of embedded scheme sections, |
| 13 | its kernel is exactly the homogeneous ideal component. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u v w |
| 16 | variable {R : Type u} [CommRing R] {n d : ℕ} {ι : Type v} |
| 17 | |
| 18 | def homogeneousConfigurationEvaluation (v : ι → Fin (n + 1) → R) (d : ℕ) : |
| 19 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d →ₗ[R] (ι → R) := |
| 20 | LinearMap.pi (fun c => (MvPolynomial.aeval (v c)).toLinearMap.comp (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d).subtype) |
| 21 | |
| 22 | theorem homogeneousConfigurationEvaluation_kernel |
| 23 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 24 | (x : ι → (Spec (.of R) ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 25 | (hx : Section.DetectionByFamilies.SectionsDetectedBy (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d) x) |
| 26 | (v : ι → Fin (n + 1) → R) (i : ι → Fin (n + 1)) (hi : ∀ c, v c (i c) = 1) |
| 27 | (hv : ∀ c, x c ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 28 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R (v c) (i c) (hi c)) : |
| 29 | (homogeneousConfigurationEvaluation v d).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d := by |
| 30 | ext p |
| 31 | change homogeneousConfigurationEvaluation v d p = 0 ↔ p.val ∈ I |
| 32 | rw [Family.ConfigurationDeterminesIdeal.homogeneousPolynomial_mem_iff_detectingFamily I hI x hx] |
| 33 | constructor |
| 34 | · intro hp c |
| 35 | apply (Normalized.PolynomialSectionEvaluation.polynomialSection_pullback_zero_iff_normalized_evaluation I p (x c) (v c) (i c) (hi c) (hv c)).mpr |
| 36 | exact congrFun hp c |
| 37 | · intro hp |
| 38 | funext c |
| 39 | exact (Normalized.PolynomialSectionEvaluation.polynomialSection_pullback_zero_iff_normalized_evaluation I p (x c) (v c) (i c) (hi c) (hv c)).mp (hp c) |
| 40 | |
| 41 | def homogeneousConfigurationMatrix {ν : Type w} [Fintype ι] [Fintype ν] |
| 42 | [DecidableEq ι] [DecidableEq ν] (b : Module.Basis ν R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d)) |
| 43 | (v : ι → Fin (n + 1) → R) : Matrix ι ν R := |
| 44 | BasisEvaluationMatrices.basisEvaluationMatrix b (homogeneousConfigurationEvaluation v d) |
| 45 | |
| 46 | theorem homogeneousConfigurationMatrix_linearMap {ν : Type w} [Fintype ι] [Fintype ν] |
| 47 | [DecidableEq ι] [DecidableEq ν] (b : Module.Basis ν R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n d)) |
| 48 | (v : ι → Fin (n + 1) → R) : |
| 49 | Matrix.toLin' (homogeneousConfigurationMatrix b v) = |
| 50 | (homogeneousConfigurationEvaluation v d).comp b.equivFun.symm.toLinearMap := |
| 51 | BasisEvaluationMatrices.basisEvaluationMatrix_linearMap b _ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.ConfigurationEvaluation |