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.ValuationNormalizedCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.NormalizedCriterion |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.DegreeRankProfile |
| 4 | |
| 5 | /-! # Valuation Chart Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationChartPoint.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The valuation closure defines an actual point of a normalized Hilbert |
| 12 | chart over the original base, with the polynomial relation-rank profile. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {R K : Type u} [CommRing R] [IsDomain R] [ValuationRing R] |
| 18 | variable [Field K] [Algebra R K] [IsFractionRing R K] |
| 19 | variable {S : Scheme.{u}} {n : ℕ} |
| 20 | |
| 21 | theorem exists_valuation_hilbert_chart_point (f : Spec (.of R) ⟶ S) |
| 22 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 23 | (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 24 | (N : ℕ) (hN : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ N) |
| 25 | (ι : Type u) [Fintype ι] [DecidableEq ι] |
| 26 | (hr : Fintype.card ι = (P.eval (N : ℚ)).num.toNat) : |
| 27 | ∃ (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (Q : Matrix ι (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) R) |
| 28 | (hQ : Normalized.Matrices.Grassmannian.IsNormalized a Q), Function.Injective a ∧ |
| 29 | Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q = DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal (ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I) N ∧ |
| 30 | Projective.Saturation.GradedHilbert.projectiveSaturation (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q) = ContractedHomogeneousQuotient.GradedHilbert.contractedHomogeneousIdeal (R := R) I ∧ |
| 31 | ∃! y : Over.mk f ⟶ NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P), |
| 32 | y ≫ NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S (Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n N P) = |
| 33 | Affine.NormalizedChartPoint.Grassmannian.affineNormalizedChartPoint f a Q hQ := by |
| 34 | obtain ⟨a, Q, hQ, ha, he, hsat, hdeg⟩ := |
| 35 | ValuationNormalizedCoordinates.GradedHilbert.exists_valuation_normalized_hilbert_coordinates (R := R) I hI P hP N hN ι hr |
| 36 | refine ⟨a, Q, hQ, ha, he, hsat, |
| 37 | Affine.NormalizedCriterion.GradedHilbert.existsUnique_affineNormalizedHilbertChartPoint f a Q hQ _ ?_⟩ |
| 38 | intro d _ |
| 39 | have hd := hdeg (d + N) (Nat.le_add_left N d) |
| 40 | refine ⟨hd.1, ?_⟩ |
| 41 | have hdim : Hilbert.Polynomial.GradedHilbert.hilbertFunction (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a Q).toIdeal (d + N) = |
| 42 | Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal (d + N) := by |
| 43 | have h := hd.2.trans |
| 44 | ((Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n P K I hI hP).2 (d + N) |
| 45 | (hN.trans (Nat.le_add_left N d))).symm |
| 46 | exact_mod_cast h |
| 47 | rw [hdim] |
| 48 | exact Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile_add I hI P hP N hN d |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ValuationChartPoint.GradedHilbert |