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.FamilyCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.QuotientRankBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.IdealTower |
| 4 | |
| 5 | /-! # Fiber Function -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.FiberFunction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The recovered field fibers determine the high-degree coordinate ranks on the coefficient spectrum. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem coefficientFiber_rank_eq_polynomial |
| 18 | {C A : Type u} [CommRing C] [IsNoetherianRing C] [CommRing A] [Algebra C A] |
| 19 | {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading C n)) |
| 20 | [Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 21 | (P : Polynomial ℚ) (q : PrimeSpectrum A) |
| 22 | (hP : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 23 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := q.asIdeal.ResidueField) |
| 24 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I))).toIdeal P) |
| 25 | (d : ℕ) (hd : HilbertScheme.Presentations.Flat.FamilyCoordinates.GradedHilbert.flatFamilyHilbertDegree I P ≤ d) : |
| 26 | (Module.rankAtStalk (R := C) (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) (q.comap (algebraMap C A)) : ℚ) = |
| 27 | P.eval (d : ℚ) := by |
| 28 | let K := q.asIdeal.ResidueField |
| 29 | let : Algebra C K := ((algebraMap A K).comp (algebraMap C A)).toAlgebra |
| 30 | have : IsScalarTower C A K := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 31 | let J := HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I |
| 32 | have hdB : HilbertScheme.Presentations.Projective.FamilyCoordinateBound.GradedHilbert.projectiveFamilyCoordinateBound I ≤ d := (le_max_left _ _).trans hd |
| 33 | have hdP : HilbertScheme.Presentations.Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n P ≤ d := (le_max_right _ _).trans hd |
| 34 | have : Module.Projective C (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := HilbertScheme.Presentations.Flat.FamilyCoordinates.GradedHilbert.coordinateBound_degreeQuotient_projective I d hdB |
| 35 | have : Module.Projective A (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient J.toIdeal d) := (HilbertScheme.Presentations.Projective.FamilyCoordinateBound.GradedHilbert.projectiveFamilyCoordinateBound_spec I A d hdB).1 |
| 36 | have hr := HilbertScheme.Presentations.QuotientRankBaseChange.GradedHilbert.degreeQuotient_rankAtStalk_baseChange (A := A) I d q |
| 37 | rw [HilbertScheme.Presentations.Relative.Coordinates.GradedHilbert.degreeQuotient_rankAtStalk] at hr |
| 38 | rw [← hr] |
| 39 | have hsat : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J)).toIdeal d = |
| 40 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J).toIdeal d := by |
| 41 | change HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) |
| 42 | (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I))).toIdeal d = _ |
| 43 | rw [HilbertScheme.Presentations.Homogeneous.IdealTower.GradedHilbert.extendedHomogeneousIdeal_tower] |
| 44 | exact (HilbertScheme.Presentations.Projective.FamilyCoordinateBound.GradedHilbert.projectiveFamilyCoordinateBound_spec I K d hdB).2 |
| 45 | have he : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J).toIdeal d = |
| 46 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.hilbertFunction (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J)).toIdeal d := |
| 47 | (Submodule.quotEquivOfEq _ _ hsat.symm).finrank_eq |
| 48 | rw [he] |
| 49 | exact (HilbertScheme.Presentations.Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n P K (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) J)) |
| 50 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _) hP).2 d hdP |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.FiberFunction |