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.Uniform.FamilyGeneration |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.QuotientFreeBaseChange |
| 3 | |
| 4 | /-! # Local Function -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalFunction.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniform coordinate ranks over local noetherian bases, computed from |
| 11 | the actual saturated residue-fiber Hilbert polynomials. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] {n : ℕ} |
| 17 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 18 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 19 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 20 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 21 | include hI hP |
| 22 | |
| 23 | theorem uniformLocal_degreeQuotient_free (d : ℕ) (hd : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ d) : |
| 24 | Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := by |
| 25 | let : Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := |
| 26 | Uniform.SaturatedCoordinates.GradedHilbert.uniform_saturated_coordinate_flat I hI P hP d ((le_max_left _ _).trans hd) |
| 27 | exact Module.free_of_flat_of_isLocalRing |
| 28 | |
| 29 | theorem uniformLocal_hilbertFunction (d : ℕ) (hd : Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ d) : |
| 30 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d : ℚ) = P.eval (d : ℚ) := by |
| 31 | let p : PrimeSpectrum R := IsLocalRing.closedPoint R |
| 32 | let K := p.asIdeal.ResidueField |
| 33 | let J := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) I |
| 34 | let : Module.Free R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := uniformLocal_degreeQuotient_free I hI P hP d hd |
| 35 | have hR : Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction J.toIdeal d := |
| 36 | (ValuationClosureFunction.GradedHilbert.degreeQuotient_finrank_baseChange_of_free (L := K) I d).symm |
| 37 | have hrel := Uniform.SaturationBaseChange.GradedHilbert.uniform_saturated_saturation_baseChange I hI P hP K d ((le_max_left _ _).trans hd) |
| 38 | have hK : Hilbert.Polynomial.GradedHilbert.hilbertFunction J.toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction (Projective.Saturation.GradedHilbert.projectiveSaturation J).toIdeal d := |
| 39 | (Submodule.quotEquivOfEq _ _ hrel.symm).finrank_eq |
| 40 | rw [hR, hK] |
| 41 | exact (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n P K (Projective.Saturation.GradedHilbert.projectiveSaturation J) |
| 42 | (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated J) (hP p)).2 d ((le_max_right _ _).trans hd) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.LocalFunction.GradedHilbert |