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.Flat.ProjectiveCoordinatePieces |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.QuotientRankBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.Polynomial |
| 4 | |
| 5 | /-! # Flat Fiber Polynomial Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatFiberPolynomialSpecialization.PolarizationEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every field specialization of a flat projective family has exactly |
| 12 | the Hilbert polynomial of its image residue point. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 18 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 19 | [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 20 | |
| 21 | theorem field_hilbertPolynomial_iff_residue |
| 22 | {K : Type v} [Field K] (φ : R →+* K) (P : Polynomial ℚ) : |
| 23 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (I.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)).toIdeal P ↔ |
| 24 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal |
| 25 | (S := ((IsLocalRing.closedPoint K).comap φ).asIdeal.ResidueField) I).toIdeal P := by |
| 26 | let := φ.toAlgebra |
| 27 | obtain ⟨N, hN⟩ := HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.eventual_coordinatePieces_flat_of_projective_flat I |
| 28 | have he (d : ℕ) (hd : N ≤ d) : |
| 29 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (I.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)).toIdeal d = |
| 30 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal |
| 31 | (S := ((IsLocalRing.closedPoint K).comap φ).asIdeal.ResidueField) I).toIdeal d := by |
| 32 | let := hN d hd |
| 33 | exact HilbertScheme.Presentations.QuotientRankBaseChange.GradedHilbert.degreeQuotient_field_hilbertFunction (K := K) I d |
| 34 | constructor |
| 35 | · rintro ⟨a, ha⟩ |
| 36 | refine ⟨max a N, fun d hd => ?_⟩ |
| 37 | rw [← he d ((le_max_right _ _).trans hd)] |
| 38 | exact ha d ((le_max_left _ _).trans hd) |
| 39 | · rintro ⟨a, ha⟩ |
| 40 | refine ⟨max a N, fun d hd => ?_⟩ |
| 41 | rw [he d ((le_max_right _ _).trans hd)] |
| 42 | exact ha d ((le_max_left _ _).trans hd) |
| 43 | |
| 44 | theorem saturated_field_hilbertPolynomial_iff_residue |
| 45 | {K : Type v} [Field K] (φ : R →+* K) (P : Polynomial ℚ) : |
| 46 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (I.map (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))).toIdeal P ↔ |
| 47 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal |
| 48 | (S := ((IsLocalRing.closedPoint K).comap φ).asIdeal.ResidueField) I).toIdeal P := |
| 49 | (HilbertScheme.Presentations.Saturation.Polynomial.GradedHilbert.projectiveSaturation_hasHilbertPolynomial_iff _ P).trans |
| 50 | (field_hilbertPolynomial_iff_residue I φ P) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatFiberPolynomialSpecialization.PolarizationEmbedding |