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.Projective.SaturationBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.QuotientRankDetection |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyCoordinates |
| 4 | |
| 5 | /-! # Saturated Relation Rank Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedRelationRankCriterion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Above the uniform Hilbert bound, finite flat degree quotients with the prescribed rank already equal their saturated counterparts. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | |
| 20 | theorem degreeRelations_eq_saturation_of_flat_rank |
| 21 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 22 | (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 23 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 24 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 25 | (d : ℕ) (hd : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ d) |
| 26 | [Module.Flat R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d)] |
| 27 | (hr : ∀ p : PrimeSpectrum R, Module.rankAtStalk (R := R) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) p = |
| 28 | (P.eval (d : ℚ)).num.toNat) : |
| 29 | Homogeneous.IdealIncidence.homogeneousDegreeRelations I d = Homogeneous.IdealIncidence.homogeneousDegreeRelations (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation I) d := by |
| 30 | let J := HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation I |
| 31 | have hJ : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal := HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated I |
| 32 | have : Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading J)) := HilbertConstruction.Projective.SaturationBaseChange.projectiveSaturation_flat I |
| 33 | have hPJ : ∀ p : PrimeSpectrum R, |
| 34 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 35 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) J)).toIdeal P := by |
| 36 | intro p |
| 37 | change HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 38 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation I))).toIdeal P |
| 39 | rw [HilbertConstruction.Projective.SaturationBaseChange.projectiveSaturation_baseChange] |
| 40 | exact hP p |
| 41 | have : Module.Finite R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeQuotient_finite I.toIdeal d |
| 42 | have : Module.Finite R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient J.toIdeal d) := HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeQuotient_finite J.toIdeal d |
| 43 | have : Module.Projective R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient J.toIdeal d) := |
| 44 | (HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformFlatFamilyHilbertGrassmannian J hJ P hPJ d hd).projective_quotient |
| 45 | apply HilbertConstruction.Flat.QuotientRankDetection.submodule_eq_of_flat_quotient_ranks _ _ (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations_mono (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.le_projectiveSaturation I) d) |
| 46 | intro p |
| 47 | exact (hr p).trans (HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree_rankAtStalk J hJ P hPJ d hd p).symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedRelationRankCriterion |