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.FamilyCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.QuotientRankBaseChange |
| 3 | |
| 4 | /-! # Noetherian Field Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.NoetherianFieldPolynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical residue polynomials of a saturated flat projective family |
| 11 | over a noetherian ring determine every field-valued coefficient fiber. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing 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 uniformFamily_field_hilbertFunction (K : Type u) [Field K] [Algebra R K] |
| 24 | (d : ℕ) (hd : FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ d) : |
| 25 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) I).toIdeal d : ℚ) = P.eval (d : ℚ) := by |
| 26 | let : Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := |
| 27 | SaturatedCoordinates.GradedHilbert.uniform_saturated_coordinate_flat I hI P hP d ((le_max_left _ _).trans hd) |
| 28 | let p := (IsLocalRing.closedPoint K).comap (algebraMap R K) |
| 29 | let J := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I |
| 30 | have hrel := SaturationBaseChange.GradedHilbert.uniform_saturated_saturation_baseChange I hI P hP p.asIdeal.ResidueField d ((le_max_left _ _).trans hd) |
| 31 | have he : Hilbert.Polynomial.GradedHilbert.hilbertFunction J.toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction (Projective.Saturation.GradedHilbert.projectiveSaturation J).toIdeal d := |
| 32 | (Submodule.quotEquivOfEq _ _ hrel.symm).finrank_eq |
| 33 | rw [QuotientRankBaseChange.GradedHilbert.degreeQuotient_field_hilbertFunction (K := K) I d, he] |
| 34 | exact (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n P p.asIdeal.ResidueField (Projective.Saturation.GradedHilbert.projectiveSaturation J) |
| 35 | (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated J) (hP p)).2 d ((le_max_right _ _).trans hd) |
| 36 | |
| 37 | theorem uniformFamily_field_hasHilbertPolynomial (K : Type u) [Field K] [Algebra R K] : |
| 38 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) I)).toIdeal P := by |
| 39 | apply (Saturation.Polynomial.GradedHilbert.projectiveSaturation_hasHilbertPolynomial_iff _ P).mpr |
| 40 | exact ⟨FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P, uniformFamily_field_hilbertFunction I hI P hP K⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.NoetherianFieldPolynomial.GradedHilbert |